Event series, festivals, artists, works, genres and regions
The lists and single records besides events, showtimes and venues, with their filters.
Besides /events, /showtimes and /locations, every kind of record has its own list and detail endpoint. They share the rules of the other read endpoints: lists come as { "data": [ … ], "pagination": { … } } (Paging), a single record as { "data": { … } }, texts follow lang (Languages), and lists and single records also answer as JSON-LD (JSON-LD). A detail request for a merged record answers 301 (Stable ids and merged records). The reference lists every field.
Event series and festivals
| Endpoint | Returns |
|---|---|
GET /event-series | Event series in your scope (through their venues). Filters: search (title), genreIds, domains, the place filters regionIds, region, regionType, near, radius (What is on in a place), updatedSince, sort=ranking. |
GET /event-series/{id or slug} | One event series with its texts, genres, artists and works. |
GET /festivals | Festivals in your scope. Filters: search, dateFrom (still running on or after that day), dateTo (starting on or before it), updatedSince, sort=ranking. |
GET /festivals/{id or slug} | One festival. |
The dates of an event series or a festival are its events: GET /events?eventSeriesIds=<id>.
Artists and works
| Endpoint | Returns |
|---|---|
GET /artists | People and ensembles. Filters: search (names), updatedSince, sort=ranking. |
GET /artists/{id or slug} | One artist. |
GET /works | Works (operas, plays, symphonies, …). Filters: search (titles), updatedSince, sort=ranking. |
GET /works/by-artist/{artistId} | The works an artist is credited on, in any role. artistId is a UUID. |
GET /works/{id or slug} | One work. |
Artists and works are not limited by your key's area, domains or genres (Scope: what a key may read). sort=ranking puts the most relevant first; your organisation's own ranking of a record wins. The events of an artist: GET /events?artistIds=<id>.
Genres
| Endpoint | Returns |
|---|---|
GET /genres | All genres, parent groups and their genres alike, ordered by slug. Filters: parentId (only the genres of one parent group), domains, updatedSince. |
GET /genres/grouped | The whole tree in one answer: each parent group with its genres in genres. Takes domains and lang. |
GET /genres/{id} | One genre or parent group, by UUID. |
You see the genres used in your domains; a genre outside them answers 404. domains narrows further, never wider. A genre has name in the asked language and the names in every language in translations. Use the ids in genreIds on /events, /showtimes and /event-series; a parent group there includes its genres.
Regions
| Endpoint | Returns |
|---|---|
GET /regions | The regions of one type, or the direct children of parentId, or without either the countries. With externalIds (comma-separated official codes, exact match) the regions with these codes. |
GET /regions/{id} | One region, by UUID. |
GET /regions/{id}/children, GET /regions/{id}/ancestors | The direct children; the parent chain up to the country. |
GET /regions/search | Regions by name: q (part of the official name, any case), types, limit (1 to 50, default 10), withParent=true for a short form with the parent's name in parentName. |
GET /regions/containing-point | The regions that contain latitude and longitude, optionally only of types. |
GET /regions/types | The region types: country, state, county, municipality, city, district, neighborhood. |
Every region list holds only regions in your area and comes in one page. Region answers may be kept for a day (Caching with ETag). Use region ids in regionIds on the event lists. A match of GET /regions/search?q=innere&types=district:
{
"data": [
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Innere Stadt",
"type": "district",
"parentId": "22222222-2222-4222-8222-222222222222",
"externalId": "90101",
"areaKm2": 2.87,
"population": 16000,
"source": "statistik-austria",
"validFrom": null,
"validTo": null,
"translations": { "de": { "name": "Innere Stadt" }, "en": { "name": "Inner City" } },
"images": []
}
],
"pagination": { "limit": 1, "page": 1, "hasMore": false }
}Without lang or Accept-Language, name here is the official name and the row has no lang; with lang=en it would be "Inner City" with "lang": "en". What each region list carries is in Paging; the boundaries as GeoJSON and the LeisureIndex of a region are in Maps and regional figures.