ChannelSections

  • A channelSection resource contains information about a set of videos that a channel features, such as latest uploads, popular uploads, or playlists.

  • Channels can manage their featured videos using the API, which allows creating, listing, updating, and deleting channelSection resources.

  • A channel can have a maximum of 10 sections, each with a specified type like singlePlaylist, multipleChannels, or popularUploads.

  • Each channelSection has properties such as kind, etag, id, snippet, and contentDetails, which specify details about the section and its contents.

  • The contentDetails property can contain a list of either playlists or channels featured in the section, depending on the snippet.type property.

A channelSection resource contains information about a set of videos that a channel has chosen to feature. For example, a section could feature a channel's latest uploads, most popular uploads, or videos from one or more playlists.

A channel can create a maximum of 10 shelves.

Methods

The API supports the following methods for channelSections resources:

list
Returns a list of channelSection resources that match the API request criteria. Try it now.
insert
Adds a channel section to the authenticated user's channel. A channel can create a maximum of 10 shelves. Try it now.
update
Updates a channel section. Try it now.
delete
Deletes a channel section. Try it now.

Resource representation

The following JSON structure shows the format of a channelSections resource:

{
  "kind": "youtube#channelSection",
  "etag": etag,
  "id": string,
  "snippet": {
    "type": string,
    "channelId": string,
    "title": string,
    "position": unsigned integer
  },
  "contentDetails": {
    "playlists": [
      string
    ],
    "channels": [
      string
    ]
  }
}

Properties

The following table defines the properties that appear in this resource: