API Reference Introduction
Welcome to the CMS API Reference documentation. This section provides comprehensive documentation for all API endpoints, request/response schemas, and authentication methods.Overview
The CMS API is a RESTful API built with:- Symfony 7.4 - PHP framework
- API Platform 3.4 - REST/GraphQL API framework
- JSON-LD + Hydra - Semantic API responses
- OpenAPI 3.0 - API specification standard
Base URL
Authentication
All API requests require authentication via JWT Bearer tokens:Required Headers
X-Tenant-Id
Specifies which tenant’s data to access:X-Site-Id (Optional)
For multi-site tenants, specifies which site to access:Response Format
All responses follow the JSON-LD format with Hydra context:Error Responses
Errors follow RFC 7807 Problem Details format:Rate Limiting
- Anonymous: 100 requests per 15 minutes
- Authenticated: 1000 requests per 15 minutes
Pagination
Collection endpoints support pagination:Filtering
Use query parameters to filter collections:Getting Started
Authentication Guide
Learn how to authenticate with the API
Architecture
Understand the system architecture
Multi-Tenancy
Learn about multi-tenant architecture
API Contracts
Understand request/response schemas
API Endpoints
The following endpoint categories are available:- Articles - Create and manage blog posts
- Pages - Create and manage static pages
- Media - Upload and manage images/documents
- Categories - Organize content by categories
- Tags - Add tags to content
- Menus - Create navigation menus
- Blocks - Reusable content blocks
- Settings - Site configuration
- Users - User management (admin only)
- Search - Full-text search across content
Next Steps
- Review the Authentication Guide
- Explore individual endpoint documentation
- Test endpoints using the interactive API playground
- Generate TypeScript types from the OpenAPI spec
This API reference is automatically generated from the OpenAPI specification. All endpoints are documented with request/response examples.