Shotstash
API referenceREST referenceMedia

Show a file inline

The original bytes inline (viewer and video scrubbing with Range).

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.

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

The original bytes inline (viewer and video scrubbing with Range).

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).

Response Body

The whole file

response?stringapplication/octet-stream

Raw file bytes; Content-Type is the media type of the file.

curl -X GET "https://example.com/media/i/string"
"string"