DevelopersAPI referenceNotesSharing
Mint a short-lived signed URL for an attachment
For an attachment on a page the caller can see, returns a URL to getAttachment carrying exp and sig, valid for 10 minutes, so an <img> (which cannot send a bearer) can load it. 404 for anything the caller cannot see.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
curl -X POST "https://example.com/v1/attachments/497f6eca-6276-4993-bfeb-53cbbbba6f08/url"{ "url": "string", "expiresAt": "2019-08-24T14:15:22Z"}Stream an attachment's bytes (members)
For an attachment on a page the caller can see, streams the file itself (Content-Disposition attachment). Exports use it to bundle images, since a browser cannot read the cross-origin storage redirect.
Liveness probe
Unauthenticated liveness check used by the platform and monitors.