A videoCategory resource identifies a category that has been or could be associated with uploaded videos.
Methods
The API supports the following methods for videoCategories resources:
- list
- Returns a list of categories that can be associated with YouTube videos. Try it now.
Resource representation
The following JSON structure shows the format of a videoCategories resource:
{
"kind": "youtube#videoCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string,
"assignable": boolean
}
}Properties
The following table defines the properties that appear in this resource:
| Properties | |
|---|---|
kind |
stringIdentifies the API resource's type. The value will be youtube#videoCategory. |
etag |
etagThe Etag of this resource. |
id |
stringThe ID that YouTube uses to uniquely identify the video category. |
snippet |
objectThe snippet object contains basic details about the video category, including its title. |
snippet.channelId |
stringThe YouTube channel that created the video category. |
snippet.title |
stringThe video category's title. |
snippet.assignable |
booleanIndicates whether videos can be associated with the category. |