Skip to main content

Public Shares

Anonymous access to shared buckets/files/folders. Distinct from "Bucket Shares" (which manages share links as the owner); these endpoints are consumed by whoever holds the share link. The safebucket_share_token cookie (issued by POST /shares/{id}/auth) is only required when the share is password-protected; shares without a password are accessible without any token (401 SHARE_TOKEN_REQUIRED / SHARE_TOKEN_INVALID otherwise). Every endpoint under /shares/{shareId} can additionally return 404 SHARE_NOT_FOUND (unknown or revoked share), 410 SHARE_EXPIRED, and 403 SHARE_MAX_VIEWS_REACHED from the shared access-validation middleware.