Shotstash
API referenceREST referenceSystem

Ping

Liveness answer with the server time; touches no dependency.

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
/api/ping

Liveness answer with the server time; touches no dependency.

Response Body

The server is up

application/json
  1. response
ok*true

Always true.

Value intrue
time*number

Server time in milliseconds since the epoch.

curl -X GET "https://example.com/api/ping"
{  "ok": true,  "time": 0}