Responses and errors
All responses are JSON. Two envelopes are in use, so check which one an endpoint returns before you parse it.
Standard envelope
Domain endpoints such as containers, manifests, edge ingestion, notifications, and admin return success with either data or error:
Use error.code for program logic. The message is for people and may change.
Legacy auth envelope
Endpoints under /v1/user/auth/*, and the authentication and role checks in front of every JWT-protected endpoint, return the older status envelope:
Successful auth calls return "status": "success" with the payload in data.
Status codes
Common error codes
Pagination
Page-based list endpoints such as GET /v1/containers accept page (starting at 1) and limit query parameters and return a pagination object next to the items. A few admin listings use cursors instead; see each endpoint in the API reference.
GET /v1/containers defaults to 20 items per page and caps limit at 100.
