Resource: ChannelSection
A channelSection resource contains information about a set of videos that a channel has chosen to feature. For example, a section can feature a channel's latest uploads, most popular uploads, or videos from one or more playlists.
A channel can create a maximum of 10 channel sections.
| JSON representation |
|---|
{ "kind": string, "etag": string, "id": string, "snippet": { "type": enum, "channelId": string, "title": string, "position": integer }, "contentDetails": { "playlists": [ string ], "channels": [ string ] } } |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
id |
The ID that YouTube uses to uniquely identify the channel section. |
snippet |
The |
snippet.type |
The channel section's type.
Valid values of this enum field are:
|
snippet.channelId |
Output only. The ID that YouTube uses to uniquely identify the channel that published the channel section. |
snippet.title |
The section's title. This property should be set when |
snippet.position |
The section's position on the channel page. This property uses a 0-based index, where When omitted in a |
contentDetails |
The |
contentDetails.playlists[] |
A list of one or more unique public playlist IDs featured in a channel section. Specify this property only when For |
contentDetails.channels[] |
A list of 1 to 100 unique public channel IDs featured in a channel section. Specify this property only when |
Methods |
|
|---|---|
|
Deletes a channel section. |
|
Adds a channel section to the authenticated user's channel. |
|
Returns a list of channelSection resources that match the API request criteria. |
|
Updates a channel section. |