John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="youtube_v3.html">YouTube Data API</a> . <a href="youtube_v3.channelSections.html">channelSections</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 78 | <code><a href="#delete">delete(id, onBehalfOfContentOwner=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 79 | <p class="firstline">Deletes a channelSection.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 82 | <p class="firstline">Adds a channelSection for the authenticated user's channel.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 84 | <code><a href="#list">list(part, channelId=None, hl=None, id=None, mine=None, onBehalfOfContentOwner=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 85 | <p class="firstline">Returns channelSection resources that match the API request criteria.</p> |
| 86 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 87 | <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 88 | <p class="firstline">Update a channelSection.</p> |
| 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 91 | <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <pre>Deletes a channelSection. |
| 93 | |
| 94 | Args: |
| 95 | id: string, The id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In a channelSection resource, the id property specifies the YouTube channelSection ID. (required) |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 96 | onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. |
| 97 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 98 | The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 99 | </pre> |
| 100 | </div> |
| 101 | |
| 102 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 103 | <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 104 | <pre>Adds a channelSection for the authenticated user's channel. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 105 | |
| 106 | Args: |
| 107 | part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. |
| 108 | |
| 109 | The part names that you can include in the parameter value are snippet and contentDetails. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 110 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 111 | The object takes the form of: |
| 112 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 113 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 114 | "contentDetails": { # Details about a channelsection, including playlists and channels. # The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. |
| 115 | "channels": [ # The channel ids for type multiple_channels. |
| 116 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 117 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 118 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 119 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 120 | ], |
| 121 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 122 | "etag": "A String", # Etag of this resource. |
| 123 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 124 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 125 | "localizations": { # Localizations for different languages |
| 126 | "a_key": { # ChannelSection localization setting # The language tag, using string since map_key require simple types. |
| 127 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 128 | }, |
| 129 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 130 | "snippet": { # Basic details about a channel section, including title, style and position. # The snippet object contains basic details about the channel section, such as its type, style and title. |
| 131 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 132 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 133 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 134 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 135 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 136 | "position": 42, # The position of the channel section in the channel. |
| 137 | "style": "A String", # The style of the channel section. |
| 138 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 139 | "type": "A String", # The type of the channel section. |
| 140 | }, |
| 141 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 142 | "countries": [ # The country the channel section is targeting. |
| 143 | "A String", |
| 144 | ], |
| 145 | "languages": [ # The language the channel section is targeting. |
| 146 | "A String", |
| 147 | ], |
| 148 | "regions": [ # The region the channel section is targeting. |
| 149 | "A String", |
| 150 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 151 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 152 | } |
| 153 | |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 154 | onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. |
| 155 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 156 | The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 157 | onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. |
| 158 | |
| 159 | The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. |
| 160 | |
| 161 | This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. |
| 162 | |
| 163 | Returns: |
| 164 | An object of the form: |
| 165 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 166 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 167 | "contentDetails": { # Details about a channelsection, including playlists and channels. # The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. |
| 168 | "channels": [ # The channel ids for type multiple_channels. |
| 169 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 170 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 171 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 172 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 173 | ], |
| 174 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 175 | "etag": "A String", # Etag of this resource. |
| 176 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 177 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 178 | "localizations": { # Localizations for different languages |
| 179 | "a_key": { # ChannelSection localization setting # The language tag, using string since map_key require simple types. |
| 180 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 181 | }, |
| 182 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | "snippet": { # Basic details about a channel section, including title, style and position. # The snippet object contains basic details about the channel section, such as its type, style and title. |
| 184 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 185 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 186 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 187 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 188 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | "position": 42, # The position of the channel section in the channel. |
| 190 | "style": "A String", # The style of the channel section. |
| 191 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 192 | "type": "A String", # The type of the channel section. |
| 193 | }, |
| 194 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 195 | "countries": [ # The country the channel section is targeting. |
| 196 | "A String", |
| 197 | ], |
| 198 | "languages": [ # The language the channel section is targeting. |
| 199 | "A String", |
| 200 | ], |
| 201 | "regions": [ # The region the channel section is targeting. |
| 202 | "A String", |
| 203 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 204 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 205 | }</pre> |
| 206 | </div> |
| 207 | |
| 208 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 209 | <code class="details" id="list">list(part, channelId=None, hl=None, id=None, mine=None, onBehalfOfContentOwner=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 210 | <pre>Returns channelSection resources that match the API request criteria. |
| 211 | |
| 212 | Args: |
| 213 | part: string, The part parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails. |
| 214 | |
| 215 | If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set part=snippet, the API response will also contain all of those nested properties. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | channelId: string, The channelId parameter specifies a YouTube channel ID. The API will only return that channel's channelSections. |
| 217 | hl: string, The hl parameter indicates that the snippet.localized property values in the returned channelSection resources should be in the specified language if localized values for that language are available. For example, if the API request specifies hl=de, the snippet.localized properties in the API response will contain German titles if German titles are available. Channel owners can provide localized channel section titles using either the channelSections.insert or channelSections.update method. |
| 218 | id: string, The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the resource(s) that are being retrieved. In a channelSection resource, the id property specifies the YouTube channelSection ID. |
| 219 | mine: boolean, Set this parameter's value to true to retrieve a feed of the authenticated user's channelSections. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 220 | onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. |
| 221 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 222 | The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 223 | |
| 224 | Returns: |
| 225 | An object of the form: |
| 226 | |
| 227 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | "etag": "A String", # Etag of this resource. |
| 229 | "eventId": "A String", # Serialized EventId of the request which produced this response. |
| 230 | "items": [ # A list of ChannelSections that match the request criteria. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 231 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 232 | "contentDetails": { # Details about a channelsection, including playlists and channels. # The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. |
| 233 | "channels": [ # The channel ids for type multiple_channels. |
| 234 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 235 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 236 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 237 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 238 | ], |
| 239 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 240 | "etag": "A String", # Etag of this resource. |
| 241 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 242 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 243 | "localizations": { # Localizations for different languages |
| 244 | "a_key": { # ChannelSection localization setting # The language tag, using string since map_key require simple types. |
| 245 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 246 | }, |
| 247 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 248 | "snippet": { # Basic details about a channel section, including title, style and position. # The snippet object contains basic details about the channel section, such as its type, style and title. |
| 249 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 250 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 251 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 252 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 253 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 254 | "position": 42, # The position of the channel section in the channel. |
| 255 | "style": "A String", # The style of the channel section. |
| 256 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 257 | "type": "A String", # The type of the channel section. |
| 258 | }, |
| 259 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 260 | "countries": [ # The country the channel section is targeting. |
| 261 | "A String", |
| 262 | ], |
| 263 | "languages": [ # The language the channel section is targeting. |
| 264 | "A String", |
| 265 | ], |
| 266 | "regions": [ # The region the channel section is targeting. |
| 267 | "A String", |
| 268 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 269 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 270 | }, |
| 271 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 272 | "kind": "youtube#channelSectionListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSectionListResponse". |
| 273 | "visitorId": "A String", # The visitorId identifies the visitor. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 274 | }</pre> |
| 275 | </div> |
| 276 | |
| 277 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 278 | <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 279 | <pre>Update a channelSection. |
| 280 | |
| 281 | Args: |
| 282 | part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. |
| 283 | |
| 284 | The part names that you can include in the parameter value are snippet and contentDetails. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 285 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 286 | The object takes the form of: |
| 287 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 288 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 289 | "contentDetails": { # Details about a channelsection, including playlists and channels. # The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. |
| 290 | "channels": [ # The channel ids for type multiple_channels. |
| 291 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 292 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 293 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 294 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 295 | ], |
| 296 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 297 | "etag": "A String", # Etag of this resource. |
| 298 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 299 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 300 | "localizations": { # Localizations for different languages |
| 301 | "a_key": { # ChannelSection localization setting # The language tag, using string since map_key require simple types. |
| 302 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 303 | }, |
| 304 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 305 | "snippet": { # Basic details about a channel section, including title, style and position. # The snippet object contains basic details about the channel section, such as its type, style and title. |
| 306 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 307 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 308 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 309 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 310 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 311 | "position": 42, # The position of the channel section in the channel. |
| 312 | "style": "A String", # The style of the channel section. |
| 313 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 314 | "type": "A String", # The type of the channel section. |
| 315 | }, |
| 316 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 317 | "countries": [ # The country the channel section is targeting. |
| 318 | "A String", |
| 319 | ], |
| 320 | "languages": [ # The language the channel section is targeting. |
| 321 | "A String", |
| 322 | ], |
| 323 | "regions": [ # The region the channel section is targeting. |
| 324 | "A String", |
| 325 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 326 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 327 | } |
| 328 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 329 | onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. |
| 330 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 331 | The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 332 | |
| 333 | Returns: |
| 334 | An object of the form: |
| 335 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 336 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 337 | "contentDetails": { # Details about a channelsection, including playlists and channels. # The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. |
| 338 | "channels": [ # The channel ids for type multiple_channels. |
| 339 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 340 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 341 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 342 | "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 343 | ], |
| 344 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 345 | "etag": "A String", # Etag of this resource. |
| 346 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 347 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 348 | "localizations": { # Localizations for different languages |
| 349 | "a_key": { # ChannelSection localization setting # The language tag, using string since map_key require simple types. |
| 350 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 351 | }, |
| 352 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 353 | "snippet": { # Basic details about a channel section, including title, style and position. # The snippet object contains basic details about the channel section, such as its type, style and title. |
| 354 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 355 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 356 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 357 | "title": "A String", # The localized strings for channel section's title. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 358 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 359 | "position": 42, # The position of the channel section in the channel. |
| 360 | "style": "A String", # The style of the channel section. |
| 361 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 362 | "type": "A String", # The type of the channel section. |
| 363 | }, |
| 364 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 365 | "countries": [ # The country the channel section is targeting. |
| 366 | "A String", |
| 367 | ], |
| 368 | "languages": [ # The language the channel section is targeting. |
| 369 | "A String", |
| 370 | ], |
| 371 | "regions": [ # The region the channel section is targeting. |
| 372 | "A String", |
| 373 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 374 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 375 | }</pre> |
| 376 | </div> |
| 377 | |
| 378 | </body></html> |