Migrating from Deprecated CDS Endpoints
Several single-purpose CDS endpoints have been deprecated in favor of the unified Post Listing endpoint with query filters.Posts by Category
Posts by Tag
Posts by Author
Latest Posts by Type
Homepage
Search
Post by Slug
Related Posts
Benefits of Migration
The new/posts/ endpoint provides:
- Advanced filtering with operators (
__eq,__contains,__in,__gte,__lte) - Sorting with
sort_byandsort_orderparameters - Combined filters for complex queries
- Consistent pagination across all queries
- Cache-Tags for CDN integration
Migration Checklist
- Identify all deprecated endpoint calls in your codebase
- Replace each with the equivalent
/posts/query - Test that response data matches expected format
- Update any response parsing (field names are consistent)
- Monitor for deprecation warnings in API responses