Get a single legal document.
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.
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
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/legal/string"{ "data": { "slug": "privacy", "title": "Privacy Policy", "version": "2026-06-01", "locale": "en", "effectiveDate": "2026-06-01", "body": "# Privacy Policy\n\n_Last updated: 1 June 2026_\n\nWe take your privacy seriously…", "updatedAt": "2026-06-01T00:00:00.000Z" }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "NOT_FOUND", "message": "Resource not found.", "targetType": "food_truck", "targetId": "trk_01jq8z2hf5t8z4w9d8x4mzg2p3" }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}List legal & informational documents. GET
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.
List all legal documents for editing (admin). GET
Returns every `(slug, locale)` document with its Markdown body — the editing counterpart of the public `GET /legal`. Requires super_admin or admin.