GET/api/public/legal
Returns all published legal texts (legal notice, privacy policy, terms and conditions) in one response.
In the `data` object, the response contains for each legal text (`impressum`, `datenschutz`, `agb`) the HTML content `body_html`, the time of the last change `updated_at` and the version number `version`. The endpoint requires neither sign-in nor parameters. To retrieve a single text, use `GET /api/public/legal/:slug`.
Overview
Call: GET /api/public/legal. This endpoint belongs to the “Public Content” group of the Zentor App API. It is publicly accessible and requires no authentication. The call is idempotent: repeating it with the same input returns the same result. It takes no parameters. No endpoint-specific error codes are documented. The example response below shows the structure of a successful JSON response.
Auth & Security
No authentication required
Idempotent: Yes
Example Response
{"ok":true,"data":{"impressum":{"body_html":"...","updated_at":null,"version":0},"datenschutz":{"body_html":"...","updated_at":null,"version":0},"agb":{"body_html":"...","updated_at":null,"version":0}}}Verified behaviour
The request returns 200 with all three legal texts.
Public Content
GET /api/public/legal/:slugReturns a single legal text as HTML.GET /api/public/marketingReturns all published, editorially maintained marketing pages in one response.GET /api/public/marketing/:slugReturns a single editorially maintained marketing page as HTML.GET /api/public/text-colorsReturns the globally configured text colours of the Zentor App website.GET /api/public/themeReturns the currently active global theme level of the Zentor App website.