VideoCategories
videoCategory
리소스는 업로드된 동영상과 연결되었거나 연결할 수 있는 카테고리를 확인합니다.
방법
API는 videoCategories
리소스에 다음 메서드를 지원합니다.
- list
- YouTube 동영상과 연결할 수 있는 카테고리 목록을 반환합니다.
지금 사용해보기
리소스 표현
다음 JSON 구조는 videoCategories
리소스의 형식을 보여줍니다.
{
"kind": "youtube#videoCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string,
"assignable": boolean
}
}
속성
다음 표는 이 리소스에 표시되는 속성을 정의합니다.
속성 |
kind |
string
API 리소스 유형을 식별합니다. 값은 youtube#videoCategory 입니다. |
etag |
etag
이 리소스의 Etag입니다. |
id |
string
YouTube가 동영상 카테고리를 고유하게 식별하는 데 사용하는 ID입니다. |
snippet |
object
snippet 객체에는 제목을 비롯하여 동영상 카테고리에 대한 기본 세부정보가 포함됩니다. |
snippet.channelId |
string
동영상 카테고리를 만든 YouTube 채널입니다. |
snippet.title |
string
동영상 카테고리의 제목입니다. |
snippet.assignable |
boolean
동영상을 카테고리와 연결할 수 있는지 여부를 나타냅니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-04-26(UTC)
[null,null,["최종 업데이트: 2024-04-26(UTC)"],[[["A `videoCategory` resource in the YouTube API defines a category that can be associated with uploaded videos."],["The API's `videoCategories` list method returns a list of categories applicable to YouTube videos."],["Each `videoCategory` resource includes an ID, a title, and information about whether the category is assignable to videos."],["The `snippet` section within a `videoCategory` resource provides basic details such as the channel that created it and its title."],["The `kind` property of the resource is always a string that identifies the resource type as `youtube#videoCategory`."]]],[]]