cms.c2sgmbh/src/app/(frontend)/api/news
Martin Porwoll aa1f8b1054 feat: add dedicated News API with tenant isolation and security features
- /api/news: List endpoint with filtering by type, category, featured, search, date
- /api/news/[slug]: Detail endpoint with related posts and navigation
- Required tenant ID for strict tenant isolation (security fix)
- Related posts filtered by same type AND category for relevance
- Navigation (prev/next) filtered by same type
- Archive with pagination (500/page, max 10k posts) instead of hard limit
- Rate limiting, IP blocking, caching headers included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 22:24:08 +00:00
..
[slug] feat: add dedicated News API with tenant isolation and security features 2025-12-12 22:24:08 +00:00
route.ts feat: add dedicated News API with tenant isolation and security features 2025-12-12 22:24:08 +00:00