Run a GraphQL query (GET)
GraphQL over GET for queries only (query and variables in the URL). The schema and every operation are documented in schema.graphql at the repository root; each root field declares its own auth (public or Bearer session).
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.
GraphQL over GET for queries only (query and variables in the URL). The schema and every operation are documented in schema.graphql at the repository root; each root field declares its own auth (public or Bearer session).
query*stringThe GraphQL document.
variables?Operation variables.
operationName?stringWhich operation of the document to run.
GraphQL result (errors are inside the body)
application/json- response
data?|The result, shaped by the query.
errors?array<>Errors; each carries extensions.code.
curl -X GET "https://example.com/api/graphql?query=string"{ "data": { "property1": null, "property2": null }, "errors": [ { "property1": null, "property2": null } ]}REST reference
Every REST route of a Shotstash instance, generated from openapi.json (OpenAPI 3.1).
Run a GraphQL operation POST
The GraphQL endpoint for queries and mutations; subscriptions use graphql-ws on the same path. The schema and every operation are documented in schema.graphql at the repository root. Send the session as a Bearer token; each root field declares its own auth (public or session). The media cookie is never read here.