categories

Create a category

This operation creates a category you can assign to a video for organization.

post/categories

Request body

Example request

{
  "category": {
    "name": "My first category",
    "description": "This is a category description",
    "parent_id": "cb65a918-ad7d-406a-80d8-09c9c8d0dbb"
  }
}

Response

Success

Example response

{
  "category": {
    "id": "cb65a918-ad7d-406a-80d8-09c9c8d0dbbd",
    "name": "My first category",
    "description": "This is a category description.",
    "parent_id": "cb65a918-ad7d-406a-80d8-09c9c8d0dbb"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.