Northern Powerhouse
|
22978aa132
|
Add EPG program search API endpoint with advanced filtering
- Add ProgramSearchResultSerializer with nested channel/stream data
- Implement ProgramSearchAPIView with comprehensive filtering:
* Text search with AND/OR operators and parenthetical grouping
* Regex pattern matching support
* Whole word matching to avoid partial matches
* Time-based filtering (airing_at, start/end ranges)
* Channel/stream/group filtering
* Configurable field selection for response customization
* Pagination (50 default, 500 max per page)
- Add /api/epg/programs/search/ endpoint
- Add comprehensive API documentation
- Enhanced Swagger/OpenAPI schema with examples
Examples:
- Complex queries: (Newcastle OR NEW) AND (Villa OR AST)
- Whole words: title=NEW&title_whole_words=true
- Regex: title=^Premier&title_regex=true
- Time filtering: airing_at=2026-02-14T20:00:00Z
|
2026-02-14 15:48:02 +01:00 |
|