File thumbnail
The JPEG thumbnail of a library file. With v equal to the current thumbnail version the answer is cached for a year.
Try the REST routes against the public demo at https://demostash.aldyernesto.my.id. Get a read-only token (valid for 60 minutes), then paste it as the Bearer token in the console of any route.
/media/t/{fileId}No try-it console: the demo answers cross-origin requests on /api only.The JPEG thumbnail of a library file. With v equal to the current thumbnail version the answer is cached for a year.
SessionCookieshotstash_session<token>The same session as an HttpOnly cookie scoped to /media (set by login and POST /api/v1/auth/cookie). Only /media routes read it.
fileId*stringFile id (UUID).
v?stringThumbnail version; equal to the current one, the answer is cached for a year.
The thumbnail
response?stringimage/jpegA JPEG image.
curl -X GET "https://example.com/media/t/string""string"Signed share media (headers only) HEAD
Same as GET without the body. A file or thumbnail or ZIP of a share link through an HMAC-signed URL minted by the share page (valid 5 minutes; ZIPs 24 hours). The token is checked again against the live share link. Range is supported for files.
File thumbnail (headers only) HEAD
Same as GET without the body. The JPEG thumbnail of a library file. With v equal to the current thumbnail version the answer is cached for a year.