Authentication
4-strategy auth pipeline — JWT with session binding, static tokens, session tokens, and scoped sub-tokens.
Comprehensive reference for the ODP backend API — endpoints, auth, data model, and modules.
This is the internal API documentation for the ODP Service API — a headless content and data management platform built on Fastify 5, TypeScript, and Knex.
http://localhost:8055Configured via PUBLIC_URL environment variable.
All endpoints return JSON. Successful responses wrap data in a data key:
{
"data": { ... }
}List responses may also include meta:
{
"data": [...],
"meta": {
"total_count": 100,
"filter_count": 25
}
}Errors return an errors array:
{
"errors": [
{
"message": "You don't have permission to access this.",
"extensions": {
"code": "FORBIDDEN"
}
}
]
}Pass the access token in the Authorization header:
Authorization: Bearer <access_token>See Auth Middleware & Token Strategy for full details.