/dw/facets

POST /api/dw/facets

Price: 5 credits

List the values every dw/articles/search filter accepts in one Deutsche Welle language edition — content types, genres, priorities, surfaces, categories, kickers, regions, subjects and programs — each with how much content carries it.

How to use it

Call this before building a filtered dw/articles/search query. Category, kicker, region, subject and program values are written in the edition's own language, so the German edition answers 'Politik' where the English one answers 'Politics'; passing a value from the wrong edition returns nothing. content_count is the number of items DW currently indexes under that value. Set keyword to see how the values split for a specific query. Chinese (zh, zh-hant) has no search index.

Parameters

Request body

Response

Errors

Response headers