Retrieve categories
Changed onRetrieves categories.
Request
- Base URLhttps://api.us.cr4ce.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filter by status.
Filter by chapter slug.
Filter by form slug.
Use the value all to include results from every form rather than a single form.
Filter by parent category slug.
Filter by season slug. Use all to show all seasons.
Filter by deletion mode.
- only - Show only deleted resources.
- included - Include deleted resources.
- none - Exclude deleted resources.
Specify the page number to return.
Limit the number of items returned to between 1 and 100.
If you provide a value outside this range, you will receive a 400 response.
Sort by a supported category field.
- parent - Sort by parent slug.
- season - Sort by season slug.
Sort in ascending or descending order.
Headers
Defines the response type.
Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
Response
Categories retrieved.
Example response
{
"current_page": 1,
"data": [
{
"created": "2024-05-23T13:37:43Z",
"description": {
"en_GB": "Submit your documentary films exploring real-world subjects and stories."
},
"divisions": 1,
"form": {
"slug": "GhIjKlMn",
"link": "https://api.au.cr4ce.com/form/GhIjKlMn",
"name": {
"en_GB": "Entry form"
}
},
"name": {
"en_GB": "Documentary"
},
"parent": null,
"promoted": null,
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"shortcode": {
"en_GB": "01"
},
"slug": "AbCdEfGh",
"status": "active",
"updated": "2025-05-07T16:18:07Z",
"chapter_count": 4,
"entry_count": 3
},
{
"created": "2025-02-10T10:00:00Z",
"description": {
"en_GB": "Submit short films under 40 minutes in length."
},
"divisions": 1,
"form": {
"slug": "GhIjKlMn",
"link": "https://api.au.cr4ce.com/form/GhIjKlMn",
"name": {
"en_GB": "Entry form"
}
},
"name": {
"en_GB": "Short Film"
},
"parent": {
"slug": "KlMnOpQr",
"link": "https://api.au.cr4ce.com/category/KlMnOpQr",
"name": {
"en_GB": "Film"
}
},
"promoted": 1,
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"shortcode": {
"en_GB": "02"
},
"slug": "WxYzAbCd",
"status": "active",
"updated": "2025-02-10T10:05:00Z",
"chapter_count": 2,
"entry_count": 0
}
],
"first_page_url": "https://api.au.cr4ce.com/category?per_page=10&page=1",
"from": 1,
"last_page": 7,
"last_page_url": "https://api.au.cr4ce.com/category?per_page=10&page=7",
"next_page_url": "https://api.au.cr4ce.com/category?per_page=10&page=2",
"path": "https://api.au.cr4ce.com/category",
"per_page": 10,
"prev_page_url": "",
"to": 10,
"total": 66
}Changes
- breaking
for the
queryrequest parameterpage, the type changed fromstringtonumber - breaking
for the
queryrequest parameterper_page, the type changed fromstringtonumber - info
the
response's property default value10was added for the status (media type: application/json) - info
the
response's property default value10was added for the status (media type: application/xml)
- breaking
- breaking
the response property
/became nullable for the status (media type: application/json) - breaking
the response property
/became nullable for the status (media type: application/xml) - breaking
the response property
/became nullable for the status (media type: application/json) - breaking
the response property
/became nullable for the status (media type: application/xml) - breaking
the
/response's property format changed fromurito no format for status (media type: application/json) - breaking
the
/response's property format changed fromurito no format for status (media type: application/xml) - breaking
the
/response's property format changed fromurito no format for status (media type: application/json) - breaking
the
/response's property format changed fromurito no format for status (media type: application/xml) - breaking
the
/response's property format changed fromurito no format for status (media type: application/json) - breaking
the
/response's property format changed fromurito no format for status (media type: application/xml)
- breaking