ChannelSections
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
channelSection
리소스에는
채널에서 추천하기로 선택한 동영상 예를 들어 섹션에 채널의
최신 업로드 동영상, 가장 인기 있는 업로드 동영상 또는 하나 이상의 재생목록에서 가져온 동영상을 확인할 수 있습니다.
채널에는 최대 10개의 섹션을 만들 수 있습니다.
속성
다음 표는 이 리소스에 표시되는 속성을 정의합니다.
속성 |
kind |
string
API 리소스의 유형을 식별합니다. 값은 youtube#channelSection 입니다. |
etag |
etag
이 리소스의 Etag입니다. |
id |
string
YouTube가 채널 섹션을 고유하게 식별하는 데 사용하는 ID입니다. |
snippet |
object
snippet 객체에는 유형 및 제목 등 채널 섹션에 관한 기본 세부정보가 포함됩니다. |
snippet.type |
string
채널 섹션의 유형입니다.
이 속성에 유효한 값은 다음과 같습니다.
allPlaylists
completedEvents
liveEvents
multipleChannels
multiplePlaylists
popularUploads
recentUploads
singlePlaylist
subscriptions
upcomingEvents
|
snippet.channelId |
string
YouTube가 채널 섹션을 게시한 채널을 고유하게 식별하는 데 사용하는 ID입니다. |
snippet.title |
string
섹션의 제목입니다. snippet.type 값이 multiplePlaylists 또는 multipleChannels 인 채널 섹션의 제목만 설정할 수 있습니다. 실제로 이러한 유형의 섹션을 삽입하거나 업데이트할 때는 제목을 지정해야 합니다. 다른 유형의 채널 섹션에 제목을 지정하면 이 값이 무시됩니다.
이 속성의 값은 최대 길이가 100자이며 < 및 <를 제외한 유효한 모든 UTF-8 문자를 포함할 수 있습니다. |
snippet.position |
unsigned integer
채널 페이지에서 섹션의 위치입니다. 이 속성은 0부터 시작하는 색인을 사용합니다. 값 0 은 채널에 표시되는 첫 번째 섹션을 식별하고, 값 1 은 두 번째 섹션을 식별하는 식입니다.
채널 섹션을 삽입할 때 이 속성의 값을 지정하지 않으면 기본 동작은 새 섹션을 마지막에 표시하는 것입니다. |
contentDetails |
object
contentDetails 객체에는 재생목록이나 섹션에 표시된 채널의 목록과 같이 채널 섹션의 콘텐츠에 대한 세부정보가 포함됩니다. |
contentDetails.playlists[] |
list
채널 섹션에 표시되는 하나 이상의 재생목록 ID 목록입니다. channelSection 리소스의 snippet.type 속성이 singlePlaylist 또는 multiplePlaylists 인 경우 재생목록 ID 목록을 지정해야 하며 다른 유형의 섹션에 이 속성을 지정해서는 안 됩니다. 유형이 singlePlaylist 인 경우 이 목록은 정확히 하나의 재생목록 ID를 지정해야 합니다. |
contentDetails.channels[] |
list
채널 섹션에 표시되는 하나 이상의 채널 ID 목록입니다. channelSection 리소스의 snippet.type 속성이 multipleChannels 인 경우 채널 ID 목록을 지정해야 하며 다른 유형의 섹션에 이 속성을 지정해서는 안 됩니다. 내 채널은 목록에 포함할 수 없습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-21(UTC)"],[[["\u003cp\u003eA \u003ccode\u003echannelSection\u003c/code\u003e resource contains information about a set of videos that a channel features, such as latest uploads, popular uploads, or playlists.\u003c/p\u003e\n"],["\u003cp\u003eChannels can manage their featured videos using the API, which allows creating, listing, updating, and deleting \u003ccode\u003echannelSection\u003c/code\u003e resources.\u003c/p\u003e\n"],["\u003cp\u003eA channel can have a maximum of 10 sections, each with a specified type like \u003ccode\u003esinglePlaylist\u003c/code\u003e, \u003ccode\u003emultipleChannels\u003c/code\u003e, or \u003ccode\u003epopularUploads\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003echannelSection\u003c/code\u003e has properties such as \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eetag\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003esnippet\u003c/code\u003e, and \u003ccode\u003econtentDetails\u003c/code\u003e, which specify details about the section and its contents.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econtentDetails\u003c/code\u003e property can contain a list of either playlists or channels featured in the section, depending on the \u003ccode\u003esnippet.type\u003c/code\u003e property.\u003c/p\u003e\n"]]],["Channel sections feature a curated set of videos, like latest or popular uploads, or playlists. API methods allow listing, inserting, updating, and deleting these sections. A channel can have up to 10 sections. Each section contains `snippet` and `contentDetails` objects which describes the type, title, position, and the featured channels/playlists. The type can be single or multiple playlists, or channels, amongst others. Specific titles are required for some types and cannot include \"\u003c\" or \"\u003e\".\n"],null,[]]