Get a single category
Fetching category
Getting a single category is done by sending a GET
request to the /categories/:id
endpoint.
curl -X GET https://app.ignitevideo.cloud/api/categories/:id \
-H "Authorization: Bearer YOUR_TOKEN"
API Response
The response is a category object or, if the category is not found, a 404 status code with a matching error message in the body is returned.
Error response (404)
{
"errors": [
{
"message": "The requested resource could not be found.",
}
]
}