OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/youtube": { | 5 "https://www.googleapis.com/auth/youtube": { |
6 "description": "Manage your YouTube account" | 6 "description": "Manage your YouTube account" |
7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/youtube.force-ssl": { |
| 9 "description": "Manage your YouTube account" |
| 10 }, |
8 "https://www.googleapis.com/auth/youtube.readonly": { | 11 "https://www.googleapis.com/auth/youtube.readonly": { |
9 "description": "View your YouTube account" | 12 "description": "View your YouTube account" |
10 }, | 13 }, |
11 "https://www.googleapis.com/auth/youtube.upload": { | 14 "https://www.googleapis.com/auth/youtube.upload": { |
12 "description": "Manage your YouTube videos" | 15 "description": "Manage your YouTube videos" |
13 }, | 16 }, |
14 "https://www.googleapis.com/auth/youtubepartner": { | 17 "https://www.googleapis.com/auth/youtubepartner": { |
15 "description": "View and manage your assets and associated c
ontent on YouTube" | 18 "description": "View and manage your assets and associated c
ontent on YouTube" |
16 }, | 19 }, |
17 "https://www.googleapis.com/auth/youtubepartner-channel-audit":
{ | 20 "https://www.googleapis.com/auth/youtubepartner-channel-audit":
{ |
18 "description": "View private information of your YouTube cha
nnel relevant during the audit process with a YouTube partner" | 21 "description": "View private information of your YouTube cha
nnel relevant during the audit process with a YouTube partner" |
19 } | 22 } |
20 } | 23 } |
21 } | 24 } |
22 }, | 25 }, |
23 "basePath": "/youtube/v3/", | 26 "basePath": "/youtube/v3/", |
24 "baseUrl": "https://www.googleapis.com/youtube/v3/", | 27 "baseUrl": "https://www.googleapis.com/youtube/v3/", |
25 "batchPath": "batch", | 28 "batchPath": "batch", |
26 "canonicalName": "YouTube", | 29 "canonicalName": "YouTube", |
27 "description": "Programmatic access to YouTube features.", | 30 "description": "Programmatic access to YouTube features.", |
28 "discoveryVersion": "v1", | 31 "discoveryVersion": "v1", |
29 "documentationLink": "https://developers.google.com/youtube/v3", | 32 "documentationLink": "https://developers.google.com/youtube/v3", |
30 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/e9llQCBHLfl4GdN8_SFJWpjcLpU\"", | 33 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/KXsApYF7ntO41AJammD4suORnPk\"", |
31 "icons": { | 34 "icons": { |
32 "x16": "https://www.google.com/images/icons/product/youtube-16.png", | 35 "x16": "https://www.google.com/images/icons/product/youtube-16.png", |
33 "x32": "https://www.google.com/images/icons/product/youtube-32.png" | 36 "x32": "https://www.google.com/images/icons/product/youtube-32.png" |
34 }, | 37 }, |
35 "id": "youtube:v3", | 38 "id": "youtube:v3", |
36 "kind": "discovery#restDescription", | 39 "kind": "discovery#restDescription", |
37 "name": "youtube", | 40 "name": "youtube", |
38 "ownerDomain": "google.com", | 41 "ownerDomain": "google.com", |
39 "ownerName": "Google", | 42 "ownerName": "Google", |
40 "parameters": { | 43 "parameters": { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 105 } |
103 }, | 106 }, |
104 "path": "activities", | 107 "path": "activities", |
105 "request": { | 108 "request": { |
106 "$ref": "Activity" | 109 "$ref": "Activity" |
107 }, | 110 }, |
108 "response": { | 111 "response": { |
109 "$ref": "Activity" | 112 "$ref": "Activity" |
110 }, | 113 }, |
111 "scopes": [ | 114 "scopes": [ |
112 "https://www.googleapis.com/auth/youtube" | 115 "https://www.googleapis.com/auth/youtube", |
| 116 "https://www.googleapis.com/auth/youtube.force-ssl" |
113 ] | 117 ] |
114 }, | 118 }, |
115 "list": { | 119 "list": { |
116 "description": "Returns a list of channel activity events th
at match the request criteria. For example, you can retrieve events associated w
ith a particular channel, events associated with the user's subscriptions and Go
ogle+ friends, or the YouTube home page feed, which is customized for each user.
", | 120 "description": "Returns a list of channel activity events th
at match the request criteria. For example, you can retrieve events associated w
ith a particular channel, events associated with the user's subscriptions and Go
ogle+ friends, or the YouTube home page feed, which is customized for each user.
", |
117 "httpMethod": "GET", | 121 "httpMethod": "GET", |
118 "id": "youtube.activities.list", | 122 "id": "youtube.activities.list", |
119 "parameterOrder": [ | 123 "parameterOrder": [ |
120 "part" | 124 "part" |
121 ], | 125 ], |
122 "parameters": { | 126 "parameters": { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 "location": "query", | 176 "location": "query", |
173 "type": "string" | 177 "type": "string" |
174 } | 178 } |
175 }, | 179 }, |
176 "path": "activities", | 180 "path": "activities", |
177 "response": { | 181 "response": { |
178 "$ref": "ActivityListResponse" | 182 "$ref": "ActivityListResponse" |
179 }, | 183 }, |
180 "scopes": [ | 184 "scopes": [ |
181 "https://www.googleapis.com/auth/youtube", | 185 "https://www.googleapis.com/auth/youtube", |
| 186 "https://www.googleapis.com/auth/youtube.force-ssl", |
182 "https://www.googleapis.com/auth/youtube.readonly" | 187 "https://www.googleapis.com/auth/youtube.readonly" |
183 ] | 188 ] |
184 } | 189 } |
185 } | 190 } |
186 }, | 191 }, |
| 192 "captions": { |
| 193 "methods": { |
| 194 "delete": { |
| 195 "description": "Deletes a specified caption track.", |
| 196 "httpMethod": "DELETE", |
| 197 "id": "youtube.captions.delete", |
| 198 "parameterOrder": [ |
| 199 "id" |
| 200 ], |
| 201 "parameters": { |
| 202 "debugProjectIdOverride": { |
| 203 "description": "The debugProjectIdOverride parameter
should be used for mimicking a request for a certain project ID", |
| 204 "format": "int64", |
| 205 "location": "query", |
| 206 "type": "string" |
| 207 }, |
| 208 "id": { |
| 209 "description": "The id parameter identifies the capt
ion track that is being deleted. The value is a caption track ID as identified b
y the id property in a caption resource.", |
| 210 "location": "query", |
| 211 "required": true, |
| 212 "type": "string" |
| 213 }, |
| 214 "onBehalfOf": { |
| 215 "description": "ID of the Google+ Page for the chann
el that the request is be on behalf of", |
| 216 "location": "query", |
| 217 "type": "string" |
| 218 } |
| 219 }, |
| 220 "path": "captions", |
| 221 "scopes": [ |
| 222 "https://www.googleapis.com/auth/youtube.force-ssl" |
| 223 ] |
| 224 }, |
| 225 "download": { |
| 226 "description": "Downloads a caption track. The caption track
is returned in its original format unless the request specifies a value for the
tfmt parameter and in its original language unless the request specifies a valu
e for the tlang parameter.", |
| 227 "httpMethod": "GET", |
| 228 "id": "youtube.captions.download", |
| 229 "parameterOrder": [ |
| 230 "id" |
| 231 ], |
| 232 "parameters": { |
| 233 "debugProjectIdOverride": { |
| 234 "description": "The debugProjectIdOverride parameter
should be used for mimicking a request for a certain project ID", |
| 235 "format": "int64", |
| 236 "location": "query", |
| 237 "type": "string" |
| 238 }, |
| 239 "id": { |
| 240 "description": "The id parameter identifies the capt
ion track that is being retrieved. The value is a caption track ID as identified
by the id property in a caption resource.", |
| 241 "location": "path", |
| 242 "required": true, |
| 243 "type": "string" |
| 244 }, |
| 245 "onBehalfOf": { |
| 246 "description": "ID of the Google+ Page for the chann
el that the request is be on behalf of", |
| 247 "location": "query", |
| 248 "type": "string" |
| 249 }, |
| 250 "tfmt": { |
| 251 "description": "The tfmt parameter specifies that th
e caption track should be returned in a specific format. If the parameter is not
included in the request, the track is returned in its original format.", |
| 252 "enum": [ |
| 253 "sbv", |
| 254 "scc", |
| 255 "srt", |
| 256 "ttml", |
| 257 "vtt" |
| 258 ], |
| 259 "enumDescriptions": [ |
| 260 "SubViewer subtitle.", |
| 261 "Scenarist Closed Caption format.", |
| 262 "SubRip subtitle.", |
| 263 "Timed Text Markup Language caption.", |
| 264 "Web Video Text Tracks caption." |
| 265 ], |
| 266 "location": "query", |
| 267 "type": "string" |
| 268 }, |
| 269 "tlang": { |
| 270 "description": "The tlang parameter specifies that t
he API response should return a translation of the specified caption track. The
parameter value is an ISO 639-1 two-letter language code that identifies the des
ired caption language. The translation is generated by using machine translation
, such as Google Translate.", |
| 271 "location": "query", |
| 272 "type": "string" |
| 273 } |
| 274 }, |
| 275 "path": "captions/{id}", |
| 276 "scopes": [ |
| 277 "https://www.googleapis.com/auth/youtube.force-ssl" |
| 278 ], |
| 279 "supportsMediaDownload": true |
| 280 }, |
| 281 "insert": { |
| 282 "description": "Uploads a caption track.", |
| 283 "httpMethod": "POST", |
| 284 "id": "youtube.captions.insert", |
| 285 "mediaUpload": { |
| 286 "accept": [ |
| 287 "*/*", |
| 288 "application/octet-stream", |
| 289 "text/xml" |
| 290 ], |
| 291 "maxSize": "100MB", |
| 292 "protocols": { |
| 293 "resumable": { |
| 294 "multipart": true, |
| 295 "path": "/resumable/upload/youtube/v3/captions" |
| 296 }, |
| 297 "simple": { |
| 298 "multipart": true, |
| 299 "path": "/upload/youtube/v3/captions" |
| 300 } |
| 301 } |
| 302 }, |
| 303 "parameterOrder": [ |
| 304 "part" |
| 305 ], |
| 306 "parameters": { |
| 307 "debugProjectIdOverride": { |
| 308 "description": "The debugProjectIdOverride parameter
should be used for mimicking a request for a certain project ID.", |
| 309 "format": "int64", |
| 310 "location": "query", |
| 311 "type": "string" |
| 312 }, |
| 313 "onBehalfOf": { |
| 314 "description": "ID of the Google+ Page for the chann
el that the request is be on behalf of", |
| 315 "location": "query", |
| 316 "type": "string" |
| 317 }, |
| 318 "part": { |
| 319 "description": "The part parameter specifies the cap
tion resource parts that the API response will include. Set the parameter value
to snippet.", |
| 320 "location": "query", |
| 321 "required": true, |
| 322 "type": "string" |
| 323 }, |
| 324 "sync": { |
| 325 "description": "The sync parameter indicates whether
YouTube should automatically synchronize the caption file with the audio track
of the video. If you set the value to true, YouTube will disregard any time code
s that are in the uploaded caption file and generate new time codes for the capt
ions.\n\nYou should set the sync parameter to true if you are uploading a transc
ript, which has no time codes, or if you suspect the time codes in your file are
incorrect and want YouTube to try to fix them.", |
| 326 "location": "query", |
| 327 "type": "boolean" |
| 328 } |
| 329 }, |
| 330 "path": "captions", |
| 331 "request": { |
| 332 "$ref": "Caption" |
| 333 }, |
| 334 "response": { |
| 335 "$ref": "Caption" |
| 336 }, |
| 337 "scopes": [ |
| 338 "https://www.googleapis.com/auth/youtube.force-ssl" |
| 339 ], |
| 340 "supportsMediaUpload": true |
| 341 }, |
| 342 "list": { |
| 343 "description": "Returns a list of caption tracks that are as
sociated with a specified video. Note that the API response does not contain the
actual captions and that the captions.download method provides the ability to r
etrieve a caption track.", |
| 344 "httpMethod": "GET", |
| 345 "id": "youtube.captions.list", |
| 346 "parameterOrder": [ |
| 347 "part", |
| 348 "videoId" |
| 349 ], |
| 350 "parameters": { |
| 351 "debugProjectIdOverride": { |
| 352 "description": "The debugProjectIdOverride parameter
should be used for mimicking a request for a certain project ID.", |
| 353 "format": "int64", |
| 354 "location": "query", |
| 355 "type": "string" |
| 356 }, |
| 357 "id": { |
| 358 "description": "The id parameter specifies a comma-s
eparated list of IDs that identify the caption resources that should be retrieve
d. Each ID must identify a caption track associated with the specified video.", |
| 359 "location": "query", |
| 360 "type": "string" |
| 361 }, |
| 362 "onBehalfOf": { |
| 363 "description": "ID of the Google+ Page for the chann
el that the request is on behalf of.", |
| 364 "location": "query", |
| 365 "type": "string" |
| 366 }, |
| 367 "part": { |
| 368 "description": "The part parameter specifies the cap
tion resource parts that the API response will include.", |
| 369 "location": "query", |
| 370 "required": true, |
| 371 "type": "string" |
| 372 }, |
| 373 "videoId": { |
| 374 "description": "The videoId parameter specifies the
YouTube video ID of the video for which the API should return caption tracks.", |
| 375 "location": "query", |
| 376 "required": true, |
| 377 "type": "string" |
| 378 } |
| 379 }, |
| 380 "path": "captions", |
| 381 "response": { |
| 382 "$ref": "CaptionListResponse" |
| 383 }, |
| 384 "scopes": [ |
| 385 "https://www.googleapis.com/auth/youtube.force-ssl" |
| 386 ] |
| 387 }, |
| 388 "update": { |
| 389 "description": "Updates a caption track. When updating a cap
tion track, you can change the track's draft status, upload a new caption file f
or the track, or both.", |
| 390 "httpMethod": "PUT", |
| 391 "id": "youtube.captions.update", |
| 392 "mediaUpload": { |
| 393 "accept": [ |
| 394 "*/*", |
| 395 "application/octet-stream", |
| 396 "text/xml" |
| 397 ], |
| 398 "maxSize": "100MB", |
| 399 "protocols": { |
| 400 "resumable": { |
| 401 "multipart": true, |
| 402 "path": "/resumable/upload/youtube/v3/captions" |
| 403 }, |
| 404 "simple": { |
| 405 "multipart": true, |
| 406 "path": "/upload/youtube/v3/captions" |
| 407 } |
| 408 } |
| 409 }, |
| 410 "parameterOrder": [ |
| 411 "part" |
| 412 ], |
| 413 "parameters": { |
| 414 "debugProjectIdOverride": { |
| 415 "description": "The debugProjectIdOverride parameter
should be used for mimicking a request for a certain project ID.", |
| 416 "format": "int64", |
| 417 "location": "query", |
| 418 "type": "string" |
| 419 }, |
| 420 "onBehalfOf": { |
| 421 "description": "ID of the Google+ Page for the chann
el that the request is be on behalf of", |
| 422 "location": "query", |
| 423 "type": "string" |
| 424 }, |
| 425 "part": { |
| 426 "description": "The part parameter serves two purpos
es in this operation. It identifies the properties that the write operation will
set as well as the properties that the API response will include. Set the prope
rty value to snippet if you are updating the track's draft status. Otherwise, se
t the property value to id.", |
| 427 "location": "query", |
| 428 "required": true, |
| 429 "type": "string" |
| 430 }, |
| 431 "sync": { |
| 432 "description": "Note: The API server only processes
the parameter value if the request contains an updated caption file.\n\nThe sync
parameter indicates whether YouTube should automatically synchronize the captio
n file with the audio track of the video. If you set the value to true, YouTube
will automatically synchronize the caption track with the audio track.", |
| 433 "location": "query", |
| 434 "type": "boolean" |
| 435 } |
| 436 }, |
| 437 "path": "captions", |
| 438 "request": { |
| 439 "$ref": "Caption" |
| 440 }, |
| 441 "response": { |
| 442 "$ref": "Caption" |
| 443 }, |
| 444 "scopes": [ |
| 445 "https://www.googleapis.com/auth/youtube.force-ssl" |
| 446 ], |
| 447 "supportsMediaUpload": true |
| 448 } |
| 449 } |
| 450 }, |
187 "channelBanners": { | 451 "channelBanners": { |
188 "methods": { | 452 "methods": { |
189 "insert": { | 453 "insert": { |
190 "description": "Uploads a channel banner image to YouTube. T
his method represents the first two steps in a three-step process to update the
banner image for a channel:\n\n- Call the channelBanners.insert method to upload
the binary image data to YouTube. The image must have a 16:9 aspect ratio and b
e at least 2120x1192 pixels.\n- Extract the url property's value from the respon
se that the API returns for step 1.\n- Call the channels.update method to update
the channel's branding settings. Set the brandingSettings.image.bannerExternalU
rl property's value to the URL obtained in step 2.", | 454 "description": "Uploads a channel banner image to YouTube. T
his method represents the first two steps in a three-step process to update the
banner image for a channel:\n\n- Call the channelBanners.insert method to upload
the binary image data to YouTube. The image must have a 16:9 aspect ratio and b
e at least 2120x1192 pixels.\n- Extract the url property's value from the respon
se that the API returns for step 1.\n- Call the channels.update method to update
the channel's branding settings. Set the brandingSettings.image.bannerExternalU
rl property's value to the URL obtained in step 2.", |
191 "httpMethod": "POST", | 455 "httpMethod": "POST", |
192 "id": "youtube.channelBanners.insert", | 456 "id": "youtube.channelBanners.insert", |
193 "mediaUpload": { | 457 "mediaUpload": { |
194 "accept": [ | 458 "accept": [ |
195 "application/octet-stream", | 459 "application/octet-stream", |
196 "image/jpeg", | 460 "image/jpeg", |
(...skipping 20 matching lines...) Expand all Loading... |
217 }, | 481 }, |
218 "path": "channelBanners/insert", | 482 "path": "channelBanners/insert", |
219 "request": { | 483 "request": { |
220 "$ref": "ChannelBannerResource" | 484 "$ref": "ChannelBannerResource" |
221 }, | 485 }, |
222 "response": { | 486 "response": { |
223 "$ref": "ChannelBannerResource" | 487 "$ref": "ChannelBannerResource" |
224 }, | 488 }, |
225 "scopes": [ | 489 "scopes": [ |
226 "https://www.googleapis.com/auth/youtube", | 490 "https://www.googleapis.com/auth/youtube", |
| 491 "https://www.googleapis.com/auth/youtube.force-ssl", |
227 "https://www.googleapis.com/auth/youtube.upload" | 492 "https://www.googleapis.com/auth/youtube.upload" |
228 ], | 493 ], |
229 "supportsMediaUpload": true | 494 "supportsMediaUpload": true |
230 } | 495 } |
231 } | 496 } |
232 }, | 497 }, |
233 "channelSections": { | 498 "channelSections": { |
234 "methods": { | 499 "methods": { |
235 "delete": { | 500 "delete": { |
236 "description": "Deletes a channelSection.", | 501 "description": "Deletes a channelSection.", |
(...skipping 11 matching lines...) Expand all Loading... |
248 }, | 513 }, |
249 "onBehalfOfContentOwner": { | 514 "onBehalfOfContentOwner": { |
250 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 515 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
251 "location": "query", | 516 "location": "query", |
252 "type": "string" | 517 "type": "string" |
253 } | 518 } |
254 }, | 519 }, |
255 "path": "channelSections", | 520 "path": "channelSections", |
256 "scopes": [ | 521 "scopes": [ |
257 "https://www.googleapis.com/auth/youtube", | 522 "https://www.googleapis.com/auth/youtube", |
| 523 "https://www.googleapis.com/auth/youtube.force-ssl", |
258 "https://www.googleapis.com/auth/youtubepartner" | 524 "https://www.googleapis.com/auth/youtubepartner" |
259 ] | 525 ] |
260 }, | 526 }, |
261 "insert": { | 527 "insert": { |
262 "description": "Adds a channelSection for the authenticated
user's channel.", | 528 "description": "Adds a channelSection for the authenticated
user's channel.", |
263 "httpMethod": "POST", | 529 "httpMethod": "POST", |
264 "id": "youtube.channelSections.insert", | 530 "id": "youtube.channelSections.insert", |
265 "parameterOrder": [ | 531 "parameterOrder": [ |
266 "part" | 532 "part" |
267 ], | 533 ], |
(...skipping 17 matching lines...) Expand all Loading... |
285 }, | 551 }, |
286 "path": "channelSections", | 552 "path": "channelSections", |
287 "request": { | 553 "request": { |
288 "$ref": "ChannelSection" | 554 "$ref": "ChannelSection" |
289 }, | 555 }, |
290 "response": { | 556 "response": { |
291 "$ref": "ChannelSection" | 557 "$ref": "ChannelSection" |
292 }, | 558 }, |
293 "scopes": [ | 559 "scopes": [ |
294 "https://www.googleapis.com/auth/youtube", | 560 "https://www.googleapis.com/auth/youtube", |
| 561 "https://www.googleapis.com/auth/youtube.force-ssl", |
295 "https://www.googleapis.com/auth/youtubepartner" | 562 "https://www.googleapis.com/auth/youtubepartner" |
296 ] | 563 ] |
297 }, | 564 }, |
298 "list": { | 565 "list": { |
299 "description": "Returns channelSection resources that match
the API request criteria.", | 566 "description": "Returns channelSection resources that match
the API request criteria.", |
300 "httpMethod": "GET", | 567 "httpMethod": "GET", |
301 "id": "youtube.channelSections.list", | 568 "id": "youtube.channelSections.list", |
302 "parameterOrder": [ | 569 "parameterOrder": [ |
303 "part" | 570 "part" |
304 ], | 571 ], |
305 "parameters": { | 572 "parameters": { |
306 "channelId": { | 573 "channelId": { |
307 "description": "The channelId parameter specifies a
YouTube channel ID. The API will only return that channel's channelSections.", | 574 "description": "The channelId parameter specifies a
YouTube channel ID. The API will only return that channel's channelSections.", |
308 "location": "query", | 575 "location": "query", |
309 "type": "string" | 576 "type": "string" |
310 }, | 577 }, |
| 578 "hl": { |
| 579 "description": "The hl parameter indicates that the
snippet.localized property values in the returned channelSection resources shoul
d be in the specified language if localized values for that language are availab
le. For example, if the API request specifies hl=de, the snippet.localized prope
rties in the API response will contain German titles if German titles are availa
ble. Channel owners can provide localized channel section titles using either th
e channelSections.insert or channelSections.update method.", |
| 580 "location": "query", |
| 581 "type": "string" |
| 582 }, |
311 "id": { | 583 "id": { |
312 "description": "The id parameter specifies a comma-s
eparated list of the YouTube channelSection ID(s) for the resource(s) that are b
eing retrieved. In a channelSection resource, the id property specifies the YouT
ube channelSection ID.", | 584 "description": "The id parameter specifies a comma-s
eparated list of the YouTube channelSection ID(s) for the resource(s) that are b
eing retrieved. In a channelSection resource, the id property specifies the YouT
ube channelSection ID.", |
313 "location": "query", | 585 "location": "query", |
314 "type": "string" | 586 "type": "string" |
315 }, | 587 }, |
316 "mine": { | 588 "mine": { |
317 "description": "Set this parameter's value to true t
o retrieve a feed of the authenticated user's channelSections.", | 589 "description": "Set this parameter's value to true t
o retrieve a feed of the authenticated user's channelSections.", |
318 "location": "query", | 590 "location": "query", |
319 "type": "boolean" | 591 "type": "boolean" |
320 }, | 592 }, |
321 "onBehalfOfContentOwner": { | 593 "onBehalfOfContentOwner": { |
322 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 594 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
323 "location": "query", | 595 "location": "query", |
324 "type": "string" | 596 "type": "string" |
325 }, | 597 }, |
326 "part": { | 598 "part": { |
327 "description": "The part parameter specifies a comma
-separated list of one or more channelSection resource properties that the API r
esponse will include. The part names that you can include in the parameter value
are id, snippet, and contentDetails.\n\nIf the parameter identifies a property
that contains child properties, the child properties will be included in the res
ponse. For example, in a channelSection resource, the snippet property contains
other properties, such as a display title for the channelSection. If you set par
t=snippet, the API response will also contain all of those nested properties.", | 599 "description": "The part parameter specifies a comma
-separated list of one or more channelSection resource properties that the API r
esponse will include. The part names that you can include in the parameter value
are id, snippet, and contentDetails.\n\nIf the parameter identifies a property
that contains child properties, the child properties will be included in the res
ponse. For example, in a channelSection resource, the snippet property contains
other properties, such as a display title for the channelSection. If you set par
t=snippet, the API response will also contain all of those nested properties.", |
328 "location": "query", | 600 "location": "query", |
329 "required": true, | 601 "required": true, |
330 "type": "string" | 602 "type": "string" |
331 } | 603 } |
332 }, | 604 }, |
333 "path": "channelSections", | 605 "path": "channelSections", |
334 "response": { | 606 "response": { |
335 "$ref": "ChannelSectionListResponse" | 607 "$ref": "ChannelSectionListResponse" |
336 }, | 608 }, |
337 "scopes": [ | 609 "scopes": [ |
338 "https://www.googleapis.com/auth/youtube", | 610 "https://www.googleapis.com/auth/youtube", |
| 611 "https://www.googleapis.com/auth/youtube.force-ssl", |
339 "https://www.googleapis.com/auth/youtube.readonly", | 612 "https://www.googleapis.com/auth/youtube.readonly", |
340 "https://www.googleapis.com/auth/youtubepartner" | 613 "https://www.googleapis.com/auth/youtubepartner" |
341 ] | 614 ] |
342 }, | 615 }, |
343 "update": { | 616 "update": { |
344 "description": "Update a channelSection.", | 617 "description": "Update a channelSection.", |
345 "httpMethod": "PUT", | 618 "httpMethod": "PUT", |
346 "id": "youtube.channelSections.update", | 619 "id": "youtube.channelSections.update", |
347 "parameterOrder": [ | 620 "parameterOrder": [ |
348 "part" | 621 "part" |
(...skipping 13 matching lines...) Expand all Loading... |
362 }, | 635 }, |
363 "path": "channelSections", | 636 "path": "channelSections", |
364 "request": { | 637 "request": { |
365 "$ref": "ChannelSection" | 638 "$ref": "ChannelSection" |
366 }, | 639 }, |
367 "response": { | 640 "response": { |
368 "$ref": "ChannelSection" | 641 "$ref": "ChannelSection" |
369 }, | 642 }, |
370 "scopes": [ | 643 "scopes": [ |
371 "https://www.googleapis.com/auth/youtube", | 644 "https://www.googleapis.com/auth/youtube", |
| 645 "https://www.googleapis.com/auth/youtube.force-ssl", |
372 "https://www.googleapis.com/auth/youtubepartner" | 646 "https://www.googleapis.com/auth/youtubepartner" |
373 ] | 647 ] |
374 } | 648 } |
375 } | 649 } |
376 }, | 650 }, |
377 "channels": { | 651 "channels": { |
378 "methods": { | 652 "methods": { |
379 "list": { | 653 "list": { |
380 "description": "Returns a collection of zero or more channel
resources that match the request criteria.", | 654 "description": "Returns a collection of zero or more channel
resources that match the request criteria.", |
381 "httpMethod": "GET", | 655 "httpMethod": "GET", |
382 "id": "youtube.channels.list", | 656 "id": "youtube.channels.list", |
383 "parameterOrder": [ | 657 "parameterOrder": [ |
384 "part" | 658 "part" |
385 ], | 659 ], |
386 "parameters": { | 660 "parameters": { |
387 "categoryId": { | 661 "categoryId": { |
388 "description": "The categoryId parameter specifies a
YouTube guide category, thereby requesting YouTube channels associated with tha
t category.", | 662 "description": "The categoryId parameter specifies a
YouTube guide category, thereby requesting YouTube channels associated with tha
t category.", |
389 "location": "query", | 663 "location": "query", |
390 "type": "string" | 664 "type": "string" |
391 }, | 665 }, |
392 "forUsername": { | 666 "forUsername": { |
393 "description": "The forUsername parameter specifies
a YouTube username, thereby requesting the channel associated with that username
.", | 667 "description": "The forUsername parameter specifies
a YouTube username, thereby requesting the channel associated with that username
.", |
394 "location": "query", | 668 "location": "query", |
395 "type": "string" | 669 "type": "string" |
396 }, | 670 }, |
| 671 "hl": { |
| 672 "description": "The hl parameter should be used for
filter out the properties that are not in the given language. Used for the brand
ingSettings part.", |
| 673 "location": "query", |
| 674 "type": "string" |
| 675 }, |
397 "id": { | 676 "id": { |
398 "description": "The id parameter specifies a comma-s
eparated list of the YouTube channel ID(s) for the resource(s) that are being re
trieved. In a channel resource, the id property specifies the channel's YouTube
channel ID.", | 677 "description": "The id parameter specifies a comma-s
eparated list of the YouTube channel ID(s) for the resource(s) that are being re
trieved. In a channel resource, the id property specifies the channel's YouTube
channel ID.", |
399 "location": "query", | 678 "location": "query", |
400 "type": "string" | 679 "type": "string" |
401 }, | 680 }, |
402 "managedByMe": { | 681 "managedByMe": { |
403 "description": "Set this parameter's value to true t
o instruct the API to only return channels managed by the content owner that the
onBehalfOfContentOwner parameter specifies. The user must be authenticated as a
CMS account linked to the specified content owner and onBehalfOfContentOwner mu
st be provided.", | 682 "description": "Set this parameter's value to true t
o instruct the API to only return channels managed by the content owner that the
onBehalfOfContentOwner parameter specifies. The user must be authenticated as a
CMS account linked to the specified content owner and onBehalfOfContentOwner mu
st be provided.", |
404 "location": "query", | 683 "location": "query", |
405 "type": "boolean" | 684 "type": "boolean" |
406 }, | 685 }, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 "required": true, | 718 "required": true, |
440 "type": "string" | 719 "type": "string" |
441 } | 720 } |
442 }, | 721 }, |
443 "path": "channels", | 722 "path": "channels", |
444 "response": { | 723 "response": { |
445 "$ref": "ChannelListResponse" | 724 "$ref": "ChannelListResponse" |
446 }, | 725 }, |
447 "scopes": [ | 726 "scopes": [ |
448 "https://www.googleapis.com/auth/youtube", | 727 "https://www.googleapis.com/auth/youtube", |
| 728 "https://www.googleapis.com/auth/youtube.force-ssl", |
449 "https://www.googleapis.com/auth/youtube.readonly", | 729 "https://www.googleapis.com/auth/youtube.readonly", |
450 "https://www.googleapis.com/auth/youtubepartner", | 730 "https://www.googleapis.com/auth/youtubepartner", |
451 "https://www.googleapis.com/auth/youtubepartner-channel-
audit" | 731 "https://www.googleapis.com/auth/youtubepartner-channel-
audit" |
452 ] | 732 ] |
453 }, | 733 }, |
454 "update": { | 734 "update": { |
455 "description": "Updates a channel's metadata.", | 735 "description": "Updates a channel's metadata.", |
456 "httpMethod": "PUT", | 736 "httpMethod": "PUT", |
457 "id": "youtube.channels.update", | 737 "id": "youtube.channels.update", |
458 "parameterOrder": [ | 738 "parameterOrder": [ |
(...skipping 14 matching lines...) Expand all Loading... |
473 }, | 753 }, |
474 "path": "channels", | 754 "path": "channels", |
475 "request": { | 755 "request": { |
476 "$ref": "Channel" | 756 "$ref": "Channel" |
477 }, | 757 }, |
478 "response": { | 758 "response": { |
479 "$ref": "Channel" | 759 "$ref": "Channel" |
480 }, | 760 }, |
481 "scopes": [ | 761 "scopes": [ |
482 "https://www.googleapis.com/auth/youtube", | 762 "https://www.googleapis.com/auth/youtube", |
| 763 "https://www.googleapis.com/auth/youtube.force-ssl", |
483 "https://www.googleapis.com/auth/youtubepartner" | 764 "https://www.googleapis.com/auth/youtubepartner" |
484 ] | 765 ] |
485 } | 766 } |
486 } | 767 } |
487 }, | 768 }, |
488 "guideCategories": { | 769 "guideCategories": { |
489 "methods": { | 770 "methods": { |
490 "list": { | 771 "list": { |
491 "description": "Returns a list of categories that can be ass
ociated with YouTube channels.", | 772 "description": "Returns a list of categories that can be ass
ociated with YouTube channels.", |
492 "httpMethod": "GET", | 773 "httpMethod": "GET", |
(...skipping 24 matching lines...) Expand all Loading... |
517 "location": "query", | 798 "location": "query", |
518 "type": "string" | 799 "type": "string" |
519 } | 800 } |
520 }, | 801 }, |
521 "path": "guideCategories", | 802 "path": "guideCategories", |
522 "response": { | 803 "response": { |
523 "$ref": "GuideCategoryListResponse" | 804 "$ref": "GuideCategoryListResponse" |
524 }, | 805 }, |
525 "scopes": [ | 806 "scopes": [ |
526 "https://www.googleapis.com/auth/youtube", | 807 "https://www.googleapis.com/auth/youtube", |
| 808 "https://www.googleapis.com/auth/youtube.force-ssl", |
527 "https://www.googleapis.com/auth/youtube.readonly", | 809 "https://www.googleapis.com/auth/youtube.readonly", |
528 "https://www.googleapis.com/auth/youtubepartner" | 810 "https://www.googleapis.com/auth/youtubepartner" |
529 ] | 811 ] |
530 } | 812 } |
531 } | 813 } |
532 }, | 814 }, |
533 "i18nLanguages": { | 815 "i18nLanguages": { |
534 "methods": { | 816 "methods": { |
535 "list": { | 817 "list": { |
536 "description": "Returns a list of supported languages.", | 818 "description": "Returns a list of supported languages.", |
(...skipping 15 matching lines...) Expand all Loading... |
552 "required": true, | 834 "required": true, |
553 "type": "string" | 835 "type": "string" |
554 } | 836 } |
555 }, | 837 }, |
556 "path": "i18nLanguages", | 838 "path": "i18nLanguages", |
557 "response": { | 839 "response": { |
558 "$ref": "I18nLanguageListResponse" | 840 "$ref": "I18nLanguageListResponse" |
559 }, | 841 }, |
560 "scopes": [ | 842 "scopes": [ |
561 "https://www.googleapis.com/auth/youtube", | 843 "https://www.googleapis.com/auth/youtube", |
| 844 "https://www.googleapis.com/auth/youtube.force-ssl", |
562 "https://www.googleapis.com/auth/youtube.readonly", | 845 "https://www.googleapis.com/auth/youtube.readonly", |
563 "https://www.googleapis.com/auth/youtubepartner" | 846 "https://www.googleapis.com/auth/youtubepartner" |
564 ] | 847 ] |
565 } | 848 } |
566 } | 849 } |
567 }, | 850 }, |
568 "i18nRegions": { | 851 "i18nRegions": { |
569 "methods": { | 852 "methods": { |
570 "list": { | 853 "list": { |
571 "description": "Returns a list of supported regions.", | 854 "description": "Returns a list of supported regions.", |
(...skipping 15 matching lines...) Expand all Loading... |
587 "required": true, | 870 "required": true, |
588 "type": "string" | 871 "type": "string" |
589 } | 872 } |
590 }, | 873 }, |
591 "path": "i18nRegions", | 874 "path": "i18nRegions", |
592 "response": { | 875 "response": { |
593 "$ref": "I18nRegionListResponse" | 876 "$ref": "I18nRegionListResponse" |
594 }, | 877 }, |
595 "scopes": [ | 878 "scopes": [ |
596 "https://www.googleapis.com/auth/youtube", | 879 "https://www.googleapis.com/auth/youtube", |
| 880 "https://www.googleapis.com/auth/youtube.force-ssl", |
597 "https://www.googleapis.com/auth/youtube.readonly", | 881 "https://www.googleapis.com/auth/youtube.readonly", |
598 "https://www.googleapis.com/auth/youtubepartner" | 882 "https://www.googleapis.com/auth/youtubepartner" |
599 ] | 883 ] |
600 } | 884 } |
601 } | 885 } |
602 }, | 886 }, |
603 "liveBroadcasts": { | 887 "liveBroadcasts": { |
604 "methods": { | 888 "methods": { |
605 "bind": { | 889 "bind": { |
606 "description": "Binds a YouTube broadcast to a stream or rem
oves an existing binding between a broadcast and a stream. A broadcast can only
be bound to one video stream.", | 890 "description": "Binds a YouTube broadcast to a stream or rem
oves an existing binding between a broadcast and a stream. A broadcast can only
be bound to one video stream.", |
(...skipping 30 matching lines...) Expand all Loading... |
637 "description": "The streamId parameter specifies the
unique ID of the video stream that is being bound to a broadcast. If this param
eter is omitted, the API will remove any existing binding between the broadcast
and a video stream.", | 921 "description": "The streamId parameter specifies the
unique ID of the video stream that is being bound to a broadcast. If this param
eter is omitted, the API will remove any existing binding between the broadcast
and a video stream.", |
638 "location": "query", | 922 "location": "query", |
639 "type": "string" | 923 "type": "string" |
640 } | 924 } |
641 }, | 925 }, |
642 "path": "liveBroadcasts/bind", | 926 "path": "liveBroadcasts/bind", |
643 "response": { | 927 "response": { |
644 "$ref": "LiveBroadcast" | 928 "$ref": "LiveBroadcast" |
645 }, | 929 }, |
646 "scopes": [ | 930 "scopes": [ |
647 "https://www.googleapis.com/auth/youtube" | 931 "https://www.googleapis.com/auth/youtube", |
| 932 "https://www.googleapis.com/auth/youtube.force-ssl" |
648 ] | 933 ] |
649 }, | 934 }, |
650 "control": { | 935 "control": { |
651 "description": "Controls the settings for a slate that can b
e displayed in the broadcast stream.", | 936 "description": "Controls the settings for a slate that can b
e displayed in the broadcast stream.", |
652 "httpMethod": "POST", | 937 "httpMethod": "POST", |
653 "id": "youtube.liveBroadcasts.control", | 938 "id": "youtube.liveBroadcasts.control", |
654 "parameterOrder": [ | 939 "parameterOrder": [ |
655 "id", | 940 "id", |
656 "part" | 941 "part" |
657 ], | 942 ], |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 "format": "date-time", | 979 "format": "date-time", |
695 "location": "query", | 980 "location": "query", |
696 "type": "string" | 981 "type": "string" |
697 } | 982 } |
698 }, | 983 }, |
699 "path": "liveBroadcasts/control", | 984 "path": "liveBroadcasts/control", |
700 "response": { | 985 "response": { |
701 "$ref": "LiveBroadcast" | 986 "$ref": "LiveBroadcast" |
702 }, | 987 }, |
703 "scopes": [ | 988 "scopes": [ |
704 "https://www.googleapis.com/auth/youtube" | 989 "https://www.googleapis.com/auth/youtube", |
| 990 "https://www.googleapis.com/auth/youtube.force-ssl" |
705 ] | 991 ] |
706 }, | 992 }, |
707 "delete": { | 993 "delete": { |
708 "description": "Deletes a broadcast.", | 994 "description": "Deletes a broadcast.", |
709 "httpMethod": "DELETE", | 995 "httpMethod": "DELETE", |
710 "id": "youtube.liveBroadcasts.delete", | 996 "id": "youtube.liveBroadcasts.delete", |
711 "parameterOrder": [ | 997 "parameterOrder": [ |
712 "id" | 998 "id" |
713 ], | 999 ], |
714 "parameters": { | 1000 "parameters": { |
715 "id": { | 1001 "id": { |
716 "description": "The id parameter specifies the YouTu
be live broadcast ID for the resource that is being deleted.", | 1002 "description": "The id parameter specifies the YouTu
be live broadcast ID for the resource that is being deleted.", |
717 "location": "query", | 1003 "location": "query", |
718 "required": true, | 1004 "required": true, |
719 "type": "string" | 1005 "type": "string" |
720 }, | 1006 }, |
721 "onBehalfOfContentOwner": { | 1007 "onBehalfOfContentOwner": { |
722 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 1008 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
723 "location": "query", | 1009 "location": "query", |
724 "type": "string" | 1010 "type": "string" |
725 }, | 1011 }, |
726 "onBehalfOfContentOwnerChannel": { | 1012 "onBehalfOfContentOwnerChannel": { |
727 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, 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 b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e 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."
, | 1013 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, 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 b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e 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."
, |
728 "location": "query", | 1014 "location": "query", |
729 "type": "string" | 1015 "type": "string" |
730 } | 1016 } |
731 }, | 1017 }, |
732 "path": "liveBroadcasts", | 1018 "path": "liveBroadcasts", |
733 "scopes": [ | 1019 "scopes": [ |
734 "https://www.googleapis.com/auth/youtube" | 1020 "https://www.googleapis.com/auth/youtube", |
| 1021 "https://www.googleapis.com/auth/youtube.force-ssl" |
735 ] | 1022 ] |
736 }, | 1023 }, |
737 "insert": { | 1024 "insert": { |
738 "description": "Creates a broadcast.", | 1025 "description": "Creates a broadcast.", |
739 "httpMethod": "POST", | 1026 "httpMethod": "POST", |
740 "id": "youtube.liveBroadcasts.insert", | 1027 "id": "youtube.liveBroadcasts.insert", |
741 "parameterOrder": [ | 1028 "parameterOrder": [ |
742 "part" | 1029 "part" |
743 ], | 1030 ], |
744 "parameters": { | 1031 "parameters": { |
(...skipping 15 matching lines...) Expand all Loading... |
760 } | 1047 } |
761 }, | 1048 }, |
762 "path": "liveBroadcasts", | 1049 "path": "liveBroadcasts", |
763 "request": { | 1050 "request": { |
764 "$ref": "LiveBroadcast" | 1051 "$ref": "LiveBroadcast" |
765 }, | 1052 }, |
766 "response": { | 1053 "response": { |
767 "$ref": "LiveBroadcast" | 1054 "$ref": "LiveBroadcast" |
768 }, | 1055 }, |
769 "scopes": [ | 1056 "scopes": [ |
770 "https://www.googleapis.com/auth/youtube" | 1057 "https://www.googleapis.com/auth/youtube", |
| 1058 "https://www.googleapis.com/auth/youtube.force-ssl" |
771 ] | 1059 ] |
772 }, | 1060 }, |
773 "list": { | 1061 "list": { |
774 "description": "Returns a list of YouTube broadcasts that ma
tch the API request parameters.", | 1062 "description": "Returns a list of YouTube broadcasts that ma
tch the API request parameters.", |
775 "httpMethod": "GET", | 1063 "httpMethod": "GET", |
776 "id": "youtube.liveBroadcasts.list", | 1064 "id": "youtube.liveBroadcasts.list", |
777 "parameterOrder": [ | 1065 "parameterOrder": [ |
778 "part" | 1066 "part" |
779 ], | 1067 ], |
780 "parameters": { | 1068 "parameters": { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 "required": true, | 1123 "required": true, |
836 "type": "string" | 1124 "type": "string" |
837 } | 1125 } |
838 }, | 1126 }, |
839 "path": "liveBroadcasts", | 1127 "path": "liveBroadcasts", |
840 "response": { | 1128 "response": { |
841 "$ref": "LiveBroadcastListResponse" | 1129 "$ref": "LiveBroadcastListResponse" |
842 }, | 1130 }, |
843 "scopes": [ | 1131 "scopes": [ |
844 "https://www.googleapis.com/auth/youtube", | 1132 "https://www.googleapis.com/auth/youtube", |
| 1133 "https://www.googleapis.com/auth/youtube.force-ssl", |
845 "https://www.googleapis.com/auth/youtube.readonly" | 1134 "https://www.googleapis.com/auth/youtube.readonly" |
846 ] | 1135 ] |
847 }, | 1136 }, |
848 "transition": { | 1137 "transition": { |
849 "description": "Changes the status of a YouTube live broadca
st and initiates any processes associated with the new status. For example, when
you transition a broadcast's status to testing, YouTube starts to transmit vide
o to that broadcast's monitor stream. Before calling this method, you should con
firm that the value of the status.streamStatus property for the stream bound to
your broadcast is active.", | 1138 "description": "Changes the status of a YouTube live broadca
st and initiates any processes associated with the new status. For example, when
you transition a broadcast's status to testing, YouTube starts to transmit vide
o to that broadcast's monitor stream. Before calling this method, you should con
firm that the value of the status.streamStatus property for the stream bound to
your broadcast is active.", |
850 "httpMethod": "POST", | 1139 "httpMethod": "POST", |
851 "id": "youtube.liveBroadcasts.transition", | 1140 "id": "youtube.liveBroadcasts.transition", |
852 "parameterOrder": [ | 1141 "parameterOrder": [ |
853 "broadcastStatus", | 1142 "broadcastStatus", |
854 "id", | 1143 "id", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 "location": "query", | 1181 "location": "query", |
893 "required": true, | 1182 "required": true, |
894 "type": "string" | 1183 "type": "string" |
895 } | 1184 } |
896 }, | 1185 }, |
897 "path": "liveBroadcasts/transition", | 1186 "path": "liveBroadcasts/transition", |
898 "response": { | 1187 "response": { |
899 "$ref": "LiveBroadcast" | 1188 "$ref": "LiveBroadcast" |
900 }, | 1189 }, |
901 "scopes": [ | 1190 "scopes": [ |
902 "https://www.googleapis.com/auth/youtube" | 1191 "https://www.googleapis.com/auth/youtube", |
| 1192 "https://www.googleapis.com/auth/youtube.force-ssl" |
903 ] | 1193 ] |
904 }, | 1194 }, |
905 "update": { | 1195 "update": { |
906 "description": "Updates a broadcast. For example, you could
modify the broadcast settings defined in the liveBroadcast resource's contentDet
ails object.", | 1196 "description": "Updates a broadcast. For example, you could
modify the broadcast settings defined in the liveBroadcast resource's contentDet
ails object.", |
907 "httpMethod": "PUT", | 1197 "httpMethod": "PUT", |
908 "id": "youtube.liveBroadcasts.update", | 1198 "id": "youtube.liveBroadcasts.update", |
909 "parameterOrder": [ | 1199 "parameterOrder": [ |
910 "part" | 1200 "part" |
911 ], | 1201 ], |
912 "parameters": { | 1202 "parameters": { |
(...skipping 15 matching lines...) Expand all Loading... |
928 } | 1218 } |
929 }, | 1219 }, |
930 "path": "liveBroadcasts", | 1220 "path": "liveBroadcasts", |
931 "request": { | 1221 "request": { |
932 "$ref": "LiveBroadcast" | 1222 "$ref": "LiveBroadcast" |
933 }, | 1223 }, |
934 "response": { | 1224 "response": { |
935 "$ref": "LiveBroadcast" | 1225 "$ref": "LiveBroadcast" |
936 }, | 1226 }, |
937 "scopes": [ | 1227 "scopes": [ |
938 "https://www.googleapis.com/auth/youtube" | 1228 "https://www.googleapis.com/auth/youtube", |
| 1229 "https://www.googleapis.com/auth/youtube.force-ssl" |
939 ] | 1230 ] |
940 } | 1231 } |
941 } | 1232 } |
942 }, | 1233 }, |
943 "liveStreams": { | 1234 "liveStreams": { |
944 "methods": { | 1235 "methods": { |
945 "delete": { | 1236 "delete": { |
946 "description": "Deletes a video stream.", | 1237 "description": "Deletes a video stream.", |
947 "httpMethod": "DELETE", | 1238 "httpMethod": "DELETE", |
948 "id": "youtube.liveStreams.delete", | 1239 "id": "youtube.liveStreams.delete", |
(...skipping 13 matching lines...) Expand all Loading... |
962 "type": "string" | 1253 "type": "string" |
963 }, | 1254 }, |
964 "onBehalfOfContentOwnerChannel": { | 1255 "onBehalfOfContentOwnerChannel": { |
965 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, 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 b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e 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."
, | 1256 "description": "This parameter can only be used in a
properly authorized request. Note: This parameter is intended exclusively for Y
ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie
s the YouTube channel ID of the channel to which a video is being added. This pa
rameter is required when a request specifies a value for the onBehalfOfContentOw
ner parameter, and it can only be used in conjunction with that parameter. In ad
dition, 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 b
e linked to the content owner that the onBehalfOfContentOwner parameter specifie
s.\n\nThis parameter is intended for YouTube content partners that own and manag
e 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."
, |
966 "location": "query", | 1257 "location": "query", |
967 "type": "string" | 1258 "type": "string" |
968 } | 1259 } |
969 }, | 1260 }, |
970 "path": "liveStreams", | 1261 "path": "liveStreams", |
971 "scopes": [ | 1262 "scopes": [ |
972 "https://www.googleapis.com/auth/youtube" | 1263 "https://www.googleapis.com/auth/youtube", |
| 1264 "https://www.googleapis.com/auth/youtube.force-ssl" |
973 ] | 1265 ] |
974 }, | 1266 }, |
975 "insert": { | 1267 "insert": { |
976 "description": "Creates a video stream. The stream enables y
ou to send your video to YouTube, which can then broadcast the video to your aud
ience.", | 1268 "description": "Creates a video stream. The stream enables y
ou to send your video to YouTube, which can then broadcast the video to your aud
ience.", |
977 "httpMethod": "POST", | 1269 "httpMethod": "POST", |
978 "id": "youtube.liveStreams.insert", | 1270 "id": "youtube.liveStreams.insert", |
979 "parameterOrder": [ | 1271 "parameterOrder": [ |
980 "part" | 1272 "part" |
981 ], | 1273 ], |
982 "parameters": { | 1274 "parameters": { |
(...skipping 15 matching lines...) Expand all Loading... |
998 } | 1290 } |
999 }, | 1291 }, |
1000 "path": "liveStreams", | 1292 "path": "liveStreams", |
1001 "request": { | 1293 "request": { |
1002 "$ref": "LiveStream" | 1294 "$ref": "LiveStream" |
1003 }, | 1295 }, |
1004 "response": { | 1296 "response": { |
1005 "$ref": "LiveStream" | 1297 "$ref": "LiveStream" |
1006 }, | 1298 }, |
1007 "scopes": [ | 1299 "scopes": [ |
1008 "https://www.googleapis.com/auth/youtube" | 1300 "https://www.googleapis.com/auth/youtube", |
| 1301 "https://www.googleapis.com/auth/youtube.force-ssl" |
1009 ] | 1302 ] |
1010 }, | 1303 }, |
1011 "list": { | 1304 "list": { |
1012 "description": "Returns a list of video streams that match t
he API request parameters.", | 1305 "description": "Returns a list of video streams that match t
he API request parameters.", |
1013 "httpMethod": "GET", | 1306 "httpMethod": "GET", |
1014 "id": "youtube.liveStreams.list", | 1307 "id": "youtube.liveStreams.list", |
1015 "parameterOrder": [ | 1308 "parameterOrder": [ |
1016 "part" | 1309 "part" |
1017 ], | 1310 ], |
1018 "parameters": { | 1311 "parameters": { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 "required": true, | 1349 "required": true, |
1057 "type": "string" | 1350 "type": "string" |
1058 } | 1351 } |
1059 }, | 1352 }, |
1060 "path": "liveStreams", | 1353 "path": "liveStreams", |
1061 "response": { | 1354 "response": { |
1062 "$ref": "LiveStreamListResponse" | 1355 "$ref": "LiveStreamListResponse" |
1063 }, | 1356 }, |
1064 "scopes": [ | 1357 "scopes": [ |
1065 "https://www.googleapis.com/auth/youtube", | 1358 "https://www.googleapis.com/auth/youtube", |
| 1359 "https://www.googleapis.com/auth/youtube.force-ssl", |
1066 "https://www.googleapis.com/auth/youtube.readonly" | 1360 "https://www.googleapis.com/auth/youtube.readonly" |
1067 ] | 1361 ] |
1068 }, | 1362 }, |
1069 "update": { | 1363 "update": { |
1070 "description": "Updates a video stream. If the properties th
at you want to change cannot be updated, then you need to create a new stream wi
th the proper settings.", | 1364 "description": "Updates a video stream. If the properties th
at you want to change cannot be updated, then you need to create a new stream wi
th the proper settings.", |
1071 "httpMethod": "PUT", | 1365 "httpMethod": "PUT", |
1072 "id": "youtube.liveStreams.update", | 1366 "id": "youtube.liveStreams.update", |
1073 "parameterOrder": [ | 1367 "parameterOrder": [ |
1074 "part" | 1368 "part" |
1075 ], | 1369 ], |
(...skipping 16 matching lines...) Expand all Loading... |
1092 } | 1386 } |
1093 }, | 1387 }, |
1094 "path": "liveStreams", | 1388 "path": "liveStreams", |
1095 "request": { | 1389 "request": { |
1096 "$ref": "LiveStream" | 1390 "$ref": "LiveStream" |
1097 }, | 1391 }, |
1098 "response": { | 1392 "response": { |
1099 "$ref": "LiveStream" | 1393 "$ref": "LiveStream" |
1100 }, | 1394 }, |
1101 "scopes": [ | 1395 "scopes": [ |
1102 "https://www.googleapis.com/auth/youtube" | 1396 "https://www.googleapis.com/auth/youtube", |
| 1397 "https://www.googleapis.com/auth/youtube.force-ssl" |
1103 ] | 1398 ] |
1104 } | 1399 } |
1105 } | 1400 } |
1106 }, | 1401 }, |
1107 "playlistItems": { | 1402 "playlistItems": { |
1108 "methods": { | 1403 "methods": { |
1109 "delete": { | 1404 "delete": { |
1110 "description": "Deletes a playlist item.", | 1405 "description": "Deletes a playlist item.", |
1111 "httpMethod": "DELETE", | 1406 "httpMethod": "DELETE", |
1112 "id": "youtube.playlistItems.delete", | 1407 "id": "youtube.playlistItems.delete", |
1113 "parameterOrder": [ | 1408 "parameterOrder": [ |
1114 "id" | 1409 "id" |
1115 ], | 1410 ], |
1116 "parameters": { | 1411 "parameters": { |
1117 "id": { | 1412 "id": { |
1118 "description": "The id parameter specifies the YouTu
be playlist item ID for the playlist item that is being deleted. In a playlistIt
em resource, the id property specifies the playlist item's ID.", | 1413 "description": "The id parameter specifies the YouTu
be playlist item ID for the playlist item that is being deleted. In a playlistIt
em resource, the id property specifies the playlist item's ID.", |
1119 "location": "query", | 1414 "location": "query", |
1120 "required": true, | 1415 "required": true, |
1121 "type": "string" | 1416 "type": "string" |
1122 } | 1417 } |
1123 }, | 1418 }, |
1124 "path": "playlistItems", | 1419 "path": "playlistItems", |
1125 "scopes": [ | 1420 "scopes": [ |
1126 "https://www.googleapis.com/auth/youtube", | 1421 "https://www.googleapis.com/auth/youtube", |
| 1422 "https://www.googleapis.com/auth/youtube.force-ssl", |
1127 "https://www.googleapis.com/auth/youtubepartner" | 1423 "https://www.googleapis.com/auth/youtubepartner" |
1128 ] | 1424 ] |
1129 }, | 1425 }, |
1130 "insert": { | 1426 "insert": { |
1131 "description": "Adds a resource to a playlist.", | 1427 "description": "Adds a resource to a playlist.", |
1132 "httpMethod": "POST", | 1428 "httpMethod": "POST", |
1133 "id": "youtube.playlistItems.insert", | 1429 "id": "youtube.playlistItems.insert", |
1134 "parameterOrder": [ | 1430 "parameterOrder": [ |
1135 "part" | 1431 "part" |
1136 ], | 1432 ], |
(...skipping 12 matching lines...) Expand all Loading... |
1149 }, | 1445 }, |
1150 "path": "playlistItems", | 1446 "path": "playlistItems", |
1151 "request": { | 1447 "request": { |
1152 "$ref": "PlaylistItem" | 1448 "$ref": "PlaylistItem" |
1153 }, | 1449 }, |
1154 "response": { | 1450 "response": { |
1155 "$ref": "PlaylistItem" | 1451 "$ref": "PlaylistItem" |
1156 }, | 1452 }, |
1157 "scopes": [ | 1453 "scopes": [ |
1158 "https://www.googleapis.com/auth/youtube", | 1454 "https://www.googleapis.com/auth/youtube", |
| 1455 "https://www.googleapis.com/auth/youtube.force-ssl", |
1159 "https://www.googleapis.com/auth/youtubepartner" | 1456 "https://www.googleapis.com/auth/youtubepartner" |
1160 ] | 1457 ] |
1161 }, | 1458 }, |
1162 "list": { | 1459 "list": { |
1163 "description": "Returns a collection of playlist items that
match the API request parameters. You can retrieve all of the playlist items in
a specified playlist or retrieve one or more playlist items by their unique IDs.
", | 1460 "description": "Returns a collection of playlist items that
match the API request parameters. You can retrieve all of the playlist items in
a specified playlist or retrieve one or more playlist items by their unique IDs.
", |
1164 "httpMethod": "GET", | 1461 "httpMethod": "GET", |
1165 "id": "youtube.playlistItems.list", | 1462 "id": "youtube.playlistItems.list", |
1166 "parameterOrder": [ | 1463 "parameterOrder": [ |
1167 "part" | 1464 "part" |
1168 ], | 1465 ], |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 "location": "query", | 1504 "location": "query", |
1208 "type": "string" | 1505 "type": "string" |
1209 } | 1506 } |
1210 }, | 1507 }, |
1211 "path": "playlistItems", | 1508 "path": "playlistItems", |
1212 "response": { | 1509 "response": { |
1213 "$ref": "PlaylistItemListResponse" | 1510 "$ref": "PlaylistItemListResponse" |
1214 }, | 1511 }, |
1215 "scopes": [ | 1512 "scopes": [ |
1216 "https://www.googleapis.com/auth/youtube", | 1513 "https://www.googleapis.com/auth/youtube", |
| 1514 "https://www.googleapis.com/auth/youtube.force-ssl", |
1217 "https://www.googleapis.com/auth/youtube.readonly", | 1515 "https://www.googleapis.com/auth/youtube.readonly", |
1218 "https://www.googleapis.com/auth/youtubepartner" | 1516 "https://www.googleapis.com/auth/youtubepartner" |
1219 ], | 1517 ], |
1220 "supportsSubscription": true | 1518 "supportsSubscription": true |
1221 }, | 1519 }, |
1222 "update": { | 1520 "update": { |
1223 "description": "Modifies a playlist item. For example, you c
ould update the item's position in the playlist.", | 1521 "description": "Modifies a playlist item. For example, you c
ould update the item's position in the playlist.", |
1224 "httpMethod": "PUT", | 1522 "httpMethod": "PUT", |
1225 "id": "youtube.playlistItems.update", | 1523 "id": "youtube.playlistItems.update", |
1226 "parameterOrder": [ | 1524 "parameterOrder": [ |
1227 "part" | 1525 "part" |
1228 ], | 1526 ], |
1229 "parameters": { | 1527 "parameters": { |
1230 "part": { | 1528 "part": { |
1231 "description": "The part parameter serves two purpos
es in this operation. It identifies the properties that the write operation will
set as well as the properties that the API response will include.\n\nThe part n
ames that you can include in the parameter value are snippet, contentDetails, an
d status.\n\nNote that this method will override the existing values for all of
the mutable properties that are contained in any parts that the parameter value
specifies. For example, a playlist item can specify a start time and end time, w
hich identify the times portion of the video that should play when users watch t
he video in the playlist. If your request is updating a playlist item that sets
these values, and the request's part parameter value includes the contentDetails
part, the playlist item's start and end times will be updated to whatever value
the request body specifies. If the request body does not specify values, the ex
isting start and end times will be removed and replaced with the default setting
s.", | 1529 "description": "The part parameter serves two purpos
es in this operation. It identifies the properties that the write operation will
set as well as the properties that the API response will include.\n\nThe part n
ames that you can include in the parameter value are snippet, contentDetails, an
d status.\n\nNote that this method will override the existing values for all of
the mutable properties that are contained in any parts that the parameter value
specifies. For example, a playlist item can specify a start time and end time, w
hich identify the times portion of the video that should play when users watch t
he video in the playlist. If your request is updating a playlist item that sets
these values, and the request's part parameter value includes the contentDetails
part, the playlist item's start and end times will be updated to whatever value
the request body specifies. If the request body does not specify values, the ex
isting start and end times will be removed and replaced with the default setting
s.", |
1232 "location": "query", | 1530 "location": "query", |
1233 "required": true, | 1531 "required": true, |
1234 "type": "string" | 1532 "type": "string" |
1235 } | 1533 } |
1236 }, | 1534 }, |
1237 "path": "playlistItems", | 1535 "path": "playlistItems", |
1238 "request": { | 1536 "request": { |
1239 "$ref": "PlaylistItem" | 1537 "$ref": "PlaylistItem" |
1240 }, | 1538 }, |
1241 "response": { | 1539 "response": { |
1242 "$ref": "PlaylistItem" | 1540 "$ref": "PlaylistItem" |
1243 }, | 1541 }, |
1244 "scopes": [ | 1542 "scopes": [ |
1245 "https://www.googleapis.com/auth/youtube", | 1543 "https://www.googleapis.com/auth/youtube", |
| 1544 "https://www.googleapis.com/auth/youtube.force-ssl", |
1246 "https://www.googleapis.com/auth/youtubepartner" | 1545 "https://www.googleapis.com/auth/youtubepartner" |
1247 ] | 1546 ] |
1248 } | 1547 } |
1249 } | 1548 } |
1250 }, | 1549 }, |
1251 "playlists": { | 1550 "playlists": { |
1252 "methods": { | 1551 "methods": { |
1253 "delete": { | 1552 "delete": { |
1254 "description": "Deletes a playlist.", | 1553 "description": "Deletes a playlist.", |
1255 "httpMethod": "DELETE", | 1554 "httpMethod": "DELETE", |
(...skipping 10 matching lines...) Expand all Loading... |
1266 }, | 1565 }, |
1267 "onBehalfOfContentOwner": { | 1566 "onBehalfOfContentOwner": { |
1268 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 1567 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
1269 "location": "query", | 1568 "location": "query", |
1270 "type": "string" | 1569 "type": "string" |
1271 } | 1570 } |
1272 }, | 1571 }, |
1273 "path": "playlists", | 1572 "path": "playlists", |
1274 "scopes": [ | 1573 "scopes": [ |
1275 "https://www.googleapis.com/auth/youtube", | 1574 "https://www.googleapis.com/auth/youtube", |
| 1575 "https://www.googleapis.com/auth/youtube.force-ssl", |
1276 "https://www.googleapis.com/auth/youtubepartner" | 1576 "https://www.googleapis.com/auth/youtubepartner" |
1277 ] | 1577 ] |
1278 }, | 1578 }, |
1279 "insert": { | 1579 "insert": { |
1280 "description": "Creates a playlist.", | 1580 "description": "Creates a playlist.", |
1281 "httpMethod": "POST", | 1581 "httpMethod": "POST", |
1282 "id": "youtube.playlists.insert", | 1582 "id": "youtube.playlists.insert", |
1283 "parameterOrder": [ | 1583 "parameterOrder": [ |
1284 "part" | 1584 "part" |
1285 ], | 1585 ], |
(...skipping 17 matching lines...) Expand all Loading... |
1303 }, | 1603 }, |
1304 "path": "playlists", | 1604 "path": "playlists", |
1305 "request": { | 1605 "request": { |
1306 "$ref": "Playlist" | 1606 "$ref": "Playlist" |
1307 }, | 1607 }, |
1308 "response": { | 1608 "response": { |
1309 "$ref": "Playlist" | 1609 "$ref": "Playlist" |
1310 }, | 1610 }, |
1311 "scopes": [ | 1611 "scopes": [ |
1312 "https://www.googleapis.com/auth/youtube", | 1612 "https://www.googleapis.com/auth/youtube", |
| 1613 "https://www.googleapis.com/auth/youtube.force-ssl", |
1313 "https://www.googleapis.com/auth/youtubepartner" | 1614 "https://www.googleapis.com/auth/youtubepartner" |
1314 ] | 1615 ] |
1315 }, | 1616 }, |
1316 "list": { | 1617 "list": { |
1317 "description": "Returns a collection of playlists that match
the API request parameters. For example, you can retrieve all playlists that th
e authenticated user owns, or you can retrieve one or more playlists by their un
ique IDs.", | 1618 "description": "Returns a collection of playlists that match
the API request parameters. For example, you can retrieve all playlists that th
e authenticated user owns, or you can retrieve one or more playlists by their un
ique IDs.", |
1318 "httpMethod": "GET", | 1619 "httpMethod": "GET", |
1319 "id": "youtube.playlists.list", | 1620 "id": "youtube.playlists.list", |
1320 "parameterOrder": [ | 1621 "parameterOrder": [ |
1321 "part" | 1622 "part" |
1322 ], | 1623 ], |
1323 "parameters": { | 1624 "parameters": { |
1324 "channelId": { | 1625 "channelId": { |
1325 "description": "This value indicates that the API sh
ould only return the specified channel's playlists.", | 1626 "description": "This value indicates that the API sh
ould only return the specified channel's playlists.", |
1326 "location": "query", | 1627 "location": "query", |
1327 "type": "string" | 1628 "type": "string" |
1328 }, | 1629 }, |
| 1630 "hl": { |
| 1631 "description": "The hl parameter should be used for
filter out the properties that are not in the given language. Used for the snipp
et part.", |
| 1632 "location": "query", |
| 1633 "type": "string" |
| 1634 }, |
1329 "id": { | 1635 "id": { |
1330 "description": "The id parameter specifies a comma-s
eparated list of the YouTube playlist ID(s) for the resource(s) that are being r
etrieved. In a playlist resource, the id property specifies the playlist's YouTu
be playlist ID.", | 1636 "description": "The id parameter specifies a comma-s
eparated list of the YouTube playlist ID(s) for the resource(s) that are being r
etrieved. In a playlist resource, the id property specifies the playlist's YouTu
be playlist ID.", |
1331 "location": "query", | 1637 "location": "query", |
1332 "type": "string" | 1638 "type": "string" |
1333 }, | 1639 }, |
1334 "maxResults": { | 1640 "maxResults": { |
1335 "default": "5", | 1641 "default": "5", |
1336 "description": "The maxResults parameter specifies t
he maximum number of items that should be returned in the result set.", | 1642 "description": "The maxResults parameter specifies t
he maximum number of items that should be returned in the result set.", |
1337 "format": "uint32", | 1643 "format": "uint32", |
1338 "location": "query", | 1644 "location": "query", |
(...skipping 27 matching lines...) Expand all Loading... |
1366 "required": true, | 1672 "required": true, |
1367 "type": "string" | 1673 "type": "string" |
1368 } | 1674 } |
1369 }, | 1675 }, |
1370 "path": "playlists", | 1676 "path": "playlists", |
1371 "response": { | 1677 "response": { |
1372 "$ref": "PlaylistListResponse" | 1678 "$ref": "PlaylistListResponse" |
1373 }, | 1679 }, |
1374 "scopes": [ | 1680 "scopes": [ |
1375 "https://www.googleapis.com/auth/youtube", | 1681 "https://www.googleapis.com/auth/youtube", |
| 1682 "https://www.googleapis.com/auth/youtube.force-ssl", |
1376 "https://www.googleapis.com/auth/youtube.readonly", | 1683 "https://www.googleapis.com/auth/youtube.readonly", |
1377 "https://www.googleapis.com/auth/youtubepartner" | 1684 "https://www.googleapis.com/auth/youtubepartner" |
1378 ] | 1685 ] |
1379 }, | 1686 }, |
1380 "update": { | 1687 "update": { |
1381 "description": "Modifies a playlist. For example, you could
change a playlist's title, description, or privacy status.", | 1688 "description": "Modifies a playlist. For example, you could
change a playlist's title, description, or privacy status.", |
1382 "httpMethod": "PUT", | 1689 "httpMethod": "PUT", |
1383 "id": "youtube.playlists.update", | 1690 "id": "youtube.playlists.update", |
1384 "parameterOrder": [ | 1691 "parameterOrder": [ |
1385 "part" | 1692 "part" |
(...skipping 13 matching lines...) Expand all Loading... |
1399 }, | 1706 }, |
1400 "path": "playlists", | 1707 "path": "playlists", |
1401 "request": { | 1708 "request": { |
1402 "$ref": "Playlist" | 1709 "$ref": "Playlist" |
1403 }, | 1710 }, |
1404 "response": { | 1711 "response": { |
1405 "$ref": "Playlist" | 1712 "$ref": "Playlist" |
1406 }, | 1713 }, |
1407 "scopes": [ | 1714 "scopes": [ |
1408 "https://www.googleapis.com/auth/youtube", | 1715 "https://www.googleapis.com/auth/youtube", |
| 1716 "https://www.googleapis.com/auth/youtube.force-ssl", |
1409 "https://www.googleapis.com/auth/youtubepartner" | 1717 "https://www.googleapis.com/auth/youtubepartner" |
1410 ] | 1718 ] |
1411 } | 1719 } |
1412 } | 1720 } |
1413 }, | 1721 }, |
1414 "search": { | 1722 "search": { |
1415 "methods": { | 1723 "methods": { |
1416 "list": { | 1724 "list": { |
1417 "description": "Returns a collection of search results that
match the query parameters specified in the API request. By default, a search re
sult set identifies matching video, channel, and playlist resources, but you can
also configure queries to only retrieve a specific type of resource.", | 1725 "description": "Returns a collection of search results that
match the query parameters specified in the API request. By default, a search re
sult set identifies matching video, channel, and playlist resources, but you can
also configure queries to only retrieve a specific type of resource.", |
1418 "httpMethod": "GET", | 1726 "httpMethod": "GET", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 "Only include upcoming broadcasts." | 1760 "Only include upcoming broadcasts." |
1453 ], | 1761 ], |
1454 "location": "query", | 1762 "location": "query", |
1455 "type": "string" | 1763 "type": "string" |
1456 }, | 1764 }, |
1457 "forContentOwner": { | 1765 "forContentOwner": { |
1458 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe forContentOwner parameter restrict
s the search to only retrieve resources owned by the content owner specified by
the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS
account linked to the specified content owner and onBehalfOfContentOwner must b
e provided.", | 1766 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe forContentOwner parameter restrict
s the search to only retrieve resources owned by the content owner specified by
the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS
account linked to the specified content owner and onBehalfOfContentOwner must b
e provided.", |
1459 "location": "query", | 1767 "location": "query", |
1460 "type": "boolean" | 1768 "type": "boolean" |
1461 }, | 1769 }, |
| 1770 "forDeveloper": { |
| 1771 "description": "The forDeveloper parameter restricts
the search to only retrieve videos uploaded via the developer's application or
website. The API server uses the request's authorization credentials to identify
the developer. Therefore, a developer can restrict results to videos uploaded t
hrough the developer's own app or website but not to videos uploaded through oth
er apps or sites.", |
| 1772 "location": "query", |
| 1773 "type": "boolean" |
| 1774 }, |
1462 "forMine": { | 1775 "forMine": { |
1463 "description": "The forMine parameter restricts the
search to only retrieve videos owned by the authenticated user. If you set this
parameter to true, then the type parameter's value must also be set to video.", | 1776 "description": "The forMine parameter restricts the
search to only retrieve videos owned by the authenticated user. If you set this
parameter to true, then the type parameter's value must also be set to video.", |
1464 "location": "query", | 1777 "location": "query", |
1465 "type": "boolean" | 1778 "type": "boolean" |
1466 }, | 1779 }, |
1467 "location": { | 1780 "location": { |
1468 "description": "The location parameter restricts a s
earch to videos that have a geographical location specified in their metadata. T
he value is a string that specifies geographic latitude/longitude coordinates e.
g. (37.42307,-122.08427)", | 1781 "description": "The location parameter restricts a s
earch to videos that have a geographical location specified in their metadata. T
he value is a string that specifies geographic latitude/longitude coordinates e.
g. (37.42307,-122.08427)", |
1469 "location": "query", | 1782 "location": "query", |
1470 "type": "string" | 1783 "type": "string" |
1471 }, | 1784 }, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 "location": "query", | 2015 "location": "query", |
1703 "type": "string" | 2016 "type": "string" |
1704 } | 2017 } |
1705 }, | 2018 }, |
1706 "path": "search", | 2019 "path": "search", |
1707 "response": { | 2020 "response": { |
1708 "$ref": "SearchListResponse" | 2021 "$ref": "SearchListResponse" |
1709 }, | 2022 }, |
1710 "scopes": [ | 2023 "scopes": [ |
1711 "https://www.googleapis.com/auth/youtube", | 2024 "https://www.googleapis.com/auth/youtube", |
| 2025 "https://www.googleapis.com/auth/youtube.force-ssl", |
1712 "https://www.googleapis.com/auth/youtube.readonly", | 2026 "https://www.googleapis.com/auth/youtube.readonly", |
1713 "https://www.googleapis.com/auth/youtubepartner" | 2027 "https://www.googleapis.com/auth/youtubepartner" |
1714 ] | 2028 ] |
1715 } | 2029 } |
1716 } | 2030 } |
1717 }, | 2031 }, |
1718 "subscriptions": { | 2032 "subscriptions": { |
1719 "methods": { | 2033 "methods": { |
1720 "delete": { | 2034 "delete": { |
1721 "description": "Deletes a subscription.", | 2035 "description": "Deletes a subscription.", |
1722 "httpMethod": "DELETE", | 2036 "httpMethod": "DELETE", |
1723 "id": "youtube.subscriptions.delete", | 2037 "id": "youtube.subscriptions.delete", |
1724 "parameterOrder": [ | 2038 "parameterOrder": [ |
1725 "id" | 2039 "id" |
1726 ], | 2040 ], |
1727 "parameters": { | 2041 "parameters": { |
1728 "id": { | 2042 "id": { |
1729 "description": "The id parameter specifies the YouTu
be subscription ID for the resource that is being deleted. In a subscription res
ource, the id property specifies the YouTube subscription ID.", | 2043 "description": "The id parameter specifies the YouTu
be subscription ID for the resource that is being deleted. In a subscription res
ource, the id property specifies the YouTube subscription ID.", |
1730 "location": "query", | 2044 "location": "query", |
1731 "required": true, | 2045 "required": true, |
1732 "type": "string" | 2046 "type": "string" |
1733 } | 2047 } |
1734 }, | 2048 }, |
1735 "path": "subscriptions", | 2049 "path": "subscriptions", |
1736 "scopes": [ | 2050 "scopes": [ |
1737 "https://www.googleapis.com/auth/youtube", | 2051 "https://www.googleapis.com/auth/youtube", |
| 2052 "https://www.googleapis.com/auth/youtube.force-ssl", |
1738 "https://www.googleapis.com/auth/youtubepartner" | 2053 "https://www.googleapis.com/auth/youtubepartner" |
1739 ] | 2054 ] |
1740 }, | 2055 }, |
1741 "insert": { | 2056 "insert": { |
1742 "description": "Adds a subscription for the authenticated us
er's channel.", | 2057 "description": "Adds a subscription for the authenticated us
er's channel.", |
1743 "httpMethod": "POST", | 2058 "httpMethod": "POST", |
1744 "id": "youtube.subscriptions.insert", | 2059 "id": "youtube.subscriptions.insert", |
1745 "parameterOrder": [ | 2060 "parameterOrder": [ |
1746 "part" | 2061 "part" |
1747 ], | 2062 ], |
1748 "parameters": { | 2063 "parameters": { |
1749 "part": { | 2064 "part": { |
1750 "description": "The part parameter serves two purpos
es in this operation. It identifies the properties that the write operation will
set as well as the properties that the API response will include.\n\nThe part n
ames that you can include in the parameter value are snippet and contentDetails.
", | 2065 "description": "The part parameter serves two purpos
es in this operation. It identifies the properties that the write operation will
set as well as the properties that the API response will include.\n\nThe part n
ames that you can include in the parameter value are snippet and contentDetails.
", |
1751 "location": "query", | 2066 "location": "query", |
1752 "required": true, | 2067 "required": true, |
1753 "type": "string" | 2068 "type": "string" |
1754 } | 2069 } |
1755 }, | 2070 }, |
1756 "path": "subscriptions", | 2071 "path": "subscriptions", |
1757 "request": { | 2072 "request": { |
1758 "$ref": "Subscription" | 2073 "$ref": "Subscription" |
1759 }, | 2074 }, |
1760 "response": { | 2075 "response": { |
1761 "$ref": "Subscription" | 2076 "$ref": "Subscription" |
1762 }, | 2077 }, |
1763 "scopes": [ | 2078 "scopes": [ |
1764 "https://www.googleapis.com/auth/youtube", | 2079 "https://www.googleapis.com/auth/youtube", |
| 2080 "https://www.googleapis.com/auth/youtube.force-ssl", |
1765 "https://www.googleapis.com/auth/youtubepartner" | 2081 "https://www.googleapis.com/auth/youtubepartner" |
1766 ] | 2082 ] |
1767 }, | 2083 }, |
1768 "list": { | 2084 "list": { |
1769 "description": "Returns subscription resources that match th
e API request criteria.", | 2085 "description": "Returns subscription resources that match th
e API request criteria.", |
1770 "httpMethod": "GET", | 2086 "httpMethod": "GET", |
1771 "id": "youtube.subscriptions.list", | 2087 "id": "youtube.subscriptions.list", |
1772 "parameterOrder": [ | 2088 "parameterOrder": [ |
1773 "part" | 2089 "part" |
1774 ], | 2090 ], |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1844 "required": true, | 2160 "required": true, |
1845 "type": "string" | 2161 "type": "string" |
1846 } | 2162 } |
1847 }, | 2163 }, |
1848 "path": "subscriptions", | 2164 "path": "subscriptions", |
1849 "response": { | 2165 "response": { |
1850 "$ref": "SubscriptionListResponse" | 2166 "$ref": "SubscriptionListResponse" |
1851 }, | 2167 }, |
1852 "scopes": [ | 2168 "scopes": [ |
1853 "https://www.googleapis.com/auth/youtube", | 2169 "https://www.googleapis.com/auth/youtube", |
| 2170 "https://www.googleapis.com/auth/youtube.force-ssl", |
1854 "https://www.googleapis.com/auth/youtube.readonly", | 2171 "https://www.googleapis.com/auth/youtube.readonly", |
1855 "https://www.googleapis.com/auth/youtubepartner" | 2172 "https://www.googleapis.com/auth/youtubepartner" |
1856 ] | 2173 ] |
1857 } | 2174 } |
1858 } | 2175 } |
1859 }, | 2176 }, |
1860 "thumbnails": { | 2177 "thumbnails": { |
1861 "methods": { | 2178 "methods": { |
1862 "set": { | 2179 "set": { |
1863 "description": "Uploads a custom video thumbnail to YouTube
and sets it for a video.", | 2180 "description": "Uploads a custom video thumbnail to YouTube
and sets it for a video.", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1896 "required": true, | 2213 "required": true, |
1897 "type": "string" | 2214 "type": "string" |
1898 } | 2215 } |
1899 }, | 2216 }, |
1900 "path": "thumbnails/set", | 2217 "path": "thumbnails/set", |
1901 "response": { | 2218 "response": { |
1902 "$ref": "ThumbnailSetResponse" | 2219 "$ref": "ThumbnailSetResponse" |
1903 }, | 2220 }, |
1904 "scopes": [ | 2221 "scopes": [ |
1905 "https://www.googleapis.com/auth/youtube", | 2222 "https://www.googleapis.com/auth/youtube", |
| 2223 "https://www.googleapis.com/auth/youtube.force-ssl", |
1906 "https://www.googleapis.com/auth/youtube.upload", | 2224 "https://www.googleapis.com/auth/youtube.upload", |
1907 "https://www.googleapis.com/auth/youtubepartner" | 2225 "https://www.googleapis.com/auth/youtubepartner" |
1908 ], | 2226 ], |
1909 "supportsMediaUpload": true | 2227 "supportsMediaUpload": true |
1910 } | 2228 } |
1911 } | 2229 } |
1912 }, | 2230 }, |
1913 "videoCategories": { | 2231 "videoCategories": { |
1914 "methods": { | 2232 "methods": { |
1915 "list": { | 2233 "list": { |
(...skipping 26 matching lines...) Expand all Loading... |
1942 "location": "query", | 2260 "location": "query", |
1943 "type": "string" | 2261 "type": "string" |
1944 } | 2262 } |
1945 }, | 2263 }, |
1946 "path": "videoCategories", | 2264 "path": "videoCategories", |
1947 "response": { | 2265 "response": { |
1948 "$ref": "VideoCategoryListResponse" | 2266 "$ref": "VideoCategoryListResponse" |
1949 }, | 2267 }, |
1950 "scopes": [ | 2268 "scopes": [ |
1951 "https://www.googleapis.com/auth/youtube", | 2269 "https://www.googleapis.com/auth/youtube", |
| 2270 "https://www.googleapis.com/auth/youtube.force-ssl", |
1952 "https://www.googleapis.com/auth/youtube.readonly", | 2271 "https://www.googleapis.com/auth/youtube.readonly", |
1953 "https://www.googleapis.com/auth/youtubepartner" | 2272 "https://www.googleapis.com/auth/youtubepartner" |
1954 ] | 2273 ] |
1955 } | 2274 } |
1956 } | 2275 } |
1957 }, | 2276 }, |
1958 "videos": { | 2277 "videos": { |
1959 "methods": { | 2278 "methods": { |
1960 "delete": { | 2279 "delete": { |
1961 "description": "Deletes a YouTube video.", | 2280 "description": "Deletes a YouTube video.", |
(...skipping 11 matching lines...) Expand all Loading... |
1973 }, | 2292 }, |
1974 "onBehalfOfContentOwner": { | 2293 "onBehalfOfContentOwner": { |
1975 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The actual CMS account that th
e user authenticates with must be linked to the specified YouTube content owner.
", | 2294 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The actual CMS account that th
e user authenticates with must be linked to the specified YouTube content owner.
", |
1976 "location": "query", | 2295 "location": "query", |
1977 "type": "string" | 2296 "type": "string" |
1978 } | 2297 } |
1979 }, | 2298 }, |
1980 "path": "videos", | 2299 "path": "videos", |
1981 "scopes": [ | 2300 "scopes": [ |
1982 "https://www.googleapis.com/auth/youtube", | 2301 "https://www.googleapis.com/auth/youtube", |
| 2302 "https://www.googleapis.com/auth/youtube.force-ssl", |
1983 "https://www.googleapis.com/auth/youtubepartner" | 2303 "https://www.googleapis.com/auth/youtubepartner" |
1984 ] | 2304 ] |
1985 }, | 2305 }, |
1986 "getRating": { | 2306 "getRating": { |
1987 "description": "Retrieves the ratings that the authorized us
er gave to a list of specified videos.", | 2307 "description": "Retrieves the ratings that the authorized us
er gave to a list of specified videos.", |
1988 "httpMethod": "GET", | 2308 "httpMethod": "GET", |
1989 "id": "youtube.videos.getRating", | 2309 "id": "youtube.videos.getRating", |
1990 "parameterOrder": [ | 2310 "parameterOrder": [ |
1991 "id" | 2311 "id" |
1992 ], | 2312 ], |
1993 "parameters": { | 2313 "parameters": { |
1994 "id": { | 2314 "id": { |
1995 "description": "The id parameter specifies a comma-s
eparated list of the YouTube video ID(s) for the resource(s) for which you are r
etrieving rating data. In a video resource, the id property specifies the video'
s ID.", | 2315 "description": "The id parameter specifies a comma-s
eparated list of the YouTube video ID(s) for the resource(s) for which you are r
etrieving rating data. In a video resource, the id property specifies the video'
s ID.", |
1996 "location": "query", | 2316 "location": "query", |
1997 "required": true, | 2317 "required": true, |
1998 "type": "string" | 2318 "type": "string" |
1999 }, | 2319 }, |
2000 "onBehalfOfContentOwner": { | 2320 "onBehalfOfContentOwner": { |
2001 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", | 2321 "description": "Note: This parameter is intended exc
lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i
ndicates that the request's authorization credentials identify a YouTube CMS use
r 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 man
y different YouTube channels. It allows content owners to authenticate once and
get access to all their video and channel data, without having to provide authen
tication credentials for each individual channel. The CMS account that the user
authenticates with must be linked to the specified YouTube content owner.", |
2002 "location": "query", | 2322 "location": "query", |
2003 "type": "string" | 2323 "type": "string" |
2004 } | 2324 } |
2005 }, | 2325 }, |
2006 "path": "videos/getRating", | 2326 "path": "videos/getRating", |
2007 "response": { | 2327 "response": { |
2008 "$ref": "VideoGetRatingResponse" | 2328 "$ref": "VideoGetRatingResponse" |
2009 }, | 2329 }, |
2010 "scopes": [ | 2330 "scopes": [ |
2011 "https://www.googleapis.com/auth/youtube", | 2331 "https://www.googleapis.com/auth/youtube", |
| 2332 "https://www.googleapis.com/auth/youtube.force-ssl", |
2012 "https://www.googleapis.com/auth/youtubepartner" | 2333 "https://www.googleapis.com/auth/youtubepartner" |
2013 ] | 2334 ] |
2014 }, | 2335 }, |
2015 "insert": { | 2336 "insert": { |
2016 "description": "Uploads a video to YouTube and optionally se
ts the video's metadata.", | 2337 "description": "Uploads a video to YouTube and optionally se
ts the video's metadata.", |
2017 "httpMethod": "POST", | 2338 "httpMethod": "POST", |
2018 "id": "youtube.videos.insert", | 2339 "id": "youtube.videos.insert", |
2019 "mediaUpload": { | 2340 "mediaUpload": { |
2020 "accept": [ | 2341 "accept": [ |
2021 "application/octet-stream", | 2342 "application/octet-stream", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 }, | 2393 }, |
2073 "path": "videos", | 2394 "path": "videos", |
2074 "request": { | 2395 "request": { |
2075 "$ref": "Video" | 2396 "$ref": "Video" |
2076 }, | 2397 }, |
2077 "response": { | 2398 "response": { |
2078 "$ref": "Video" | 2399 "$ref": "Video" |
2079 }, | 2400 }, |
2080 "scopes": [ | 2401 "scopes": [ |
2081 "https://www.googleapis.com/auth/youtube", | 2402 "https://www.googleapis.com/auth/youtube", |
| 2403 "https://www.googleapis.com/auth/youtube.force-ssl", |
2082 "https://www.googleapis.com/auth/youtube.upload", | 2404 "https://www.googleapis.com/auth/youtube.upload", |
2083 "https://www.googleapis.com/auth/youtubepartner" | 2405 "https://www.googleapis.com/auth/youtubepartner" |
2084 ], | 2406 ], |
2085 "supportsMediaUpload": true | 2407 "supportsMediaUpload": true |
2086 }, | 2408 }, |
2087 "list": { | 2409 "list": { |
2088 "description": "Returns a list of videos that match the API
request parameters.", | 2410 "description": "Returns a list of videos that match the API
request parameters.", |
2089 "httpMethod": "GET", | 2411 "httpMethod": "GET", |
2090 "id": "youtube.videos.list", | 2412 "id": "youtube.videos.list", |
2091 "parameterOrder": [ | 2413 "parameterOrder": [ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2167 "location": "query", | 2489 "location": "query", |
2168 "type": "string" | 2490 "type": "string" |
2169 } | 2491 } |
2170 }, | 2492 }, |
2171 "path": "videos", | 2493 "path": "videos", |
2172 "response": { | 2494 "response": { |
2173 "$ref": "VideoListResponse" | 2495 "$ref": "VideoListResponse" |
2174 }, | 2496 }, |
2175 "scopes": [ | 2497 "scopes": [ |
2176 "https://www.googleapis.com/auth/youtube", | 2498 "https://www.googleapis.com/auth/youtube", |
| 2499 "https://www.googleapis.com/auth/youtube.force-ssl", |
2177 "https://www.googleapis.com/auth/youtube.readonly", | 2500 "https://www.googleapis.com/auth/youtube.readonly", |
2178 "https://www.googleapis.com/auth/youtubepartner" | 2501 "https://www.googleapis.com/auth/youtubepartner" |
2179 ] | 2502 ] |
2180 }, | 2503 }, |
2181 "rate": { | 2504 "rate": { |
2182 "description": "Add a like or dislike rating to a video or r
emove a rating from a video.", | 2505 "description": "Add a like or dislike rating to a video or r
emove a rating from a video.", |
2183 "httpMethod": "POST", | 2506 "httpMethod": "POST", |
2184 "id": "youtube.videos.rate", | 2507 "id": "youtube.videos.rate", |
2185 "parameterOrder": [ | 2508 "parameterOrder": [ |
2186 "id", | 2509 "id", |
(...skipping 24 matching lines...) Expand all Loading... |
2211 "Removes any rating that the authenticated user
had previously set for the video." | 2534 "Removes any rating that the authenticated user
had previously set for the video." |
2212 ], | 2535 ], |
2213 "location": "query", | 2536 "location": "query", |
2214 "required": true, | 2537 "required": true, |
2215 "type": "string" | 2538 "type": "string" |
2216 } | 2539 } |
2217 }, | 2540 }, |
2218 "path": "videos/rate", | 2541 "path": "videos/rate", |
2219 "scopes": [ | 2542 "scopes": [ |
2220 "https://www.googleapis.com/auth/youtube", | 2543 "https://www.googleapis.com/auth/youtube", |
| 2544 "https://www.googleapis.com/auth/youtube.force-ssl", |
2221 "https://www.googleapis.com/auth/youtubepartner" | 2545 "https://www.googleapis.com/auth/youtubepartner" |
2222 ] | 2546 ] |
2223 }, | 2547 }, |
2224 "update": { | 2548 "update": { |
2225 "description": "Updates a video's metadata.", | 2549 "description": "Updates a video's metadata.", |
2226 "httpMethod": "PUT", | 2550 "httpMethod": "PUT", |
2227 "id": "youtube.videos.update", | 2551 "id": "youtube.videos.update", |
2228 "parameterOrder": [ | 2552 "parameterOrder": [ |
2229 "part" | 2553 "part" |
2230 ], | 2554 ], |
(...skipping 12 matching lines...) Expand all Loading... |
2243 }, | 2567 }, |
2244 "path": "videos", | 2568 "path": "videos", |
2245 "request": { | 2569 "request": { |
2246 "$ref": "Video" | 2570 "$ref": "Video" |
2247 }, | 2571 }, |
2248 "response": { | 2572 "response": { |
2249 "$ref": "Video" | 2573 "$ref": "Video" |
2250 }, | 2574 }, |
2251 "scopes": [ | 2575 "scopes": [ |
2252 "https://www.googleapis.com/auth/youtube", | 2576 "https://www.googleapis.com/auth/youtube", |
| 2577 "https://www.googleapis.com/auth/youtube.force-ssl", |
2253 "https://www.googleapis.com/auth/youtubepartner" | 2578 "https://www.googleapis.com/auth/youtubepartner" |
2254 ] | 2579 ] |
2255 } | 2580 } |
2256 } | 2581 } |
2257 }, | 2582 }, |
2258 "watermarks": { | 2583 "watermarks": { |
2259 "methods": { | 2584 "methods": { |
2260 "set": { | 2585 "set": { |
2261 "description": "Uploads a watermark image to YouTube and set
s it for a channel.", | 2586 "description": "Uploads a watermark image to YouTube and set
s it for a channel.", |
2262 "httpMethod": "POST", | 2587 "httpMethod": "POST", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2294 "location": "query", | 2619 "location": "query", |
2295 "type": "string" | 2620 "type": "string" |
2296 } | 2621 } |
2297 }, | 2622 }, |
2298 "path": "watermarks/set", | 2623 "path": "watermarks/set", |
2299 "request": { | 2624 "request": { |
2300 "$ref": "InvideoBranding" | 2625 "$ref": "InvideoBranding" |
2301 }, | 2626 }, |
2302 "scopes": [ | 2627 "scopes": [ |
2303 "https://www.googleapis.com/auth/youtube", | 2628 "https://www.googleapis.com/auth/youtube", |
| 2629 "https://www.googleapis.com/auth/youtube.force-ssl", |
2304 "https://www.googleapis.com/auth/youtube.upload", | 2630 "https://www.googleapis.com/auth/youtube.upload", |
2305 "https://www.googleapis.com/auth/youtubepartner" | 2631 "https://www.googleapis.com/auth/youtubepartner" |
2306 ], | 2632 ], |
2307 "supportsMediaUpload": true | 2633 "supportsMediaUpload": true |
2308 }, | 2634 }, |
2309 "unset": { | 2635 "unset": { |
2310 "description": "Deletes a watermark.", | 2636 "description": "Deletes a watermark.", |
2311 "httpMethod": "POST", | 2637 "httpMethod": "POST", |
2312 "id": "youtube.watermarks.unset", | 2638 "id": "youtube.watermarks.unset", |
2313 "parameterOrder": [ | 2639 "parameterOrder": [ |
2314 "channelId" | 2640 "channelId" |
2315 ], | 2641 ], |
2316 "parameters": { | 2642 "parameters": { |
2317 "channelId": { | 2643 "channelId": { |
2318 "description": "The channelId parameter specifies a
YouTube channel ID for which the watermark is being unset.", | 2644 "description": "The channelId parameter specifies a
YouTube channel ID for which the watermark is being unset.", |
2319 "location": "query", | 2645 "location": "query", |
2320 "required": true, | 2646 "required": true, |
2321 "type": "string" | 2647 "type": "string" |
2322 }, | 2648 }, |
2323 "onBehalfOfContentOwner": { | 2649 "onBehalfOfContentOwner": { |
2324 "description": "The onBehalfOfContentOwner parameter
indicates that the authenticated user 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 channe
l. The actual CMS account that the user authenticates with needs to be linked to
the specified YouTube content owner.", | 2650 "description": "The onBehalfOfContentOwner parameter
indicates that the authenticated user 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 channe
l. The actual CMS account that the user authenticates with needs to be linked to
the specified YouTube content owner.", |
2325 "location": "query", | 2651 "location": "query", |
2326 "type": "string" | 2652 "type": "string" |
2327 } | 2653 } |
2328 }, | 2654 }, |
2329 "path": "watermarks/unset", | 2655 "path": "watermarks/unset", |
2330 "scopes": [ | 2656 "scopes": [ |
2331 "https://www.googleapis.com/auth/youtube", | 2657 "https://www.googleapis.com/auth/youtube", |
| 2658 "https://www.googleapis.com/auth/youtube.force-ssl", |
2332 "https://www.googleapis.com/auth/youtubepartner" | 2659 "https://www.googleapis.com/auth/youtubepartner" |
2333 ] | 2660 ] |
2334 } | 2661 } |
2335 } | 2662 } |
2336 } | 2663 } |
2337 }, | 2664 }, |
2338 "revision": "20150218", | 2665 "revision": "20150327", |
2339 "rootUrl": "https://www.googleapis.com/", | 2666 "rootUrl": "https://www.googleapis.com/", |
2340 "schemas": { | 2667 "schemas": { |
2341 "AccessPolicy": { | 2668 "AccessPolicy": { |
2342 "description": "Rights management policy for YouTube resources.", | 2669 "description": "Rights management policy for YouTube resources.", |
2343 "id": "AccessPolicy", | 2670 "id": "AccessPolicy", |
2344 "properties": { | 2671 "properties": { |
2345 "allowed": { | 2672 "allowed": { |
2346 "description": "The value of allowed indicates whether the a
ccess to the policy is allowed or denied by default.", | 2673 "description": "The value of allowed indicates whether the a
ccess to the policy is allowed or denied by default.", |
2347 "type": "boolean" | 2674 "type": "boolean" |
2348 }, | 2675 }, |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2770 "", | 3097 "", |
2771 "", | 3098 "", |
2772 "", | 3099 "", |
2773 "" | 3100 "" |
2774 ], | 3101 ], |
2775 "type": "string" | 3102 "type": "string" |
2776 } | 3103 } |
2777 }, | 3104 }, |
2778 "type": "object" | 3105 "type": "object" |
2779 }, | 3106 }, |
| 3107 "Caption": { |
| 3108 "description": "A caption resource represents a YouTube caption trac
k. A caption track is associated with exactly one YouTube video.", |
| 3109 "id": "Caption", |
| 3110 "properties": { |
| 3111 "etag": { |
| 3112 "description": "Etag of this resource.", |
| 3113 "type": "string" |
| 3114 }, |
| 3115 "id": { |
| 3116 "annotations": { |
| 3117 "required": [ |
| 3118 "youtube.captions.update" |
| 3119 ] |
| 3120 }, |
| 3121 "description": "The ID that YouTube uses to uniquely identif
y the caption track.", |
| 3122 "type": "string" |
| 3123 }, |
| 3124 "kind": { |
| 3125 "default": "youtube#caption", |
| 3126 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"youtube#caption\".", |
| 3127 "type": "string" |
| 3128 }, |
| 3129 "snippet": { |
| 3130 "$ref": "CaptionSnippet", |
| 3131 "description": "The snippet object contains basic details ab
out the caption." |
| 3132 } |
| 3133 }, |
| 3134 "type": "object" |
| 3135 }, |
| 3136 "CaptionListResponse": { |
| 3137 "id": "CaptionListResponse", |
| 3138 "properties": { |
| 3139 "etag": { |
| 3140 "description": "Etag of this resource.", |
| 3141 "type": "string" |
| 3142 }, |
| 3143 "eventId": { |
| 3144 "description": "Serialized EventId of the request which prod
uced this response.", |
| 3145 "type": "string" |
| 3146 }, |
| 3147 "items": { |
| 3148 "description": "A list of captions that match the request cr
iteria.", |
| 3149 "items": { |
| 3150 "$ref": "Caption" |
| 3151 }, |
| 3152 "type": "array" |
| 3153 }, |
| 3154 "kind": { |
| 3155 "default": "youtube#captionListResponse", |
| 3156 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"youtube#captionListResponse\".", |
| 3157 "type": "string" |
| 3158 }, |
| 3159 "visitorId": { |
| 3160 "description": "The visitorId identifies the visitor.", |
| 3161 "type": "string" |
| 3162 } |
| 3163 }, |
| 3164 "type": "object" |
| 3165 }, |
| 3166 "CaptionSnippet": { |
| 3167 "description": "Basic details about a caption track, such as its lan
guage and name.", |
| 3168 "id": "CaptionSnippet", |
| 3169 "properties": { |
| 3170 "audioTrackType": { |
| 3171 "description": "The type of audio track associated with the
caption track.", |
| 3172 "enum": [ |
| 3173 "commentary", |
| 3174 "descriptive", |
| 3175 "primary", |
| 3176 "unknown" |
| 3177 ], |
| 3178 "enumDescriptions": [ |
| 3179 "", |
| 3180 "", |
| 3181 "", |
| 3182 "" |
| 3183 ], |
| 3184 "type": "string" |
| 3185 }, |
| 3186 "failureReason": { |
| 3187 "description": "The reason that YouTube failed to process th
e caption track. This property is only present if the state property's value is
failed.", |
| 3188 "enum": [ |
| 3189 "processingFailed", |
| 3190 "unknownFormat", |
| 3191 "unsupportedFormat" |
| 3192 ], |
| 3193 "enumDescriptions": [ |
| 3194 "", |
| 3195 "", |
| 3196 "" |
| 3197 ], |
| 3198 "type": "string" |
| 3199 }, |
| 3200 "isAutoSynced": { |
| 3201 "description": "Indicates whether YouTube synchronized the c
aption track to the audio track in the video. The value will be true if a sync w
as explicitly requested when the caption track was uploaded. For example, when c
alling the captions.insert or captions.update methods, you can set the sync para
meter to true to instruct YouTube to sync the uploaded track to the video. If th
e value is false, YouTube uses the time codes in the uploaded caption track to d
etermine when to display captions.", |
| 3202 "type": "boolean" |
| 3203 }, |
| 3204 "isCC": { |
| 3205 "description": "Indicates whether the track contains closed
captions for the deaf and hard of hearing. The default value is false.", |
| 3206 "type": "boolean" |
| 3207 }, |
| 3208 "isDraft": { |
| 3209 "description": "Indicates whether the caption track is a dra
ft. If the value is true, then the track is not publicly visible. The default va
lue is false.", |
| 3210 "type": "boolean" |
| 3211 }, |
| 3212 "isEasyReader": { |
| 3213 "description": "Indicates whether caption track is formatted
for \"easy reader,\" meaning it is at a third-grade level for language learners
. The default value is false.", |
| 3214 "type": "boolean" |
| 3215 }, |
| 3216 "isLarge": { |
| 3217 "description": "Indicates whether the caption track uses lar
ge text for the vision-impaired. The default value is false.", |
| 3218 "type": "boolean" |
| 3219 }, |
| 3220 "language": { |
| 3221 "annotations": { |
| 3222 "required": [ |
| 3223 "youtube.captions.insert" |
| 3224 ] |
| 3225 }, |
| 3226 "description": "The language of the caption track. The prope
rty value is a BCP-47 language tag.", |
| 3227 "type": "string" |
| 3228 }, |
| 3229 "lastUpdated": { |
| 3230 "description": "The date and time when the caption track was
last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) forma
t.", |
| 3231 "format": "date-time", |
| 3232 "type": "string" |
| 3233 }, |
| 3234 "name": { |
| 3235 "annotations": { |
| 3236 "required": [ |
| 3237 "youtube.captions.insert" |
| 3238 ] |
| 3239 }, |
| 3240 "description": "The name of the caption track. The name is i
ntended to be visible to the user as an option during playback.", |
| 3241 "type": "string" |
| 3242 }, |
| 3243 "status": { |
| 3244 "description": "The caption track's status.", |
| 3245 "enum": [ |
| 3246 "failed", |
| 3247 "serving", |
| 3248 "syncing" |
| 3249 ], |
| 3250 "enumDescriptions": [ |
| 3251 "", |
| 3252 "", |
| 3253 "" |
| 3254 ], |
| 3255 "type": "string" |
| 3256 }, |
| 3257 "trackKind": { |
| 3258 "description": "The caption track's type.", |
| 3259 "enum": [ |
| 3260 "ASR", |
| 3261 "forced", |
| 3262 "standard" |
| 3263 ], |
| 3264 "enumDescriptions": [ |
| 3265 "", |
| 3266 "", |
| 3267 "" |
| 3268 ], |
| 3269 "type": "string" |
| 3270 }, |
| 3271 "videoId": { |
| 3272 "annotations": { |
| 3273 "required": [ |
| 3274 "youtube.captions.insert" |
| 3275 ] |
| 3276 }, |
| 3277 "description": "The ID that YouTube uses to uniquely identif
y the video associated with the caption track.", |
| 3278 "type": "string" |
| 3279 } |
| 3280 }, |
| 3281 "type": "object" |
| 3282 }, |
2780 "CdnSettings": { | 3283 "CdnSettings": { |
2781 "description": "Brief description of the live stream cdn settings.", | 3284 "description": "Brief description of the live stream cdn settings.", |
2782 "id": "CdnSettings", | 3285 "id": "CdnSettings", |
2783 "properties": { | 3286 "properties": { |
2784 "format": { | 3287 "format": { |
2785 "annotations": { | 3288 "annotations": { |
2786 "required": [ | 3289 "required": [ |
2787 "youtube.liveStreams.insert", | 3290 "youtube.liveStreams.insert", |
2788 "youtube.liveStreams.update" | 3291 "youtube.liveStreams.update" |
2789 ] | 3292 ] |
(...skipping 4981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7771 "type": "string" | 8274 "type": "string" |
7772 } | 8275 } |
7773 }, | 8276 }, |
7774 "type": "object" | 8277 "type": "object" |
7775 } | 8278 } |
7776 }, | 8279 }, |
7777 "servicePath": "youtube/v3/", | 8280 "servicePath": "youtube/v3/", |
7778 "title": "YouTube Data API", | 8281 "title": "YouTube Data API", |
7779 "version": "v3" | 8282 "version": "v3" |
7780 } | 8283 } |
OLD | NEW |