The live/broadcast channels.
The curated homepage feed (top news + regional).
The news feed, optionally filtered by region(s) or by Ressort — not both: the
API applies the Ressort and silently ignores the regions, so the combination is
rejected with a TagesschauValidationError before any request. date (YYMMDD) is the
page cursor the API puts into nextPage; pass it to fetch that older page.
Each region must be one of RegionValues and the ressort one of
RessortValues (regionProblem / ressortProblem): the API does not reject
an unknown value, so anything else is a TagesschauValidationError before any
request. So is an unknown key (region, Ressort) and a regions that is not an
array: the API ignores what it doesn't know and answers with the unfiltered feed.
Full-text search across articles. The search text goes out in its canonical form
(normalizeText): NFKC and trimmed. The API finds nothing for a decomposed umlaut
("Ko" + U+0308, as pasted from macOS file names or PDFs), which looks identical to the
composed "Köln" with hundreds of hits; NFKC also folds fullwidth digits and ligatures;
and a trailing space or newline went out as typed.
A blank or missing search text (searchTextProblem) is rejected with a
TagesschauValidationError before any request: upstream answers an empty one
with HTTP 400 and runs a whitespace-only one as is. So is a pageSize outside
1..MAX_SEARCH_INT or a resultPage outside 0..MAX_SEARCH_INT (integers
only; pageSizeProblem / resultPageProblem), and an unknown key (page,
query).
One item in full (its
content[]blocks): the answer of the item'sdetailsURL.idis that URL, its path, or the path under /api2u/ without.json(articleIdOf); anything else (another host, a query,.., an escape) is aTagesschauValidationErrorbefore any request. The request goes to the client's base URL, whatever host the URL named. An item that is gone (depublished) is the API's 404, aTagesschauApiError.