Skip to content

Get Category

Get a category’s details and artwork.

GET https://api.mediux.io/categories/{categoryId}

Response format, pagination and caching.

Status: 200 OK

Response headers:

content-type: application/json; charset=utf-8
{
"data": {
"id": 7,
"kind": "category",
"name": "Example Category",
"description": "An example category used to group media.",
"group": "genres",
"assets": {
"posters": [],
"thumbs": []
}
}
}

Status: 404 Not Found

Response headers:

content-type: application/json; charset=utf-8
{
"data": null,
"error": {
"code": "not_found",
"message": "The requested resource was not found."
}
}