Shotstash
API referenceREST referenceMedia

File thumbnail (headers only)

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.

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.

HEAD/media/t/{fileId}No try-it console: the demo answers cross-origin requests on /api only.

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.

Authorization

SessionCookie
cookieshotstash_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.

Path Parameters

fileId*string

File id (UUID).

Query Parameters

v?string

Thumbnail version; equal to the current one, the answer is cached for a year.

Response Body

The thumbnail

curl -X HEAD "https://example.com/media/t/string"
Empty