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 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 75 | <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.channelSections.html">channelSections</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Deletes a resource.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 84 | <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 85 | <p class="firstline">Inserts a new resource into this collection.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 87 | <code><a href="#list">list(part, onBehalfOfContentOwner=None, id=None, channelId=None, mine=None, hl=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 88 | <p class="firstline">Retrieves a list of resources, possibly filtered.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 90 | <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
| 91 | <p class="firstline">Updates an existing resource.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 94 | <code class="details" id="close">close()</code> |
| 95 | <pre>Close httplib2 connections.</pre> |
| 96 | </div> |
| 97 | |
| 98 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 99 | <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
| 100 | <pre>Deletes a resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 101 | |
| 102 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 103 | id: string, A parameter (required) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 104 | onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 105 | x__xgafv: string, V1 error format. |
| 106 | Allowed values |
| 107 | 1 - v1 error format |
| 108 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 109 | </pre> |
| 110 | </div> |
| 111 | |
| 112 | <div class="method"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 113 | <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 114 | <pre>Inserts a new resource into this collection. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 115 | |
| 116 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 117 | 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. The part names that you can include in the parameter value are snippet and contentDetails. (required) (repeated) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 118 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 119 | The object takes the form of: |
| 120 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 121 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 122 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 123 | "localizations": { # Localizations for different languages |
| 124 | "a_key": { # ChannelSection localization setting |
| 125 | "title": "A String", # The localized strings for channel section's title. |
| 126 | }, |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 127 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 128 | "etag": "A String", # Etag of this resource. |
| 129 | "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. |
| 130 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 131 | "A String", |
| 132 | ], |
| 133 | "channels": [ # The channel ids for type multiple_channels. |
| 134 | "A String", |
| 135 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 136 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 137 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 138 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 139 | "regions": [ # The region the channel section is targeting. |
| 140 | "A String", |
| 141 | ], |
| 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 | }, |
| 149 | "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. |
| 150 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 151 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 152 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 153 | "title": "A String", # The localized strings for channel section's title. |
| 154 | }, |
| 155 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 156 | "position": 42, # The position of the channel section in the channel. |
| 157 | "style": "A String", # The style of the channel section. |
| 158 | "type": "A String", # The type of the channel section. |
| 159 | }, |
| 160 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 161 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 162 | onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. 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. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 163 | onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. 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. 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 164 | x__xgafv: string, V1 error format. |
| 165 | Allowed values |
| 166 | 1 - v1 error format |
| 167 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 168 | |
| 169 | Returns: |
| 170 | An object of the form: |
| 171 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 172 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 173 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 174 | "localizations": { # Localizations for different languages |
| 175 | "a_key": { # ChannelSection localization setting |
| 176 | "title": "A String", # The localized strings for channel section's title. |
| 177 | }, |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 178 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 179 | "etag": "A String", # Etag of this resource. |
| 180 | "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. |
| 181 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 182 | "A String", |
| 183 | ], |
| 184 | "channels": [ # The channel ids for type multiple_channels. |
| 185 | "A String", |
| 186 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 187 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 188 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 189 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 190 | "regions": [ # The region the channel section is targeting. |
| 191 | "A String", |
| 192 | ], |
| 193 | "countries": [ # The country the channel section is targeting. |
| 194 | "A String", |
| 195 | ], |
| 196 | "languages": [ # The language the channel section is targeting. |
| 197 | "A String", |
| 198 | ], |
| 199 | }, |
| 200 | "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. |
| 201 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 202 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 203 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 204 | "title": "A String", # The localized strings for channel section's title. |
| 205 | }, |
| 206 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 207 | "position": 42, # The position of the channel section in the channel. |
| 208 | "style": "A String", # The style of the channel section. |
| 209 | "type": "A String", # The type of the channel section. |
| 210 | }, |
| 211 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 212 | </div> |
| 213 | |
| 214 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 215 | <code class="details" id="list">list(part, onBehalfOfContentOwner=None, id=None, channelId=None, mine=None, hl=None, x__xgafv=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 216 | <pre>Retrieves a list of resources, possibly filtered. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 217 | |
| 218 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 219 | 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. 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) (repeated) |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 220 | onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. 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. |
| 221 | id: string, Return the ChannelSections with the given IDs for Stubby or Apiary. (repeated) |
| 222 | channelId: string, Return the ChannelSections owned by the specified channel ID. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 223 | mine: boolean, Return the ChannelSections owned by the authenticated user. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 224 | hl: string, Return content in specified language |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 225 | x__xgafv: string, V1 error format. |
| 226 | Allowed values |
| 227 | 1 - v1 error format |
| 228 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 229 | |
| 230 | Returns: |
| 231 | An object of the form: |
| 232 | |
| 233 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 234 | "visitorId": "A String", # The visitorId identifies the visitor. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 235 | "items": [ # A list of ChannelSections that match the request criteria. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 236 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 237 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 238 | "localizations": { # Localizations for different languages |
| 239 | "a_key": { # ChannelSection localization setting |
| 240 | "title": "A String", # The localized strings for channel section's title. |
| 241 | }, |
| 242 | }, |
| 243 | "etag": "A String", # Etag of this resource. |
| 244 | "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. |
| 245 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 246 | "A String", |
| 247 | ], |
| 248 | "channels": [ # The channel ids for type multiple_channels. |
| 249 | "A String", |
| 250 | ], |
| 251 | }, |
| 252 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 253 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 254 | "regions": [ # The region the channel section is targeting. |
| 255 | "A String", |
| 256 | ], |
| 257 | "countries": [ # The country the channel section is targeting. |
| 258 | "A String", |
| 259 | ], |
| 260 | "languages": [ # The language the channel section is targeting. |
| 261 | "A String", |
| 262 | ], |
| 263 | }, |
| 264 | "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. |
| 265 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 266 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 267 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 268 | "title": "A String", # The localized strings for channel section's title. |
| 269 | }, |
| 270 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 271 | "position": 42, # The position of the channel section in the channel. |
| 272 | "style": "A String", # The style of the channel section. |
| 273 | "type": "A String", # The type of the channel section. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 274 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 275 | }, |
| 276 | ], |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 277 | "kind": "youtube#channelSectionListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSectionListResponse". |
| 278 | "etag": "A String", # Etag of this resource. |
| 279 | "eventId": "A String", # Serialized EventId of the request which produced this response. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 280 | }</pre> |
| 281 | </div> |
| 282 | |
| 283 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 284 | <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
| 285 | <pre>Updates an existing resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 286 | |
| 287 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 288 | 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. The part names that you can include in the parameter value are snippet and contentDetails. (required) (repeated) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 289 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 290 | The object takes the form of: |
| 291 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 292 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 293 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 294 | "localizations": { # Localizations for different languages |
| 295 | "a_key": { # ChannelSection localization setting |
| 296 | "title": "A String", # The localized strings for channel section's title. |
| 297 | }, |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 298 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 299 | "etag": "A String", # Etag of this resource. |
| 300 | "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. |
| 301 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 302 | "A String", |
| 303 | ], |
| 304 | "channels": [ # The channel ids for type multiple_channels. |
| 305 | "A String", |
| 306 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 307 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 308 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 309 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 310 | "regions": [ # The region the channel section is targeting. |
| 311 | "A String", |
| 312 | ], |
| 313 | "countries": [ # The country the channel section is targeting. |
| 314 | "A String", |
| 315 | ], |
| 316 | "languages": [ # The language the channel section is targeting. |
| 317 | "A String", |
| 318 | ], |
| 319 | }, |
| 320 | "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. |
| 321 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 322 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 323 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 324 | "title": "A String", # The localized strings for channel section's title. |
| 325 | }, |
| 326 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 327 | "position": 42, # The position of the channel section in the channel. |
| 328 | "style": "A String", # The style of the channel section. |
| 329 | "type": "A String", # The type of the channel section. |
| 330 | }, |
| 331 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 332 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 333 | onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 334 | x__xgafv: string, V1 error format. |
| 335 | Allowed values |
| 336 | 1 - v1 error format |
| 337 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 338 | |
| 339 | Returns: |
| 340 | An object of the form: |
| 341 | |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 342 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 343 | "kind": "youtube#channelSection", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". |
| 344 | "localizations": { # Localizations for different languages |
| 345 | "a_key": { # ChannelSection localization setting |
| 346 | "title": "A String", # The localized strings for channel section's title. |
| 347 | }, |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 348 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 349 | "etag": "A String", # Etag of this resource. |
| 350 | "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. |
| 351 | "playlists": [ # The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. |
| 352 | "A String", |
| 353 | ], |
| 354 | "channels": [ # The channel ids for type multiple_channels. |
| 355 | "A String", |
| 356 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 357 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 358 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel section. |
| 359 | "targeting": { # ChannelSection targeting setting. # The targeting object contains basic targeting settings about the channel section. |
| 360 | "regions": [ # The region the channel section is targeting. |
| 361 | "A String", |
| 362 | ], |
| 363 | "countries": [ # The country the channel section is targeting. |
| 364 | "A String", |
| 365 | ], |
| 366 | "languages": [ # The language the channel section is targeting. |
| 367 | "A String", |
| 368 | ], |
| 369 | }, |
| 370 | "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. |
| 371 | "defaultLanguage": "A String", # The language of the channel section's default title and description. |
| 372 | "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that published the channel section. |
| 373 | "localized": { # ChannelSection localization setting # Localized title, read-only. |
| 374 | "title": "A String", # The localized strings for channel section's title. |
| 375 | }, |
| 376 | "title": "A String", # The channel section's title for multiple_playlists and multiple_channels. |
| 377 | "position": 42, # The position of the channel section in the channel. |
| 378 | "style": "A String", # The style of the channel section. |
| 379 | "type": "A String", # The type of the channel section. |
| 380 | }, |
| 381 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 382 | </div> |
| 383 | |
| 384 | </body></html> |