Genres
Genres in two levels: parent groups and their genres. Reference data: answers may be kept for a day.
All genres, parent groups and their genres alike, ordered by slug. Pages with page and limit; hasMore is exact. translations holds the name in every language.
ApiKeyAuthX-API-Key<token>Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.
limit?number1 <= value <= 10050page?number1 <= value1parentId?stringOnly the genres of this parent group.
uuiddomains?stringComma-separated domains (culture,leisure): only genres used in one of them. Your key's domain limit always applies.
lang?stringLanguage of name: the requested language, then German, English, any (default de).
"de""en""fr""it""es""ru""zh""ja""ko""ar"updatedSince?stringOnly records changed at or after this instant (compare with updatedAt). Removed records are listed by GET /changes.
date-timeformat?stringjsonld = schema.org JSON-LD (application/ld+json), json = the JSON shape (default). Wins over the Accept header; without it, JSON-LD is sent only when Accept prefers application/ld+json over application/json and */*.
"json""jsonld"Successful response
- response
data*array<>pagination*curl -X GET 'https://api.cixtra.app/api/v1/genres'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "parent": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "domains": [ "culture" ] }, "domains": [ "culture" ], "lang": "string", "updatedAt": "string" } ], "pagination": { "limit": 0, "page": 0, "hasMore": true }}Every parent group with its genres, the whole tree in one answer (no paging). A group without genres is left out.
ApiKeyAuthX-API-Key<token>Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.
domains?stringComma-separated domains (culture,leisure): only genres used in one of them. Your key's domain limit always applies.
lang?stringLanguage of name: the requested language, then German, English, any (default de).
"de""en""fr""it""es""ru""zh""ja""ko""ar"Successful response
application/json- response
data*array<>pagination*curl -X GET 'https://api.cixtra.app/api/v1/genres/grouped'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "domains": [ "culture" ], "lang": "string", "updatedAt": "string", "genres": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "parent": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "domains": [ "culture" ] }, "domains": [ "culture" ], "lang": "string", "updatedAt": "string" } ] } ], "pagination": { "limit": 0, "page": 0, "hasMore": true }}One genre or parent group. A genre outside your key's domains answers 404.
ApiKeyAuthX-API-Key<token>Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.
id*stringuuiddomains?stringComma-separated domains (culture,leisure): only genres used in one of them. Your key's domain limit always applies.
lang?stringLanguage of name: the requested language, then German, English, any (default de).
"de""en""fr""it""es""ru""zh""ja""ko""ar"format?stringjsonld = schema.org JSON-LD (application/ld+json), json = the JSON shape (default). Wins over the Accept header; without it, JSON-LD is sent only when Accept prefers application/ld+json over application/json and */*.
"json""jsonld"Successful response
- response
data*curl -X GET 'https://api.cixtra.app/api/v1/genres/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "parent": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "translations": { "property1": { "name": "string" }, "property2": { "name": "string" } }, "domains": [ "culture" ] }, "domains": [ "culture" ], "lang": "string", "updatedAt": "string" }}