Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Side by Side Diff: discovery/googleapis/youtube__v3.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/youtube": {
6 "description": "Manage your YouTube account"
7 },
8 "https://www.googleapis.com/auth/youtube.readonly": {
9 "description": "View your YouTube account"
10 },
11 "https://www.googleapis.com/auth/youtube.upload": {
12 "description": "Manage your YouTube videos"
13 },
14 "https://www.googleapis.com/auth/youtubepartner": {
15 "description": "View and manage your assets and associated c ontent on YouTube"
16 },
17 "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"
19 }
20 }
21 }
22 },
23 "basePath": "/youtube/v3/",
24 "baseUrl": "https://www.googleapis.com/youtube/v3/",
25 "batchPath": "batch",
26 "canonicalName": "YouTube",
27 "description": "Programmatic access to YouTube features.",
28 "discoveryVersion": "v1",
29 "documentationLink": "https://developers.google.com/youtube/v3",
30 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/3kbeo8dbfJy5lT2_hpLO-AsyQJ0\"",
31 "icons": {
32 "x16": "http://www.google.com/images/icons/product/youtube-16.png",
33 "x32": "http://www.google.com/images/icons/product/youtube-32.png"
34 },
35 "id": "youtube:v3",
36 "kind": "discovery#restDescription",
37 "name": "youtube",
38 "ownerDomain": "google.com",
39 "ownerName": "Google",
40 "parameters": {
41 "alt": {
42 "default": "json",
43 "description": "Data format for the response.",
44 "enum": [
45 "json"
46 ],
47 "enumDescriptions": [
48 "Responses with Content-Type of application/json"
49 ],
50 "location": "query",
51 "type": "string"
52 },
53 "fields": {
54 "description": "Selector specifying which fields to include in a par tial response.",
55 "location": "query",
56 "type": "string"
57 },
58 "key": {
59 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
60 "location": "query",
61 "type": "string"
62 },
63 "oauth_token": {
64 "description": "OAuth 2.0 token for the current user.",
65 "location": "query",
66 "type": "string"
67 },
68 "prettyPrint": {
69 "default": "true",
70 "description": "Returns response with indentations and line breaks." ,
71 "location": "query",
72 "type": "boolean"
73 },
74 "quotaUser": {
75 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
76 "location": "query",
77 "type": "string"
78 },
79 "userIp": {
80 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
81 "location": "query",
82 "type": "string"
83 }
84 },
85 "protocol": "rest",
86 "resources": {
87 "activities": {
88 "methods": {
89 "insert": {
90 "description": "Posts a bulletin for a specific channel. (Th e user submitting the request must be authorized to act on the channel's behalf. )\n\nNote: Even though an activity resource can contain information about action s like a user rating a video or marking a video as a favorite, you need to use o ther API methods to generate those activity resources. For example, you would us e the API's videos.rate() method to rate a video and the playlistItems.insert() method to mark a video as a favorite.",
91 "httpMethod": "POST",
92 "id": "youtube.activities.insert",
93 "parameterOrder": [
94 "part"
95 ],
96 "parameters": {
97 "part": {
98 "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. ",
99 "location": "query",
100 "required": true,
101 "type": "string"
102 }
103 },
104 "path": "activities",
105 "request": {
106 "$ref": "Activity"
107 },
108 "response": {
109 "$ref": "Activity"
110 },
111 "scopes": [
112 "https://www.googleapis.com/auth/youtube"
113 ]
114 },
115 "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. ",
117 "httpMethod": "GET",
118 "id": "youtube.activities.list",
119 "parameterOrder": [
120 "part"
121 ],
122 "parameters": {
123 "channelId": {
124 "description": "The channelId parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's act ivities.",
125 "location": "query",
126 "type": "string"
127 },
128 "home": {
129 "description": "Set this parameter's value to true t o retrieve the activity feed that displays on the YouTube home page for the curr ently authenticated user.",
130 "location": "query",
131 "type": "boolean"
132 },
133 "maxResults": {
134 "default": "5",
135 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
136 "format": "uint32",
137 "location": "query",
138 "maximum": "50",
139 "minimum": "0",
140 "type": "integer"
141 },
142 "mine": {
143 "description": "Set this parameter's value to true t o retrieve a feed of the authenticated user's activities.",
144 "location": "query",
145 "type": "boolean"
146 },
147 "pageToken": {
148 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
149 "location": "query",
150 "type": "string"
151 },
152 "part": {
153 "description": "The part parameter specifies a comma -separated list of one or more activity resource properties that the API respons e will include. The part names that you can include in the parameter value are i d, snippet, and contentDetails.\n\nIf the parameter identifies a property that c ontains child properties, the child properties will be included in the response. For example, in a activity resource, the snippet property contains other proper ties that identify the type of activity, a display title for the activity, and s o forth. If you set part=snippet, the API response will also contain all of thos e nested properties.",
154 "location": "query",
155 "required": true,
156 "type": "string"
157 },
158 "publishedAfter": {
159 "description": "The publishedAfter parameter specifi es the earliest date and time that an activity could have occurred for that acti vity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be included in the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) form at.",
160 "format": "date-time",
161 "location": "query",
162 "type": "string"
163 },
164 "publishedBefore": {
165 "description": "The publishedBefore parameter specif ies the date and time before which an activity must have occurred for that activ ity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) for mat.",
166 "format": "date-time",
167 "location": "query",
168 "type": "string"
169 },
170 "regionCode": {
171 "description": "The regionCode parameter instructs t he API to return results for the specified country. The parameter value is an IS O 3166-1 alpha-2 country code. YouTube uses this value when the authorized user' s previous activity on YouTube does not provide enough information to generate t he activity feed.",
172 "location": "query",
173 "type": "string"
174 }
175 },
176 "path": "activities",
177 "response": {
178 "$ref": "ActivityListResponse"
179 },
180 "scopes": [
181 "https://www.googleapis.com/auth/youtube",
182 "https://www.googleapis.com/auth/youtube.readonly"
183 ]
184 }
185 }
186 },
187 "channelBanners": {
188 "methods": {
189 "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.",
191 "httpMethod": "POST",
192 "id": "youtube.channelBanners.insert",
193 "mediaUpload": {
194 "accept": [
195 "application/octet-stream",
196 "image/jpeg",
197 "image/png"
198 ],
199 "maxSize": "6MB",
200 "protocols": {
201 "resumable": {
202 "multipart": true,
203 "path": "/resumable/upload/youtube/v3/channelBan ners/insert"
204 },
205 "simple": {
206 "multipart": true,
207 "path": "/upload/youtube/v3/channelBanners/inser t"
208 }
209 }
210 },
211 "parameters": {
212 "onBehalfOfContentOwner": {
213 "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.",
214 "location": "query",
215 "type": "string"
216 }
217 },
218 "path": "channelBanners/insert",
219 "request": {
220 "$ref": "ChannelBannerResource"
221 },
222 "response": {
223 "$ref": "ChannelBannerResource"
224 },
225 "scopes": [
226 "https://www.googleapis.com/auth/youtube",
227 "https://www.googleapis.com/auth/youtube.upload"
228 ],
229 "supportsMediaUpload": true
230 }
231 }
232 },
233 "channelSections": {
234 "methods": {
235 "delete": {
236 "description": "Deletes a channelSection.",
237 "httpMethod": "DELETE",
238 "id": "youtube.channelSections.delete",
239 "parameterOrder": [
240 "id"
241 ],
242 "parameters": {
243 "id": {
244 "description": "The id parameter specifies the YouTu be channelSection ID for the resource that is being deleted. In a channelSection resource, the id property specifies the YouTube channelSection ID.",
245 "location": "query",
246 "required": true,
247 "type": "string"
248 }
249 },
250 "path": "channelSections",
251 "scopes": [
252 "https://www.googleapis.com/auth/youtube",
253 "https://www.googleapis.com/auth/youtubepartner"
254 ]
255 },
256 "insert": {
257 "description": "Adds a channelSection for the authenticated user's channel.",
258 "httpMethod": "POST",
259 "id": "youtube.channelSections.insert",
260 "parameterOrder": [
261 "part"
262 ],
263 "parameters": {
264 "onBehalfOfContentOwner": {
265 "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.",
266 "location": "query",
267 "type": "string"
268 },
269 "onBehalfOfContentOwnerChannel": {
270 "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." ,
271 "location": "query",
272 "type": "string"
273 },
274 "part": {
275 "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. ",
276 "location": "query",
277 "required": true,
278 "type": "string"
279 }
280 },
281 "path": "channelSections",
282 "request": {
283 "$ref": "ChannelSection"
284 },
285 "response": {
286 "$ref": "ChannelSection"
287 },
288 "scopes": [
289 "https://www.googleapis.com/auth/youtube",
290 "https://www.googleapis.com/auth/youtubepartner"
291 ]
292 },
293 "list": {
294 "description": "Returns channelSection resources that match the API request criteria.",
295 "httpMethod": "GET",
296 "id": "youtube.channelSections.list",
297 "parameterOrder": [
298 "part"
299 ],
300 "parameters": {
301 "channelId": {
302 "description": "The channelId parameter specifies a YouTube channel ID. The API will only return that channel's channelSections.",
303 "location": "query",
304 "type": "string"
305 },
306 "id": {
307 "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.",
308 "location": "query",
309 "type": "string"
310 },
311 "mine": {
312 "description": "Set this parameter's value to true t o retrieve a feed of the authenticated user's channelSections.",
313 "location": "query",
314 "type": "boolean"
315 },
316 "onBehalfOfContentOwner": {
317 "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.",
318 "location": "query",
319 "type": "string"
320 },
321 "part": {
322 "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.",
323 "location": "query",
324 "required": true,
325 "type": "string"
326 }
327 },
328 "path": "channelSections",
329 "response": {
330 "$ref": "ChannelSectionListResponse"
331 },
332 "scopes": [
333 "https://www.googleapis.com/auth/youtube",
334 "https://www.googleapis.com/auth/youtube.readonly",
335 "https://www.googleapis.com/auth/youtubepartner"
336 ]
337 },
338 "update": {
339 "description": "Update a channelSection.",
340 "httpMethod": "PUT",
341 "id": "youtube.channelSections.update",
342 "parameterOrder": [
343 "part"
344 ],
345 "parameters": {
346 "part": {
347 "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. ",
348 "location": "query",
349 "required": true,
350 "type": "string"
351 }
352 },
353 "path": "channelSections",
354 "request": {
355 "$ref": "ChannelSection"
356 },
357 "response": {
358 "$ref": "ChannelSection"
359 },
360 "scopes": [
361 "https://www.googleapis.com/auth/youtube",
362 "https://www.googleapis.com/auth/youtubepartner"
363 ]
364 }
365 }
366 },
367 "channels": {
368 "methods": {
369 "list": {
370 "description": "Returns a collection of zero or more channel resources that match the request criteria.",
371 "httpMethod": "GET",
372 "id": "youtube.channels.list",
373 "parameterOrder": [
374 "part"
375 ],
376 "parameters": {
377 "categoryId": {
378 "description": "The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with tha t category.",
379 "location": "query",
380 "type": "string"
381 },
382 "forUsername": {
383 "description": "The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username .",
384 "location": "query",
385 "type": "string"
386 },
387 "id": {
388 "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.",
389 "location": "query",
390 "type": "string"
391 },
392 "managedByMe": {
393 "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.",
394 "location": "query",
395 "type": "boolean"
396 },
397 "maxResults": {
398 "default": "5",
399 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
400 "format": "uint32",
401 "location": "query",
402 "maximum": "50",
403 "minimum": "0",
404 "type": "integer"
405 },
406 "mine": {
407 "description": "Set this parameter's value to true t o instruct the API to only return channels owned by the authenticated user.",
408 "location": "query",
409 "type": "boolean"
410 },
411 "mySubscribers": {
412 "description": "Set this parameter's value to true t o retrieve a list of channels that subscribed to the authenticated user's channe l.",
413 "location": "query",
414 "type": "boolean"
415 },
416 "onBehalfOfContentOwner": {
417 "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.",
418 "location": "query",
419 "type": "string"
420 },
421 "pageToken": {
422 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
423 "location": "query",
424 "type": "string"
425 },
426 "part": {
427 "description": "The part parameter specifies a comma -separated list of one or more channel resource properties that the API response will include. The part names that you can include in the parameter value are id , snippet, contentDetails, statistics, topicDetails, and invideoPromotion.\n\nIf the parameter identifies a property that contains child properties, the child p roperties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads prope rties. As such, if you set part=contentDetails, the API response will also conta in all of those nested properties.",
428 "location": "query",
429 "required": true,
430 "type": "string"
431 }
432 },
433 "path": "channels",
434 "response": {
435 "$ref": "ChannelListResponse"
436 },
437 "scopes": [
438 "https://www.googleapis.com/auth/youtube",
439 "https://www.googleapis.com/auth/youtube.readonly",
440 "https://www.googleapis.com/auth/youtubepartner",
441 "https://www.googleapis.com/auth/youtubepartner-channel- audit"
442 ]
443 },
444 "update": {
445 "description": "Updates a channel's metadata.",
446 "httpMethod": "PUT",
447 "id": "youtube.channels.update",
448 "parameterOrder": [
449 "part"
450 ],
451 "parameters": {
452 "onBehalfOfContentOwner": {
453 "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.",
454 "location": "query",
455 "type": "string"
456 },
457 "part": {
458 "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 id and invideoPromotion.\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.",
459 "location": "query",
460 "required": true,
461 "type": "string"
462 }
463 },
464 "path": "channels",
465 "request": {
466 "$ref": "Channel"
467 },
468 "response": {
469 "$ref": "Channel"
470 },
471 "scopes": [
472 "https://www.googleapis.com/auth/youtube",
473 "https://www.googleapis.com/auth/youtubepartner"
474 ]
475 }
476 }
477 },
478 "guideCategories": {
479 "methods": {
480 "list": {
481 "description": "Returns a list of categories that can be ass ociated with YouTube channels.",
482 "httpMethod": "GET",
483 "id": "youtube.guideCategories.list",
484 "parameterOrder": [
485 "part"
486 ],
487 "parameters": {
488 "hl": {
489 "default": "en-US",
490 "description": "The hl parameter specifies the langu age that will be used for text values in the API response.",
491 "location": "query",
492 "type": "string"
493 },
494 "id": {
495 "description": "The id parameter specifies a comma-s eparated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the You Tube channel category ID.",
496 "location": "query",
497 "type": "string"
498 },
499 "part": {
500 "description": "The part parameter specifies a comma -separated list of one or more guideCategory resource properties that the API re sponse will include. The part names that you can include in the parameter value are id and snippet.\n\nIf the parameter identifies a property that contains chil d properties, the child properties will be included in the response. For example , in a guideCategory resource, the snippet property contains other properties, s uch as the category's title. If you set part=snippet, the API response will also contain all of those nested properties.",
501 "location": "query",
502 "required": true,
503 "type": "string"
504 },
505 "regionCode": {
506 "description": "The regionCode parameter instructs t he API to return the list of guide categories available in the specified country . The parameter value is an ISO 3166-1 alpha-2 country code.",
507 "location": "query",
508 "type": "string"
509 }
510 },
511 "path": "guideCategories",
512 "response": {
513 "$ref": "GuideCategoryListResponse"
514 },
515 "scopes": [
516 "https://www.googleapis.com/auth/youtube",
517 "https://www.googleapis.com/auth/youtube.readonly",
518 "https://www.googleapis.com/auth/youtubepartner"
519 ]
520 }
521 }
522 },
523 "i18nLanguages": {
524 "methods": {
525 "list": {
526 "description": "Returns a list of supported languages.",
527 "httpMethod": "GET",
528 "id": "youtube.i18nLanguages.list",
529 "parameterOrder": [
530 "part"
531 ],
532 "parameters": {
533 "hl": {
534 "default": "en_US",
535 "description": "The hl parameter specifies the langu age that should be used for text values in the API response.",
536 "location": "query",
537 "type": "string"
538 },
539 "part": {
540 "description": "The part parameter specifies a comma -separated list of one or more i18nLanguage resource properties that the API res ponse will include. The part names that you can include in the parameter value a re id and snippet.",
541 "location": "query",
542 "required": true,
543 "type": "string"
544 }
545 },
546 "path": "i18nLanguages",
547 "response": {
548 "$ref": "I18nLanguageListResponse"
549 },
550 "scopes": [
551 "https://www.googleapis.com/auth/youtube",
552 "https://www.googleapis.com/auth/youtube.readonly",
553 "https://www.googleapis.com/auth/youtubepartner"
554 ]
555 }
556 }
557 },
558 "i18nRegions": {
559 "methods": {
560 "list": {
561 "description": "Returns a list of supported regions.",
562 "httpMethod": "GET",
563 "id": "youtube.i18nRegions.list",
564 "parameterOrder": [
565 "part"
566 ],
567 "parameters": {
568 "hl": {
569 "default": "en_US",
570 "description": "The hl parameter specifies the langu age that should be used for text values in the API response.",
571 "location": "query",
572 "type": "string"
573 },
574 "part": {
575 "description": "The part parameter specifies a comma -separated list of one or more i18nRegion resource properties that the API respo nse will include. The part names that you can include in the parameter value are id and snippet.",
576 "location": "query",
577 "required": true,
578 "type": "string"
579 }
580 },
581 "path": "i18nRegions",
582 "response": {
583 "$ref": "I18nRegionListResponse"
584 },
585 "scopes": [
586 "https://www.googleapis.com/auth/youtube",
587 "https://www.googleapis.com/auth/youtube.readonly",
588 "https://www.googleapis.com/auth/youtubepartner"
589 ]
590 }
591 }
592 },
593 "liveBroadcasts": {
594 "methods": {
595 "bind": {
596 "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.",
597 "httpMethod": "POST",
598 "id": "youtube.liveBroadcasts.bind",
599 "parameterOrder": [
600 "id",
601 "part"
602 ],
603 "parameters": {
604 "id": {
605 "description": "The id parameter specifies the uniqu e ID of the broadcast that is being bound to a video stream.",
606 "location": "query",
607 "required": true,
608 "type": "string"
609 },
610 "onBehalfOfContentOwner": {
611 "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.",
612 "location": "query",
613 "type": "string"
614 },
615 "onBehalfOfContentOwnerChannel": {
616 "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." ,
617 "location": "query",
618 "type": "string"
619 },
620 "part": {
621 "description": "The part parameter specifies a comma -separated list of one or more liveBroadcast resource properties that the API re sponse will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
622 "location": "query",
623 "required": true,
624 "type": "string"
625 },
626 "streamId": {
627 "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.",
628 "location": "query",
629 "type": "string"
630 }
631 },
632 "path": "liveBroadcasts/bind",
633 "response": {
634 "$ref": "LiveBroadcast"
635 },
636 "scopes": [
637 "https://www.googleapis.com/auth/youtube"
638 ]
639 },
640 "control": {
641 "description": "Controls the settings for a slate that can b e displayed in the broadcast stream.",
642 "httpMethod": "POST",
643 "id": "youtube.liveBroadcasts.control",
644 "parameterOrder": [
645 "id",
646 "part"
647 ],
648 "parameters": {
649 "displaySlate": {
650 "description": "The displaySlate parameter specifies whether the slate is being enabled or disabled.",
651 "location": "query",
652 "type": "boolean"
653 },
654 "id": {
655 "description": "The id parameter specifies the YouTu be live broadcast ID that uniquely identifies the broadcast in which the slate i s being updated.",
656 "location": "query",
657 "required": true,
658 "type": "string"
659 },
660 "offsetTimeMs": {
661 "description": "The offsetTimeMs parameter specifies a positive time offset when the specified slate change will occur. The value is measured in milliseconds from the beginning of the broadcast's monitor stream, which is the time that the testing phase for the broadcast began. Even though it is specified in milliseconds, the value is actually an approximation, and YouTu be completes the requested action as closely as possible to that time.\n\nIf you do not specify a value for this parameter, then YouTube performs the action as soon as possible. See the Getting started guide for more details.\n\nImportant: You should only specify a value for this parameter if your broadcast stream is d elayed.",
662 "format": "uint64",
663 "location": "query",
664 "type": "string"
665 },
666 "onBehalfOfContentOwner": {
667 "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.",
668 "location": "query",
669 "type": "string"
670 },
671 "onBehalfOfContentOwnerChannel": {
672 "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." ,
673 "location": "query",
674 "type": "string"
675 },
676 "part": {
677 "description": "The part parameter specifies a comma -separated list of one or more liveBroadcast resource properties that the API re sponse will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
678 "location": "query",
679 "required": true,
680 "type": "string"
681 },
682 "walltime": {
683 "description": "The walltime parameter specifies the wall clock time at which the specified slate change will occur. The value is sp ecified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.",
684 "format": "date-time",
685 "location": "query",
686 "type": "string"
687 }
688 },
689 "path": "liveBroadcasts/control",
690 "response": {
691 "$ref": "LiveBroadcast"
692 },
693 "scopes": [
694 "https://www.googleapis.com/auth/youtube"
695 ]
696 },
697 "delete": {
698 "description": "Deletes a broadcast.",
699 "httpMethod": "DELETE",
700 "id": "youtube.liveBroadcasts.delete",
701 "parameterOrder": [
702 "id"
703 ],
704 "parameters": {
705 "id": {
706 "description": "The id parameter specifies the YouTu be live broadcast ID for the resource that is being deleted.",
707 "location": "query",
708 "required": true,
709 "type": "string"
710 },
711 "onBehalfOfContentOwner": {
712 "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.",
713 "location": "query",
714 "type": "string"
715 },
716 "onBehalfOfContentOwnerChannel": {
717 "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." ,
718 "location": "query",
719 "type": "string"
720 }
721 },
722 "path": "liveBroadcasts",
723 "scopes": [
724 "https://www.googleapis.com/auth/youtube"
725 ]
726 },
727 "insert": {
728 "description": "Creates a broadcast.",
729 "httpMethod": "POST",
730 "id": "youtube.liveBroadcasts.insert",
731 "parameterOrder": [
732 "part"
733 ],
734 "parameters": {
735 "onBehalfOfContentOwner": {
736 "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.",
737 "location": "query",
738 "type": "string"
739 },
740 "onBehalfOfContentOwnerChannel": {
741 "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." ,
742 "location": "query",
743 "type": "string"
744 },
745 "part": {
746 "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 p roperties that you can include in the parameter value are id, snippet, contentDe tails, and status.",
747 "location": "query",
748 "required": true,
749 "type": "string"
750 }
751 },
752 "path": "liveBroadcasts",
753 "request": {
754 "$ref": "LiveBroadcast"
755 },
756 "response": {
757 "$ref": "LiveBroadcast"
758 },
759 "scopes": [
760 "https://www.googleapis.com/auth/youtube"
761 ]
762 },
763 "list": {
764 "description": "Returns a list of YouTube broadcasts that ma tch the API request parameters.",
765 "httpMethod": "GET",
766 "id": "youtube.liveBroadcasts.list",
767 "parameterOrder": [
768 "part"
769 ],
770 "parameters": {
771 "broadcastStatus": {
772 "description": "The broadcastStatus parameter filter s the API response to only include broadcasts with the specified status.",
773 "enum": [
774 "active",
775 "all",
776 "completed",
777 "upcoming"
778 ],
779 "enumDescriptions": [
780 "Return current live broadcasts.",
781 "Return all broadcasts.",
782 "Return broadcasts that have already ended.",
783 "Return broadcasts that have not yet started."
784 ],
785 "location": "query",
786 "type": "string"
787 },
788 "id": {
789 "description": "The id parameter specifies a comma-s eparated list of YouTube broadcast IDs that identify the broadcasts being retrie ved. In a liveBroadcast resource, the id property specifies the broadcast's ID." ,
790 "location": "query",
791 "type": "string"
792 },
793 "maxResults": {
794 "default": "5",
795 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
796 "format": "uint32",
797 "location": "query",
798 "maximum": "50",
799 "minimum": "0",
800 "type": "integer"
801 },
802 "mine": {
803 "description": "The mine parameter can be used to in struct the API to only return broadcasts owned by the authenticated user. Set th e parameter value to true to only retrieve your own broadcasts.",
804 "location": "query",
805 "type": "boolean"
806 },
807 "onBehalfOfContentOwner": {
808 "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.",
809 "location": "query",
810 "type": "string"
811 },
812 "onBehalfOfContentOwnerChannel": {
813 "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." ,
814 "location": "query",
815 "type": "string"
816 },
817 "pageToken": {
818 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
819 "location": "query",
820 "type": "string"
821 },
822 "part": {
823 "description": "The part parameter specifies a comma -separated list of one or more liveBroadcast resource properties that the API re sponse will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
824 "location": "query",
825 "required": true,
826 "type": "string"
827 }
828 },
829 "path": "liveBroadcasts",
830 "response": {
831 "$ref": "LiveBroadcastListResponse"
832 },
833 "scopes": [
834 "https://www.googleapis.com/auth/youtube",
835 "https://www.googleapis.com/auth/youtube.readonly"
836 ]
837 },
838 "transition": {
839 "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.",
840 "httpMethod": "POST",
841 "id": "youtube.liveBroadcasts.transition",
842 "parameterOrder": [
843 "broadcastStatus",
844 "id",
845 "part"
846 ],
847 "parameters": {
848 "broadcastStatus": {
849 "description": "The broadcastStatus parameter identi fies the state to which the broadcast is changing. Note that to transition a bro adcast to either the testing or live state, the status.streamStatus must be acti ve for the stream that the broadcast is bound to.",
850 "enum": [
851 "complete",
852 "live",
853 "testing"
854 ],
855 "enumDescriptions": [
856 "The broadcast is over. YouTube stops transmitti ng video.",
857 "The broadcast is visible to its audience. YouTu be transmits video to the broadcast's monitor stream and its broadcast stream.",
858 "Start testing the broadcast. YouTube transmits video to the broadcast's monitor stream. Note that you can only transition a bro adcast to the testing state if its contentDetails.monitorStream.enableMonitorStr eam property is set to true."
859 ],
860 "location": "query",
861 "required": true,
862 "type": "string"
863 },
864 "id": {
865 "description": "The id parameter specifies the uniqu e ID of the broadcast that is transitioning to another status.",
866 "location": "query",
867 "required": true,
868 "type": "string"
869 },
870 "onBehalfOfContentOwner": {
871 "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.",
872 "location": "query",
873 "type": "string"
874 },
875 "onBehalfOfContentOwnerChannel": {
876 "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." ,
877 "location": "query",
878 "type": "string"
879 },
880 "part": {
881 "description": "The part parameter specifies a comma -separated list of one or more liveBroadcast resource properties that the API re sponse will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.",
882 "location": "query",
883 "required": true,
884 "type": "string"
885 }
886 },
887 "path": "liveBroadcasts/transition",
888 "response": {
889 "$ref": "LiveBroadcast"
890 },
891 "scopes": [
892 "https://www.googleapis.com/auth/youtube"
893 ]
894 },
895 "update": {
896 "description": "Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDet ails object.",
897 "httpMethod": "PUT",
898 "id": "youtube.liveBroadcasts.update",
899 "parameterOrder": [
900 "part"
901 ],
902 "parameters": {
903 "onBehalfOfContentOwner": {
904 "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.",
905 "location": "query",
906 "type": "string"
907 },
908 "onBehalfOfContentOwnerChannel": {
909 "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." ,
910 "location": "query",
911 "type": "string"
912 },
913 "part": {
914 "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 p roperties that you can include in the parameter value are id, snippet, contentDe tails, and status.\n\nNote that this method will override the existing values fo r all of the mutable properties that are contained in any parts that the paramet er value specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcas t, and the request's part parameter value includes the status part, the broadcas t's privacy setting will be updated to whatever value the request body specifies . If the request body does not specify a value, the existing privacy setting wil l be removed and the broadcast will revert to the default privacy setting.",
915 "location": "query",
916 "required": true,
917 "type": "string"
918 }
919 },
920 "path": "liveBroadcasts",
921 "request": {
922 "$ref": "LiveBroadcast"
923 },
924 "response": {
925 "$ref": "LiveBroadcast"
926 },
927 "scopes": [
928 "https://www.googleapis.com/auth/youtube"
929 ]
930 }
931 }
932 },
933 "liveStreams": {
934 "methods": {
935 "delete": {
936 "description": "Deletes a video stream.",
937 "httpMethod": "DELETE",
938 "id": "youtube.liveStreams.delete",
939 "parameterOrder": [
940 "id"
941 ],
942 "parameters": {
943 "id": {
944 "description": "The id parameter specifies the YouTu be live stream ID for the resource that is being deleted.",
945 "location": "query",
946 "required": true,
947 "type": "string"
948 },
949 "onBehalfOfContentOwner": {
950 "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.",
951 "location": "query",
952 "type": "string"
953 },
954 "onBehalfOfContentOwnerChannel": {
955 "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." ,
956 "location": "query",
957 "type": "string"
958 }
959 },
960 "path": "liveStreams",
961 "scopes": [
962 "https://www.googleapis.com/auth/youtube"
963 ]
964 },
965 "insert": {
966 "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.",
967 "httpMethod": "POST",
968 "id": "youtube.liveStreams.insert",
969 "parameterOrder": [
970 "part"
971 ],
972 "parameters": {
973 "onBehalfOfContentOwner": {
974 "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.",
975 "location": "query",
976 "type": "string"
977 },
978 "onBehalfOfContentOwnerChannel": {
979 "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." ,
980 "location": "query",
981 "type": "string"
982 },
983 "part": {
984 "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 p roperties that you can include in the parameter value are id, snippet, cdn, and status.",
985 "location": "query",
986 "required": true,
987 "type": "string"
988 }
989 },
990 "path": "liveStreams",
991 "request": {
992 "$ref": "LiveStream"
993 },
994 "response": {
995 "$ref": "LiveStream"
996 },
997 "scopes": [
998 "https://www.googleapis.com/auth/youtube"
999 ]
1000 },
1001 "list": {
1002 "description": "Returns a list of video streams that match t he API request parameters.",
1003 "httpMethod": "GET",
1004 "id": "youtube.liveStreams.list",
1005 "parameterOrder": [
1006 "part"
1007 ],
1008 "parameters": {
1009 "id": {
1010 "description": "The id parameter specifies a comma-s eparated list of YouTube stream IDs that identify the streams being retrieved. I n a liveStream resource, the id property specifies the stream's ID.",
1011 "location": "query",
1012 "type": "string"
1013 },
1014 "maxResults": {
1015 "default": "5",
1016 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.",
1017 "format": "uint32",
1018 "location": "query",
1019 "maximum": "50",
1020 "minimum": "0",
1021 "type": "integer"
1022 },
1023 "mine": {
1024 "description": "The mine parameter can be used to in struct the API to only return streams owned by the authenticated user. Set the p arameter value to true to only retrieve your own streams.",
1025 "location": "query",
1026 "type": "boolean"
1027 },
1028 "onBehalfOfContentOwner": {
1029 "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.",
1030 "location": "query",
1031 "type": "string"
1032 },
1033 "onBehalfOfContentOwnerChannel": {
1034 "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." ,
1035 "location": "query",
1036 "type": "string"
1037 },
1038 "pageToken": {
1039 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
1040 "location": "query",
1041 "type": "string"
1042 },
1043 "part": {
1044 "description": "The part parameter specifies a comma -separated list of one or more liveStream resource properties that the API respo nse will include. The part names that you can include in the parameter value are id, snippet, cdn, and status.",
1045 "location": "query",
1046 "required": true,
1047 "type": "string"
1048 }
1049 },
1050 "path": "liveStreams",
1051 "response": {
1052 "$ref": "LiveStreamListResponse"
1053 },
1054 "scopes": [
1055 "https://www.googleapis.com/auth/youtube",
1056 "https://www.googleapis.com/auth/youtube.readonly"
1057 ]
1058 },
1059 "update": {
1060 "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.",
1061 "httpMethod": "PUT",
1062 "id": "youtube.liveStreams.update",
1063 "parameterOrder": [
1064 "part"
1065 ],
1066 "parameters": {
1067 "onBehalfOfContentOwner": {
1068 "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.",
1069 "location": "query",
1070 "type": "string"
1071 },
1072 "onBehalfOfContentOwnerChannel": {
1073 "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." ,
1074 "location": "query",
1075 "type": "string"
1076 },
1077 "part": {
1078 "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 p roperties that you can include in the parameter value are id, snippet, cdn, and status.\n\nNote that this method will override the existing values for all of th e mutable properties that are contained in any parts that the parameter value sp ecifies. If the request body does not specify a value for a mutable property, th e existing value for that property will be removed.",
1079 "location": "query",
1080 "required": true,
1081 "type": "string"
1082 }
1083 },
1084 "path": "liveStreams",
1085 "request": {
1086 "$ref": "LiveStream"
1087 },
1088 "response": {
1089 "$ref": "LiveStream"
1090 },
1091 "scopes": [
1092 "https://www.googleapis.com/auth/youtube"
1093 ]
1094 }
1095 }
1096 },
1097 "playlistItems": {
1098 "methods": {
1099 "delete": {
1100 "description": "Deletes a playlist item.",
1101 "httpMethod": "DELETE",
1102 "id": "youtube.playlistItems.delete",
1103 "parameterOrder": [
1104 "id"
1105 ],
1106 "parameters": {
1107 "id": {
1108 "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.",
1109 "location": "query",
1110 "required": true,
1111 "type": "string"
1112 }
1113 },
1114 "path": "playlistItems",
1115 "scopes": [
1116 "https://www.googleapis.com/auth/youtube",
1117 "https://www.googleapis.com/auth/youtubepartner"
1118 ]
1119 },
1120 "insert": {
1121 "description": "Adds a resource to a playlist.",
1122 "httpMethod": "POST",
1123 "id": "youtube.playlistItems.insert",
1124 "parameterOrder": [
1125 "part"
1126 ],
1127 "parameters": {
1128 "onBehalfOfContentOwner": {
1129 "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.",
1130 "location": "query",
1131 "type": "string"
1132 },
1133 "part": {
1134 "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.",
1135 "location": "query",
1136 "required": true,
1137 "type": "string"
1138 }
1139 },
1140 "path": "playlistItems",
1141 "request": {
1142 "$ref": "PlaylistItem"
1143 },
1144 "response": {
1145 "$ref": "PlaylistItem"
1146 },
1147 "scopes": [
1148 "https://www.googleapis.com/auth/youtube",
1149 "https://www.googleapis.com/auth/youtubepartner"
1150 ]
1151 },
1152 "list": {
1153 "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. ",
1154 "httpMethod": "GET",
1155 "id": "youtube.playlistItems.list",
1156 "parameterOrder": [
1157 "part"
1158 ],
1159 "parameters": {
1160 "id": {
1161 "description": "The id parameter specifies a comma-s eparated list of one or more unique playlist item IDs.",
1162 "location": "query",
1163 "type": "string"
1164 },
1165 "maxResults": {
1166 "default": "5",
1167 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
1168 "format": "uint32",
1169 "location": "query",
1170 "maximum": "50",
1171 "minimum": "0",
1172 "type": "integer"
1173 },
1174 "onBehalfOfContentOwner": {
1175 "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.",
1176 "location": "query",
1177 "type": "string"
1178 },
1179 "pageToken": {
1180 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
1181 "location": "query",
1182 "type": "string"
1183 },
1184 "part": {
1185 "description": "The part parameter specifies a comma -separated list of one or more playlistItem resource properties that the API res ponse will include. The part names that you can include in the parameter value a re id, snippet, contentDetails, and status.\n\nIf the parameter identifies a pro perty that contains child properties, the child properties will be included in t he response. For example, in a playlistItem resource, the snippet property conta ins numerous fields, including the title, description, position, and resourceId properties. As such, if you set part=snippet, the API response will contain all of those properties.",
1186 "location": "query",
1187 "required": true,
1188 "type": "string"
1189 },
1190 "playlistId": {
1191 "description": "The playlistId parameter specifies t he unique ID of the playlist for which you want to retrieve playlist items. Note that even though this is an optional parameter, every request to retrieve playl ist items must specify a value for either the id parameter or the playlistId par ameter.",
1192 "location": "query",
1193 "type": "string"
1194 },
1195 "videoId": {
1196 "description": "The videoId parameter specifies that the request should return only the playlist items that contain the specified vi deo.",
1197 "location": "query",
1198 "type": "string"
1199 }
1200 },
1201 "path": "playlistItems",
1202 "response": {
1203 "$ref": "PlaylistItemListResponse"
1204 },
1205 "scopes": [
1206 "https://www.googleapis.com/auth/youtube",
1207 "https://www.googleapis.com/auth/youtube.readonly",
1208 "https://www.googleapis.com/auth/youtubepartner"
1209 ],
1210 "supportsSubscription": true
1211 },
1212 "update": {
1213 "description": "Modifies a playlist item. For example, you c ould update the item's position in the playlist.",
1214 "httpMethod": "PUT",
1215 "id": "youtube.playlistItems.update",
1216 "parameterOrder": [
1217 "part"
1218 ],
1219 "parameters": {
1220 "part": {
1221 "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.",
1222 "location": "query",
1223 "required": true,
1224 "type": "string"
1225 }
1226 },
1227 "path": "playlistItems",
1228 "request": {
1229 "$ref": "PlaylistItem"
1230 },
1231 "response": {
1232 "$ref": "PlaylistItem"
1233 },
1234 "scopes": [
1235 "https://www.googleapis.com/auth/youtube",
1236 "https://www.googleapis.com/auth/youtubepartner"
1237 ]
1238 }
1239 }
1240 },
1241 "playlists": {
1242 "methods": {
1243 "delete": {
1244 "description": "Deletes a playlist.",
1245 "httpMethod": "DELETE",
1246 "id": "youtube.playlists.delete",
1247 "parameterOrder": [
1248 "id"
1249 ],
1250 "parameters": {
1251 "id": {
1252 "description": "The id parameter specifies the YouTu be playlist ID for the playlist that is being deleted. In a playlist resource, t he id property specifies the playlist's ID.",
1253 "location": "query",
1254 "required": true,
1255 "type": "string"
1256 },
1257 "onBehalfOfContentOwner": {
1258 "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.",
1259 "location": "query",
1260 "type": "string"
1261 }
1262 },
1263 "path": "playlists",
1264 "scopes": [
1265 "https://www.googleapis.com/auth/youtube",
1266 "https://www.googleapis.com/auth/youtubepartner"
1267 ]
1268 },
1269 "insert": {
1270 "description": "Creates a playlist.",
1271 "httpMethod": "POST",
1272 "id": "youtube.playlists.insert",
1273 "parameterOrder": [
1274 "part"
1275 ],
1276 "parameters": {
1277 "onBehalfOfContentOwner": {
1278 "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.",
1279 "location": "query",
1280 "type": "string"
1281 },
1282 "onBehalfOfContentOwnerChannel": {
1283 "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." ,
1284 "location": "query",
1285 "type": "string"
1286 },
1287 "part": {
1288 "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 status.",
1289 "location": "query",
1290 "required": true,
1291 "type": "string"
1292 }
1293 },
1294 "path": "playlists",
1295 "request": {
1296 "$ref": "Playlist"
1297 },
1298 "response": {
1299 "$ref": "Playlist"
1300 },
1301 "scopes": [
1302 "https://www.googleapis.com/auth/youtube",
1303 "https://www.googleapis.com/auth/youtubepartner"
1304 ]
1305 },
1306 "list": {
1307 "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.",
1308 "httpMethod": "GET",
1309 "id": "youtube.playlists.list",
1310 "parameterOrder": [
1311 "part"
1312 ],
1313 "parameters": {
1314 "channelId": {
1315 "description": "This value indicates that the API sh ould only return the specified channel's playlists.",
1316 "location": "query",
1317 "type": "string"
1318 },
1319 "id": {
1320 "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.",
1321 "location": "query",
1322 "type": "string"
1323 },
1324 "maxResults": {
1325 "default": "5",
1326 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
1327 "format": "uint32",
1328 "location": "query",
1329 "maximum": "50",
1330 "minimum": "0",
1331 "type": "integer"
1332 },
1333 "mine": {
1334 "description": "Set this parameter's value to true t o instruct the API to only return playlists owned by the authenticated user.",
1335 "location": "query",
1336 "type": "boolean"
1337 },
1338 "onBehalfOfContentOwner": {
1339 "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.",
1340 "location": "query",
1341 "type": "string"
1342 },
1343 "onBehalfOfContentOwnerChannel": {
1344 "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." ,
1345 "location": "query",
1346 "type": "string"
1347 },
1348 "pageToken": {
1349 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
1350 "location": "query",
1351 "type": "string"
1352 },
1353 "part": {
1354 "description": "The part parameter specifies a comma -separated list of one or more playlist resource properties that the API respons e will include. The part names that you can include in the parameter value are i d, snippet, status, and contentDetails.\n\nIf the parameter identifies a propert y that contains child properties, the child properties will be included in the r esponse. For example, in a playlist resource, the snippet property contains prop erties like author, title, description, tags, and timeCreated. As such, if you s et part=snippet, the API response will contain all of those properties.",
1355 "location": "query",
1356 "required": true,
1357 "type": "string"
1358 }
1359 },
1360 "path": "playlists",
1361 "response": {
1362 "$ref": "PlaylistListResponse"
1363 },
1364 "scopes": [
1365 "https://www.googleapis.com/auth/youtube",
1366 "https://www.googleapis.com/auth/youtube.readonly",
1367 "https://www.googleapis.com/auth/youtubepartner"
1368 ]
1369 },
1370 "update": {
1371 "description": "Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.",
1372 "httpMethod": "PUT",
1373 "id": "youtube.playlists.update",
1374 "parameterOrder": [
1375 "part"
1376 ],
1377 "parameters": {
1378 "onBehalfOfContentOwner": {
1379 "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.",
1380 "location": "query",
1381 "type": "string"
1382 },
1383 "part": {
1384 "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 status.\n\nNote that this method will override the existing values for all of the mutable prope rties that are contained in any parts that the parameter value specifies. For ex ample, a playlist's privacy setting is contained in the status part. As such, if your request is updating a private playlist, and the request's part parameter v alue includes the status part, the playlist's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the playlist will rev ert to the default privacy setting.",
1385 "location": "query",
1386 "required": true,
1387 "type": "string"
1388 }
1389 },
1390 "path": "playlists",
1391 "request": {
1392 "$ref": "Playlist"
1393 },
1394 "response": {
1395 "$ref": "Playlist"
1396 },
1397 "scopes": [
1398 "https://www.googleapis.com/auth/youtube",
1399 "https://www.googleapis.com/auth/youtubepartner"
1400 ]
1401 }
1402 }
1403 },
1404 "search": {
1405 "methods": {
1406 "list": {
1407 "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.",
1408 "httpMethod": "GET",
1409 "id": "youtube.search.list",
1410 "parameterOrder": [
1411 "part"
1412 ],
1413 "parameters": {
1414 "channelId": {
1415 "description": "The channelId parameter indicates th at the API response should only contain resources created by the channel",
1416 "location": "query",
1417 "type": "string"
1418 },
1419 "channelType": {
1420 "description": "The channelType parameter lets you r estrict a search to a particular type of channel.",
1421 "enum": [
1422 "any",
1423 "show"
1424 ],
1425 "enumDescriptions": [
1426 "Return all channels.",
1427 "Only retrieve shows."
1428 ],
1429 "location": "query",
1430 "type": "string"
1431 },
1432 "eventType": {
1433 "description": "The eventType parameter restricts a search to broadcast events.",
1434 "enum": [
1435 "completed",
1436 "live",
1437 "upcoming"
1438 ],
1439 "enumDescriptions": [
1440 "Only include completed broadcasts.",
1441 "Only include active broadcasts.",
1442 "Only include upcoming broadcasts."
1443 ],
1444 "location": "query",
1445 "type": "string"
1446 },
1447 "forContentOwner": {
1448 "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.",
1449 "location": "query",
1450 "type": "boolean"
1451 },
1452 "forMine": {
1453 "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.",
1454 "location": "query",
1455 "type": "boolean"
1456 },
1457 "location": {
1458 "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)",
1459 "location": "query",
1460 "type": "string"
1461 },
1462 "locationRadius": {
1463 "description": "The locationRadius, in conjunction w ith the location parameter, defines a geographic area. If the geographic coordin ates associated with a video fall within that area, then the video may be includ ed in search results. This parameter value must be a floating point number follo wed by a measurement unit. Valid measurement units are m, km, ft, and mi. For ex ample, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API d oes not support locationRadius parameter values larger than 1000 kilometers.",
1464 "location": "query",
1465 "type": "string"
1466 },
1467 "maxResults": {
1468 "default": "5",
1469 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
1470 "format": "uint32",
1471 "location": "query",
1472 "maximum": "50",
1473 "minimum": "0",
1474 "type": "integer"
1475 },
1476 "onBehalfOfContentOwner": {
1477 "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.",
1478 "location": "query",
1479 "type": "string"
1480 },
1481 "order": {
1482 "default": "SEARCH_SORT_RELEVANCE",
1483 "description": "The order parameter specifies the me thod that will be used to order resources in the API response.",
1484 "enum": [
1485 "date",
1486 "rating",
1487 "relevance",
1488 "title",
1489 "videoCount",
1490 "viewCount"
1491 ],
1492 "enumDescriptions": [
1493 "Resources are sorted in reverse chronological o rder based on the date they were created.",
1494 "Resources are sorted from highest to lowest rat ing.",
1495 "Resources are sorted based on their relevance t o the search query. This is the default value for this parameter.",
1496 "Resources are sorted alphabetically by title.",
1497 "Channels are sorted in descending order of thei r number of uploaded videos.",
1498 "Resources are sorted from highest to lowest num ber of views."
1499 ],
1500 "location": "query",
1501 "type": "string"
1502 },
1503 "pageToken": {
1504 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
1505 "location": "query",
1506 "type": "string"
1507 },
1508 "part": {
1509 "description": "The part parameter specifies a comma -separated list of one or more search resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet.\n\nIf the parameter identifies a property that contains child prope rties, the child properties will be included in the response. For example, in a search result, the snippet property contains other properties that identify the result's title, description, and so forth. If you set part=snippet, the API resp onse will also contain all of those nested properties.",
1510 "location": "query",
1511 "required": true,
1512 "type": "string"
1513 },
1514 "publishedAfter": {
1515 "description": "The publishedAfter parameter indicat es that the API response should only contain resources created after the specifi ed time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00 Z).",
1516 "format": "date-time",
1517 "location": "query",
1518 "type": "string"
1519 },
1520 "publishedBefore": {
1521 "description": "The publishedBefore parameter indica tes that the API response should only contain resources created before the speci fied time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00: 00Z).",
1522 "format": "date-time",
1523 "location": "query",
1524 "type": "string"
1525 },
1526 "q": {
1527 "description": "The q parameter specifies the query term to search for.",
1528 "location": "query",
1529 "type": "string"
1530 },
1531 "regionCode": {
1532 "description": "The regionCode parameter instructs t he API to return search results for the specified country. The parameter value i s an ISO 3166-1 alpha-2 country code.",
1533 "location": "query",
1534 "type": "string"
1535 },
1536 "relatedToVideoId": {
1537 "description": "The relatedToVideoId parameter retri eves a list of videos that are related to the video that the parameter value ide ntifies. The parameter value must be set to a YouTube video ID and, if you are u sing this parameter, the type parameter must be set to video.",
1538 "location": "query",
1539 "type": "string"
1540 },
1541 "safeSearch": {
1542 "description": "The safeSearch parameter indicates w hether the search results should include restricted content as well as standard content.",
1543 "enum": [
1544 "moderate",
1545 "none",
1546 "strict"
1547 ],
1548 "enumDescriptions": [
1549 "YouTube will filter some content from search re sults and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or d emoted in search results. This is the default parameter value.",
1550 "YouTube will not filter the search result set." ,
1551 "YouTube will try to exclude all restricted cont ent from the search result set. Based on their content, search results could be removed from search results or demoted in search results."
1552 ],
1553 "location": "query",
1554 "type": "string"
1555 },
1556 "topicId": {
1557 "description": "The topicId parameter indicates that the API response should only contain resources associated with the specified to pic. The value identifies a Freebase topic ID.",
1558 "location": "query",
1559 "type": "string"
1560 },
1561 "type": {
1562 "default": "video,channel,playlist",
1563 "description": "The type parameter restricts a searc h query to only retrieve a particular type of resource. The value is a comma-sep arated list of resource types.",
1564 "location": "query",
1565 "type": "string"
1566 },
1567 "videoCaption": {
1568 "description": "The videoCaption parameter indicates whether the API should filter video search results based on whether they have c aptions.",
1569 "enum": [
1570 "any",
1571 "closedCaption",
1572 "none"
1573 ],
1574 "enumDescriptions": [
1575 "Do not filter results based on caption availabi lity.",
1576 "Only include videos that have captions.",
1577 "Only include videos that do not have captions."
1578 ],
1579 "location": "query",
1580 "type": "string"
1581 },
1582 "videoCategoryId": {
1583 "description": "The videoCategoryId parameter filter s video search results based on their category.",
1584 "location": "query",
1585 "type": "string"
1586 },
1587 "videoDefinition": {
1588 "description": "The videoDefinition parameter lets y ou restrict a search to only include either high definition (HD) or standard def inition (SD) videos. HD videos are available for playback in at least 720p, thou gh higher resolutions, like 1080p, might also be available.",
1589 "enum": [
1590 "any",
1591 "high",
1592 "standard"
1593 ],
1594 "enumDescriptions": [
1595 "Return all videos, regardless of their resoluti on.",
1596 "Only retrieve HD videos.",
1597 "Only retrieve videos in standard definition."
1598 ],
1599 "location": "query",
1600 "type": "string"
1601 },
1602 "videoDimension": {
1603 "description": "The videoDimension parameter lets yo u restrict a search to only retrieve 2D or 3D videos.",
1604 "enum": [
1605 "2d",
1606 "3d",
1607 "any"
1608 ],
1609 "enumDescriptions": [
1610 "Restrict search results to exclude 3D videos.",
1611 "Restrict search results to only include 3D vide os.",
1612 "Include both 3D and non-3D videos in returned r esults. This is the default value."
1613 ],
1614 "location": "query",
1615 "type": "string"
1616 },
1617 "videoDuration": {
1618 "description": "The videoDuration parameter filters video search results based on their duration.",
1619 "enum": [
1620 "any",
1621 "long",
1622 "medium",
1623 "short"
1624 ],
1625 "enumDescriptions": [
1626 "Do not filter video search results based on the ir duration. This is the default value.",
1627 "Only include videos longer than 20 minutes.",
1628 "Only include videos that are between four and 2 0 minutes long (inclusive).",
1629 "Only include videos that are less than four min utes long."
1630 ],
1631 "location": "query",
1632 "type": "string"
1633 },
1634 "videoEmbeddable": {
1635 "description": "The videoEmbeddable parameter lets y ou to restrict a search to only videos that can be embedded into a webpage.",
1636 "enum": [
1637 "any",
1638 "true"
1639 ],
1640 "enumDescriptions": [
1641 "Return all videos, embeddable or not.",
1642 "Only retrieve embeddable videos."
1643 ],
1644 "location": "query",
1645 "type": "string"
1646 },
1647 "videoLicense": {
1648 "description": "The videoLicense parameter filters s earch results to only include videos with a particular license. YouTube lets vid eo uploaders choose to attach either the Creative Commons license or the standar d YouTube license to each of their videos.",
1649 "enum": [
1650 "any",
1651 "creativeCommon",
1652 "youtube"
1653 ],
1654 "enumDescriptions": [
1655 "Return all videos, regardless of which license they have, that match the query parameters.",
1656 "Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they cre ate. Learn more.",
1657 "Only return videos that have the standard YouTu be license."
1658 ],
1659 "location": "query",
1660 "type": "string"
1661 },
1662 "videoSyndicated": {
1663 "description": "The videoSyndicated parameter lets y ou to restrict a search to only videos that can be played outside youtube.com.",
1664 "enum": [
1665 "any",
1666 "true"
1667 ],
1668 "enumDescriptions": [
1669 "Return all videos, syndicated or not.",
1670 "Only retrieve syndicated videos."
1671 ],
1672 "location": "query",
1673 "type": "string"
1674 },
1675 "videoType": {
1676 "description": "The videoType parameter lets you res trict a search to a particular type of videos.",
1677 "enum": [
1678 "any",
1679 "episode",
1680 "movie"
1681 ],
1682 "enumDescriptions": [
1683 "Return all videos.",
1684 "Only retrieve episodes of shows.",
1685 "Only retrieve movies."
1686 ],
1687 "location": "query",
1688 "type": "string"
1689 }
1690 },
1691 "path": "search",
1692 "response": {
1693 "$ref": "SearchListResponse"
1694 },
1695 "scopes": [
1696 "https://www.googleapis.com/auth/youtube",
1697 "https://www.googleapis.com/auth/youtube.readonly",
1698 "https://www.googleapis.com/auth/youtubepartner"
1699 ]
1700 }
1701 }
1702 },
1703 "subscriptions": {
1704 "methods": {
1705 "delete": {
1706 "description": "Deletes a subscription.",
1707 "httpMethod": "DELETE",
1708 "id": "youtube.subscriptions.delete",
1709 "parameterOrder": [
1710 "id"
1711 ],
1712 "parameters": {
1713 "id": {
1714 "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.",
1715 "location": "query",
1716 "required": true,
1717 "type": "string"
1718 }
1719 },
1720 "path": "subscriptions",
1721 "scopes": [
1722 "https://www.googleapis.com/auth/youtube",
1723 "https://www.googleapis.com/auth/youtubepartner"
1724 ]
1725 },
1726 "insert": {
1727 "description": "Adds a subscription for the authenticated us er's channel.",
1728 "httpMethod": "POST",
1729 "id": "youtube.subscriptions.insert",
1730 "parameterOrder": [
1731 "part"
1732 ],
1733 "parameters": {
1734 "part": {
1735 "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. ",
1736 "location": "query",
1737 "required": true,
1738 "type": "string"
1739 }
1740 },
1741 "path": "subscriptions",
1742 "request": {
1743 "$ref": "Subscription"
1744 },
1745 "response": {
1746 "$ref": "Subscription"
1747 },
1748 "scopes": [
1749 "https://www.googleapis.com/auth/youtube",
1750 "https://www.googleapis.com/auth/youtubepartner"
1751 ]
1752 },
1753 "list": {
1754 "description": "Returns subscription resources that match th e API request criteria.",
1755 "httpMethod": "GET",
1756 "id": "youtube.subscriptions.list",
1757 "parameterOrder": [
1758 "part"
1759 ],
1760 "parameters": {
1761 "channelId": {
1762 "description": "The channelId parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions.",
1763 "location": "query",
1764 "type": "string"
1765 },
1766 "forChannelId": {
1767 "description": "The forChannelId parameter specifies a comma-separated list of channel IDs. The API response will then only contain subscriptions matching those channels.",
1768 "location": "query",
1769 "type": "string"
1770 },
1771 "id": {
1772 "description": "The id parameter specifies a comma-s eparated list of the YouTube subscription ID(s) for the resource(s) that are bei ng retrieved. In a subscription resource, the id property specifies the YouTube subscription ID.",
1773 "location": "query",
1774 "type": "string"
1775 },
1776 "maxResults": {
1777 "default": "5",
1778 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.",
1779 "format": "uint32",
1780 "location": "query",
1781 "maximum": "50",
1782 "minimum": "0",
1783 "type": "integer"
1784 },
1785 "mine": {
1786 "description": "Set this parameter's value to true t o retrieve a feed of the authenticated user's subscriptions.",
1787 "location": "query",
1788 "type": "boolean"
1789 },
1790 "mySubscribers": {
1791 "description": "Set this parameter's value to true t o retrieve a feed of the subscribers of the authenticated user.",
1792 "location": "query",
1793 "type": "boolean"
1794 },
1795 "onBehalfOfContentOwner": {
1796 "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.",
1797 "location": "query",
1798 "type": "string"
1799 },
1800 "onBehalfOfContentOwnerChannel": {
1801 "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." ,
1802 "location": "query",
1803 "type": "string"
1804 },
1805 "order": {
1806 "default": "SUBSCRIPTION_ORDER_RELEVANCE",
1807 "description": "The order parameter specifies the me thod that will be used to sort resources in the API response.",
1808 "enum": [
1809 "alphabetical",
1810 "relevance",
1811 "unread"
1812 ],
1813 "enumDescriptions": [
1814 "Sort alphabetically.",
1815 "Sort by relevance.",
1816 "Sort by order of activity."
1817 ],
1818 "location": "query",
1819 "type": "string"
1820 },
1821 "pageToken": {
1822 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
1823 "location": "query",
1824 "type": "string"
1825 },
1826 "part": {
1827 "description": "The part parameter specifies a comma -separated list of one or more subscription resource properties that the API res ponse will include. The part names that you can include in the parameter value a re id, snippet, and contentDetails.\n\nIf the parameter identifies a property th at contains child properties, the child properties will be included in the respo nse. For example, in a subscription resource, the snippet property contains othe r properties, such as a display title for the subscription. If you set part=snip pet, the API response will also contain all of those nested properties.",
1828 "location": "query",
1829 "required": true,
1830 "type": "string"
1831 }
1832 },
1833 "path": "subscriptions",
1834 "response": {
1835 "$ref": "SubscriptionListResponse"
1836 },
1837 "scopes": [
1838 "https://www.googleapis.com/auth/youtube",
1839 "https://www.googleapis.com/auth/youtube.readonly",
1840 "https://www.googleapis.com/auth/youtubepartner"
1841 ]
1842 }
1843 }
1844 },
1845 "thumbnails": {
1846 "methods": {
1847 "set": {
1848 "description": "Uploads a custom video thumbnail to YouTube and sets it for a video.",
1849 "httpMethod": "POST",
1850 "id": "youtube.thumbnails.set",
1851 "mediaUpload": {
1852 "accept": [
1853 "application/octet-stream",
1854 "image/jpeg",
1855 "image/png"
1856 ],
1857 "maxSize": "2MB",
1858 "protocols": {
1859 "resumable": {
1860 "multipart": true,
1861 "path": "/resumable/upload/youtube/v3/thumbnails /set"
1862 },
1863 "simple": {
1864 "multipart": true,
1865 "path": "/upload/youtube/v3/thumbnails/set"
1866 }
1867 }
1868 },
1869 "parameterOrder": [
1870 "videoId"
1871 ],
1872 "parameters": {
1873 "onBehalfOfContentOwner": {
1874 "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.",
1875 "location": "query",
1876 "type": "string"
1877 },
1878 "videoId": {
1879 "description": "The videoId parameter specifies a Yo uTube video ID for which the custom video thumbnail is being provided.",
1880 "location": "query",
1881 "required": true,
1882 "type": "string"
1883 }
1884 },
1885 "path": "thumbnails/set",
1886 "response": {
1887 "$ref": "ThumbnailSetResponse"
1888 },
1889 "scopes": [
1890 "https://www.googleapis.com/auth/youtube",
1891 "https://www.googleapis.com/auth/youtube.upload",
1892 "https://www.googleapis.com/auth/youtubepartner"
1893 ],
1894 "supportsMediaUpload": true
1895 }
1896 }
1897 },
1898 "videoCategories": {
1899 "methods": {
1900 "list": {
1901 "description": "Returns a list of categories that can be ass ociated with YouTube videos.",
1902 "httpMethod": "GET",
1903 "id": "youtube.videoCategories.list",
1904 "parameterOrder": [
1905 "part"
1906 ],
1907 "parameters": {
1908 "hl": {
1909 "default": "en_US",
1910 "description": "The hl parameter specifies the langu age that should be used for text values in the API response.",
1911 "location": "query",
1912 "type": "string"
1913 },
1914 "id": {
1915 "description": "The id parameter specifies a comma-s eparated list of video category IDs for the resources that you are retrieving.",
1916 "location": "query",
1917 "type": "string"
1918 },
1919 "part": {
1920 "description": "The part parameter specifies the vid eoCategory resource parts that the API response will include. Supported values a re id and snippet.",
1921 "location": "query",
1922 "required": true,
1923 "type": "string"
1924 },
1925 "regionCode": {
1926 "description": "The regionCode parameter instructs t he API to return the list of video categories available in the specified country . The parameter value is an ISO 3166-1 alpha-2 country code.",
1927 "location": "query",
1928 "type": "string"
1929 }
1930 },
1931 "path": "videoCategories",
1932 "response": {
1933 "$ref": "VideoCategoryListResponse"
1934 },
1935 "scopes": [
1936 "https://www.googleapis.com/auth/youtube",
1937 "https://www.googleapis.com/auth/youtube.readonly",
1938 "https://www.googleapis.com/auth/youtubepartner"
1939 ]
1940 }
1941 }
1942 },
1943 "videos": {
1944 "methods": {
1945 "delete": {
1946 "description": "Deletes a YouTube video.",
1947 "httpMethod": "DELETE",
1948 "id": "youtube.videos.delete",
1949 "parameterOrder": [
1950 "id"
1951 ],
1952 "parameters": {
1953 "id": {
1954 "description": "The id parameter specifies the YouTu be video ID for the resource that is being deleted. In a video resource, the id property specifies the video's ID.",
1955 "location": "query",
1956 "required": true,
1957 "type": "string"
1958 },
1959 "onBehalfOfContentOwner": {
1960 "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. ",
1961 "location": "query",
1962 "type": "string"
1963 }
1964 },
1965 "path": "videos",
1966 "scopes": [
1967 "https://www.googleapis.com/auth/youtube",
1968 "https://www.googleapis.com/auth/youtubepartner"
1969 ]
1970 },
1971 "getRating": {
1972 "description": "Retrieves the ratings that the authorized us er gave to a list of specified videos.",
1973 "httpMethod": "GET",
1974 "id": "youtube.videos.getRating",
1975 "parameterOrder": [
1976 "id"
1977 ],
1978 "parameters": {
1979 "id": {
1980 "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.",
1981 "location": "query",
1982 "required": true,
1983 "type": "string"
1984 },
1985 "onBehalfOfContentOwner": {
1986 "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.",
1987 "location": "query",
1988 "type": "string"
1989 }
1990 },
1991 "path": "videos/getRating",
1992 "response": {
1993 "$ref": "VideoGetRatingResponse"
1994 },
1995 "scopes": [
1996 "https://www.googleapis.com/auth/youtube",
1997 "https://www.googleapis.com/auth/youtubepartner"
1998 ]
1999 },
2000 "insert": {
2001 "description": "Uploads a video to YouTube and optionally se ts the video's metadata.",
2002 "httpMethod": "POST",
2003 "id": "youtube.videos.insert",
2004 "mediaUpload": {
2005 "accept": [
2006 "application/octet-stream",
2007 "video/*"
2008 ],
2009 "maxSize": "64GB",
2010 "protocols": {
2011 "resumable": {
2012 "multipart": true,
2013 "path": "/resumable/upload/youtube/v3/videos"
2014 },
2015 "simple": {
2016 "multipart": true,
2017 "path": "/upload/youtube/v3/videos"
2018 }
2019 }
2020 },
2021 "parameterOrder": [
2022 "part"
2023 ],
2024 "parameters": {
2025 "autoLevels": {
2026 "description": "The autoLevels parameter indicates w hether YouTube should automatically enhance the video's lighting and color.",
2027 "location": "query",
2028 "type": "boolean"
2029 },
2030 "notifySubscribers": {
2031 "default": "true",
2032 "description": "The notifySubscribers parameter indi cates whether YouTube should send notification to subscribers about the inserted video.",
2033 "location": "query",
2034 "type": "boolean"
2035 },
2036 "onBehalfOfContentOwner": {
2037 "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.",
2038 "location": "query",
2039 "type": "string"
2040 },
2041 "onBehalfOfContentOwnerChannel": {
2042 "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." ,
2043 "location": "query",
2044 "type": "string"
2045 },
2046 "part": {
2047 "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, fi leDetails, liveStreamingDetails, player, processingDetails, recordingDetails, st atistics, status, suggestions, and topicDetails. However, not all of those parts contain properties that can be set when setting or updating a video's metadata. For example, the statistics object encapsulates statistics that YouTube calcula tes for a video and does not contain values that you can set or modify. If the p arameter value specifies a part that does not contain mutable values, that part will still be included in the API response.",
2048 "location": "query",
2049 "required": true,
2050 "type": "string"
2051 },
2052 "stabilize": {
2053 "description": "The stabilize parameter indicates wh ether YouTube should adjust the video to remove shaky camera motions.",
2054 "location": "query",
2055 "type": "boolean"
2056 }
2057 },
2058 "path": "videos",
2059 "request": {
2060 "$ref": "Video"
2061 },
2062 "response": {
2063 "$ref": "Video"
2064 },
2065 "scopes": [
2066 "https://www.googleapis.com/auth/youtube",
2067 "https://www.googleapis.com/auth/youtube.upload",
2068 "https://www.googleapis.com/auth/youtubepartner"
2069 ],
2070 "supportsMediaUpload": true
2071 },
2072 "list": {
2073 "description": "Returns a list of videos that match the API request parameters.",
2074 "httpMethod": "GET",
2075 "id": "youtube.videos.list",
2076 "parameterOrder": [
2077 "part"
2078 ],
2079 "parameters": {
2080 "chart": {
2081 "description": "The chart parameter identifies the c hart that you want to retrieve.",
2082 "enum": [
2083 "mostPopular"
2084 ],
2085 "enumDescriptions": [
2086 "Return the most popular videos for the specifie d content region and video category."
2087 ],
2088 "location": "query",
2089 "type": "string"
2090 },
2091 "id": {
2092 "description": "The id parameter specifies a comma-s eparated list of the YouTube video ID(s) for the resource(s) that are being retr ieved. In a video resource, the id property specifies the video's ID.",
2093 "location": "query",
2094 "type": "string"
2095 },
2096 "locale": {
2097 "description": "DEPRECATED",
2098 "location": "query",
2099 "type": "string"
2100 },
2101 "maxResults": {
2102 "default": "5",
2103 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.\n\nNote: T his parameter is supported for use in conjunction with the myRating parameter, b ut it is not supported for use in conjunction with the id parameter.",
2104 "format": "uint32",
2105 "location": "query",
2106 "maximum": "50",
2107 "minimum": "1",
2108 "type": "integer"
2109 },
2110 "myRating": {
2111 "description": "Set this parameter's value to like o r dislike to instruct the API to only return videos liked or disliked by the aut henticated user.",
2112 "enum": [
2113 "dislike",
2114 "like"
2115 ],
2116 "enumDescriptions": [
2117 "Returns only videos disliked by the authenticat ed user.",
2118 "Returns only video liked by the authenticated u ser."
2119 ],
2120 "location": "query",
2121 "type": "string"
2122 },
2123 "onBehalfOfContentOwner": {
2124 "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.",
2125 "location": "query",
2126 "type": "string"
2127 },
2128 "pageToken": {
2129 "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, th e nextPageToken and prevPageToken properties identify other pages that could be retrieved.\n\nNote: This parameter is supported for use in conjunction with the myRating parameter, but it is not supported for use in conjunction with the id p arameter.",
2130 "location": "query",
2131 "type": "string"
2132 },
2133 "part": {
2134 "description": "The part parameter specifies a comma -separated list of one or more video resource properties that the API response w ill include. The part names that you can include in the parameter value are id, snippet, contentDetails, fileDetails, liveStreamingDetails, player, processingDe tails, recordingDetails, statistics, status, suggestions, and topicDetails.\n\nI f the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, t he snippet property contains the channelId, title, description, tags, and catego ryId properties. As such, if you set part=snippet, the API response will contain all of those properties.",
2135 "location": "query",
2136 "required": true,
2137 "type": "string"
2138 },
2139 "regionCode": {
2140 "description": "The regionCode parameter instructs t he API to select a video chart available in the specified region. This parameter can only be used in conjunction with the chart parameter. The parameter value i s an ISO 3166-1 alpha-2 country code.",
2141 "location": "query",
2142 "type": "string"
2143 },
2144 "videoCategoryId": {
2145 "default": "0",
2146 "description": "The videoCategoryId parameter identi fies the video category for which the chart should be retrieved. This parameter can only be used in conjunction with the chart parameter. By default, charts are not restricted to a particular category.",
2147 "location": "query",
2148 "type": "string"
2149 }
2150 },
2151 "path": "videos",
2152 "response": {
2153 "$ref": "VideoListResponse"
2154 },
2155 "scopes": [
2156 "https://www.googleapis.com/auth/youtube",
2157 "https://www.googleapis.com/auth/youtube.readonly",
2158 "https://www.googleapis.com/auth/youtubepartner"
2159 ]
2160 },
2161 "rate": {
2162 "description": "Add a like or dislike rating to a video or r emove a rating from a video.",
2163 "httpMethod": "POST",
2164 "id": "youtube.videos.rate",
2165 "parameterOrder": [
2166 "id",
2167 "rating"
2168 ],
2169 "parameters": {
2170 "id": {
2171 "description": "The id parameter specifies the YouTu be video ID of the video that is being rated or having its rating removed.",
2172 "location": "query",
2173 "required": true,
2174 "type": "string"
2175 },
2176 "onBehalfOfContentOwner": {
2177 "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.",
2178 "location": "query",
2179 "type": "string"
2180 },
2181 "rating": {
2182 "description": "Specifies the rating to record.",
2183 "enum": [
2184 "dislike",
2185 "like",
2186 "none"
2187 ],
2188 "enumDescriptions": [
2189 "Records that the authenticated user disliked th e video.",
2190 "Records that the authenticated user liked the v ideo.",
2191 "Removes any rating that the authenticated user had previously set for the video."
2192 ],
2193 "location": "query",
2194 "required": true,
2195 "type": "string"
2196 }
2197 },
2198 "path": "videos/rate",
2199 "scopes": [
2200 "https://www.googleapis.com/auth/youtube",
2201 "https://www.googleapis.com/auth/youtubepartner"
2202 ]
2203 },
2204 "update": {
2205 "description": "Updates a video's metadata.",
2206 "httpMethod": "PUT",
2207 "id": "youtube.videos.update",
2208 "parameterOrder": [
2209 "part"
2210 ],
2211 "parameters": {
2212 "onBehalfOfContentOwner": {
2213 "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. ",
2214 "location": "query",
2215 "type": "string"
2216 },
2217 "part": {
2218 "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, fi leDetails, liveStreamingDetails, player, processingDetails, recordingDetails, st atistics, status, suggestions, and topicDetails.\n\nNote that this method will o verride the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy se tting will be removed and the video will revert to the default privacy setting.\ n\nIn addition, not all of those parts contain properties that can be set when s etting or updating a video's metadata. For example, the statistics object encaps ulates statistics that YouTube calculates for a video and does not contain value s that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response .",
2219 "location": "query",
2220 "required": true,
2221 "type": "string"
2222 }
2223 },
2224 "path": "videos",
2225 "request": {
2226 "$ref": "Video"
2227 },
2228 "response": {
2229 "$ref": "Video"
2230 },
2231 "scopes": [
2232 "https://www.googleapis.com/auth/youtube",
2233 "https://www.googleapis.com/auth/youtubepartner"
2234 ]
2235 }
2236 }
2237 },
2238 "watermarks": {
2239 "methods": {
2240 "set": {
2241 "description": "Uploads a watermark image to YouTube and set s it for a channel.",
2242 "httpMethod": "POST",
2243 "id": "youtube.watermarks.set",
2244 "mediaUpload": {
2245 "accept": [
2246 "application/octet-stream",
2247 "image/jpeg",
2248 "image/png"
2249 ],
2250 "maxSize": "10MB",
2251 "protocols": {
2252 "resumable": {
2253 "multipart": true,
2254 "path": "/resumable/upload/youtube/v3/watermarks /set"
2255 },
2256 "simple": {
2257 "multipart": true,
2258 "path": "/upload/youtube/v3/watermarks/set"
2259 }
2260 }
2261 },
2262 "parameterOrder": [
2263 "channelId"
2264 ],
2265 "parameters": {
2266 "channelId": {
2267 "description": "The channelId parameter specifies a YouTube channel ID for which the watermark is being provided.",
2268 "location": "query",
2269 "required": true,
2270 "type": "string"
2271 },
2272 "onBehalfOfContentOwner": {
2273 "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.",
2274 "location": "query",
2275 "type": "string"
2276 }
2277 },
2278 "path": "watermarks/set",
2279 "request": {
2280 "$ref": "InvideoBranding"
2281 },
2282 "scopes": [
2283 "https://www.googleapis.com/auth/youtube",
2284 "https://www.googleapis.com/auth/youtube.upload",
2285 "https://www.googleapis.com/auth/youtubepartner"
2286 ],
2287 "supportsMediaUpload": true
2288 },
2289 "unset": {
2290 "description": "Deletes a watermark.",
2291 "httpMethod": "POST",
2292 "id": "youtube.watermarks.unset",
2293 "parameterOrder": [
2294 "channelId"
2295 ],
2296 "parameters": {
2297 "channelId": {
2298 "description": "The channelId parameter specifies a YouTube channel ID for which the watermark is being unset.",
2299 "location": "query",
2300 "required": true,
2301 "type": "string"
2302 },
2303 "onBehalfOfContentOwner": {
2304 "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.",
2305 "location": "query",
2306 "type": "string"
2307 }
2308 },
2309 "path": "watermarks/unset",
2310 "scopes": [
2311 "https://www.googleapis.com/auth/youtube",
2312 "https://www.googleapis.com/auth/youtubepartner"
2313 ]
2314 }
2315 }
2316 }
2317 },
2318 "revision": "20140905",
2319 "rootUrl": "https://www.googleapis.com/",
2320 "schemas": {
2321 "AccessPolicy": {
2322 "description": "Rights management policy for YouTube resources.",
2323 "id": "AccessPolicy",
2324 "properties": {
2325 "allowed": {
2326 "description": "The value of allowed indicates whether the a ccess to the policy is allowed or denied by default.",
2327 "type": "boolean"
2328 },
2329 "exception": {
2330 "description": "A list of region codes that identify countri es where the default policy do not apply.",
2331 "items": {
2332 "type": "string"
2333 },
2334 "type": "array"
2335 }
2336 },
2337 "type": "object"
2338 },
2339 "Activity": {
2340 "description": "An activity resource contains information about an a ction that a particular channel, or user, has taken on YouTube.The actions repor ted in activity feeds include rating a video, sharing a video, marking a video a s a favorite, commenting on a video, uploading a video, and so forth. Each activ ity resource identifies the type of action, the channel associated with the acti on, and the resource(s) associated with the action, such as the video that was r ated or uploaded.",
2341 "id": "Activity",
2342 "properties": {
2343 "contentDetails": {
2344 "$ref": "ActivityContentDetails",
2345 "description": "The contentDetails object contains informati on about the content associated with the activity. For example, if the snippet.t ype value is videoRated, then the contentDetails object's content identifies the rated video."
2346 },
2347 "etag": {
2348 "description": "Etag of this resource.",
2349 "type": "string"
2350 },
2351 "id": {
2352 "description": "The ID that YouTube uses to uniquely identif y the activity.",
2353 "type": "string"
2354 },
2355 "kind": {
2356 "default": "youtube#activity",
2357 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#activity\".",
2358 "type": "string"
2359 },
2360 "snippet": {
2361 "$ref": "ActivitySnippet",
2362 "description": "The snippet object contains basic details ab out the activity, including the activity's type and group ID."
2363 }
2364 },
2365 "type": "object"
2366 },
2367 "ActivityContentDetails": {
2368 "description": "Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.",
2369 "id": "ActivityContentDetails",
2370 "properties": {
2371 "bulletin": {
2372 "$ref": "ActivityContentDetailsBulletin",
2373 "description": "The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulle tin."
2374 },
2375 "channelItem": {
2376 "$ref": "ActivityContentDetailsChannelItem",
2377 "description": "The channelItem object contains details abou t a resource which was added to a channel. This property is only present if the snippet.type is channelItem."
2378 },
2379 "comment": {
2380 "$ref": "ActivityContentDetailsComment",
2381 "description": "The comment object contains information abou t a resource that received a comment. This property is only present if the snipp et.type is comment."
2382 },
2383 "favorite": {
2384 "$ref": "ActivityContentDetailsFavorite",
2385 "description": "The favorite object contains information abo ut a video that was marked as a favorite video. This property is only present if the snippet.type is favorite."
2386 },
2387 "like": {
2388 "$ref": "ActivityContentDetailsLike",
2389 "description": "The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like."
2390 },
2391 "playlistItem": {
2392 "$ref": "ActivityContentDetailsPlaylistItem",
2393 "description": "The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem."
2394 },
2395 "promotedItem": {
2396 "$ref": "ActivityContentDetailsPromotedItem",
2397 "description": "The promotedItem object contains details abo ut a resource which is being promoted. This property is only present if the snip pet.type is promotedItem."
2398 },
2399 "recommendation": {
2400 "$ref": "ActivityContentDetailsRecommendation",
2401 "description": "The recommendation object contains informati on about a recommended resource. This property is only present if the snippet.ty pe is recommendation."
2402 },
2403 "social": {
2404 "$ref": "ActivityContentDetailsSocial",
2405 "description": "The social object contains details about a s ocial network post. This property is only present if the snippet.type is social. "
2406 },
2407 "subscription": {
2408 "$ref": "ActivityContentDetailsSubscription",
2409 "description": "The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription."
2410 },
2411 "upload": {
2412 "$ref": "ActivityContentDetailsUpload",
2413 "description": "The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload ."
2414 }
2415 },
2416 "type": "object"
2417 },
2418 "ActivityContentDetailsBulletin": {
2419 "description": "Details about a channel bulletin post.",
2420 "id": "ActivityContentDetailsBulletin",
2421 "properties": {
2422 "resourceId": {
2423 "$ref": "ResourceId",
2424 "description": "The resourceId object contains information t hat identifies the resource associated with a bulletin post."
2425 }
2426 },
2427 "type": "object"
2428 },
2429 "ActivityContentDetailsChannelItem": {
2430 "description": "Details about a resource which was added to a channe l.",
2431 "id": "ActivityContentDetailsChannelItem",
2432 "properties": {
2433 "resourceId": {
2434 "$ref": "ResourceId",
2435 "description": "The resourceId object contains information t hat identifies the resource that was added to the channel."
2436 }
2437 },
2438 "type": "object"
2439 },
2440 "ActivityContentDetailsComment": {
2441 "description": "Information about a resource that received a comment .",
2442 "id": "ActivityContentDetailsComment",
2443 "properties": {
2444 "resourceId": {
2445 "$ref": "ResourceId",
2446 "description": "The resourceId object contains information t hat identifies the resource associated with the comment."
2447 }
2448 },
2449 "type": "object"
2450 },
2451 "ActivityContentDetailsFavorite": {
2452 "description": "Information about a video that was marked as a favor ite video.",
2453 "id": "ActivityContentDetailsFavorite",
2454 "properties": {
2455 "resourceId": {
2456 "$ref": "ResourceId",
2457 "description": "The resourceId object contains information t hat identifies the resource that was marked as a favorite."
2458 }
2459 },
2460 "type": "object"
2461 },
2462 "ActivityContentDetailsLike": {
2463 "description": "Information about a resource that received a positiv e (like) rating.",
2464 "id": "ActivityContentDetailsLike",
2465 "properties": {
2466 "resourceId": {
2467 "$ref": "ResourceId",
2468 "description": "The resourceId object contains information t hat identifies the rated resource."
2469 }
2470 },
2471 "type": "object"
2472 },
2473 "ActivityContentDetailsPlaylistItem": {
2474 "description": "Information about a new playlist item.",
2475 "id": "ActivityContentDetailsPlaylistItem",
2476 "properties": {
2477 "playlistId": {
2478 "description": "The value that YouTube uses to uniquely iden tify the playlist.",
2479 "type": "string"
2480 },
2481 "playlistItemId": {
2482 "description": "ID of the item within the playlist.",
2483 "type": "string"
2484 },
2485 "resourceId": {
2486 "$ref": "ResourceId",
2487 "description": "The resourceId object contains information a bout the resource that was added to the playlist."
2488 }
2489 },
2490 "type": "object"
2491 },
2492 "ActivityContentDetailsPromotedItem": {
2493 "description": "Details about a resource which is being promoted.",
2494 "id": "ActivityContentDetailsPromotedItem",
2495 "properties": {
2496 "adTag": {
2497 "description": "The URL the client should fetch to request a promoted item.",
2498 "type": "string"
2499 },
2500 "clickTrackingUrl": {
2501 "description": "The URL the client should ping to indicate t hat the user clicked through on this promoted item.",
2502 "type": "string"
2503 },
2504 "creativeViewUrl": {
2505 "description": "The URL the client should ping to indicate t hat the user was shown this promoted item.",
2506 "type": "string"
2507 },
2508 "ctaType": {
2509 "description": "The type of call-to-action, a message to the user indicating action that can be taken.",
2510 "enum": [
2511 "unspecified",
2512 "visitAdvertiserSite"
2513 ],
2514 "enumDescriptions": [
2515 "",
2516 ""
2517 ],
2518 "type": "string"
2519 },
2520 "customCtaButtonText": {
2521 "description": "The custom call-to-action button text. If sp ecified, it will override the default button text for the cta_type.",
2522 "type": "string"
2523 },
2524 "descriptionText": {
2525 "description": "The text description to accompany the promot ed item.",
2526 "type": "string"
2527 },
2528 "destinationUrl": {
2529 "description": "The URL the client should direct the user to , if the user chooses to visit the advertiser's website.",
2530 "type": "string"
2531 },
2532 "forecastingUrl": {
2533 "description": "The list of forecasting URLs. The client sho uld ping all of these URLs when a promoted item is not available, to indicate th at a promoted item could have been shown.",
2534 "items": {
2535 "type": "string"
2536 },
2537 "type": "array"
2538 },
2539 "impressionUrl": {
2540 "description": "The list of impression URLs. The client shou ld ping all of these URLs to indicate that the user was shown this promoted item .",
2541 "items": {
2542 "type": "string"
2543 },
2544 "type": "array"
2545 },
2546 "videoId": {
2547 "description": "The ID that YouTube uses to uniquely identif y the promoted video.",
2548 "type": "string"
2549 }
2550 },
2551 "type": "object"
2552 },
2553 "ActivityContentDetailsRecommendation": {
2554 "description": "Information that identifies the recommended resource .",
2555 "id": "ActivityContentDetailsRecommendation",
2556 "properties": {
2557 "reason": {
2558 "description": "The reason that the resource is recommended to the user.",
2559 "enum": [
2560 "unspecified",
2561 "videoFavorited",
2562 "videoLiked",
2563 "videoWatched"
2564 ],
2565 "enumDescriptions": [
2566 "",
2567 "",
2568 "",
2569 ""
2570 ],
2571 "type": "string"
2572 },
2573 "resourceId": {
2574 "$ref": "ResourceId",
2575 "description": "The resourceId object contains information t hat identifies the recommended resource."
2576 },
2577 "seedResourceId": {
2578 "$ref": "ResourceId",
2579 "description": "The seedResourceId object contains informati on about the resource that caused the recommendation."
2580 }
2581 },
2582 "type": "object"
2583 },
2584 "ActivityContentDetailsSocial": {
2585 "description": "Details about a social network post.",
2586 "id": "ActivityContentDetailsSocial",
2587 "properties": {
2588 "author": {
2589 "description": "The author of the social network post.",
2590 "type": "string"
2591 },
2592 "imageUrl": {
2593 "description": "An image of the post's author.",
2594 "type": "string"
2595 },
2596 "referenceUrl": {
2597 "description": "The URL of the social network post.",
2598 "type": "string"
2599 },
2600 "resourceId": {
2601 "$ref": "ResourceId",
2602 "description": "The resourceId object encapsulates informati on that identifies the resource associated with a social network post."
2603 },
2604 "type": {
2605 "description": "The name of the social network.",
2606 "enum": [
2607 "facebook",
2608 "googlePlus",
2609 "twitter",
2610 "unspecified"
2611 ],
2612 "enumDescriptions": [
2613 "",
2614 "",
2615 "",
2616 ""
2617 ],
2618 "type": "string"
2619 }
2620 },
2621 "type": "object"
2622 },
2623 "ActivityContentDetailsSubscription": {
2624 "description": "Information about a channel that a user subscribed t o.",
2625 "id": "ActivityContentDetailsSubscription",
2626 "properties": {
2627 "resourceId": {
2628 "$ref": "ResourceId",
2629 "description": "The resourceId object contains information t hat identifies the resource that the user subscribed to."
2630 }
2631 },
2632 "type": "object"
2633 },
2634 "ActivityContentDetailsUpload": {
2635 "description": "Information about the uploaded video.",
2636 "id": "ActivityContentDetailsUpload",
2637 "properties": {
2638 "videoId": {
2639 "description": "The ID that YouTube uses to uniquely identif y the uploaded video.",
2640 "type": "string"
2641 }
2642 },
2643 "type": "object"
2644 },
2645 "ActivityListResponse": {
2646 "id": "ActivityListResponse",
2647 "properties": {
2648 "etag": {
2649 "description": "Etag of this resource.",
2650 "type": "string"
2651 },
2652 "eventId": {
2653 "description": "Serialized EventId of the request which prod uced this response.",
2654 "type": "string"
2655 },
2656 "items": {
2657 "description": "A list of activities, or events, that match the request criteria.",
2658 "items": {
2659 "$ref": "Activity"
2660 },
2661 "type": "array"
2662 },
2663 "kind": {
2664 "default": "youtube#activityListResponse",
2665 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#activityListResponse\".",
2666 "type": "string"
2667 },
2668 "nextPageToken": {
2669 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
2670 "type": "string"
2671 },
2672 "pageInfo": {
2673 "$ref": "PageInfo"
2674 },
2675 "prevPageToken": {
2676 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
2677 "type": "string"
2678 },
2679 "tokenPagination": {
2680 "$ref": "TokenPagination"
2681 },
2682 "visitorId": {
2683 "description": "The visitorId identifies the visitor.",
2684 "type": "string"
2685 }
2686 },
2687 "type": "object"
2688 },
2689 "ActivitySnippet": {
2690 "description": "Basic details about an activity, including title, de scription, thumbnails, activity type and group.",
2691 "id": "ActivitySnippet",
2692 "properties": {
2693 "channelId": {
2694 "description": "The ID that YouTube uses to uniquely identif y the channel associated with the activity.",
2695 "type": "string"
2696 },
2697 "channelTitle": {
2698 "description": "Channel title for the channel responsible fo r this activity",
2699 "type": "string"
2700 },
2701 "description": {
2702 "annotations": {
2703 "required": [
2704 "youtube.activities.insert"
2705 ]
2706 },
2707 "description": "The description of the resource primarily as sociated with the activity.",
2708 "type": "string"
2709 },
2710 "groupId": {
2711 "description": "The group ID associated with the activity. A group ID identifies user events that are associated with the same user and reso urce. For example, if a user rates a video and marks the same video as a favorit e, the entries for those events would have the same group ID in the user's activ ity feed. In your user interface, you can avoid repetition by grouping events wi th the same groupId value.",
2712 "type": "string"
2713 },
2714 "publishedAt": {
2715 "description": "The date and time that the video was uploade d. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
2716 "format": "date-time",
2717 "type": "string"
2718 },
2719 "thumbnails": {
2720 "$ref": "ThumbnailDetails",
2721 "description": "A map of thumbnail images associated with th e resource that is primarily associated with the activity. For each object in th e map, the key is the name of the thumbnail image, and the value is an object th at contains other information about the thumbnail."
2722 },
2723 "title": {
2724 "description": "The title of the resource primarily associat ed with the activity.",
2725 "type": "string"
2726 },
2727 "type": {
2728 "description": "The type of activity that the resource descr ibes.",
2729 "enum": [
2730 "bulletin",
2731 "channelItem",
2732 "comment",
2733 "favorite",
2734 "like",
2735 "playlistItem",
2736 "promotedItem",
2737 "recommendation",
2738 "social",
2739 "subscription",
2740 "upload"
2741 ],
2742 "enumDescriptions": [
2743 "",
2744 "",
2745 "",
2746 "",
2747 "",
2748 "",
2749 "",
2750 "",
2751 "",
2752 "",
2753 ""
2754 ],
2755 "type": "string"
2756 }
2757 },
2758 "type": "object"
2759 },
2760 "CdnSettings": {
2761 "description": "Brief description of the live stream cdn settings.",
2762 "id": "CdnSettings",
2763 "properties": {
2764 "format": {
2765 "annotations": {
2766 "required": [
2767 "youtube.liveStreams.insert",
2768 "youtube.liveStreams.update"
2769 ]
2770 },
2771 "description": "The format of the video stream that you are sending to Youtube.",
2772 "type": "string"
2773 },
2774 "ingestionInfo": {
2775 "$ref": "IngestionInfo",
2776 "description": "The ingestionInfo object contains informatio n that YouTube provides that you need to transmit your RTMP or HTTP stream to Yo uTube."
2777 },
2778 "ingestionType": {
2779 "annotations": {
2780 "required": [
2781 "youtube.liveStreams.insert",
2782 "youtube.liveStreams.update"
2783 ]
2784 },
2785 "description": "The method or protocol used to transmit the video stream.",
2786 "enum": [
2787 "rtmp"
2788 ],
2789 "enumDescriptions": [
2790 ""
2791 ],
2792 "type": "string"
2793 }
2794 },
2795 "type": "object"
2796 },
2797 "Channel": {
2798 "description": "A channel resource contains information about a YouT ube channel.",
2799 "id": "Channel",
2800 "properties": {
2801 "auditDetails": {
2802 "$ref": "ChannelAuditDetails",
2803 "description": "The auditionDetails object encapsulates chan nel data that is relevant for YouTube Partners during the audition process."
2804 },
2805 "brandingSettings": {
2806 "$ref": "ChannelBrandingSettings",
2807 "description": "The brandingSettings object encapsulates inf ormation about the branding of the channel."
2808 },
2809 "contentDetails": {
2810 "$ref": "ChannelContentDetails",
2811 "description": "The contentDetails object encapsulates infor mation about the channel's content."
2812 },
2813 "contentOwnerDetails": {
2814 "$ref": "ChannelContentOwnerDetails",
2815 "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel."
2816 },
2817 "conversionPings": {
2818 "$ref": "ChannelConversionPings",
2819 "description": "The conversionPings object encapsulates info rmation about conversion pings that need to be respected by the channel."
2820 },
2821 "etag": {
2822 "description": "Etag of this resource.",
2823 "type": "string"
2824 },
2825 "id": {
2826 "description": "The ID that YouTube uses to uniquely identif y the channel.",
2827 "type": "string"
2828 },
2829 "invideoPromotion": {
2830 "$ref": "InvideoPromotion",
2831 "description": "The invideoPromotion object encapsulates inf ormation about promotion campaign associated with the channel."
2832 },
2833 "kind": {
2834 "default": "youtube#channel",
2835 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#channel\".",
2836 "type": "string"
2837 },
2838 "snippet": {
2839 "$ref": "ChannelSnippet",
2840 "description": "The snippet object contains basic details ab out the channel, such as its title, description, and thumbnail images."
2841 },
2842 "statistics": {
2843 "$ref": "ChannelStatistics",
2844 "description": "The statistics object encapsulates statistic s for the channel."
2845 },
2846 "status": {
2847 "$ref": "ChannelStatus",
2848 "description": "The status object encapsulates information a bout the privacy status of the channel."
2849 },
2850 "topicDetails": {
2851 "$ref": "ChannelTopicDetails",
2852 "description": "The topicDetails object encapsulates informa tion about Freebase topics associated with the channel."
2853 }
2854 },
2855 "type": "object"
2856 },
2857 "ChannelAuditDetails": {
2858 "description": "The auditDetails object encapsulates channel data th at is relevant for YouTube Partners during the audit process.",
2859 "id": "ChannelAuditDetails",
2860 "properties": {
2861 "communityGuidelinesGoodStanding": {
2862 "description": "Whether or not the channel respects the comm unity guidelines.",
2863 "type": "boolean"
2864 },
2865 "contentIdClaimsGoodStanding": {
2866 "description": "Whether or not the channel has any unresolve d claims.",
2867 "type": "boolean"
2868 },
2869 "copyrightStrikesGoodStanding": {
2870 "description": "Whether or not the channel has any copyright strikes.",
2871 "type": "boolean"
2872 },
2873 "overallGoodStanding": {
2874 "description": "Describes the general state of the channel. This field will always show if there are any issues whatsoever with the channel. Currently this field represents the result of the logical and operation over th e community guidelines good standing, the copyright strikes good standing and th e content ID claims good standing, but this may change in the future.",
2875 "type": "boolean"
2876 }
2877 },
2878 "type": "object"
2879 },
2880 "ChannelBannerResource": {
2881 "description": "A channel banner returned as the response to a chann el_banner.insert call.",
2882 "id": "ChannelBannerResource",
2883 "properties": {
2884 "etag": {
2885 "description": "Etag of this resource.",
2886 "type": "string"
2887 },
2888 "kind": {
2889 "default": "youtube#channelBannerResource",
2890 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#channelBannerResource\".",
2891 "type": "string"
2892 },
2893 "url": {
2894 "description": "The URL of this banner image.",
2895 "type": "string"
2896 }
2897 },
2898 "type": "object"
2899 },
2900 "ChannelBrandingSettings": {
2901 "description": "Branding properties of a YouTube channel.",
2902 "id": "ChannelBrandingSettings",
2903 "properties": {
2904 "channel": {
2905 "$ref": "ChannelSettings",
2906 "description": "Branding properties for the channel view."
2907 },
2908 "hints": {
2909 "description": "Additional experimental branding properties. ",
2910 "items": {
2911 "$ref": "PropertyValue"
2912 },
2913 "type": "array"
2914 },
2915 "image": {
2916 "$ref": "ImageSettings",
2917 "description": "Branding properties for branding images."
2918 },
2919 "watch": {
2920 "$ref": "WatchSettings",
2921 "description": "Branding properties for the watch page."
2922 }
2923 },
2924 "type": "object"
2925 },
2926 "ChannelContentDetails": {
2927 "description": "Details about the content of a channel.",
2928 "id": "ChannelContentDetails",
2929 "properties": {
2930 "googlePlusUserId": {
2931 "description": "The googlePlusUserId object identifies the G oogle+ profile ID associated with this channel.",
2932 "type": "string"
2933 },
2934 "relatedPlaylists": {
2935 "properties": {
2936 "favorites": {
2937 "description": "The ID of the playlist that contains the channel\"s favorite videos. Use the playlistItems.insert and playlistItem s.delete to add or remove items from that list.",
2938 "type": "string"
2939 },
2940 "likes": {
2941 "description": "The ID of the playlist that contains the channel\"s liked videos. Use the playlistItems.insert and playlistItems. delete to add or remove items from that list.",
2942 "type": "string"
2943 },
2944 "uploads": {
2945 "description": "The ID of the playlist that contains the channel\"s uploaded videos. Use the videos.insert method to upload new vid eos and the videos.delete method to delete previously uploaded videos.",
2946 "type": "string"
2947 },
2948 "watchHistory": {
2949 "description": "The ID of the playlist that contains the channel\"s watch history. Use the playlistItems.insert and playlistItems. delete to add or remove items from that list.",
2950 "type": "string"
2951 },
2952 "watchLater": {
2953 "description": "The ID of the playlist that contains the channel\"s watch later playlist. Use the playlistItems.insert and playlist Items.delete to add or remove items from that list.",
2954 "type": "string"
2955 }
2956 },
2957 "type": "object"
2958 }
2959 },
2960 "type": "object"
2961 },
2962 "ChannelContentOwnerDetails": {
2963 "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.",
2964 "id": "ChannelContentOwnerDetails",
2965 "properties": {
2966 "contentOwner": {
2967 "description": "The ID of the content owner linked to the ch annel.",
2968 "type": "string"
2969 },
2970 "timeLinked": {
2971 "description": "The date and time of when the channel was li nked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm: ss.sZ) format.",
2972 "format": "date-time",
2973 "type": "string"
2974 }
2975 },
2976 "type": "object"
2977 },
2978 "ChannelConversionPing": {
2979 "description": "Pings that the app shall fire (authenticated by bisc otti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.",
2980 "id": "ChannelConversionPing",
2981 "properties": {
2982 "context": {
2983 "description": "Defines the context of the ping.",
2984 "enum": [
2985 "cview",
2986 "subscribe",
2987 "unsubscribe"
2988 ],
2989 "enumDescriptions": [
2990 "",
2991 "",
2992 ""
2993 ],
2994 "type": "string"
2995 },
2996 "conversionUrl": {
2997 "description": "The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to u se (http vs https) Example of a returned url: //googleads.g.doubleclick.net/page ad/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butui d%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authenti cation (ms param in case of mobile, for example) to this ping.",
2998 "type": "string"
2999 }
3000 },
3001 "type": "object"
3002 },
3003 "ChannelConversionPings": {
3004 "description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.",
3005 "id": "ChannelConversionPings",
3006 "properties": {
3007 "pings": {
3008 "description": "Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the pi ng, and a url identifying the ping.",
3009 "items": {
3010 "$ref": "ChannelConversionPing"
3011 },
3012 "type": "array"
3013 }
3014 },
3015 "type": "object"
3016 },
3017 "ChannelListResponse": {
3018 "id": "ChannelListResponse",
3019 "properties": {
3020 "etag": {
3021 "description": "Etag of this resource.",
3022 "type": "string"
3023 },
3024 "eventId": {
3025 "description": "Serialized EventId of the request which prod uced this response.",
3026 "type": "string"
3027 },
3028 "items": {
3029 "description": "A list of channels that match the request cr iteria.",
3030 "items": {
3031 "$ref": "Channel"
3032 },
3033 "type": "array"
3034 },
3035 "kind": {
3036 "default": "youtube#channelListResponse",
3037 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#channelListResponse\".",
3038 "type": "string"
3039 },
3040 "nextPageToken": {
3041 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
3042 "type": "string"
3043 },
3044 "pageInfo": {
3045 "$ref": "PageInfo"
3046 },
3047 "prevPageToken": {
3048 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
3049 "type": "string"
3050 },
3051 "tokenPagination": {
3052 "$ref": "TokenPagination"
3053 },
3054 "visitorId": {
3055 "description": "The visitorId identifies the visitor.",
3056 "type": "string"
3057 }
3058 },
3059 "type": "object"
3060 },
3061 "ChannelSection": {
3062 "description": "TODO(lxz) follow up with adiamondstein@ to fullfill the doc before deploying",
3063 "id": "ChannelSection",
3064 "properties": {
3065 "contentDetails": {
3066 "$ref": "ChannelSectionContentDetails",
3067 "description": "The contentDetails object contains details a bout the ChannelSection content, such as playlists and channels."
3068 },
3069 "etag": {
3070 "description": "Etag of this resource.",
3071 "type": "string"
3072 },
3073 "id": {
3074 "description": "The ID that YouTube uses to uniquely identif y the ChannelSection.",
3075 "type": "string"
3076 },
3077 "kind": {
3078 "default": "youtube#channelSection",
3079 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#channelSection\".",
3080 "type": "string"
3081 },
3082 "snippet": {
3083 "$ref": "ChannelSectionSnippet",
3084 "description": "The snippet object contains basic details ab out the ChannelSection, such as its type, style and title."
3085 }
3086 },
3087 "type": "object"
3088 },
3089 "ChannelSectionContentDetails": {
3090 "description": "Details about a channelsection, including playlists and channels.",
3091 "id": "ChannelSectionContentDetails",
3092 "properties": {
3093 "channels": {
3094 "description": "The channel ids for type multiple_channels." ,
3095 "items": {
3096 "type": "string"
3097 },
3098 "type": "array"
3099 },
3100 "playlists": {
3101 "description": "The playlist ids for type single_playlist an d multiple_playlists. For singlePlaylist, only one playlistId is allowed.",
3102 "items": {
3103 "type": "string"
3104 },
3105 "type": "array"
3106 }
3107 },
3108 "type": "object"
3109 },
3110 "ChannelSectionListResponse": {
3111 "id": "ChannelSectionListResponse",
3112 "properties": {
3113 "etag": {
3114 "description": "Etag of this resource.",
3115 "type": "string"
3116 },
3117 "eventId": {
3118 "description": "Serialized EventId of the request which prod uced this response.",
3119 "type": "string"
3120 },
3121 "items": {
3122 "description": "A list of ChannelSections that match the req uest criteria.",
3123 "items": {
3124 "$ref": "ChannelSection"
3125 },
3126 "type": "array"
3127 },
3128 "kind": {
3129 "default": "youtube#channelSectionListResponse",
3130 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#channelSectionListResponse\".",
3131 "type": "string"
3132 },
3133 "visitorId": {
3134 "description": "The visitorId identifies the visitor.",
3135 "type": "string"
3136 }
3137 },
3138 "type": "object"
3139 },
3140 "ChannelSectionSnippet": {
3141 "description": "Basic details about a channelsection, including titl e, style and position.",
3142 "id": "ChannelSectionSnippet",
3143 "properties": {
3144 "channelId": {
3145 "description": "The ID that YouTube uses to uniquely identif y the channel that published the channelSection.",
3146 "type": "string"
3147 },
3148 "position": {
3149 "description": "The position of the channelSection in the ch annel.",
3150 "format": "uint32",
3151 "type": "integer"
3152 },
3153 "style": {
3154 "description": "The style of the channelSection.",
3155 "enum": [
3156 "channelsectionStyleUndefined",
3157 "horizontalRow",
3158 "verticalList"
3159 ],
3160 "enumDescriptions": [
3161 "",
3162 "",
3163 ""
3164 ],
3165 "type": "string"
3166 },
3167 "title": {
3168 "description": "The channelSection's title for multiple_play lists and multiple_channels.",
3169 "type": "string"
3170 },
3171 "type": {
3172 "description": "The type of the channelSection.",
3173 "enum": [
3174 "allPlaylists",
3175 "channelsectionTypeUndefined",
3176 "completedEvents",
3177 "likedPlaylists",
3178 "likes",
3179 "liveEvents",
3180 "multipleChannels",
3181 "multiplePlaylists",
3182 "popularUploads",
3183 "postedPlaylists",
3184 "postedVideos",
3185 "recentActivity",
3186 "recentPosts",
3187 "recentUploads",
3188 "singlePlaylist",
3189 "subscriptions",
3190 "upcomingEvents"
3191 ],
3192 "enumDescriptions": [
3193 "",
3194 "",
3195 "",
3196 "",
3197 "",
3198 "",
3199 "",
3200 "",
3201 "",
3202 "",
3203 "",
3204 "",
3205 "",
3206 "",
3207 "",
3208 "",
3209 ""
3210 ],
3211 "type": "string"
3212 }
3213 },
3214 "type": "object"
3215 },
3216 "ChannelSettings": {
3217 "description": "Branding properties for the channel view.",
3218 "id": "ChannelSettings",
3219 "properties": {
3220 "defaultTab": {
3221 "description": "Which content tab users should see when view ing the channel.",
3222 "type": "string"
3223 },
3224 "description": {
3225 "description": "Specifies the channel description.",
3226 "type": "string"
3227 },
3228 "featuredChannelsTitle": {
3229 "description": "Title for the featured channels tab.",
3230 "type": "string"
3231 },
3232 "featuredChannelsUrls": {
3233 "description": "The list of featured channels.",
3234 "items": {
3235 "type": "string"
3236 },
3237 "type": "array"
3238 },
3239 "keywords": {
3240 "description": "Lists keywords associated with the channel, comma-separated.",
3241 "type": "string"
3242 },
3243 "moderateComments": {
3244 "description": "Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.",
3245 "type": "boolean"
3246 },
3247 "profileColor": {
3248 "description": "A prominent color that can be rendered on th is channel page.",
3249 "type": "string"
3250 },
3251 "showBrowseView": {
3252 "description": "Whether the tab to browse the videos should be displayed.",
3253 "type": "boolean"
3254 },
3255 "showRelatedChannels": {
3256 "description": "Whether related channels should be proposed. ",
3257 "type": "boolean"
3258 },
3259 "title": {
3260 "description": "Specifies the channel title.",
3261 "type": "string"
3262 },
3263 "trackingAnalyticsAccountId": {
3264 "description": "The ID for a Google Analytics account to tra ck and measure traffic to the channels.",
3265 "type": "string"
3266 },
3267 "unsubscribedTrailer": {
3268 "description": "The trailer of the channel, for users that a re not subscribers.",
3269 "type": "string"
3270 }
3271 },
3272 "type": "object"
3273 },
3274 "ChannelSnippet": {
3275 "description": "Basic details about a channel, including title, desc ription and thumbnails.",
3276 "id": "ChannelSnippet",
3277 "properties": {
3278 "description": {
3279 "description": "The description of the channel.",
3280 "type": "string"
3281 },
3282 "publishedAt": {
3283 "description": "The date and time that the channel was creat ed. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
3284 "format": "date-time",
3285 "type": "string"
3286 },
3287 "thumbnails": {
3288 "$ref": "ThumbnailDetails",
3289 "description": "A map of thumbnail images associated with th e channel. For each object in the map, the key is the name of the thumbnail imag e, and the value is an object that contains other information about the thumbnai l."
3290 },
3291 "title": {
3292 "description": "The channel's title.",
3293 "type": "string"
3294 }
3295 },
3296 "type": "object"
3297 },
3298 "ChannelStatistics": {
3299 "description": "Statistics about a channel: number of subscribers, n umber of videos in the channel, etc.",
3300 "id": "ChannelStatistics",
3301 "properties": {
3302 "commentCount": {
3303 "description": "The number of comments for the channel.",
3304 "format": "uint64",
3305 "type": "string"
3306 },
3307 "hiddenSubscriberCount": {
3308 "description": "Whether or not the number of subscribers is shown for this user.",
3309 "type": "boolean"
3310 },
3311 "subscriberCount": {
3312 "description": "The number of subscribers that the channel h as.",
3313 "format": "uint64",
3314 "type": "string"
3315 },
3316 "videoCount": {
3317 "description": "The number of videos uploaded to the channel .",
3318 "format": "uint64",
3319 "type": "string"
3320 },
3321 "viewCount": {
3322 "description": "The number of times the channel has been vie wed.",
3323 "format": "uint64",
3324 "type": "string"
3325 }
3326 },
3327 "type": "object"
3328 },
3329 "ChannelStatus": {
3330 "description": "JSON template for the status part of a channel.",
3331 "id": "ChannelStatus",
3332 "properties": {
3333 "isLinked": {
3334 "description": "If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTu be identity.",
3335 "type": "boolean"
3336 },
3337 "privacyStatus": {
3338 "description": "Privacy status of the channel.",
3339 "enum": [
3340 "private",
3341 "public",
3342 "unlisted"
3343 ],
3344 "enumDescriptions": [
3345 "",
3346 "",
3347 ""
3348 ],
3349 "type": "string"
3350 }
3351 },
3352 "type": "object"
3353 },
3354 "ChannelTopicDetails": {
3355 "description": "Freebase topic information related to the channel.",
3356 "id": "ChannelTopicDetails",
3357 "properties": {
3358 "topicIds": {
3359 "description": "A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase T opic API.",
3360 "items": {
3361 "type": "string"
3362 },
3363 "type": "array"
3364 }
3365 },
3366 "type": "object"
3367 },
3368 "ContentRating": {
3369 "description": "Ratings schemes. The country-specific ratings are mo stly for movies and shows.",
3370 "id": "ContentRating",
3371 "properties": {
3372 "acbRating": {
3373 "description": "Rating system in Australia - Australian Clas sification Board",
3374 "enum": [
3375 "acbC",
3376 "acbE",
3377 "acbG",
3378 "acbM",
3379 "acbMa15plus",
3380 "acbP",
3381 "acbPg",
3382 "acbR18plus",
3383 "acbUnrated"
3384 ],
3385 "enumDescriptions": [
3386 "",
3387 "",
3388 "",
3389 "",
3390 "",
3391 "",
3392 "",
3393 "",
3394 ""
3395 ],
3396 "type": "string"
3397 },
3398 "agcomRating": {
3399 "description": "Rating system for Italy - Autorit� per le Ga ranzie nelle Comunicazioni",
3400 "enum": [
3401 "agcomT",
3402 "agcomUnrated",
3403 "agcomVm14",
3404 "agcomVm18"
3405 ],
3406 "enumDescriptions": [
3407 "",
3408 "",
3409 "",
3410 ""
3411 ],
3412 "type": "string"
3413 },
3414 "anatelRating": {
3415 "description": "Rating system for Chile - Asociaci�n Naciona l de Televisi�n",
3416 "enum": [
3417 "anatelA",
3418 "anatelF",
3419 "anatelI",
3420 "anatelI10",
3421 "anatelI12",
3422 "anatelI7",
3423 "anatelR",
3424 "anatelUnrated"
3425 ],
3426 "enumDescriptions": [
3427 "",
3428 "",
3429 "",
3430 "",
3431 "",
3432 "",
3433 "",
3434 ""
3435 ],
3436 "type": "string"
3437 },
3438 "bbfcRating": {
3439 "description": "British Board of Film Classification",
3440 "enum": [
3441 "bbfc12",
3442 "bbfc12a",
3443 "bbfc15",
3444 "bbfc18",
3445 "bbfcPg",
3446 "bbfcR18",
3447 "bbfcU",
3448 "bbfcUnrated"
3449 ],
3450 "enumDescriptions": [
3451 "",
3452 "",
3453 "",
3454 "",
3455 "",
3456 "",
3457 "",
3458 ""
3459 ],
3460 "type": "string"
3461 },
3462 "bfvcRating": {
3463 "description": "Rating system for Thailand - Board of Filman d Video Censors",
3464 "enum": [
3465 "bfvc13",
3466 "bfvc15",
3467 "bfvc18",
3468 "bfvc20",
3469 "bfvcB",
3470 "bfvcE",
3471 "bfvcG",
3472 "bfvcUnrated"
3473 ],
3474 "enumDescriptions": [
3475 "",
3476 "",
3477 "",
3478 "",
3479 "",
3480 "",
3481 "",
3482 ""
3483 ],
3484 "type": "string"
3485 },
3486 "bmukkRating": {
3487 "description": "Rating system for Austria - Bundesministeriu ms f�r Unterricht, Kunst und Kultur!",
3488 "enum": [
3489 "bmukk10",
3490 "bmukk12",
3491 "bmukk14",
3492 "bmukk16",
3493 "bmukk6",
3494 "bmukk8",
3495 "bmukkAa",
3496 "bmukkUnrated"
3497 ],
3498 "enumDescriptions": [
3499 "",
3500 "",
3501 "",
3502 "",
3503 "",
3504 "",
3505 "",
3506 ""
3507 ],
3508 "type": "string"
3509 },
3510 "catvRating": {
3511 "description": "Rating system for Canadian TV - Canadian TV Classification System",
3512 "enum": [
3513 "catv14plus",
3514 "catv18plus",
3515 "catvC",
3516 "catvC8",
3517 "catvG",
3518 "catvPg",
3519 "catvUnrated"
3520 ],
3521 "enumDescriptions": [
3522 "",
3523 "",
3524 "",
3525 "",
3526 "",
3527 "",
3528 ""
3529 ],
3530 "type": "string"
3531 },
3532 "catvfrRating": {
3533 "description": "Rating system for French Canadian TV - Regie du cinema",
3534 "enum": [
3535 "catvfr13plus",
3536 "catvfr16plus",
3537 "catvfr18plus",
3538 "catvfr8plus",
3539 "catvfrG",
3540 "catvfrUnrated"
3541 ],
3542 "enumDescriptions": [
3543 "",
3544 "",
3545 "",
3546 "",
3547 "",
3548 ""
3549 ],
3550 "type": "string"
3551 },
3552 "cbfcRating": {
3553 "description": "Rating system in India - Central Board of Fi lm Certification",
3554 "enum": [
3555 "cbfcA",
3556 "cbfcS",
3557 "cbfcU",
3558 "cbfcUA",
3559 "cbfcUnrated"
3560 ],
3561 "enumDescriptions": [
3562 "",
3563 "",
3564 "",
3565 "",
3566 ""
3567 ],
3568 "type": "string"
3569 },
3570 "cccRating": {
3571 "description": "Rating system for Chile - Consejo de Calific aci�n Cinematogr�fica",
3572 "enum": [
3573 "ccc14",
3574 "ccc18",
3575 "ccc18s",
3576 "ccc18v",
3577 "ccc6",
3578 "cccTe",
3579 "cccUnrated"
3580 ],
3581 "enumDescriptions": [
3582 "",
3583 "",
3584 "",
3585 "",
3586 "",
3587 "",
3588 ""
3589 ],
3590 "type": "string"
3591 },
3592 "cceRating": {
3593 "description": "Rating system for Portugal - Comiss�o de Cla ssifica��o de Espect�culos",
3594 "enum": [
3595 "cceM12",
3596 "cceM16",
3597 "cceM18",
3598 "cceM4",
3599 "cceM6",
3600 "cceUnrated"
3601 ],
3602 "enumDescriptions": [
3603 "",
3604 "",
3605 "",
3606 "",
3607 "",
3608 ""
3609 ],
3610 "type": "string"
3611 },
3612 "chfilmRating": {
3613 "description": "Rating system for Switzerland - Switzerland Rating System",
3614 "enum": [
3615 "chfilm0",
3616 "chfilm12",
3617 "chfilm16",
3618 "chfilm18",
3619 "chfilm6",
3620 "chfilmUnrated"
3621 ],
3622 "enumDescriptions": [
3623 "",
3624 "",
3625 "",
3626 "",
3627 "",
3628 ""
3629 ],
3630 "type": "string"
3631 },
3632 "chvrsRating": {
3633 "description": "Canadian Home Video Rating System",
3634 "enum": [
3635 "chvrs14a",
3636 "chvrs18a",
3637 "chvrsE",
3638 "chvrsG",
3639 "chvrsPg",
3640 "chvrsR",
3641 "chvrsUnrated"
3642 ],
3643 "enumDescriptions": [
3644 "",
3645 "",
3646 "",
3647 "",
3648 "",
3649 "",
3650 ""
3651 ],
3652 "type": "string"
3653 },
3654 "cicfRating": {
3655 "description": "Rating system for Belgium - Belgium Rating S ystem",
3656 "enum": [
3657 "cicfE",
3658 "cicfKntEna",
3659 "cicfKtEa",
3660 "cicfUnrated"
3661 ],
3662 "enumDescriptions": [
3663 "",
3664 "",
3665 "",
3666 ""
3667 ],
3668 "type": "string"
3669 },
3670 "cnaRating": {
3671 "description": "Rating system for Romania - CONSILIUL NATION AL AL AUDIOVIZUALULUI - CNA",
3672 "enum": [
3673 "cna12",
3674 "cna15",
3675 "cna18",
3676 "cna18plus",
3677 "cnaAp",
3678 "cnaUnrated"
3679 ],
3680 "enumDescriptions": [
3681 "",
3682 "",
3683 "",
3684 "",
3685 "",
3686 ""
3687 ],
3688 "type": "string"
3689 },
3690 "csaRating": {
3691 "description": "Rating system for France - Conseil sup�rieur de l?audiovisuel",
3692 "enum": [
3693 "csa10",
3694 "csa12",
3695 "csa16",
3696 "csa18",
3697 "csaInterdiction",
3698 "csaUnrated"
3699 ],
3700 "enumDescriptions": [
3701 "",
3702 "",
3703 "",
3704 "",
3705 "",
3706 ""
3707 ],
3708 "type": "string"
3709 },
3710 "cscfRating": {
3711 "description": "Rating system for Luxembourg - Commission de surveillance de la classification des films",
3712 "enum": [
3713 "cscf12",
3714 "cscf16",
3715 "cscf18",
3716 "cscf6",
3717 "cscfA",
3718 "cscfUnrated"
3719 ],
3720 "enumDescriptions": [
3721 "",
3722 "",
3723 "",
3724 "",
3725 "",
3726 ""
3727 ],
3728 "type": "string"
3729 },
3730 "czfilmRating": {
3731 "description": "Rating system for Czech republic - Czech rep ublic Rating System",
3732 "enum": [
3733 "czfilm12",
3734 "czfilm14",
3735 "czfilm18",
3736 "czfilmU",
3737 "czfilmUnrated"
3738 ],
3739 "enumDescriptions": [
3740 "",
3741 "",
3742 "",
3743 "",
3744 ""
3745 ],
3746 "type": "string"
3747 },
3748 "djctqRating": {
3749 "description": "Rating system in Brazil - Department of Just ice, Rating, Titles and Qualification",
3750 "enum": [
3751 "djctq10",
3752 "djctq12",
3753 "djctq14",
3754 "djctq16",
3755 "djctq18",
3756 "djctqL",
3757 "djctqUnrated"
3758 ],
3759 "enumDescriptions": [
3760 "",
3761 "",
3762 "",
3763 "",
3764 "",
3765 "",
3766 ""
3767 ],
3768 "type": "string"
3769 },
3770 "eefilmRating": {
3771 "description": "Rating system for Estonia - Estonia Rating S ystem",
3772 "enum": [
3773 "eefilmK12",
3774 "eefilmK14",
3775 "eefilmK16",
3776 "eefilmK6",
3777 "eefilmL",
3778 "eefilmMs12",
3779 "eefilmMs6",
3780 "eefilmPere",
3781 "eefilmUnrated"
3782 ],
3783 "enumDescriptions": [
3784 "",
3785 "",
3786 "",
3787 "",
3788 "",
3789 "",
3790 "",
3791 "",
3792 ""
3793 ],
3794 "type": "string"
3795 },
3796 "egfilmRating": {
3797 "description": "Rating system for Egypt - Egypt Rating Syste m",
3798 "enum": [
3799 "egfilm18",
3800 "egfilmBn",
3801 "egfilmGn",
3802 "egfilmUnrated"
3803 ],
3804 "enumDescriptions": [
3805 "",
3806 "",
3807 "",
3808 ""
3809 ],
3810 "type": "string"
3811 },
3812 "eirinRating": {
3813 "description": "Rating system in Japan - Eiga Rinri Kanri Ii nkai",
3814 "enum": [
3815 "eirinG",
3816 "eirinPg12",
3817 "eirinR15plus",
3818 "eirinR18plus",
3819 "eirinUnrated"
3820 ],
3821 "enumDescriptions": [
3822 "",
3823 "",
3824 "",
3825 "",
3826 ""
3827 ],
3828 "type": "string"
3829 },
3830 "fcbmRating": {
3831 "description": "Rating system for Malaysia - Film Censorship Board of Malaysia",
3832 "enum": [
3833 "fcbm18",
3834 "fcbm18pa",
3835 "fcbm18pl",
3836 "fcbm18sg",
3837 "fcbm18sx",
3838 "fcbmP13",
3839 "fcbmU",
3840 "fcbmUnrated"
3841 ],
3842 "enumDescriptions": [
3843 "",
3844 "",
3845 "",
3846 "",
3847 "",
3848 "",
3849 "",
3850 ""
3851 ],
3852 "type": "string"
3853 },
3854 "fcoRating": {
3855 "description": "Rating system for Hong kong - Office for Fil m, Newspaper and Article Administration",
3856 "enum": [
3857 "fcoI",
3858 "fcoIia",
3859 "fcoIib",
3860 "fcoIii",
3861 "fcoUnrated"
3862 ],
3863 "enumDescriptions": [
3864 "",
3865 "",
3866 "",
3867 "",
3868 ""
3869 ],
3870 "type": "string"
3871 },
3872 "fmocRating": {
3873 "description": "Rating system in France - French Minister of Culture",
3874 "enum": [
3875 "fmoc10",
3876 "fmoc12",
3877 "fmoc16",
3878 "fmoc18",
3879 "fmocE",
3880 "fmocU",
3881 "fmocUnrated"
3882 ],
3883 "enumDescriptions": [
3884 "",
3885 "",
3886 "",
3887 "",
3888 "",
3889 "",
3890 ""
3891 ],
3892 "type": "string"
3893 },
3894 "fpbRating": {
3895 "description": "Rating system for South africa - Film & Publ ication Board",
3896 "enum": [
3897 "fpb1012Pg",
3898 "fpb13",
3899 "fpb16",
3900 "fpb18",
3901 "fpb79Pg",
3902 "fpbA",
3903 "fpbPg",
3904 "fpbUnrated",
3905 "fpbX18",
3906 "fpbXx"
3907 ],
3908 "enumDescriptions": [
3909 "",
3910 "",
3911 "",
3912 "",
3913 "",
3914 "",
3915 "",
3916 "",
3917 "",
3918 ""
3919 ],
3920 "type": "string"
3921 },
3922 "fskRating": {
3923 "description": "Rating system in Germany - Voluntary Self Re gulation of the Movie Industry",
3924 "enum": [
3925 "fsk0",
3926 "fsk12",
3927 "fsk16",
3928 "fsk18",
3929 "fsk6",
3930 "fskUnrated"
3931 ],
3932 "enumDescriptions": [
3933 "",
3934 "",
3935 "",
3936 "",
3937 "",
3938 ""
3939 ],
3940 "type": "string"
3941 },
3942 "grfilmRating": {
3943 "description": "Rating system for Greece - Greece Rating Sys tem",
3944 "enum": [
3945 "grfilmE",
3946 "grfilmK",
3947 "grfilmK13",
3948 "grfilmK17",
3949 "grfilmUnrated"
3950 ],
3951 "enumDescriptions": [
3952 "",
3953 "",
3954 "",
3955 "",
3956 ""
3957 ],
3958 "type": "string"
3959 },
3960 "icaaRating": {
3961 "description": "Rating system in Spain - Instituto de Cinema tografia y de las Artes Audiovisuales",
3962 "enum": [
3963 "icaa12",
3964 "icaa13",
3965 "icaa16",
3966 "icaa18",
3967 "icaa7",
3968 "icaaApta",
3969 "icaaUnrated",
3970 "icaaX"
3971 ],
3972 "enumDescriptions": [
3973 "",
3974 "",
3975 "",
3976 "",
3977 "",
3978 "",
3979 "",
3980 ""
3981 ],
3982 "type": "string"
3983 },
3984 "ifcoRating": {
3985 "description": "Rating system in Ireland - Irish Film Classi fication Office",
3986 "enum": [
3987 "ifco12",
3988 "ifco15",
3989 "ifco18",
3990 "ifcoG",
3991 "ifcoPg",
3992 "ifcoUnrated"
3993 ],
3994 "enumDescriptions": [
3995 "",
3996 "",
3997 "",
3998 "",
3999 "",
4000 ""
4001 ],
4002 "type": "string"
4003 },
4004 "ilfilmRating": {
4005 "description": "Rating system for Israel - Israel Rating Sys tem",
4006 "enum": [
4007 "ilfilm12",
4008 "ilfilm16",
4009 "ilfilm18",
4010 "ilfilmAa",
4011 "ilfilmUnrated"
4012 ],
4013 "enumDescriptions": [
4014 "",
4015 "",
4016 "",
4017 "",
4018 ""
4019 ],
4020 "type": "string"
4021 },
4022 "incaaRating": {
4023 "description": "Rating system for Argentina - Instituto Naci onal de Cine y Artes Audiovisuales",
4024 "enum": [
4025 "incaaAtp",
4026 "incaaC",
4027 "incaaSam13",
4028 "incaaSam16",
4029 "incaaSam18",
4030 "incaaUnrated"
4031 ],
4032 "enumDescriptions": [
4033 "",
4034 "",
4035 "",
4036 "",
4037 "",
4038 ""
4039 ],
4040 "type": "string"
4041 },
4042 "kfcbRating": {
4043 "description": "Rating system for Kenya - Kenya Film Classif ication Board",
4044 "enum": [
4045 "kfcb16plus",
4046 "kfcbG",
4047 "kfcbPg",
4048 "kfcbR",
4049 "kfcbUnrated"
4050 ],
4051 "enumDescriptions": [
4052 "",
4053 "",
4054 "",
4055 "",
4056 ""
4057 ],
4058 "type": "string"
4059 },
4060 "kijkwijzerRating": {
4061 "description": "Rating system for Netherlands - Nederlands I nstituut voor de Classificatie van Audiovisuele Media",
4062 "enum": [
4063 "kijkwijzer12",
4064 "kijkwijzer16",
4065 "kijkwijzer6",
4066 "kijkwijzer9",
4067 "kijkwijzerAl",
4068 "kijkwijzerUnrated"
4069 ],
4070 "enumDescriptions": [
4071 "",
4072 "",
4073 "",
4074 "",
4075 "",
4076 ""
4077 ],
4078 "type": "string"
4079 },
4080 "kmrbRating": {
4081 "description": "Rating system in South Korea - Korea Media R ating Board",
4082 "enum": [
4083 "kmrb12plus",
4084 "kmrb15plus",
4085 "kmrbAll",
4086 "kmrbR",
4087 "kmrbTeenr",
4088 "kmrbUnrated"
4089 ],
4090 "enumDescriptions": [
4091 "",
4092 "",
4093 "",
4094 "",
4095 "",
4096 ""
4097 ],
4098 "type": "string"
4099 },
4100 "lsfRating": {
4101 "description": "Rating system for Indonesia - Lembaga Sensor Film",
4102 "enum": [
4103 "lsfA",
4104 "lsfBo",
4105 "lsfD",
4106 "lsfR",
4107 "lsfSu",
4108 "lsfUnrated"
4109 ],
4110 "enumDescriptions": [
4111 "",
4112 "",
4113 "",
4114 "",
4115 "",
4116 ""
4117 ],
4118 "type": "string"
4119 },
4120 "mccaaRating": {
4121 "description": "Rating system for Malta - Film Age-Classific ation Board",
4122 "enum": [
4123 "mccaa12",
4124 "mccaa12a",
4125 "mccaa14",
4126 "mccaa15",
4127 "mccaa16",
4128 "mccaa18",
4129 "mccaaPg",
4130 "mccaaU",
4131 "mccaaUnrated"
4132 ],
4133 "enumDescriptions": [
4134 "",
4135 "",
4136 "",
4137 "",
4138 "",
4139 "",
4140 "",
4141 "",
4142 ""
4143 ],
4144 "type": "string"
4145 },
4146 "mccypRating": {
4147 "description": "Rating system for Denmark - The Media Counci l for Children and Young People",
4148 "enum": [
4149 "mccyp11",
4150 "mccyp15",
4151 "mccyp7",
4152 "mccypA",
4153 "mccypUnrated"
4154 ],
4155 "enumDescriptions": [
4156 "",
4157 "",
4158 "",
4159 "",
4160 ""
4161 ],
4162 "type": "string"
4163 },
4164 "mdaRating": {
4165 "description": "Rating system for Singapore - Media Developm ent Authority",
4166 "enum": [
4167 "mdaG",
4168 "mdaM18",
4169 "mdaNc16",
4170 "mdaPg",
4171 "mdaPg13",
4172 "mdaR21",
4173 "mdaUnrated"
4174 ],
4175 "enumDescriptions": [
4176 "",
4177 "",
4178 "",
4179 "",
4180 "",
4181 "",
4182 ""
4183 ],
4184 "type": "string"
4185 },
4186 "medietilsynetRating": {
4187 "description": "Rating system for Norway - Medietilsynet",
4188 "enum": [
4189 "medietilsynet11",
4190 "medietilsynet15",
4191 "medietilsynet18",
4192 "medietilsynet7",
4193 "medietilsynetA",
4194 "medietilsynetUnrated"
4195 ],
4196 "enumDescriptions": [
4197 "",
4198 "",
4199 "",
4200 "",
4201 "",
4202 ""
4203 ],
4204 "type": "string"
4205 },
4206 "mekuRating": {
4207 "description": "Rating system for Finland - Finnish Centre f or Media Education and Audiovisual Media",
4208 "enum": [
4209 "meku12",
4210 "meku16",
4211 "meku18",
4212 "meku7",
4213 "mekuS",
4214 "mekuUnrated"
4215 ],
4216 "enumDescriptions": [
4217 "",
4218 "",
4219 "",
4220 "",
4221 "",
4222 ""
4223 ],
4224 "type": "string"
4225 },
4226 "mibacRating": {
4227 "description": "Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo",
4228 "enum": [
4229 "mibacT",
4230 "mibacUnrated",
4231 "mibacVap",
4232 "mibacVm12",
4233 "mibacVm14",
4234 "mibacVm18"
4235 ],
4236 "enumDescriptions": [
4237 "",
4238 "",
4239 "",
4240 "",
4241 "",
4242 ""
4243 ],
4244 "type": "string"
4245 },
4246 "mocRating": {
4247 "description": "Rating system for Colombia - MoC",
4248 "enum": [
4249 "moc12",
4250 "moc15",
4251 "moc18",
4252 "moc7",
4253 "mocBanned",
4254 "mocE",
4255 "mocT",
4256 "mocUnrated",
4257 "mocX"
4258 ],
4259 "enumDescriptions": [
4260 "",
4261 "",
4262 "",
4263 "",
4264 "",
4265 "",
4266 "",
4267 "",
4268 ""
4269 ],
4270 "type": "string"
4271 },
4272 "moctwRating": {
4273 "description": "Rating system for Taiwan - Ministry of Cultu re - Tawan",
4274 "enum": [
4275 "moctwG",
4276 "moctwP",
4277 "moctwPg",
4278 "moctwR",
4279 "moctwUnrated"
4280 ],
4281 "enumDescriptions": [
4282 "",
4283 "",
4284 "",
4285 "",
4286 ""
4287 ],
4288 "type": "string"
4289 },
4290 "mpaaRating": {
4291 "description": "Motion Picture Association of America rating for the content.",
4292 "enum": [
4293 "mpaaG",
4294 "mpaaNc17",
4295 "mpaaPg",
4296 "mpaaPg13",
4297 "mpaaR",
4298 "mpaaUnrated"
4299 ],
4300 "enumDescriptions": [
4301 "",
4302 "",
4303 "",
4304 "",
4305 "",
4306 ""
4307 ],
4308 "type": "string"
4309 },
4310 "mtrcbRating": {
4311 "description": "Rating system for Philippines - MOVIE AND TE LEVISION REVIEW AND CLASSIFICATION BOARD",
4312 "enum": [
4313 "mtrcbG",
4314 "mtrcbPg",
4315 "mtrcbR13",
4316 "mtrcbR16",
4317 "mtrcbR18",
4318 "mtrcbUnrated",
4319 "mtrcbX"
4320 ],
4321 "enumDescriptions": [
4322 "",
4323 "",
4324 "",
4325 "",
4326 "",
4327 "",
4328 ""
4329 ],
4330 "type": "string"
4331 },
4332 "nbcRating": {
4333 "description": "Rating system for Maldives - National Bureau of Classification",
4334 "enum": [
4335 "nbc12plus",
4336 "nbc15plus",
4337 "nbc18plus",
4338 "nbc18plusr",
4339 "nbcG",
4340 "nbcPg",
4341 "nbcPu",
4342 "nbcUnrated"
4343 ],
4344 "enumDescriptions": [
4345 "",
4346 "",
4347 "",
4348 "",
4349 "",
4350 "",
4351 "",
4352 ""
4353 ],
4354 "type": "string"
4355 },
4356 "nbcplRating": {
4357 "description": "Rating system for Poland - National Broadcas ting Council",
4358 "enum": [
4359 "nbcpl18plus",
4360 "nbcplI",
4361 "nbcplIi",
4362 "nbcplIii",
4363 "nbcplIv",
4364 "nbcplUnrated"
4365 ],
4366 "enumDescriptions": [
4367 "",
4368 "",
4369 "",
4370 "",
4371 "",
4372 ""
4373 ],
4374 "type": "string"
4375 },
4376 "nfrcRating": {
4377 "description": "Rating system for Bulgaria - National Film C entre",
4378 "enum": [
4379 "nfrcA",
4380 "nfrcB",
4381 "nfrcC",
4382 "nfrcD",
4383 "nfrcUnrated",
4384 "nfrcX"
4385 ],
4386 "enumDescriptions": [
4387 "",
4388 "",
4389 "",
4390 "",
4391 "",
4392 ""
4393 ],
4394 "type": "string"
4395 },
4396 "nfvcbRating": {
4397 "description": "Rating system for Nigeria - National Film an d Video Censors Board",
4398 "enum": [
4399 "nfvcb12",
4400 "nfvcb12a",
4401 "nfvcb15",
4402 "nfvcb18",
4403 "nfvcbG",
4404 "nfvcbPg",
4405 "nfvcbRe",
4406 "nfvcbUnrated"
4407 ],
4408 "enumDescriptions": [
4409 "",
4410 "",
4411 "",
4412 "",
4413 "",
4414 "",
4415 "",
4416 ""
4417 ],
4418 "type": "string"
4419 },
4420 "nkclvRating": {
4421 "description": "Rating system for Latvia - National Film Cen ter of Latvia",
4422 "enum": [
4423 "nkclv12plus",
4424 "nkclv18plus",
4425 "nkclv7plus",
4426 "nkclvU",
4427 "nkclvUnrated"
4428 ],
4429 "enumDescriptions": [
4430 "",
4431 "",
4432 "",
4433 "",
4434 ""
4435 ],
4436 "type": "string"
4437 },
4438 "oflcRating": {
4439 "description": "Rating system in New Zealand - Office of Fil m and Literature Classification",
4440 "enum": [
4441 "oflcG",
4442 "oflcM",
4443 "oflcPg",
4444 "oflcR13",
4445 "oflcR15",
4446 "oflcR16",
4447 "oflcR18",
4448 "oflcUnrated"
4449 ],
4450 "enumDescriptions": [
4451 "",
4452 "",
4453 "",
4454 "",
4455 "",
4456 "",
4457 "",
4458 ""
4459 ],
4460 "type": "string"
4461 },
4462 "pefilmRating": {
4463 "description": "Rating system for Peru - Peru Rating System" ,
4464 "enum": [
4465 "pefilm14",
4466 "pefilm18",
4467 "pefilmPg",
4468 "pefilmPt",
4469 "pefilmUnrated"
4470 ],
4471 "enumDescriptions": [
4472 "",
4473 "",
4474 "",
4475 "",
4476 ""
4477 ],
4478 "type": "string"
4479 },
4480 "rcnofRating": {
4481 "description": "Rating system for Hungary - Rating Committee of the National Office of Film",
4482 "enum": [
4483 "rcnofI",
4484 "rcnofIi",
4485 "rcnofIii",
4486 "rcnofIv",
4487 "rcnofUnrated",
4488 "rcnofV",
4489 "rcnofVi"
4490 ],
4491 "enumDescriptions": [
4492 "",
4493 "",
4494 "",
4495 "",
4496 "",
4497 "",
4498 ""
4499 ],
4500 "type": "string"
4501 },
4502 "resorteviolenciaRating": {
4503 "description": "Rating system for Venezuela - SiBCI",
4504 "enum": [
4505 "resorteviolenciaA",
4506 "resorteviolenciaB",
4507 "resorteviolenciaC",
4508 "resorteviolenciaD",
4509 "resorteviolenciaE",
4510 "resorteviolenciaUnrated"
4511 ],
4512 "enumDescriptions": [
4513 "",
4514 "",
4515 "",
4516 "",
4517 "",
4518 ""
4519 ],
4520 "type": "string"
4521 },
4522 "rtcRating": {
4523 "description": "Rating system in Mexico - General Directorat e of Radio, Television and Cinematography",
4524 "enum": [
4525 "rtcA",
4526 "rtcAa",
4527 "rtcB",
4528 "rtcB15",
4529 "rtcC",
4530 "rtcD",
4531 "rtcUnrated"
4532 ],
4533 "enumDescriptions": [
4534 "",
4535 "",
4536 "",
4537 "",
4538 "",
4539 "",
4540 ""
4541 ],
4542 "type": "string"
4543 },
4544 "rteRating": {
4545 "description": "Rating system for Ireland - Raidi� Teilif�s �ireann",
4546 "enum": [
4547 "rteCh",
4548 "rteGa",
4549 "rteMa",
4550 "rtePs",
4551 "rteUnrated"
4552 ],
4553 "enumDescriptions": [
4554 "",
4555 "",
4556 "",
4557 "",
4558 ""
4559 ],
4560 "type": "string"
4561 },
4562 "russiaRating": {
4563 "description": "Rating system in Russia",
4564 "enum": [
4565 "russia0",
4566 "russia12",
4567 "russia16",
4568 "russia18",
4569 "russia6",
4570 "russiaUnrated"
4571 ],
4572 "enumDescriptions": [
4573 "",
4574 "",
4575 "",
4576 "",
4577 "",
4578 ""
4579 ],
4580 "type": "string"
4581 },
4582 "skfilmRating": {
4583 "description": "Rating system for Slovakia - Slovakia Rating System",
4584 "enum": [
4585 "skfilmG",
4586 "skfilmP2",
4587 "skfilmP5",
4588 "skfilmP8",
4589 "skfilmUnrated"
4590 ],
4591 "enumDescriptions": [
4592 "",
4593 "",
4594 "",
4595 "",
4596 ""
4597 ],
4598 "type": "string"
4599 },
4600 "smaisRating": {
4601 "description": "Rating system for Iceland - SMAIS",
4602 "enum": [
4603 "smais12",
4604 "smais14",
4605 "smais16",
4606 "smais18",
4607 "smais7",
4608 "smaisL",
4609 "smaisUnrated"
4610 ],
4611 "enumDescriptions": [
4612 "",
4613 "",
4614 "",
4615 "",
4616 "",
4617 "",
4618 ""
4619 ],
4620 "type": "string"
4621 },
4622 "smsaRating": {
4623 "description": "Rating system for Sweden - Statens medier�d (National Media Council)",
4624 "enum": [
4625 "smsa11",
4626 "smsa15",
4627 "smsa7",
4628 "smsaA",
4629 "smsaUnrated"
4630 ],
4631 "enumDescriptions": [
4632 "",
4633 "",
4634 "",
4635 "",
4636 ""
4637 ],
4638 "type": "string"
4639 },
4640 "tvpgRating": {
4641 "description": "TV Parental Guidelines rating of the content .",
4642 "enum": [
4643 "pg14",
4644 "tvpgG",
4645 "tvpgMa",
4646 "tvpgPg",
4647 "tvpgUnrated",
4648 "tvpgY",
4649 "tvpgY7",
4650 "tvpgY7Fv"
4651 ],
4652 "enumDescriptions": [
4653 "",
4654 "",
4655 "",
4656 "",
4657 "",
4658 "",
4659 "",
4660 ""
4661 ],
4662 "type": "string"
4663 },
4664 "ytRating": {
4665 "description": "Internal YouTube rating.",
4666 "enum": [
4667 "ytAgeRestricted"
4668 ],
4669 "enumDescriptions": [
4670 ""
4671 ],
4672 "type": "string"
4673 }
4674 },
4675 "type": "object"
4676 },
4677 "GeoPoint": {
4678 "description": "Geographical coordinates of a point, in WGS84.",
4679 "id": "GeoPoint",
4680 "properties": {
4681 "altitude": {
4682 "description": "Altitude above the reference ellipsoid, in m eters.",
4683 "format": "double",
4684 "type": "number"
4685 },
4686 "latitude": {
4687 "description": "Latitude in degrees.",
4688 "format": "double",
4689 "type": "number"
4690 },
4691 "longitude": {
4692 "description": "Longitude in degrees.",
4693 "format": "double",
4694 "type": "number"
4695 }
4696 },
4697 "type": "object"
4698 },
4699 "GuideCategory": {
4700 "description": "A guideCategory resource identifies a category that YouTube algorithmically assigns based on a channel's content or other indicators , such as the channel's popularity. The list is similar to video categories, wit h the difference being that a video's uploader can assign a video category but o nly YouTube can assign a channel category.",
4701 "id": "GuideCategory",
4702 "properties": {
4703 "etag": {
4704 "description": "Etag of this resource.",
4705 "type": "string"
4706 },
4707 "id": {
4708 "description": "The ID that YouTube uses to uniquely identif y the guide category.",
4709 "type": "string"
4710 },
4711 "kind": {
4712 "default": "youtube#guideCategory",
4713 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#guideCategory\".",
4714 "type": "string"
4715 },
4716 "snippet": {
4717 "$ref": "GuideCategorySnippet",
4718 "description": "The snippet object contains basic details ab out the category, such as its title."
4719 }
4720 },
4721 "type": "object"
4722 },
4723 "GuideCategoryListResponse": {
4724 "id": "GuideCategoryListResponse",
4725 "properties": {
4726 "etag": {
4727 "description": "Etag of this resource.",
4728 "type": "string"
4729 },
4730 "eventId": {
4731 "description": "Serialized EventId of the request which prod uced this response.",
4732 "type": "string"
4733 },
4734 "items": {
4735 "description": "A list of categories that can be associated with YouTube channels. In this map, the category ID is the map key, and its valu e is the corresponding guideCategory resource.",
4736 "items": {
4737 "$ref": "GuideCategory"
4738 },
4739 "type": "array"
4740 },
4741 "kind": {
4742 "default": "youtube#guideCategoryListResponse",
4743 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#guideCategoryListResponse\".",
4744 "type": "string"
4745 },
4746 "nextPageToken": {
4747 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
4748 "type": "string"
4749 },
4750 "pageInfo": {
4751 "$ref": "PageInfo"
4752 },
4753 "prevPageToken": {
4754 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
4755 "type": "string"
4756 },
4757 "tokenPagination": {
4758 "$ref": "TokenPagination"
4759 },
4760 "visitorId": {
4761 "description": "The visitorId identifies the visitor.",
4762 "type": "string"
4763 }
4764 },
4765 "type": "object"
4766 },
4767 "GuideCategorySnippet": {
4768 "description": "Basic details about a guide category.",
4769 "id": "GuideCategorySnippet",
4770 "properties": {
4771 "channelId": {
4772 "default": "UCBR8-60-B28hp2BmDPdntcQ",
4773 "type": "string"
4774 },
4775 "title": {
4776 "description": "Description of the guide category.",
4777 "type": "string"
4778 }
4779 },
4780 "type": "object"
4781 },
4782 "I18nLanguage": {
4783 "description": "An i18nLanguage resource identifies a UI language cu rrently supported by YouTube.",
4784 "id": "I18nLanguage",
4785 "properties": {
4786 "etag": {
4787 "description": "Etag of this resource.",
4788 "type": "string"
4789 },
4790 "id": {
4791 "description": "The ID that YouTube uses to uniquely identif y the i18n language.",
4792 "type": "string"
4793 },
4794 "kind": {
4795 "default": "youtube#i18nLanguage",
4796 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#i18nLanguage\".",
4797 "type": "string"
4798 },
4799 "snippet": {
4800 "$ref": "I18nLanguageSnippet",
4801 "description": "The snippet object contains basic details ab out the i18n language, such as language code and human-readable name."
4802 }
4803 },
4804 "type": "object"
4805 },
4806 "I18nLanguageListResponse": {
4807 "id": "I18nLanguageListResponse",
4808 "properties": {
4809 "etag": {
4810 "description": "Etag of this resource.",
4811 "type": "string"
4812 },
4813 "eventId": {
4814 "description": "Serialized EventId of the request which prod uced this response.",
4815 "type": "string"
4816 },
4817 "items": {
4818 "description": "A list of supported i18n languages. In this map, the i18n language ID is the map key, and its value is the corresponding i18 nLanguage resource.",
4819 "items": {
4820 "$ref": "I18nLanguage"
4821 },
4822 "type": "array"
4823 },
4824 "kind": {
4825 "default": "youtube#i18nLanguageListResponse",
4826 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#i18nLanguageListResponse\".",
4827 "type": "string"
4828 },
4829 "visitorId": {
4830 "description": "The visitorId identifies the visitor.",
4831 "type": "string"
4832 }
4833 },
4834 "type": "object"
4835 },
4836 "I18nLanguageSnippet": {
4837 "description": "Basic details about an i18n language, such as langua ge code and human-readable name.",
4838 "id": "I18nLanguageSnippet",
4839 "properties": {
4840 "hl": {
4841 "description": "A short BCP-47 code that uniquely identifies a language.",
4842 "type": "string"
4843 },
4844 "name": {
4845 "description": "The human-readable name of the language in t he language itself.",
4846 "type": "string"
4847 }
4848 },
4849 "type": "object"
4850 },
4851 "I18nRegion": {
4852 "description": "A i18nRegion resource identifies a region where YouT ube is available.",
4853 "id": "I18nRegion",
4854 "properties": {
4855 "etag": {
4856 "description": "Etag of this resource.",
4857 "type": "string"
4858 },
4859 "id": {
4860 "description": "The ID that YouTube uses to uniquely identif y the i18n region.",
4861 "type": "string"
4862 },
4863 "kind": {
4864 "default": "youtube#i18nRegion",
4865 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#i18nRegion\".",
4866 "type": "string"
4867 },
4868 "snippet": {
4869 "$ref": "I18nRegionSnippet",
4870 "description": "The snippet object contains basic details ab out the i18n region, such as region code and human-readable name."
4871 }
4872 },
4873 "type": "object"
4874 },
4875 "I18nRegionListResponse": {
4876 "id": "I18nRegionListResponse",
4877 "properties": {
4878 "etag": {
4879 "description": "Etag of this resource.",
4880 "type": "string"
4881 },
4882 "eventId": {
4883 "description": "Serialized EventId of the request which prod uced this response.",
4884 "type": "string"
4885 },
4886 "items": {
4887 "description": "A list of regions where YouTube is available . In this map, the i18n region ID is the map key, and its value is the correspon ding i18nRegion resource.",
4888 "items": {
4889 "$ref": "I18nRegion"
4890 },
4891 "type": "array"
4892 },
4893 "kind": {
4894 "default": "youtube#i18nRegionListResponse",
4895 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#i18nRegionListResponse\".",
4896 "type": "string"
4897 },
4898 "visitorId": {
4899 "description": "The visitorId identifies the visitor.",
4900 "type": "string"
4901 }
4902 },
4903 "type": "object"
4904 },
4905 "I18nRegionSnippet": {
4906 "description": "Basic details about an i18n region, such as region c ode and human-readable name.",
4907 "id": "I18nRegionSnippet",
4908 "properties": {
4909 "gl": {
4910 "description": "The region code as a 2-letter ISO country co de.",
4911 "type": "string"
4912 },
4913 "name": {
4914 "description": "The human-readable name of the region.",
4915 "type": "string"
4916 }
4917 },
4918 "type": "object"
4919 },
4920 "ImageSettings": {
4921 "description": "Branding properties for images associated with the c hannel.",
4922 "id": "ImageSettings",
4923 "properties": {
4924 "backgroundImageUrl": {
4925 "$ref": "LocalizedProperty",
4926 "description": "The URL for the background image shown on th e video watch page. The image should be 1200px by 615px, with a maximum file siz e of 128k."
4927 },
4928 "bannerExternalUrl": {
4929 "description": "This is used only in update requests; if it' s set, we use this URL to generate all of the above banner URLs.",
4930 "type": "string"
4931 },
4932 "bannerImageUrl": {
4933 "description": "Banner image. Desktop size (1060x175).",
4934 "type": "string"
4935 },
4936 "bannerMobileExtraHdImageUrl": {
4937 "description": "Banner image. Mobile size high resolution (1 440x395).",
4938 "type": "string"
4939 },
4940 "bannerMobileHdImageUrl": {
4941 "description": "Banner image. Mobile size high resolution (1 280x360).",
4942 "type": "string"
4943 },
4944 "bannerMobileImageUrl": {
4945 "description": "Banner image. Mobile size (640x175).",
4946 "type": "string"
4947 },
4948 "bannerMobileLowImageUrl": {
4949 "description": "Banner image. Mobile size low resolution (32 0x88).",
4950 "type": "string"
4951 },
4952 "bannerMobileMediumHdImageUrl": {
4953 "description": "Banner image. Mobile size medium/high resolu tion (960x263).",
4954 "type": "string"
4955 },
4956 "bannerTabletExtraHdImageUrl": {
4957 "description": "Banner image. Tablet size extra high resolut ion (2560x424).",
4958 "type": "string"
4959 },
4960 "bannerTabletHdImageUrl": {
4961 "description": "Banner image. Tablet size high resolution (2 276x377).",
4962 "type": "string"
4963 },
4964 "bannerTabletImageUrl": {
4965 "description": "Banner image. Tablet size (1707x283).",
4966 "type": "string"
4967 },
4968 "bannerTabletLowImageUrl": {
4969 "description": "Banner image. Tablet size low resolution (11 38x188).",
4970 "type": "string"
4971 },
4972 "bannerTvHighImageUrl": {
4973 "description": "Banner image. TV size high resolution (1920x 1080).",
4974 "type": "string"
4975 },
4976 "bannerTvImageUrl": {
4977 "description": "Banner image. TV size extra high resolution (2120x1192).",
4978 "type": "string"
4979 },
4980 "bannerTvLowImageUrl": {
4981 "description": "Banner image. TV size low resolution (854x48 0).",
4982 "type": "string"
4983 },
4984 "bannerTvMediumImageUrl": {
4985 "description": "Banner image. TV size medium resolution (128 0x720).",
4986 "type": "string"
4987 },
4988 "largeBrandedBannerImageImapScript": {
4989 "$ref": "LocalizedProperty",
4990 "description": "The image map script for the large banner im age."
4991 },
4992 "largeBrandedBannerImageUrl": {
4993 "$ref": "LocalizedProperty",
4994 "description": "The URL for the 854px by 70px image that app ears below the video player in the expanded video view of the video watch page."
4995 },
4996 "smallBrandedBannerImageImapScript": {
4997 "$ref": "LocalizedProperty",
4998 "description": "The image map script for the small banner im age."
4999 },
5000 "smallBrandedBannerImageUrl": {
5001 "$ref": "LocalizedProperty",
5002 "description": "The URL for the 640px by 70px banner image t hat appears below the video player in the default view of the video watch page."
5003 },
5004 "trackingImageUrl": {
5005 "description": "The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.",
5006 "type": "string"
5007 },
5008 "watchIconImageUrl": {
5009 "description": "The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexi ble width that cannot exceed 170 pixels.",
5010 "type": "string"
5011 }
5012 },
5013 "type": "object"
5014 },
5015 "IngestionInfo": {
5016 "description": "Describes information necessary for ingesting an RTM P or an HTTP stream.",
5017 "id": "IngestionInfo",
5018 "properties": {
5019 "backupIngestionAddress": {
5020 "description": "The backup ingestion URL that you should use to stream video to YouTube. You have the option of simultaneously streaming the content that you are sending to the ingestionAddress to this URL.",
5021 "type": "string"
5022 },
5023 "ingestionAddress": {
5024 "description": "The primary ingestion URL that you should us e to stream video to YouTube. You must stream video to this URL.\n\nDepending on which application or tool you use to encode your video stream, you may need to enter the stream URL and stream name separately or you may need to concatenate t hem in the following format:\n\nSTREAM_URL/STREAM_NAME",
5025 "type": "string"
5026 },
5027 "streamName": {
5028 "description": "The HTTP or RTMP stream name that YouTube as signs to the video stream.",
5029 "type": "string"
5030 }
5031 },
5032 "type": "object"
5033 },
5034 "InvideoBranding": {
5035 "id": "InvideoBranding",
5036 "properties": {
5037 "imageBytes": {
5038 "format": "byte",
5039 "type": "string"
5040 },
5041 "imageUrl": {
5042 "type": "string"
5043 },
5044 "position": {
5045 "$ref": "InvideoPosition"
5046 },
5047 "targetChannelId": {
5048 "type": "string"
5049 },
5050 "timing": {
5051 "$ref": "InvideoTiming"
5052 }
5053 },
5054 "type": "object"
5055 },
5056 "InvideoPosition": {
5057 "description": "Describes the spatial position of a visual widget in side a video. It is a union of various position types, out of which only will be set one.",
5058 "id": "InvideoPosition",
5059 "properties": {
5060 "cornerPosition": {
5061 "description": "Describes in which corner of the video the v isual widget will appear.",
5062 "enum": [
5063 "bottomLeft",
5064 "bottomRight",
5065 "topLeft",
5066 "topRight"
5067 ],
5068 "enumDescriptions": [
5069 "",
5070 "",
5071 "",
5072 ""
5073 ],
5074 "type": "string"
5075 },
5076 "type": {
5077 "description": "Defines the position type.",
5078 "enum": [
5079 "corner"
5080 ],
5081 "enumDescriptions": [
5082 ""
5083 ],
5084 "type": "string"
5085 }
5086 },
5087 "type": "object"
5088 },
5089 "InvideoPromotion": {
5090 "description": "Describes an invideo promotion campaign consisting o f multiple promoted items. A campaign belongs to a single channel_id.",
5091 "id": "InvideoPromotion",
5092 "properties": {
5093 "defaultTiming": {
5094 "$ref": "InvideoTiming",
5095 "description": "The default temporal position within the vid eo where the promoted item will be displayed. Can be overriden by more specific timing in the item."
5096 },
5097 "items": {
5098 "description": "List of promoted items in decreasing priorit y.",
5099 "items": {
5100 "$ref": "PromotedItem"
5101 },
5102 "type": "array"
5103 },
5104 "position": {
5105 "$ref": "InvideoPosition",
5106 "description": "The spatial position within the video where the promoted item will be displayed."
5107 }
5108 },
5109 "type": "object"
5110 },
5111 "InvideoTiming": {
5112 "description": "Describes a temporal position of a visual widget ins ide a video.",
5113 "id": "InvideoTiming",
5114 "properties": {
5115 "durationMs": {
5116 "description": "Defines the duration in milliseconds for whi ch the promotion should be displayed. If missing, the client should use the defa ult.",
5117 "format": "uint64",
5118 "type": "string"
5119 },
5120 "offsetMs": {
5121 "description": "Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will rep resent a time offset from the start or from the end of the video, expressed in m illiseconds.",
5122 "format": "uint64",
5123 "type": "string"
5124 },
5125 "type": {
5126 "description": "Describes a timing type. If the value is off setFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an off set from the end of the video.",
5127 "enum": [
5128 "offsetFromEnd",
5129 "offsetFromStart"
5130 ],
5131 "enumDescriptions": [
5132 "",
5133 ""
5134 ],
5135 "type": "string"
5136 }
5137 },
5138 "type": "object"
5139 },
5140 "LiveBroadcast": {
5141 "description": "A liveBroadcast resource represents an event that wi ll be streamed, via live video, on YouTube.",
5142 "id": "LiveBroadcast",
5143 "properties": {
5144 "contentDetails": {
5145 "$ref": "LiveBroadcastContentDetails",
5146 "description": "The contentDetails object contains informati on about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for v iewing after the event has concluded."
5147 },
5148 "etag": {
5149 "description": "Etag of this resource.",
5150 "type": "string"
5151 },
5152 "id": {
5153 "annotations": {
5154 "required": [
5155 "youtube.liveBroadcasts.update"
5156 ]
5157 },
5158 "description": "The ID that YouTube assigns to uniquely iden tify the broadcast.",
5159 "type": "string"
5160 },
5161 "kind": {
5162 "default": "youtube#liveBroadcast",
5163 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#liveBroadcast\".",
5164 "type": "string"
5165 },
5166 "snippet": {
5167 "$ref": "LiveBroadcastSnippet",
5168 "description": "The snippet object contains basic details ab out the event, including its title, description, start time, and end time."
5169 },
5170 "status": {
5171 "$ref": "LiveBroadcastStatus",
5172 "description": "The status object contains information about the event's status."
5173 }
5174 },
5175 "type": "object"
5176 },
5177 "LiveBroadcastContentDetails": {
5178 "description": "Detailed settings of a broadcast.",
5179 "id": "LiveBroadcastContentDetails",
5180 "properties": {
5181 "boundStreamId": {
5182 "description": "This value uniquely identifies the live stre am bound to the broadcast.",
5183 "type": "string"
5184 },
5185 "enableClosedCaptions": {
5186 "description": "This setting indicates whether closed captio ning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API.",
5187 "type": "boolean"
5188 },
5189 "enableContentEncryption": {
5190 "annotations": {
5191 "required": [
5192 "youtube.liveBroadcasts.update"
5193 ]
5194 },
5195 "description": "This setting indicates whether YouTube shoul d enable content encryption for the broadcast.",
5196 "type": "boolean"
5197 },
5198 "enableDvr": {
5199 "annotations": {
5200 "required": [
5201 "youtube.liveBroadcasts.update"
5202 ]
5203 },
5204 "description": "This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true.\n\n\n\nImportant: You must set the value to true and also set the enableArchive property's value to true i f you want to make playback available immediately after the broadcast ends.",
5205 "type": "boolean"
5206 },
5207 "enableEmbed": {
5208 "annotations": {
5209 "required": [
5210 "youtube.liveBroadcasts.update"
5211 ]
5212 },
5213 "description": "This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video ( using the enableArchive property), this setting will also apply to the archived video.",
5214 "type": "boolean"
5215 },
5216 "monitorStream": {
5217 "$ref": "MonitorStreamInfo",
5218 "description": "The monitorStream object contains informatio n about the monitor stream, which the broadcaster can use to review the event co ntent before the broadcast stream is shown publicly."
5219 },
5220 "recordFromStart": {
5221 "annotations": {
5222 "required": [
5223 "youtube.liveBroadcasts.update"
5224 ]
5225 },
5226 "description": "Automatically start recording after the even t goes live. The default value for this property is true.\n\n\n\nImportant: You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's v alue to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback .",
5227 "type": "boolean"
5228 },
5229 "startWithSlate": {
5230 "annotations": {
5231 "required": [
5232 "youtube.liveBroadcasts.update"
5233 ]
5234 },
5235 "description": "This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcas t's status to live. After updating the status, you then need to send a liveCuepo ints.insert request that sets the cuepoint's eventState to end to remove the in- stream slate and make your broadcast stream visible to viewers.",
5236 "type": "boolean"
5237 }
5238 },
5239 "type": "object"
5240 },
5241 "LiveBroadcastListResponse": {
5242 "id": "LiveBroadcastListResponse",
5243 "properties": {
5244 "etag": {
5245 "description": "Etag of this resource.",
5246 "type": "string"
5247 },
5248 "eventId": {
5249 "description": "Serialized EventId of the request which prod uced this response.",
5250 "type": "string"
5251 },
5252 "items": {
5253 "description": "A list of broadcasts that match the request criteria.",
5254 "items": {
5255 "$ref": "LiveBroadcast"
5256 },
5257 "type": "array"
5258 },
5259 "kind": {
5260 "default": "youtube#liveBroadcastListResponse",
5261 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#liveBroadcastListResponse\".",
5262 "type": "string"
5263 },
5264 "nextPageToken": {
5265 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
5266 "type": "string"
5267 },
5268 "pageInfo": {
5269 "$ref": "PageInfo"
5270 },
5271 "prevPageToken": {
5272 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
5273 "type": "string"
5274 },
5275 "tokenPagination": {
5276 "$ref": "TokenPagination"
5277 },
5278 "visitorId": {
5279 "description": "The visitorId identifies the visitor.",
5280 "type": "string"
5281 }
5282 },
5283 "type": "object"
5284 },
5285 "LiveBroadcastSnippet": {
5286 "id": "LiveBroadcastSnippet",
5287 "properties": {
5288 "actualEndTime": {
5289 "description": "The date and time that the broadcast actuall y ended. This information is only available once the broadcast's state is comple te. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
5290 "format": "date-time",
5291 "type": "string"
5292 },
5293 "actualStartTime": {
5294 "description": "The date and time that the broadcast actuall y started. This information is only available once the broadcast's state is live . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
5295 "format": "date-time",
5296 "type": "string"
5297 },
5298 "channelId": {
5299 "description": "The ID that YouTube uses to uniquely identif y the channel that is publishing the broadcast.",
5300 "type": "string"
5301 },
5302 "description": {
5303 "description": "The broadcast's description. As with the tit le, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.",
5304 "type": "string"
5305 },
5306 "publishedAt": {
5307 "description": "The date and time that the broadcast was add ed to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYY Y-MM-DDThh:mm:ss.sZ) format.",
5308 "format": "date-time",
5309 "type": "string"
5310 },
5311 "scheduledEndTime": {
5312 "annotations": {
5313 "required": [
5314 "youtube.liveBroadcasts.insert",
5315 "youtube.liveBroadcasts.update"
5316 ]
5317 },
5318 "description": "The date and time that the broadcast is sche duled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format .",
5319 "format": "date-time",
5320 "type": "string"
5321 },
5322 "scheduledStartTime": {
5323 "annotations": {
5324 "required": [
5325 "youtube.liveBroadcasts.insert",
5326 "youtube.liveBroadcasts.update"
5327 ]
5328 },
5329 "description": "The date and time that the broadcast is sche duled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) form at.",
5330 "format": "date-time",
5331 "type": "string"
5332 },
5333 "thumbnails": {
5334 "$ref": "ThumbnailDetails",
5335 "description": "A map of thumbnail images associated with th e broadcast. For each nested object in this object, the key is the name of the t humbnail image, and the value is an object that contains other information about the thumbnail."
5336 },
5337 "title": {
5338 "annotations": {
5339 "required": [
5340 "youtube.liveBroadcasts.insert",
5341 "youtube.liveBroadcasts.update"
5342 ]
5343 },
5344 "description": "The broadcast's title. Note that the broadca st represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video res ource.",
5345 "type": "string"
5346 }
5347 },
5348 "type": "object"
5349 },
5350 "LiveBroadcastStatus": {
5351 "id": "LiveBroadcastStatus",
5352 "properties": {
5353 "lifeCycleStatus": {
5354 "description": "The broadcast's status. The status can be up dated using the API's liveBroadcasts.transition method.",
5355 "enum": [
5356 "abandoned",
5357 "complete",
5358 "completeStarting",
5359 "created",
5360 "live",
5361 "liveStarting",
5362 "ready",
5363 "reclaimed",
5364 "revoked",
5365 "testStarting",
5366 "testing"
5367 ],
5368 "enumDescriptions": [
5369 "",
5370 "",
5371 "",
5372 "",
5373 "",
5374 "",
5375 "",
5376 "",
5377 "",
5378 "",
5379 ""
5380 ],
5381 "type": "string"
5382 },
5383 "liveBroadcastPriority": {
5384 "description": "Priority of the live broadcast event (intern al state).",
5385 "enum": [
5386 "high",
5387 "low",
5388 "normal"
5389 ],
5390 "enumDescriptions": [
5391 "",
5392 "",
5393 ""
5394 ],
5395 "type": "string"
5396 },
5397 "privacyStatus": {
5398 "annotations": {
5399 "required": [
5400 "youtube.liveBroadcasts.insert",
5401 "youtube.liveBroadcasts.update"
5402 ]
5403 },
5404 "description": "The broadcast's privacy status. Note that th e broadcast represents exactly one YouTube video, so the privacy settings are id entical to those supported for videos. In addition, you can set this field by mo difying the broadcast resource or by setting the privacyStatus field of the corr esponding video resource.",
5405 "enum": [
5406 "private",
5407 "public",
5408 "unlisted"
5409 ],
5410 "enumDescriptions": [
5411 "",
5412 "",
5413 ""
5414 ],
5415 "type": "string"
5416 },
5417 "recordingStatus": {
5418 "description": "The broadcast's recording status.",
5419 "enum": [
5420 "notRecording",
5421 "recorded",
5422 "recording"
5423 ],
5424 "enumDescriptions": [
5425 "",
5426 "",
5427 ""
5428 ],
5429 "type": "string"
5430 }
5431 },
5432 "type": "object"
5433 },
5434 "LiveStream": {
5435 "description": "A live stream describes a live ingestion point.",
5436 "id": "LiveStream",
5437 "properties": {
5438 "cdn": {
5439 "$ref": "CdnSettings",
5440 "description": "The cdn object defines the live stream's con tent delivery network (CDN) settings. These settings provide details about the m anner in which you stream your content to YouTube."
5441 },
5442 "contentDetails": {
5443 "$ref": "LiveStreamContentDetails",
5444 "description": "The content_details object contains informat ion about the stream, including the closed captions ingestion URL."
5445 },
5446 "etag": {
5447 "description": "Etag of this resource.",
5448 "type": "string"
5449 },
5450 "id": {
5451 "annotations": {
5452 "required": [
5453 "youtube.liveStreams.update"
5454 ]
5455 },
5456 "description": "The ID that YouTube assigns to uniquely iden tify the stream.",
5457 "type": "string"
5458 },
5459 "kind": {
5460 "default": "youtube#liveStream",
5461 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#liveStream\".",
5462 "type": "string"
5463 },
5464 "snippet": {
5465 "$ref": "LiveStreamSnippet",
5466 "description": "The snippet object contains basic details ab out the stream, including its channel, title, and description."
5467 },
5468 "status": {
5469 "$ref": "LiveStreamStatus",
5470 "description": "The status object contains information about live stream's status."
5471 }
5472 },
5473 "type": "object"
5474 },
5475 "LiveStreamContentDetails": {
5476 "description": "Detailed settings of a stream.",
5477 "id": "LiveStreamContentDetails",
5478 "properties": {
5479 "closedCaptionsIngestionUrl": {
5480 "description": "The ingestion URL where the closed captions of this stream are sent.",
5481 "type": "string"
5482 }
5483 },
5484 "type": "object"
5485 },
5486 "LiveStreamListResponse": {
5487 "id": "LiveStreamListResponse",
5488 "properties": {
5489 "etag": {
5490 "description": "Etag of this resource.",
5491 "type": "string"
5492 },
5493 "eventId": {
5494 "description": "Serialized EventId of the request which prod uced this response.",
5495 "type": "string"
5496 },
5497 "items": {
5498 "description": "A list of live streams that match the reques t criteria.",
5499 "items": {
5500 "$ref": "LiveStream"
5501 },
5502 "type": "array"
5503 },
5504 "kind": {
5505 "default": "youtube#liveStreamListResponse",
5506 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#liveStreamListResponse\".",
5507 "type": "string"
5508 },
5509 "nextPageToken": {
5510 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
5511 "type": "string"
5512 },
5513 "pageInfo": {
5514 "$ref": "PageInfo"
5515 },
5516 "prevPageToken": {
5517 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
5518 "type": "string"
5519 },
5520 "tokenPagination": {
5521 "$ref": "TokenPagination"
5522 },
5523 "visitorId": {
5524 "description": "The visitorId identifies the visitor.",
5525 "type": "string"
5526 }
5527 },
5528 "type": "object"
5529 },
5530 "LiveStreamSnippet": {
5531 "id": "LiveStreamSnippet",
5532 "properties": {
5533 "channelId": {
5534 "description": "The ID that YouTube uses to uniquely identif y the channel that is transmitting the stream.",
5535 "type": "string"
5536 },
5537 "description": {
5538 "description": "The stream's description. The value cannot b e longer than 10000 characters.",
5539 "type": "string"
5540 },
5541 "publishedAt": {
5542 "description": "The date and time that the stream was create d. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
5543 "format": "date-time",
5544 "type": "string"
5545 },
5546 "title": {
5547 "annotations": {
5548 "required": [
5549 "youtube.liveStreams.insert",
5550 "youtube.liveStreams.update"
5551 ]
5552 },
5553 "description": "The stream's title. The value must be betwee n 1 and 128 characters long.",
5554 "type": "string"
5555 }
5556 },
5557 "type": "object"
5558 },
5559 "LiveStreamStatus": {
5560 "description": "Brief description of the live stream status.",
5561 "id": "LiveStreamStatus",
5562 "properties": {
5563 "streamStatus": {
5564 "enum": [
5565 "active",
5566 "created",
5567 "error",
5568 "inactive",
5569 "ready"
5570 ],
5571 "enumDescriptions": [
5572 "",
5573 "",
5574 "",
5575 "",
5576 ""
5577 ],
5578 "type": "string"
5579 }
5580 },
5581 "type": "object"
5582 },
5583 "LocalizedProperty": {
5584 "description": "Represent a property available in different language s.",
5585 "id": "LocalizedProperty",
5586 "properties": {
5587 "default": {
5588 "description": "Default value for the localized property.",
5589 "type": "string"
5590 },
5591 "localized": {
5592 "description": "The localized values.",
5593 "items": {
5594 "$ref": "LocalizedString"
5595 },
5596 "type": "array"
5597 }
5598 },
5599 "type": "object"
5600 },
5601 "LocalizedString": {
5602 "description": "A localized string.",
5603 "id": "LocalizedString",
5604 "properties": {
5605 "language": {
5606 "description": "Language associated to this value.",
5607 "type": "string"
5608 },
5609 "value": {
5610 "description": "Value of the property.",
5611 "type": "string"
5612 }
5613 },
5614 "type": "object"
5615 },
5616 "MonitorStreamInfo": {
5617 "description": "Settings and Info of the monitor stream",
5618 "id": "MonitorStreamInfo",
5619 "properties": {
5620 "broadcastStreamDelayMs": {
5621 "annotations": {
5622 "required": [
5623 "youtube.liveBroadcasts.update"
5624 ]
5625 },
5626 "description": "If you have set the enableMonitorStream prop erty to true, then this property determines the length of the live broadcast del ay.",
5627 "format": "uint32",
5628 "type": "integer"
5629 },
5630 "embedHtml": {
5631 "description": "HTML code that embeds a player that plays th e monitor stream.",
5632 "type": "string"
5633 },
5634 "enableMonitorStream": {
5635 "annotations": {
5636 "required": [
5637 "youtube.liveBroadcasts.update"
5638 ]
5639 },
5640 "description": "This value determines whether the monitor st ream is enabled for the broadcast. If the monitor stream is enabled, then YouTub e will broadcast the event content on a special stream intended only for the bro adcaster's consumption. The broadcaster can use the stream to review the event c ontent and also to identify the optimal times to insert cuepoints.\n\nYou need t o set this value to true if you intend to have a broadcast delay for your event. \n\nNote: This property cannot be updated once the broadcast is in the testing o r live state.",
5641 "type": "boolean"
5642 }
5643 },
5644 "type": "object"
5645 },
5646 "PageInfo": {
5647 "description": "Paging details for lists of resources, including tot al number of items available and number of resources returned in a single page." ,
5648 "id": "PageInfo",
5649 "properties": {
5650 "resultsPerPage": {
5651 "description": "The number of results included in the API re sponse.",
5652 "format": "int32",
5653 "type": "integer"
5654 },
5655 "totalResults": {
5656 "description": "The total number of results in the result se t.",
5657 "format": "int32",
5658 "type": "integer"
5659 }
5660 },
5661 "type": "object"
5662 },
5663 "Playlist": {
5664 "description": "A playlist resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared w ith other users. A playlist can contain up to 200 videos, and YouTube does not l imit the number of playlists that each user creates. By default, playlists are p ublicly visible to other users, but playlists can be public or private.\n\nYouTu be also uses playlists to identify special collections of videos for a channel, such as: \n- uploaded videos \n- favorite videos \n- positively rated (liked) v ideos \n- watch history \n- watch later To be more specific, these lists are as sociated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel.\n\nY ou can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems .insert and playlistItems.delete methods.",
5665 "id": "Playlist",
5666 "properties": {
5667 "contentDetails": {
5668 "$ref": "PlaylistContentDetails",
5669 "description": "The contentDetails object contains informati on like video count."
5670 },
5671 "etag": {
5672 "description": "Etag of this resource.",
5673 "type": "string"
5674 },
5675 "id": {
5676 "description": "The ID that YouTube uses to uniquely identif y the playlist.",
5677 "type": "string"
5678 },
5679 "kind": {
5680 "default": "youtube#playlist",
5681 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#playlist\".",
5682 "type": "string"
5683 },
5684 "player": {
5685 "$ref": "PlaylistPlayer",
5686 "description": "The player object contains information that you would use to play the playlist in an embedded player."
5687 },
5688 "snippet": {
5689 "$ref": "PlaylistSnippet",
5690 "description": "The snippet object contains basic details ab out the playlist, such as its title and description."
5691 },
5692 "status": {
5693 "$ref": "PlaylistStatus",
5694 "description": "The status object contains status informatio n for the playlist."
5695 }
5696 },
5697 "type": "object"
5698 },
5699 "PlaylistContentDetails": {
5700 "id": "PlaylistContentDetails",
5701 "properties": {
5702 "itemCount": {
5703 "description": "The number of videos in the playlist.",
5704 "format": "uint32",
5705 "type": "integer"
5706 }
5707 },
5708 "type": "object"
5709 },
5710 "PlaylistItem": {
5711 "description": "A playlistItem resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist.\n\nYouTube uses playlists to ide ntify special collections of videos for a channel, such as: \n- uploaded videos \n- favorite videos \n- positively rated (liked) videos \n- watch history \n- w atch later To be more specific, these lists are associated with a channel, whic h is a collection of a person, group, or company's videos, playlists, and other YouTube information.\n\nYou can retrieve the playlist IDs for each of these list s from the channel resource for a given channel. You can then use the playli stItems.list method to retrieve any of those lists. You can also add or remove i tems from those lists by calling the playlistItems.insert and playlistItems. delete methods. For example, if a user gives a positive rating to a video, you w ould insert that video into the liked videos playlist for that user's channel.",
5712 "id": "PlaylistItem",
5713 "properties": {
5714 "contentDetails": {
5715 "$ref": "PlaylistItemContentDetails",
5716 "description": "The contentDetails object is included in the resource if the included item is a YouTube video. The object contains additiona l information about the video."
5717 },
5718 "etag": {
5719 "description": "Etag of this resource.",
5720 "type": "string"
5721 },
5722 "id": {
5723 "description": "The ID that YouTube uses to uniquely identif y the playlist item.",
5724 "type": "string"
5725 },
5726 "kind": {
5727 "default": "youtube#playlistItem",
5728 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#playlistItem\".",
5729 "type": "string"
5730 },
5731 "snippet": {
5732 "$ref": "PlaylistItemSnippet",
5733 "description": "The snippet object contains basic details ab out the playlist item, such as its title and position in the playlist."
5734 },
5735 "status": {
5736 "$ref": "PlaylistItemStatus",
5737 "description": "The status object contains information about the playlist item's privacy status."
5738 }
5739 },
5740 "type": "object"
5741 },
5742 "PlaylistItemContentDetails": {
5743 "id": "PlaylistItemContentDetails",
5744 "properties": {
5745 "endAt": {
5746 "description": "The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can speci fy the times when the video should start and stop playing when the video is play ed in the context of the playlist.) By default, assume that the video.endTime is the end of the video.",
5747 "type": "string"
5748 },
5749 "note": {
5750 "description": "A user-generated note for this item.",
5751 "type": "string"
5752 },
5753 "startAt": {
5754 "description": "The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can spec ify the times when the video should start and stop playing when the video is pla yed in the context of the playlist.) The default value is 0.",
5755 "type": "string"
5756 },
5757 "videoId": {
5758 "description": "The ID that YouTube uses to uniquely identif y a video. To retrieve the video resource, set the id query parameter to this va lue in your API request.",
5759 "type": "string"
5760 }
5761 },
5762 "type": "object"
5763 },
5764 "PlaylistItemListResponse": {
5765 "id": "PlaylistItemListResponse",
5766 "properties": {
5767 "etag": {
5768 "description": "Etag of this resource.",
5769 "type": "string"
5770 },
5771 "eventId": {
5772 "description": "Serialized EventId of the request which prod uced this response.",
5773 "type": "string"
5774 },
5775 "items": {
5776 "description": "A list of playlist items that match the requ est criteria.",
5777 "items": {
5778 "$ref": "PlaylistItem"
5779 },
5780 "type": "array"
5781 },
5782 "kind": {
5783 "default": "youtube#playlistItemListResponse",
5784 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#playlistItemListResponse\".",
5785 "type": "string"
5786 },
5787 "nextPageToken": {
5788 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
5789 "type": "string"
5790 },
5791 "pageInfo": {
5792 "$ref": "PageInfo"
5793 },
5794 "prevPageToken": {
5795 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
5796 "type": "string"
5797 },
5798 "tokenPagination": {
5799 "$ref": "TokenPagination"
5800 },
5801 "visitorId": {
5802 "description": "The visitorId identifies the visitor.",
5803 "type": "string"
5804 }
5805 },
5806 "type": "object"
5807 },
5808 "PlaylistItemSnippet": {
5809 "description": "Basic details about a playlist, including title, des cription and thumbnails.",
5810 "id": "PlaylistItemSnippet",
5811 "properties": {
5812 "channelId": {
5813 "description": "The ID that YouTube uses to uniquely identif y the user that added the item to the playlist.",
5814 "type": "string"
5815 },
5816 "channelTitle": {
5817 "description": "Channel title for the channel that the playl ist item belongs to.",
5818 "type": "string"
5819 },
5820 "description": {
5821 "description": "The item's description.",
5822 "type": "string"
5823 },
5824 "playlistId": {
5825 "annotations": {
5826 "required": [
5827 "youtube.playlistItems.insert",
5828 "youtube.playlistItems.update"
5829 ]
5830 },
5831 "description": "The ID that YouTube uses to uniquely identif y the playlist that the playlist item is in.",
5832 "type": "string"
5833 },
5834 "position": {
5835 "description": "The order in which the item appears in the p laylist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth.",
5836 "format": "uint32",
5837 "type": "integer"
5838 },
5839 "publishedAt": {
5840 "description": "The date and time that the item was added to the playlist. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) forma t.",
5841 "format": "date-time",
5842 "type": "string"
5843 },
5844 "resourceId": {
5845 "$ref": "ResourceId",
5846 "annotations": {
5847 "required": [
5848 "youtube.playlistItems.insert",
5849 "youtube.playlistItems.update"
5850 ]
5851 },
5852 "description": "The id object contains information that can be used to uniquely identify the resource that is included in the playlist as th e playlist item."
5853 },
5854 "thumbnails": {
5855 "$ref": "ThumbnailDetails",
5856 "description": "A map of thumbnail images associated with th e playlist item. For each object in the map, the key is the name of the thumbnai l image, and the value is an object that contains other information about the th umbnail."
5857 },
5858 "title": {
5859 "description": "The item's title.",
5860 "type": "string"
5861 }
5862 },
5863 "type": "object"
5864 },
5865 "PlaylistItemStatus": {
5866 "description": "Information about the playlist item's privacy status .",
5867 "id": "PlaylistItemStatus",
5868 "properties": {
5869 "privacyStatus": {
5870 "description": "This resource's privacy status.",
5871 "enum": [
5872 "private",
5873 "public",
5874 "unlisted"
5875 ],
5876 "enumDescriptions": [
5877 "",
5878 "",
5879 ""
5880 ],
5881 "type": "string"
5882 }
5883 },
5884 "type": "object"
5885 },
5886 "PlaylistListResponse": {
5887 "id": "PlaylistListResponse",
5888 "properties": {
5889 "etag": {
5890 "description": "Etag of this resource.",
5891 "type": "string"
5892 },
5893 "eventId": {
5894 "description": "Serialized EventId of the request which prod uced this response.",
5895 "type": "string"
5896 },
5897 "items": {
5898 "description": "A list of playlists that match the request c riteria.",
5899 "items": {
5900 "$ref": "Playlist"
5901 },
5902 "type": "array"
5903 },
5904 "kind": {
5905 "default": "youtube#playlistListResponse",
5906 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#playlistListResponse\".",
5907 "type": "string"
5908 },
5909 "nextPageToken": {
5910 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
5911 "type": "string"
5912 },
5913 "pageInfo": {
5914 "$ref": "PageInfo"
5915 },
5916 "prevPageToken": {
5917 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
5918 "type": "string"
5919 },
5920 "tokenPagination": {
5921 "$ref": "TokenPagination"
5922 },
5923 "visitorId": {
5924 "description": "The visitorId identifies the visitor.",
5925 "type": "string"
5926 }
5927 },
5928 "type": "object"
5929 },
5930 "PlaylistPlayer": {
5931 "id": "PlaylistPlayer",
5932 "properties": {
5933 "embedHtml": {
5934 "description": "An <iframe> tag that embeds a player that wi ll play the playlist.",
5935 "type": "string"
5936 }
5937 },
5938 "type": "object"
5939 },
5940 "PlaylistSnippet": {
5941 "description": "Basic details about a playlist, including title, des cription and thumbnails.",
5942 "id": "PlaylistSnippet",
5943 "properties": {
5944 "channelId": {
5945 "description": "The ID that YouTube uses to uniquely identif y the channel that published the playlist.",
5946 "type": "string"
5947 },
5948 "channelTitle": {
5949 "description": "The channel title of the channel that the vi deo belongs to.",
5950 "type": "string"
5951 },
5952 "description": {
5953 "description": "The playlist's description.",
5954 "type": "string"
5955 },
5956 "publishedAt": {
5957 "description": "The date and time that the playlist was crea ted. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
5958 "format": "date-time",
5959 "type": "string"
5960 },
5961 "tags": {
5962 "description": "Keyword tags associated with the playlist.",
5963 "items": {
5964 "type": "string"
5965 },
5966 "type": "array"
5967 },
5968 "thumbnails": {
5969 "$ref": "ThumbnailDetails",
5970 "description": "A map of thumbnail images associated with th e playlist. For each object in the map, the key is the name of the thumbnail ima ge, and the value is an object that contains other information about the thumbna il."
5971 },
5972 "title": {
5973 "annotations": {
5974 "required": [
5975 "youtube.playlists.insert",
5976 "youtube.playlists.update"
5977 ]
5978 },
5979 "description": "The playlist's title.",
5980 "type": "string"
5981 }
5982 },
5983 "type": "object"
5984 },
5985 "PlaylistStatus": {
5986 "id": "PlaylistStatus",
5987 "properties": {
5988 "privacyStatus": {
5989 "description": "The playlist's privacy status.",
5990 "enum": [
5991 "private",
5992 "public",
5993 "unlisted"
5994 ],
5995 "enumDescriptions": [
5996 "",
5997 "",
5998 ""
5999 ],
6000 "type": "string"
6001 }
6002 },
6003 "type": "object"
6004 },
6005 "PromotedItem": {
6006 "description": "Describes a single promoted item.",
6007 "id": "PromotedItem",
6008 "properties": {
6009 "customMessage": {
6010 "description": "A custom message to display for this promoti on. This field is currently ignored unless the promoted item is a website.",
6011 "type": "string"
6012 },
6013 "id": {
6014 "$ref": "PromotedItemId",
6015 "description": "Identifies the promoted item."
6016 },
6017 "promotedByContentOwner": {
6018 "description": "If true, the content owner's name will be us ed when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.",
6019 "type": "boolean"
6020 },
6021 "timing": {
6022 "$ref": "InvideoTiming",
6023 "description": "The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timin g."
6024 }
6025 },
6026 "type": "object"
6027 },
6028 "PromotedItemId": {
6029 "description": "Describes a single promoted item id. It is a union o f various possible types.",
6030 "id": "PromotedItemId",
6031 "properties": {
6032 "recentlyUploadedBy": {
6033 "description": "If type is recentUpload, this field identifi es the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.",
6034 "type": "string"
6035 },
6036 "type": {
6037 "description": "Describes the type of the promoted item.",
6038 "enum": [
6039 "recentUpload",
6040 "video",
6041 "website"
6042 ],
6043 "enumDescriptions": [
6044 "",
6045 "",
6046 ""
6047 ],
6048 "type": "string"
6049 },
6050 "videoId": {
6051 "description": "If the promoted item represents a video, thi s field represents the unique YouTube ID identifying it. This field will be pres ent only if type has the value video.",
6052 "type": "string"
6053 },
6054 "websiteUrl": {
6055 "description": "If the promoted item represents a website, t his field represents the url pointing to the website. This field will be present only if type has the value website.",
6056 "type": "string"
6057 }
6058 },
6059 "type": "object"
6060 },
6061 "PropertyValue": {
6062 "description": "A pair Property / Value.",
6063 "id": "PropertyValue",
6064 "properties": {
6065 "property": {
6066 "description": "A property.",
6067 "type": "string"
6068 },
6069 "value": {
6070 "description": "The property's value.",
6071 "type": "string"
6072 }
6073 },
6074 "type": "object"
6075 },
6076 "ResourceId": {
6077 "description": "A resource id is a generic reference that points to another YouTube resource.",
6078 "id": "ResourceId",
6079 "properties": {
6080 "channelId": {
6081 "description": "The ID that YouTube uses to uniquely identif y the referred resource, if that resource is a channel. This property is only pr esent if the resourceId.kind value is youtube#channel.",
6082 "type": "string"
6083 },
6084 "kind": {
6085 "description": "The type of the API resource.",
6086 "type": "string"
6087 },
6088 "playlistId": {
6089 "description": "The ID that YouTube uses to uniquely identif y the referred resource, if that resource is a playlist. This property is only p resent if the resourceId.kind value is youtube#playlist.",
6090 "type": "string"
6091 },
6092 "videoId": {
6093 "description": "The ID that YouTube uses to uniquely identif y the referred resource, if that resource is a video. This property is only pres ent if the resourceId.kind value is youtube#video.",
6094 "type": "string"
6095 }
6096 },
6097 "type": "object"
6098 },
6099 "SearchListResponse": {
6100 "id": "SearchListResponse",
6101 "properties": {
6102 "etag": {
6103 "description": "Etag of this resource.",
6104 "type": "string"
6105 },
6106 "eventId": {
6107 "description": "Serialized EventId of the request which prod uced this response.",
6108 "type": "string"
6109 },
6110 "items": {
6111 "description": "A list of results that match the search crit eria.",
6112 "items": {
6113 "$ref": "SearchResult"
6114 },
6115 "type": "array"
6116 },
6117 "kind": {
6118 "default": "youtube#searchListResponse",
6119 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#searchListResponse\".",
6120 "type": "string"
6121 },
6122 "nextPageToken": {
6123 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
6124 "type": "string"
6125 },
6126 "pageInfo": {
6127 "$ref": "PageInfo"
6128 },
6129 "prevPageToken": {
6130 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
6131 "type": "string"
6132 },
6133 "tokenPagination": {
6134 "$ref": "TokenPagination"
6135 },
6136 "visitorId": {
6137 "description": "The visitorId identifies the visitor.",
6138 "type": "string"
6139 }
6140 },
6141 "type": "object"
6142 },
6143 "SearchResult": {
6144 "description": "A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, l ike a video, it does not have its own persistent data.",
6145 "id": "SearchResult",
6146 "properties": {
6147 "etag": {
6148 "description": "Etag of this resource.",
6149 "type": "string"
6150 },
6151 "id": {
6152 "$ref": "ResourceId",
6153 "description": "The id object contains information that can be used to uniquely identify the resource that matches the search request."
6154 },
6155 "kind": {
6156 "default": "youtube#searchResult",
6157 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#searchResult\".",
6158 "type": "string"
6159 },
6160 "snippet": {
6161 "$ref": "SearchResultSnippet",
6162 "description": "The snippet object contains basic details ab out a search result, such as its title or description. For example, if the searc h result is a video, then the title will be the video's title and the descriptio n will be the video's description."
6163 }
6164 },
6165 "type": "object"
6166 },
6167 "SearchResultSnippet": {
6168 "description": "Basic details about a search result, including title , description and thumbnails of the item referenced by the search result.",
6169 "id": "SearchResultSnippet",
6170 "properties": {
6171 "channelId": {
6172 "description": "The value that YouTube uses to uniquely iden tify the channel that published the resource that the search result identifies." ,
6173 "type": "string"
6174 },
6175 "channelTitle": {
6176 "description": "The title of the channel that published the resource that the search result identifies.",
6177 "type": "string"
6178 },
6179 "description": {
6180 "description": "A description of the search result.",
6181 "type": "string"
6182 },
6183 "liveBroadcastContent": {
6184 "description": "It indicates if the resource (video or chann el) has upcoming/active live broadcast content. Or it's \"none\" if there is not any upcoming/active live broadcasts.",
6185 "enum": [
6186 "live",
6187 "none",
6188 "upcoming"
6189 ],
6190 "enumDescriptions": [
6191 "",
6192 "",
6193 ""
6194 ],
6195 "type": "string"
6196 },
6197 "publishedAt": {
6198 "description": "The creation date and time of the resource t hat the search result identifies. The value is specified in ISO 8601 (YYYY-MM-DD Thh:mm:ss.sZ) format.",
6199 "format": "date-time",
6200 "type": "string"
6201 },
6202 "thumbnails": {
6203 "$ref": "ThumbnailDetails",
6204 "description": "A map of thumbnail images associated with th e search result. For each object in the map, the key is the name of the thumbnai l image, and the value is an object that contains other information about the th umbnail."
6205 },
6206 "title": {
6207 "description": "The title of the search result.",
6208 "type": "string"
6209 }
6210 },
6211 "type": "object"
6212 },
6213 "Subscription": {
6214 "description": "A subscription resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are a dded to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.",
6215 "id": "Subscription",
6216 "properties": {
6217 "contentDetails": {
6218 "$ref": "SubscriptionContentDetails",
6219 "description": "The contentDetails object contains basic sta tistics about the subscription."
6220 },
6221 "etag": {
6222 "description": "Etag of this resource.",
6223 "type": "string"
6224 },
6225 "id": {
6226 "description": "The ID that YouTube uses to uniquely identif y the subscription.",
6227 "type": "string"
6228 },
6229 "kind": {
6230 "default": "youtube#subscription",
6231 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#subscription\".",
6232 "type": "string"
6233 },
6234 "snippet": {
6235 "$ref": "SubscriptionSnippet",
6236 "description": "The snippet object contains basic details ab out the subscription, including its title and the channel that the user subscrib ed to."
6237 },
6238 "subscriberSnippet": {
6239 "$ref": "SubscriptionSubscriberSnippet",
6240 "description": "The subscriberSnippet object contains basic details about the sbuscriber."
6241 }
6242 },
6243 "type": "object"
6244 },
6245 "SubscriptionContentDetails": {
6246 "description": "Details about the content to witch a subscription re fers.",
6247 "id": "SubscriptionContentDetails",
6248 "properties": {
6249 "activityType": {
6250 "description": "The type of activity this subscription is fo r (only uploads, everything).",
6251 "enum": [
6252 "all",
6253 "uploads"
6254 ],
6255 "enumDescriptions": [
6256 "",
6257 ""
6258 ],
6259 "type": "string"
6260 },
6261 "newItemCount": {
6262 "description": "The number of new items in the subscription since its content was last read.",
6263 "format": "uint32",
6264 "type": "integer"
6265 },
6266 "totalItemCount": {
6267 "description": "The approximate number of items that the sub scription points to.",
6268 "format": "uint32",
6269 "type": "integer"
6270 }
6271 },
6272 "type": "object"
6273 },
6274 "SubscriptionListResponse": {
6275 "id": "SubscriptionListResponse",
6276 "properties": {
6277 "etag": {
6278 "description": "Etag of this resource.",
6279 "type": "string"
6280 },
6281 "eventId": {
6282 "description": "Serialized EventId of the request which prod uced this response.",
6283 "type": "string"
6284 },
6285 "items": {
6286 "description": "A list of subscriptions that match the reque st criteria.",
6287 "items": {
6288 "$ref": "Subscription"
6289 },
6290 "type": "array"
6291 },
6292 "kind": {
6293 "default": "youtube#subscriptionListResponse",
6294 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#subscriptionListResponse\".",
6295 "type": "string"
6296 },
6297 "nextPageToken": {
6298 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
6299 "type": "string"
6300 },
6301 "pageInfo": {
6302 "$ref": "PageInfo"
6303 },
6304 "prevPageToken": {
6305 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
6306 "type": "string"
6307 },
6308 "tokenPagination": {
6309 "$ref": "TokenPagination"
6310 },
6311 "visitorId": {
6312 "description": "The visitorId identifies the visitor.",
6313 "type": "string"
6314 }
6315 },
6316 "type": "object"
6317 },
6318 "SubscriptionSnippet": {
6319 "description": "Basic details about a subscription, including title, description and thumbnails of the subscribed item.",
6320 "id": "SubscriptionSnippet",
6321 "properties": {
6322 "channelId": {
6323 "description": "The ID that YouTube uses to uniquely identif y the subscriber's channel.",
6324 "type": "string"
6325 },
6326 "channelTitle": {
6327 "description": "Channel title for the channel that the subsc ription belongs to.",
6328 "type": "string"
6329 },
6330 "description": {
6331 "description": "The subscription's details.",
6332 "type": "string"
6333 },
6334 "publishedAt": {
6335 "description": "The date and time that the subscription was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
6336 "format": "date-time",
6337 "type": "string"
6338 },
6339 "resourceId": {
6340 "$ref": "ResourceId",
6341 "annotations": {
6342 "required": [
6343 "youtube.subscriptions.insert"
6344 ]
6345 },
6346 "description": "The id object contains information about the channel that the user subscribed to."
6347 },
6348 "thumbnails": {
6349 "$ref": "ThumbnailDetails",
6350 "description": "A map of thumbnail images associated with th e video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. "
6351 },
6352 "title": {
6353 "description": "The subscription's title.",
6354 "type": "string"
6355 }
6356 },
6357 "type": "object"
6358 },
6359 "SubscriptionSubscriberSnippet": {
6360 "description": "Basic details about a subscription's subscriber incl uding title, description, channel ID and thumbnails.",
6361 "id": "SubscriptionSubscriberSnippet",
6362 "properties": {
6363 "channelId": {
6364 "description": "The channel ID of the subscriber.",
6365 "type": "string"
6366 },
6367 "description": {
6368 "description": "The description of the subscriber.",
6369 "type": "string"
6370 },
6371 "thumbnails": {
6372 "$ref": "ThumbnailDetails",
6373 "description": "Thumbnails for this subscriber."
6374 },
6375 "title": {
6376 "description": "The title of the subscriber.",
6377 "type": "string"
6378 }
6379 },
6380 "type": "object"
6381 },
6382 "Thumbnail": {
6383 "description": "A thumbnail is an image representing a YouTube resou rce.",
6384 "id": "Thumbnail",
6385 "properties": {
6386 "height": {
6387 "description": "(Optional) Height of the thumbnail image.",
6388 "format": "uint32",
6389 "type": "integer"
6390 },
6391 "url": {
6392 "description": "The thumbnail image's URL.",
6393 "type": "string"
6394 },
6395 "width": {
6396 "description": "(Optional) Width of the thumbnail image.",
6397 "format": "uint32",
6398 "type": "integer"
6399 }
6400 },
6401 "type": "object"
6402 },
6403 "ThumbnailDetails": {
6404 "description": "Internal representation of thumbnails for a YouTube resource.",
6405 "id": "ThumbnailDetails",
6406 "properties": {
6407 "default": {
6408 "$ref": "Thumbnail",
6409 "description": "The default image for this resource."
6410 },
6411 "high": {
6412 "$ref": "Thumbnail",
6413 "description": "The high quality image for this resource."
6414 },
6415 "maxres": {
6416 "$ref": "Thumbnail",
6417 "description": "The maximum resolution quality image for thi s resource."
6418 },
6419 "medium": {
6420 "$ref": "Thumbnail",
6421 "description": "The medium quality image for this resource."
6422 },
6423 "standard": {
6424 "$ref": "Thumbnail",
6425 "description": "The standard quality image for this resource ."
6426 }
6427 },
6428 "type": "object"
6429 },
6430 "ThumbnailSetResponse": {
6431 "id": "ThumbnailSetResponse",
6432 "properties": {
6433 "etag": {
6434 "description": "Etag of this resource.",
6435 "type": "string"
6436 },
6437 "eventId": {
6438 "description": "Serialized EventId of the request which prod uced this response.",
6439 "type": "string"
6440 },
6441 "items": {
6442 "description": "A list of thumbnails.",
6443 "items": {
6444 "$ref": "ThumbnailDetails"
6445 },
6446 "type": "array"
6447 },
6448 "kind": {
6449 "default": "youtube#thumbnailSetResponse",
6450 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#thumbnailSetResponse\".",
6451 "type": "string"
6452 },
6453 "visitorId": {
6454 "description": "The visitorId identifies the visitor.",
6455 "type": "string"
6456 }
6457 },
6458 "type": "object"
6459 },
6460 "TokenPagination": {
6461 "description": "Stub token pagination template to suppress results." ,
6462 "id": "TokenPagination",
6463 "type": "object"
6464 },
6465 "Video": {
6466 "description": "A video resource represents a YouTube video.",
6467 "id": "Video",
6468 "properties": {
6469 "ageGating": {
6470 "$ref": "VideoAgeGating",
6471 "description": "Age restriction details related to a video."
6472 },
6473 "contentDetails": {
6474 "$ref": "VideoContentDetails",
6475 "description": "The contentDetails object contains informati on about the video content, including the length of the video and its aspect rat io."
6476 },
6477 "conversionPings": {
6478 "$ref": "VideoConversionPings",
6479 "description": "The conversionPings object encapsulates info rmation about url pings that need to be respected by the App in different video contexts."
6480 },
6481 "etag": {
6482 "description": "Etag of this resource.",
6483 "type": "string"
6484 },
6485 "fileDetails": {
6486 "$ref": "VideoFileDetails",
6487 "description": "The fileDetails object encapsulates informat ion about the video file that was uploaded to YouTube, including the file's reso lution, duration, audio and video codecs, stream bitrates, and more. This data c an only be retrieved by the video owner."
6488 },
6489 "id": {
6490 "annotations": {
6491 "required": [
6492 "youtube.videos.update"
6493 ]
6494 },
6495 "description": "The ID that YouTube uses to uniquely identif y the video.",
6496 "type": "string"
6497 },
6498 "kind": {
6499 "default": "youtube#video",
6500 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#video\".",
6501 "type": "string"
6502 },
6503 "liveStreamingDetails": {
6504 "$ref": "VideoLiveStreamingDetails",
6505 "description": "The liveStreamingDetails object contains met adata about a live video broadcast. The object will only be present in a video r esource if the video is an upcoming, live, or completed live broadcast."
6506 },
6507 "monetizationDetails": {
6508 "$ref": "VideoMonetizationDetails",
6509 "description": "The monetizationDetails object encapsulates information about the monetization status of the video."
6510 },
6511 "player": {
6512 "$ref": "VideoPlayer",
6513 "description": "The player object contains information that you would use to play the video in an embedded player."
6514 },
6515 "processingDetails": {
6516 "$ref": "VideoProcessingDetails",
6517 "description": "The processingProgress object encapsulates i nformation about YouTube's progress in processing the uploaded video file. The p roperties in the object identify the current processing status and an estimate o f the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or t humbnail images, are available for the video.\n\nThe processingProgress object i s designed to be polled so that the video uploaded can track the progress that Y ouTube has made in processing the uploaded video file. This data can only be ret rieved by the video owner."
6518 },
6519 "projectDetails": {
6520 "$ref": "VideoProjectDetails",
6521 "description": "The projectDetails object contains informati on about the project specific video metadata."
6522 },
6523 "recordingDetails": {
6524 "$ref": "VideoRecordingDetails",
6525 "description": "The recordingDetails object encapsulates inf ormation about the location, date and address where the video was recorded."
6526 },
6527 "snippet": {
6528 "$ref": "VideoSnippet",
6529 "description": "The snippet object contains basic details ab out the video, such as its title, description, and category."
6530 },
6531 "statistics": {
6532 "$ref": "VideoStatistics",
6533 "description": "The statistics object contains statistics ab out the video."
6534 },
6535 "status": {
6536 "$ref": "VideoStatus",
6537 "description": "The status object contains information about the video's uploading, processing, and privacy statuses."
6538 },
6539 "suggestions": {
6540 "$ref": "VideoSuggestions",
6541 "description": "The suggestions object encapsulates suggesti ons that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner."
6542 },
6543 "topicDetails": {
6544 "$ref": "VideoTopicDetails",
6545 "description": "The topicDetails object encapsulates informa tion about Freebase topics associated with the video."
6546 }
6547 },
6548 "type": "object"
6549 },
6550 "VideoAgeGating": {
6551 "id": "VideoAgeGating",
6552 "properties": {
6553 "alcoholContent": {
6554 "description": "Indicates whether or not the video has alcoh olic beverage content. Only users of legal purchasing age in a particular countr y, as identified by ICAP, can view the content.",
6555 "type": "boolean"
6556 },
6557 "restricted": {
6558 "description": "Age-restricted trailers. For redband trailer s and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The fiel d won't be present.",
6559 "type": "boolean"
6560 },
6561 "videoGameRating": {
6562 "description": "Video game rating, if any.",
6563 "enum": [
6564 "anyone",
6565 "m15Plus",
6566 "m16Plus",
6567 "m17Plus"
6568 ],
6569 "enumDescriptions": [
6570 "",
6571 "",
6572 "",
6573 ""
6574 ],
6575 "type": "string"
6576 }
6577 },
6578 "type": "object"
6579 },
6580 "VideoCategory": {
6581 "description": "A videoCategory resource identifies a category that has been or could be associated with uploaded videos.",
6582 "id": "VideoCategory",
6583 "properties": {
6584 "etag": {
6585 "description": "Etag of this resource.",
6586 "type": "string"
6587 },
6588 "id": {
6589 "description": "The ID that YouTube uses to uniquely identif y the video category.",
6590 "type": "string"
6591 },
6592 "kind": {
6593 "default": "youtube#videoCategory",
6594 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#videoCategory\".",
6595 "type": "string"
6596 },
6597 "snippet": {
6598 "$ref": "VideoCategorySnippet",
6599 "description": "The snippet object contains basic details ab out the video category, including its title."
6600 }
6601 },
6602 "type": "object"
6603 },
6604 "VideoCategoryListResponse": {
6605 "id": "VideoCategoryListResponse",
6606 "properties": {
6607 "etag": {
6608 "description": "Etag of this resource.",
6609 "type": "string"
6610 },
6611 "eventId": {
6612 "description": "Serialized EventId of the request which prod uced this response.",
6613 "type": "string"
6614 },
6615 "items": {
6616 "description": "A list of video categories that can be assoc iated with YouTube videos. In this map, the video category ID is the map key, an d its value is the corresponding videoCategory resource.",
6617 "items": {
6618 "$ref": "VideoCategory"
6619 },
6620 "type": "array"
6621 },
6622 "kind": {
6623 "default": "youtube#videoCategoryListResponse",
6624 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#videoCategoryListResponse\".",
6625 "type": "string"
6626 },
6627 "nextPageToken": {
6628 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
6629 "type": "string"
6630 },
6631 "pageInfo": {
6632 "$ref": "PageInfo"
6633 },
6634 "prevPageToken": {
6635 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
6636 "type": "string"
6637 },
6638 "tokenPagination": {
6639 "$ref": "TokenPagination"
6640 },
6641 "visitorId": {
6642 "description": "The visitorId identifies the visitor.",
6643 "type": "string"
6644 }
6645 },
6646 "type": "object"
6647 },
6648 "VideoCategorySnippet": {
6649 "description": "Basic details about a video category, such as its lo calized title.",
6650 "id": "VideoCategorySnippet",
6651 "properties": {
6652 "assignable": {
6653 "type": "boolean"
6654 },
6655 "channelId": {
6656 "default": "UCBR8-60-B28hp2BmDPdntcQ",
6657 "description": "The YouTube channel that created the video c ategory.",
6658 "type": "string"
6659 },
6660 "title": {
6661 "description": "The video category's title.",
6662 "type": "string"
6663 }
6664 },
6665 "type": "object"
6666 },
6667 "VideoContentDetails": {
6668 "description": "Details about the content of a YouTube Video.",
6669 "id": "VideoContentDetails",
6670 "properties": {
6671 "caption": {
6672 "description": "The value of captions indicates whether the video has captions or not.",
6673 "enum": [
6674 "false",
6675 "true"
6676 ],
6677 "enumDescriptions": [
6678 "",
6679 ""
6680 ],
6681 "type": "string"
6682 },
6683 "contentRating": {
6684 "$ref": "ContentRating",
6685 "description": "Specifies the ratings that the video receive d under various rating schemes."
6686 },
6687 "countryRestriction": {
6688 "$ref": "AccessPolicy",
6689 "description": "The countryRestriction object contains infor mation about the countries where a video is (or is not) viewable."
6690 },
6691 "definition": {
6692 "description": "The value of definition indicates whether th e video is available in high definition or only in standard definition.",
6693 "enum": [
6694 "hd",
6695 "sd"
6696 ],
6697 "enumDescriptions": [
6698 "",
6699 ""
6700 ],
6701 "type": "string"
6702 },
6703 "dimension": {
6704 "description": "The value of dimension indicates whether the video is available in 3D or in 2D.",
6705 "type": "string"
6706 },
6707 "duration": {
6708 "description": "The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that t he value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letter s are both integers that specify the number of minutes (or seconds) of the video . For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.",
6709 "type": "string"
6710 },
6711 "licensedContent": {
6712 "description": "The value of is_license_content indicates wh ether the video is licensed content.",
6713 "type": "boolean"
6714 },
6715 "regionRestriction": {
6716 "$ref": "VideoContentDetailsRegionRestriction",
6717 "description": "The regionRestriction object contains inform ation about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the con tentDetails.regionRestriction.blocked property."
6718 }
6719 },
6720 "type": "object"
6721 },
6722 "VideoContentDetailsRegionRestriction": {
6723 "description": "DEPRECATED Region restriction of the video.",
6724 "id": "VideoContentDetailsRegionRestriction",
6725 "properties": {
6726 "allowed": {
6727 "description": "A list of region codes that identify countri es where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.",
6728 "items": {
6729 "type": "string"
6730 },
6731 "type": "array"
6732 },
6733 "blocked": {
6734 "description": "A list of region codes that identify countri es where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this propert y is present and contains an empty list, the video is viewable in all countries. ",
6735 "items": {
6736 "type": "string"
6737 },
6738 "type": "array"
6739 }
6740 },
6741 "type": "object"
6742 },
6743 "VideoConversionPing": {
6744 "id": "VideoConversionPing",
6745 "properties": {
6746 "context": {
6747 "description": "Defines the context of the ping.",
6748 "enum": [
6749 "comment",
6750 "dislike",
6751 "like",
6752 "share"
6753 ],
6754 "enumDescriptions": [
6755 "",
6756 "",
6757 "",
6758 ""
6759 ],
6760 "type": "string"
6761 },
6762 "conversionUrl": {
6763 "description": "The url (without the schema) that the app sh all send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D like%3Butuid%3D GISQtTNGYqaYl4sKxoVvKA%3Bytvid%3DUrIaJUvIQDg&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping. ",
6764 "type": "string"
6765 }
6766 },
6767 "type": "object"
6768 },
6769 "VideoConversionPings": {
6770 "id": "VideoConversionPings",
6771 "properties": {
6772 "pings": {
6773 "description": "Pings that the app shall fire for a video (a uthenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.",
6774 "items": {
6775 "$ref": "VideoConversionPing"
6776 },
6777 "type": "array"
6778 }
6779 },
6780 "type": "object"
6781 },
6782 "VideoFileDetails": {
6783 "description": "Describes original video file properties, including technical details about audio and video streams, but also metadata information l ike content length, digitization time, or geotagging information.",
6784 "id": "VideoFileDetails",
6785 "properties": {
6786 "audioStreams": {
6787 "description": "A list of audio streams contained in the upl oaded video file. Each item in the list contains detailed metadata about an audi o stream.",
6788 "items": {
6789 "$ref": "VideoFileDetailsAudioStream"
6790 },
6791 "type": "array"
6792 },
6793 "bitrateBps": {
6794 "description": "The uploaded video file's combined (video an d audio) bitrate in bits per second.",
6795 "format": "uint64",
6796 "type": "string"
6797 },
6798 "container": {
6799 "description": "The uploaded video file's container format." ,
6800 "type": "string"
6801 },
6802 "creationTime": {
6803 "description": "The date and time when the uploaded video fi le was created. The value is specified in ISO 8601 format. Currently, the follow ing ISO 8601 formats are supported: \n- Date only: YYYY-MM-DD \n- Naive time: Y YYY-MM-DDTHH:MM:SS \n- Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM",
6804 "type": "string"
6805 },
6806 "durationMs": {
6807 "description": "The length of the uploaded video in millisec onds.",
6808 "format": "uint64",
6809 "type": "string"
6810 },
6811 "fileName": {
6812 "description": "The uploaded file's name. This field is pres ent whether a video file or another type of file was uploaded.",
6813 "type": "string"
6814 },
6815 "fileSize": {
6816 "description": "The uploaded file's size in bytes. This fiel d is present whether a video file or another type of file was uploaded.",
6817 "format": "uint64",
6818 "type": "string"
6819 },
6820 "fileType": {
6821 "description": "The uploaded file's type as detected by YouT ube's video processing engine. Currently, YouTube only processes video files, bu t this field is present whether a video file or another type of file was uploade d.",
6822 "enum": [
6823 "archive",
6824 "audio",
6825 "document",
6826 "image",
6827 "other",
6828 "project",
6829 "video"
6830 ],
6831 "enumDescriptions": [
6832 "",
6833 "",
6834 "",
6835 "",
6836 "",
6837 "",
6838 ""
6839 ],
6840 "type": "string"
6841 },
6842 "recordingLocation": {
6843 "$ref": "GeoPoint",
6844 "description": "Geographic coordinates that identify the pla ce where the uploaded video was recorded. Coordinates are defined using WGS 84."
6845 },
6846 "videoStreams": {
6847 "description": "A list of video streams contained in the upl oaded video file. Each item in the list contains detailed metadata about a video stream.",
6848 "items": {
6849 "$ref": "VideoFileDetailsVideoStream"
6850 },
6851 "type": "array"
6852 }
6853 },
6854 "type": "object"
6855 },
6856 "VideoFileDetailsAudioStream": {
6857 "description": "Information about an audio stream.",
6858 "id": "VideoFileDetailsAudioStream",
6859 "properties": {
6860 "bitrateBps": {
6861 "description": "The audio stream's bitrate, in bits per seco nd.",
6862 "format": "uint64",
6863 "type": "string"
6864 },
6865 "channelCount": {
6866 "description": "The number of audio channels that the stream contains.",
6867 "format": "uint32",
6868 "type": "integer"
6869 },
6870 "codec": {
6871 "description": "The audio codec that the stream uses.",
6872 "type": "string"
6873 },
6874 "vendor": {
6875 "description": "A value that uniquely identifies a video ven dor. Typically, the value is a four-letter vendor code.",
6876 "type": "string"
6877 }
6878 },
6879 "type": "object"
6880 },
6881 "VideoFileDetailsVideoStream": {
6882 "description": "Information about a video stream.",
6883 "id": "VideoFileDetailsVideoStream",
6884 "properties": {
6885 "aspectRatio": {
6886 "description": "The video content's display aspect ratio, wh ich specifies the aspect ratio in which the video should be displayed.",
6887 "format": "double",
6888 "type": "number"
6889 },
6890 "bitrateBps": {
6891 "description": "The video stream's bitrate, in bits per seco nd.",
6892 "format": "uint64",
6893 "type": "string"
6894 },
6895 "codec": {
6896 "description": "The video codec that the stream uses.",
6897 "type": "string"
6898 },
6899 "frameRateFps": {
6900 "description": "The video stream's frame rate, in frames per second.",
6901 "format": "double",
6902 "type": "number"
6903 },
6904 "heightPixels": {
6905 "description": "The encoded video content's height in pixels .",
6906 "format": "uint32",
6907 "type": "integer"
6908 },
6909 "rotation": {
6910 "description": "The amount that YouTube needs to rotate the original source content to properly display the video.",
6911 "enum": [
6912 "clockwise",
6913 "counterClockwise",
6914 "none",
6915 "other",
6916 "upsideDown"
6917 ],
6918 "enumDescriptions": [
6919 "",
6920 "",
6921 "",
6922 "",
6923 ""
6924 ],
6925 "type": "string"
6926 },
6927 "vendor": {
6928 "description": "A value that uniquely identifies a video ven dor. Typically, the value is a four-letter vendor code.",
6929 "type": "string"
6930 },
6931 "widthPixels": {
6932 "description": "The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pi xels.",
6933 "format": "uint32",
6934 "type": "integer"
6935 }
6936 },
6937 "type": "object"
6938 },
6939 "VideoGetRatingResponse": {
6940 "id": "VideoGetRatingResponse",
6941 "properties": {
6942 "etag": {
6943 "description": "Etag of this resource.",
6944 "type": "string"
6945 },
6946 "items": {
6947 "description": "A list of ratings that match the request cri teria.",
6948 "items": {
6949 "$ref": "VideoRating"
6950 },
6951 "type": "array"
6952 },
6953 "kind": {
6954 "default": "youtube#videoGetRatingResponse",
6955 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#videoGetRatingResponse\".",
6956 "type": "string"
6957 }
6958 },
6959 "type": "object"
6960 },
6961 "VideoListResponse": {
6962 "id": "VideoListResponse",
6963 "properties": {
6964 "etag": {
6965 "description": "Etag of this resource.",
6966 "type": "string"
6967 },
6968 "eventId": {
6969 "description": "Serialized EventId of the request which prod uced this response.",
6970 "type": "string"
6971 },
6972 "items": {
6973 "description": "A list of videos that match the request crit eria.",
6974 "items": {
6975 "$ref": "Video"
6976 },
6977 "type": "array"
6978 },
6979 "kind": {
6980 "default": "youtube#videoListResponse",
6981 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"youtube#videoListResponse\".",
6982 "type": "string"
6983 },
6984 "nextPageToken": {
6985 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the next page in the result set.",
6986 "type": "string"
6987 },
6988 "pageInfo": {
6989 "$ref": "PageInfo"
6990 },
6991 "prevPageToken": {
6992 "description": "The token that can be used as the value of t he pageToken parameter to retrieve the previous page in the result set.",
6993 "type": "string"
6994 },
6995 "tokenPagination": {
6996 "$ref": "TokenPagination"
6997 },
6998 "visitorId": {
6999 "description": "The visitorId identifies the visitor.",
7000 "type": "string"
7001 }
7002 },
7003 "type": "object"
7004 },
7005 "VideoLiveStreamingDetails": {
7006 "description": "Details about the live streaming metadata.",
7007 "id": "VideoLiveStreamingDetails",
7008 "properties": {
7009 "actualEndTime": {
7010 "description": "The time that the broadcast actually ended. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value w ill not be available until the broadcast is over.",
7011 "format": "date-time",
7012 "type": "string"
7013 },
7014 "actualStartTime": {
7015 "description": "The time that the broadcast actually started . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value will not be available until the broadcast begins.",
7016 "format": "date-time",
7017 "type": "string"
7018 },
7019 "concurrentViewers": {
7020 "description": "The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has curr ent viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcas t when the broadcast ends. So, this property would not identify the number of vi ewers watching an archived video of a live broadcast that already ended.",
7021 "format": "uint64",
7022 "type": "string"
7023 },
7024 "scheduledEndTime": {
7025 "description": "The time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. If the value is empty or the property is not present, then the broadcast is scheduled t o continue indefinitely.",
7026 "format": "date-time",
7027 "type": "string"
7028 },
7029 "scheduledStartTime": {
7030 "description": "The time that the broadcast is scheduled to begin. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
7031 "format": "date-time",
7032 "type": "string"
7033 }
7034 },
7035 "type": "object"
7036 },
7037 "VideoMonetizationDetails": {
7038 "description": "Details about monetization of a YouTube Video.",
7039 "id": "VideoMonetizationDetails",
7040 "properties": {
7041 "access": {
7042 "$ref": "AccessPolicy",
7043 "description": "The value of access indicates whether the vi deo can be monetized or not."
7044 }
7045 },
7046 "type": "object"
7047 },
7048 "VideoPlayer": {
7049 "description": "Player to be used for a video playback.",
7050 "id": "VideoPlayer",
7051 "properties": {
7052 "embedHtml": {
7053 "description": "An <iframe> tag that embeds a player that wi ll play the video.",
7054 "type": "string"
7055 }
7056 },
7057 "type": "object"
7058 },
7059 "VideoProcessingDetails": {
7060 "description": "Describes processing status and progress and availab ility of some other Video resource parts.",
7061 "id": "VideoProcessingDetails",
7062 "properties": {
7063 "editorSuggestionsAvailability": {
7064 "description": "This value indicates whether video editing s uggestions, which might improve video quality or the playback experience, are av ailable for the video. You can retrieve these suggestions by requesting the sugg estions part in your videos.list() request.",
7065 "type": "string"
7066 },
7067 "fileDetailsAvailability": {
7068 "description": "This value indicates whether file details ar e available for the uploaded video. You can retrieve a video's file details by r equesting the fileDetails part in your videos.list() request.",
7069 "type": "string"
7070 },
7071 "processingFailureReason": {
7072 "description": "The reason that YouTube failed to process th e video. This property will only have a value if the processingStatus property's value is failed.",
7073 "enum": [
7074 "other",
7075 "streamingFailed",
7076 "transcodeFailed",
7077 "uploadFailed"
7078 ],
7079 "enumDescriptions": [
7080 "",
7081 "",
7082 "",
7083 ""
7084 ],
7085 "type": "string"
7086 },
7087 "processingIssuesAvailability": {
7088 "description": "This value indicates whether the video proce ssing engine has generated suggestions that might improve YouTube's ability to p rocess the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by req uesting the suggestions part in your videos.list() request.",
7089 "type": "string"
7090 },
7091 "processingProgress": {
7092 "$ref": "VideoProcessingDetailsProcessingProgress",
7093 "description": "The processingProgress object contains infor mation about the progress YouTube has made in processing the video. The values a re really only relevant if the video's processing status is processing."
7094 },
7095 "processingStatus": {
7096 "description": "The video's processing status. This value in dicates whether YouTube was able to process the video or if the video is still b eing processed.",
7097 "enum": [
7098 "failed",
7099 "processing",
7100 "succeeded",
7101 "terminated"
7102 ],
7103 "enumDescriptions": [
7104 "",
7105 "",
7106 "",
7107 ""
7108 ],
7109 "type": "string"
7110 },
7111 "tagSuggestionsAvailability": {
7112 "description": "This value indicates whether keyword (tag) s uggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these sugg estions by requesting the suggestions part in your videos.list() request.",
7113 "type": "string"
7114 },
7115 "thumbnailsAvailability": {
7116 "description": "This value indicates whether thumbnail image s have been generated for the video.",
7117 "type": "string"
7118 }
7119 },
7120 "type": "object"
7121 },
7122 "VideoProcessingDetailsProcessingProgress": {
7123 "description": "Video processing progress and completion time estima te.",
7124 "id": "VideoProcessingDetailsProcessingProgress",
7125 "properties": {
7126 "partsProcessed": {
7127 "description": "The number of parts of the video that YouTub e has already processed. You can estimate the percentage of the video that YouTu be has already processed by calculating:\n100 * parts_processed / parts_total\n\ nNote that since the estimated number of parts could increase without a correspo nding increase in the number of parts that have already been processed, it is po ssible that the calculated progress could periodically decrease while YouTube pr ocesses a video.",
7128 "format": "uint64",
7129 "type": "string"
7130 },
7131 "partsTotal": {
7132 "description": "An estimate of the total number of parts tha t need to be processed for the video. The number may be updated with more precis e estimates while YouTube processes the video.",
7133 "format": "uint64",
7134 "type": "string"
7135 },
7136 "timeLeftMs": {
7137 "description": "An estimate of the amount of time, in millse conds, that YouTube needs to finish processing the video.",
7138 "format": "uint64",
7139 "type": "string"
7140 }
7141 },
7142 "type": "object"
7143 },
7144 "VideoProjectDetails": {
7145 "description": "Project specific details about the content of a YouT ube Video.",
7146 "id": "VideoProjectDetails",
7147 "properties": {
7148 "tags": {
7149 "description": "A list of project tags associated with the v ideo during the upload.",
7150 "items": {
7151 "type": "string"
7152 },
7153 "type": "array"
7154 }
7155 },
7156 "type": "object"
7157 },
7158 "VideoRating": {
7159 "id": "VideoRating",
7160 "properties": {
7161 "rating": {
7162 "enum": [
7163 "dislike",
7164 "like",
7165 "none",
7166 "unspecified"
7167 ],
7168 "enumDescriptions": [
7169 "",
7170 "",
7171 "",
7172 ""
7173 ],
7174 "type": "string"
7175 },
7176 "videoId": {
7177 "type": "string"
7178 }
7179 },
7180 "type": "object"
7181 },
7182 "VideoRecordingDetails": {
7183 "description": "Recording information associated with the video.",
7184 "id": "VideoRecordingDetails",
7185 "properties": {
7186 "location": {
7187 "$ref": "GeoPoint",
7188 "description": "The geolocation information associated with the video."
7189 },
7190 "locationDescription": {
7191 "description": "The text description of the location where t he video was recorded.",
7192 "type": "string"
7193 },
7194 "recordingDate": {
7195 "description": "The date and time when the video was recorde d. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.",
7196 "format": "date-time",
7197 "type": "string"
7198 }
7199 },
7200 "type": "object"
7201 },
7202 "VideoSnippet": {
7203 "description": "Basic details about a video, including title, descri ption, uploader, thumbnails and category.",
7204 "id": "VideoSnippet",
7205 "properties": {
7206 "categoryId": {
7207 "description": "The YouTube video category associated with t he video.",
7208 "type": "string"
7209 },
7210 "channelId": {
7211 "description": "The ID that YouTube uses to uniquely identif y the channel that the video was uploaded to.",
7212 "type": "string"
7213 },
7214 "channelTitle": {
7215 "description": "Channel title for the channel that the video belongs to.",
7216 "type": "string"
7217 },
7218 "description": {
7219 "description": "The video's description.",
7220 "type": "string"
7221 },
7222 "liveBroadcastContent": {
7223 "description": "Indicates if the video is an upcoming/active live broadcast. Or it's \"none\" if the video is not an upcoming/active live br oadcast.",
7224 "enum": [
7225 "live",
7226 "none",
7227 "upcoming"
7228 ],
7229 "enumDescriptions": [
7230 "",
7231 "",
7232 ""
7233 ],
7234 "type": "string"
7235 },
7236 "publishedAt": {
7237 "description": "The date and time that the video was uploade d. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
7238 "format": "date-time",
7239 "type": "string"
7240 },
7241 "tags": {
7242 "description": "A list of keyword tags associated with the v ideo. Tags may contain spaces. This field is only visible to the video's uploade r.",
7243 "items": {
7244 "type": "string"
7245 },
7246 "type": "array"
7247 },
7248 "thumbnails": {
7249 "$ref": "ThumbnailDetails",
7250 "description": "A map of thumbnail images associated with th e video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. "
7251 },
7252 "title": {
7253 "description": "The video's title.",
7254 "type": "string"
7255 }
7256 },
7257 "type": "object"
7258 },
7259 "VideoStatistics": {
7260 "description": "Statistics about the video, such as the number of ti mes the video was viewed or liked.",
7261 "id": "VideoStatistics",
7262 "properties": {
7263 "commentCount": {
7264 "description": "The number of comments for the video.",
7265 "format": "uint64",
7266 "type": "string"
7267 },
7268 "dislikeCount": {
7269 "description": "The number of users who have indicated that they disliked the video by giving it a negative rating.",
7270 "format": "uint64",
7271 "type": "string"
7272 },
7273 "favoriteCount": {
7274 "description": "The number of users who currently have the v ideo marked as a favorite video.",
7275 "format": "uint64",
7276 "type": "string"
7277 },
7278 "likeCount": {
7279 "description": "The number of users who have indicated that they liked the video by giving it a positive rating.",
7280 "format": "uint64",
7281 "type": "string"
7282 },
7283 "viewCount": {
7284 "description": "The number of times the video has been viewe d.",
7285 "format": "uint64",
7286 "type": "string"
7287 }
7288 },
7289 "type": "object"
7290 },
7291 "VideoStatus": {
7292 "description": "Basic details about a video category, such as its lo calized title.",
7293 "id": "VideoStatus",
7294 "properties": {
7295 "embeddable": {
7296 "description": "This value indicates if the video can be emb edded on another website.",
7297 "type": "boolean"
7298 },
7299 "failureReason": {
7300 "description": "This value explains why a video failed to up load. This property is only present if the uploadStatus property indicates that the upload failed.",
7301 "enum": [
7302 "codec",
7303 "conversion",
7304 "emptyFile",
7305 "invalidFile",
7306 "tooSmall",
7307 "uploadAborted"
7308 ],
7309 "enumDescriptions": [
7310 "",
7311 "",
7312 "",
7313 "",
7314 "",
7315 ""
7316 ],
7317 "type": "string"
7318 },
7319 "license": {
7320 "description": "The video's license.",
7321 "enum": [
7322 "creativeCommon",
7323 "youtube"
7324 ],
7325 "enumDescriptions": [
7326 "",
7327 ""
7328 ],
7329 "type": "string"
7330 },
7331 "privacyStatus": {
7332 "description": "The video's privacy status.",
7333 "enum": [
7334 "private",
7335 "public",
7336 "unlisted"
7337 ],
7338 "enumDescriptions": [
7339 "",
7340 "",
7341 ""
7342 ],
7343 "type": "string"
7344 },
7345 "publicStatsViewable": {
7346 "description": "This value indicates if the extended video s tatistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled.",
7347 "type": "boolean"
7348 },
7349 "publishAt": {
7350 "description": "The date and time when the video is schedule d to publish. It can be set only if the privacy status of the video is private. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
7351 "format": "date-time",
7352 "type": "string"
7353 },
7354 "rejectionReason": {
7355 "description": "This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indic ates that the upload was rejected.",
7356 "enum": [
7357 "claim",
7358 "copyright",
7359 "duplicate",
7360 "inappropriate",
7361 "length",
7362 "termsOfUse",
7363 "trademark",
7364 "uploaderAccountClosed",
7365 "uploaderAccountSuspended"
7366 ],
7367 "enumDescriptions": [
7368 "",
7369 "",
7370 "",
7371 "",
7372 "",
7373 "",
7374 "",
7375 "",
7376 ""
7377 ],
7378 "type": "string"
7379 },
7380 "uploadStatus": {
7381 "description": "The status of the uploaded video.",
7382 "enum": [
7383 "deleted",
7384 "failed",
7385 "processed",
7386 "rejected",
7387 "uploaded"
7388 ],
7389 "enumDescriptions": [
7390 "",
7391 "",
7392 "",
7393 "",
7394 ""
7395 ],
7396 "type": "string"
7397 }
7398 },
7399 "type": "object"
7400 },
7401 "VideoSuggestions": {
7402 "description": "Specifies suggestions on how to improve video conten t, including encoding hints, tag suggestions, and editor suggestions.",
7403 "id": "VideoSuggestions",
7404 "properties": {
7405 "editorSuggestions": {
7406 "description": "A list of video editing operations that migh t improve the video quality or playback experience of the uploaded video.",
7407 "items": {
7408 "enum": [
7409 "audioQuietAudioSwap",
7410 "videoAutoLevels",
7411 "videoCrop",
7412 "videoStabilize"
7413 ],
7414 "enumDescriptions": [
7415 "",
7416 "",
7417 "",
7418 ""
7419 ],
7420 "type": "string"
7421 },
7422 "type": "array"
7423 },
7424 "processingErrors": {
7425 "description": "A list of errors that will prevent YouTube f rom successfully processing the uploaded video video. These errors indicate that , regardless of the video's current processing status, eventually, that status w ill almost certainly be failed.",
7426 "items": {
7427 "enum": [
7428 "archiveFile",
7429 "audioFile",
7430 "docFile",
7431 "imageFile",
7432 "notAVideoFile",
7433 "projectFile"
7434 ],
7435 "enumDescriptions": [
7436 "",
7437 "",
7438 "",
7439 "",
7440 "",
7441 ""
7442 ],
7443 "type": "string"
7444 },
7445 "type": "array"
7446 },
7447 "processingHints": {
7448 "description": "A list of suggestions that may improve YouTu be's ability to process the video.",
7449 "items": {
7450 "enum": [
7451 "nonStreamableMov",
7452 "sendBestQualityVideo"
7453 ],
7454 "enumDescriptions": [
7455 "",
7456 ""
7457 ],
7458 "type": "string"
7459 },
7460 "type": "array"
7461 },
7462 "processingWarnings": {
7463 "description": "A list of reasons why YouTube may have diffi culty transcoding the uploaded video or that might result in an erroneous transc oding. These warnings are generated before YouTube actually processes the upload ed video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, vide o artifacts, or a missing audio track.",
7464 "items": {
7465 "enum": [
7466 "hasEditlist",
7467 "inconsistentResolution",
7468 "problematicAudioCodec",
7469 "problematicVideoCodec",
7470 "unknownAudioCodec",
7471 "unknownContainer",
7472 "unknownVideoCodec"
7473 ],
7474 "enumDescriptions": [
7475 "",
7476 "",
7477 "",
7478 "",
7479 "",
7480 "",
7481 ""
7482 ],
7483 "type": "string"
7484 },
7485 "type": "array"
7486 },
7487 "tagSuggestions": {
7488 "description": "A list of keyword tags that could be added t o the video's metadata to increase the likelihood that users will locate your vi deo when searching or browsing on YouTube.",
7489 "items": {
7490 "$ref": "VideoSuggestionsTagSuggestion"
7491 },
7492 "type": "array"
7493 }
7494 },
7495 "type": "object"
7496 },
7497 "VideoSuggestionsTagSuggestion": {
7498 "description": "A single tag suggestion with it's relevance informat ion.",
7499 "id": "VideoSuggestionsTagSuggestion",
7500 "properties": {
7501 "categoryRestricts": {
7502 "description": "A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no rest ricts defined for the keyword.",
7503 "items": {
7504 "type": "string"
7505 },
7506 "type": "array"
7507 },
7508 "tag": {
7509 "description": "The keyword tag suggested for the video.",
7510 "type": "string"
7511 }
7512 },
7513 "type": "object"
7514 },
7515 "VideoTopicDetails": {
7516 "description": "Freebase topic information related to the video.",
7517 "id": "VideoTopicDetails",
7518 "properties": {
7519 "relevantTopicIds": {
7520 "description": "Similar to topic_id, except that these topic s are merely relevant to the video. These are topics that may be mentioned in, o r appear in the video. You can retrieve information about each topic using Freeb ase Topic API.",
7521 "items": {
7522 "type": "string"
7523 },
7524 "type": "array"
7525 },
7526 "topicIds": {
7527 "description": "A list of Freebase topic IDs that are centra lly associated with the video. These are topics that are centrally featured in t he video, and it can be said that the video is mainly about each of these. You c an retrieve information about each topic using the Freebase Topic API.",
7528 "items": {
7529 "type": "string"
7530 },
7531 "type": "array"
7532 }
7533 },
7534 "type": "object"
7535 },
7536 "WatchSettings": {
7537 "description": "Branding properties for the watch.",
7538 "id": "WatchSettings",
7539 "properties": {
7540 "backgroundColor": {
7541 "description": "The text color for the video watch page's br anded area.",
7542 "type": "string"
7543 },
7544 "featuredPlaylistId": {
7545 "description": "An ID that uniquely identifies a playlist th at displays next to the video player.",
7546 "type": "string"
7547 },
7548 "textColor": {
7549 "description": "The background color for the video watch pag e's branded area.",
7550 "type": "string"
7551 }
7552 },
7553 "type": "object"
7554 }
7555 },
7556 "servicePath": "youtube/v3/",
7557 "title": "YouTube Data API",
7558 "version": "v3"
7559 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698