Shotstash
API referenceREST referenceAuth

Demo try-it session

Public demo instances only (SHOTSTASH_DEMO_MODE): a 60-minute session of the read-only demo viewer for the docs try-it console. It never slides; every write with it is refused. Rate limited to 10 per hour per IP. A browser Origin must be the instance itself or listed in SHOTSTASH_CORS_ORIGINS. 404 on every other instance.

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.

POST
/api/v1/demo/session

Public demo instances only (SHOTSTASH_DEMO_MODE): a 60-minute session of the read-only demo viewer for the docs try-it console. It never slides; every write with it is refused. Rate limited to 10 per hour per IP. A browser Origin must be the instance itself or listed in SHOTSTASH_CORS_ORIGINS. 404 on every other instance.

Response Body

A read-only demo session

application/json
  1. response
token*string

Bearer token for /api/graphql and /api/v1/*.

expiresAt*string

When the session ends (60 minutes after it was made; it never slides).

curl -X POST "https://example.com/api/v1/demo/session"
{  "token": "string",  "expiresAt": "string"}