Base URL
/api. There is currently one version of the API; no version segment appears in the URL.
Request format
Send request bodies as JSON with theContent-Type: application/json header. Query parameters are not used for filtering on the current endpoints.
Response format
All responses are JSON. Successful list endpoints return a JSON array. The authentication endpoint returns a JSON object.Authentication
Most endpoints require a valid JWT bearer token. Obtain a token by callingPOST /api/users/auth with your email and password. Pass the token in the Authorization header on all subsequent requests:
HTTP status codes
| Code | Meaning |
|---|---|
200 | Request succeeded. |
201 | Resource created. |
400 | Bad request — malformed JSON or missing required fields. |
401 | Unauthorized — missing or invalid bearer token. |
403 | Forbidden — authenticated but insufficient permissions. |
404 | Not found — the requested resource does not exist. |
422 | Unprocessable entity — validation failed on the submitted data. |
500 | Internal server error — unexpected server-side failure. |
OpenAPI specification
A machine-readable OpenAPI 3.0 spec is available at:Quick example
Available resources
Authentication
Obtain a JWT token by authenticating with email and password.
Cinemas
Retrieve the list of registered cinemas and their statuses.
Films
Browse the full film catalogue with titles, descriptions, and categories.
Series
Access TV series data including summaries and season counts.
Products
List e-commerce products available in the Rakcha store.
Users
Authenticate users and retrieve account information.