Skip to content

feat: add /api/topics endpoint analogous to /api/channels#401

Open
boingbasti wants to merge 1 commit into
mediathekview:masterfrom
boingbasti:feature/api-topics
Open

feat: add /api/topics endpoint analogous to /api/channels#401
boingbasti wants to merge 1 commit into
mediathekview:masterfrom
boingbasti:feature/api-topics

Conversation

@boingbasti
Copy link
Copy Markdown

Adds a new GET /api/topics endpoint that returns all unique topics, optionally filtered by channel (?channel=ARD).

The implementation follows the same pattern as the existing /api/channels endpoint, using a Terms Aggregation on topic.keyword with alphabetical ordering. Size is set to 10000 to cover all unique topics.

Closes #400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature-Wunsch: /api/topics Endpunkt (analog zu /api/channels)

1 participant