List legal & informational documents.
Returns the available legal/info documents (privacy, terms, about, account-deletion, support) for the requested locale — slug, title, and version only, no bodies. Anonymous. Locale is taken from `Accept-Language`; documents not yet translated fall back to English.
Authorization
bearerAuth AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
curl -X GET "https://example.com/api/v1/legal"{ "data": { "items": [ { "slug": "about", "title": "About TrackMe", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01" }, { "slug": "privacy", "title": "Privacy Policy", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01" }, { "slug": "terms", "title": "Terms of Service", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01" }, { "slug": "account-deletion", "title": "Account & Data Deletion", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01" }, { "slug": "support", "title": "Support & Contact", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01" } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Bulk reorder categories. PATCH
Applies a list of `{ id, sortOrder }` pairs atomically. Any id missing from the list keeps its current order — so partial reorders are safe.
Get a single legal document. GET
Returns one document by slug with its Markdown `body`. Use the slugs from `GET /legal` (e.g. `privacy`, `terms`, `about`, `account-deletion`, `support`). Anonymous; locale via `Accept-Language` with English fallback.