All available endpoints. Some endpoints require a token obtained via the auth endpoint. If you can't automate some of your workflows via API, feel free to request more end points. They will be then implemented if they make sense for the greater good.
Service health check
curl https://meetagain.org/api/status
Translation strings
curl https://meetagain.org/api/translations
Glossary data
curl https://meetagain.org/api/glossary
Generate Bearer token (email + password)
TOKEN=$(curl -s -X POST https://meetagain.org/api/auth/token \
-H 'Content-Type: application/json' \
-d '{"email":"admin@example.com","password":"..."}' | jq -r .token)
Revoke current token (requires Bearer)
curl -s -X DELETE https://meetagain.org/api/auth/token \ -H "Authorization: Bearer $TOKEN"
List all CMS pages
curl https://meetagain.org/api/cms/ \ -H "Authorization: Bearer $TOKEN"
Get full page with blocks
curl https://meetagain.org/api/cms/1 \ -H "Authorization: Bearer $TOKEN"
Create page — body: {slug, titles, linkNames}
curl -X POST https://meetagain.org/api/cms/ \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"slug":"my-page","titles":{"en":"My Page","de":"Meine Seite"},"linkNames":{"en":"My Page","de":"Meine Seite"}}'
Update metadata — slug, published, titles, linkNames
curl -X PUT https://meetagain.org/api/cms/1 \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"published":true,"titles":{"en":"Updated Title"}}'
Delete page (not allowed if locked)
curl -X DELETE https://meetagain.org/api/cms/1 \ -H "Authorization: Bearer $TOKEN"
Add block — body: {language, type, priority, json}
curl -X POST https://meetagain.org/api/cms/1/blocks \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"language":"en","type":1,"priority":1,"json":{"text":"Hello World"}}'
Update block json and/or priority
curl -X PUT https://meetagain.org/api/cms/1/blocks/5 \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"priority":2,"json":{"text":"Updated content"}}'
Delete block
curl -X DELETE https://meetagain.org/api/cms/1/blocks/5 \ -H "Authorization: Bearer $TOKEN"