Data Structure
List Categories
Retrieve a paginated list of post categories.Available Filters
filter[type]- Filter by category typefilter[country]- Filter by countryfilter[name]- Filter by category namesort- Sort by field (e.g.,name,-created_at)include- Include related resources (e.g.,posts,site)per_page- Number of items per page (default: 15)
Get Category
Retrieve a specific category by ID.Error Handling
- 404 Not Found - Category does not exist
- 422 Validation Error - Invalid input data
Best Practices
- Cache responses for improved performance
- Use appropriate filters to minimize data transfer
- Include related data only when needed
- Handle site-specific content appropriately

