v2

latestOpenAPI 3.1.02026-07-2615946107.7 KB
Assets

Create a public delivery link

Mint an unguessable /d/<token> download page for a collection. Optional gate (none, password, domain), expiresAt, and gate inputs. Protected deliveries stream bytes through /d/<token>/file/<blobId>.

post/v1/workspaces/{workspaceId}/assets/collections/{collectionId}/share

Request body

expiresAtstring date-time nullable
gate'none' | 'password' | 'domain'
passwordstring

Required when gate=password.

domainsstring[]

Required when gate=domain (e.g. acme.com).

Response

Share link created

idstring
urlstring uri
collectionNamestring
fileCountinteger
gate'none' | 'password' | 'domain'
expiresAtstring date-time nullable
viewCountinteger
revokedboolean
expiredboolean