{ "fullyEncodeReservedExpansion": true, "description": "The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.", "title": "YouTube Data API v3", "kind": "discovery#restDescription", "servicePath": "", "resources": { "i18nRegions": { "methods": { "list": { "parameters": { "hl": { "type": "string", "location": "query", "default": "en_US" }, "part": { "required": true, "repeated": true, "type": "string", "location": "query", "description": "The *part* parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet." } }, "flatPath": "youtube/v3/i18nRegions", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "id": "youtube.i18nRegions.list", "response": { "$ref": "I18nRegionListResponse" }, "httpMethod": "GET", "description": "Retrieves a list of resources, possibly filtered.", "path": "youtube/v3/i18nRegions", "parameterOrder": [ "part" ] } } }, "i18nLanguages": { "methods": { "list": { "flatPath": "youtube/v3/i18nLanguages", "parameters": { "part": { "required": true, "description": "The *part* parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.", "type": "string", "location": "query", "repeated": true }, "hl": { "type": "string", "location": "query", "default": "en_US" } }, "id": "youtube.i18nLanguages.list", "response": { "$ref": "I18nLanguageListResponse" }, "parameterOrder": [ "part" ], "httpMethod": "GET", "path": "youtube/v3/i18nLanguages", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "description": "Retrieves a list of resources, possibly filtered." } } }, "videoAbuseReportReasons": { "methods": { "list": { "description": "Retrieves a list of resources, possibly filtered.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "parameterOrder": [ "part" ], "response": { "$ref": "VideoAbuseReportReasonListResponse" }, "flatPath": "youtube/v3/videoAbuseReportReasons", "httpMethod": "GET", "id": "youtube.videoAbuseReportReasons.list", "parameters": { "part": { "repeated": true, "description": "The *part* parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet.", "location": "query", "required": true, "type": "string" }, "hl": { "type": "string", "default": "en-US", "location": "query" } }, "path": "youtube/v3/videoAbuseReportReasons" } } }, "search": { "methods": { "list": { "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "response": { "$ref": "SearchListResponse" }, "description": "Retrieves a list of search resources", "id": "youtube.search.list", "path": "youtube/v3/search", "flatPath": "youtube/v3/search", "parameters": { "forContentOwner": { "type": "boolean", "description": "Search owned by a content owner.", "location": "query" }, "type": { "type": "string", "repeated": true, "description": "Restrict results to a particular set of resource types from One Platform.", "location": "query" }, "locationRadius": { "location": "query", "type": "string", "description": "Filter on distance from the location (specified above)." }, "eventType": { "type": "string", "description": "Filter on the livestream status of the videos.", "location": "query", "enumDescriptions": [ "", "The live broadcast is upcoming.", "The live broadcast is active.", "The live broadcast has been completed." ], "enum": [ "none", "upcoming", "live", "completed" ] }, "videoSyndicated": { "type": "string", "enum": [ "videoSyndicatedUnspecified", "any", "true" ], "description": "Filter on syndicated videos.", "location": "query", "enumDescriptions": [ "", "Return all videos, syndicated or not.", "Only retrieve syndicated videos." ] }, "safeSearch": { "type": "string", "location": "query", "enumDescriptions": [ "", "YouTube will not filter the search result set.", "YouTube will filter some content from search results 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 demoted in search results. This is the default parameter value.", "YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results." ], "default": "moderate", "description": "Indicates whether the search results should include restricted content as well as standard content.", "enum": [ "safeSearchSettingUnspecified", "none", "moderate", "strict" ] }, "videoLicense": { "enumDescriptions": [ "Return all videos, regardless of which license they have, that match the query parameters.", "Only return videos that have the standard YouTube license.", "Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more." ], "enum": [ "any", "youtube", "creativeCommon" ], "location": "query", "description": "Filter on the license of the videos.", "type": "string" }, "channelId": { "type": "string", "location": "query", "description": "Filter on resources belonging to this channelId." }, "videoDimension": { "enum": [ "any", "2d", "3d" ], "enumDescriptions": [ "Include both 3D and non-3D videos in returned results. This is the default value.", "Restrict search results to exclude 3D videos.", "Restrict search results to only include 3D videos." ], "description": "Filter on 3d videos.", "location": "query", "type": "string" }, "relevanceLanguage": { "description": "Return results relevant to this language.", "location": "query", "type": "string" }, "videoCaption": { "enum": [ "videoCaptionUnspecified", "any", "closedCaption", "none" ], "location": "query", "type": "string", "enumDescriptions": [ "", "Do not filter results based on caption availability.", "Only include videos that have captions.", "Only include videos that do not have captions." ], "description": "Filter on the presence of captions on the videos." }, "q": { "location": "query", "type": "string", "description": "Textual search terms to match." }, "relatedToVideoId": { "type": "string", "description": "Search related to a resource.", "location": "query" }, "topicId": { "description": "Restrict results to a particular topic.", "location": "query", "type": "string" }, "videoCategoryId": { "location": "query", "type": "string", "description": "Filter on videos in a specific category." }, "videoEmbeddable": { "enumDescriptions": [ "", "Return all videos, embeddable or not.", "Only retrieve embeddable videos." ], "type": "string", "enum": [ "videoEmbeddableUnspecified", "any", "true" ], "description": "Filter on embeddable videos.", "location": "query" }, "part": { "repeated": true, "description": "The *part* parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.", "required": true, "type": "string", "location": "query" }, "forMine": { "type": "boolean", "description": "Search for the private videos of the authenticated user.", "location": "query" }, "videoDuration": { "description": "Filter on the duration of the videos.", "enumDescriptions": [ "", "Do not filter video search results based on their duration. This is the default value.", "Only include videos that are less than four minutes long.", "Only include videos that are between four and 20 minutes long (inclusive).", "Only include videos longer than 20 minutes." ], "location": "query", "enum": [ "videoDurationUnspecified", "any", "short", "medium", "long" ], "type": "string" }, "forDeveloper": { "description": "Restrict the search to only retrieve videos uploaded using the project id of the authenticated user.", "location": "query", "type": "boolean" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "order": { "location": "query", "enum": [ "searchSortUnspecified", "date", "rating", "viewCount", "relevance", "title", "videoCount" ], "enumDescriptions": [ "", "Resources are sorted in reverse chronological order based on the date they were created.", "Resources are sorted from highest to lowest rating.", "Resources are sorted from highest to lowest number of views.", "Resources are sorted based on their relevance to the search query. This is the default value for this parameter.", "Resources are sorted alphabetically by title.", "Channels are sorted in descending order of their number of uploaded videos." ], "type": "string", "default": "relevance", "description": "Sort order of the results." }, "videoDefinition": { "location": "query", "type": "string", "description": "Filter on the definition of the videos.", "enumDescriptions": [ "Return all videos, regardless of their resolution.", "Only retrieve videos in standard definition.", "Only retrieve HD videos." ], "enum": [ "any", "standard", "high" ] }, "regionCode": { "description": "Display the content as seen by viewers in this country.", "location": "query", "type": "string" }, "channelType": { "enumDescriptions": [ "", "Return all channels.", "Only retrieve shows." ], "type": "string", "description": "Add a filter on the channel search.", "location": "query", "enum": [ "channelTypeUnspecified", "any", "show" ] }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string", "location": "query" }, "publishedAfter": { "format": "google-datetime", "description": "Filter on resources published after this date.", "type": "string", "location": "query" }, "location": { "location": "query", "description": "Filter on location of the video", "type": "string" }, "maxResults": { "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "location": "query", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "type": "integer" }, "videoType": { "description": "Filter on videos of a specific type.", "type": "string", "location": "query", "enum": [ "videoTypeUnspecified", "any", "movie", "episode" ], "enumDescriptions": [ "", "Return all videos.", "Only retrieve movies.", "Only retrieve episodes of shows." ] }, "publishedBefore": { "location": "query", "format": "google-datetime", "type": "string", "description": "Filter on resources published before this date." } }, "parameterOrder": [ "part" ] } } }, "liveStreams": { "methods": { "update": { "id": "youtube.liveStreams.update", "response": { "$ref": "LiveStream" }, "httpMethod": "PUT", "flatPath": "youtube/v3/liveStreams", "path": "youtube/v3/liveStreams", "parameters": { "onBehalfOfContentOwnerChannel": { "location": "query", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "type": "string" }, "part": { "location": "query", "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status. Note 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. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.", "required": true, "repeated": true, "type": "string" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "parameterOrder": [ "part" ], "request": { "$ref": "LiveStream" }, "description": "Updates an existing stream for the authenticated user.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "insert": { "parameters": { "part": { "location": "query", "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, content_details, and status.", "required": true, "type": "string" }, "onBehalfOfContentOwnerChannel": { "type": "string", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query" }, "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" } }, "flatPath": "youtube/v3/liveStreams", "request": { "$ref": "LiveStream" }, "path": "youtube/v3/liveStreams", "description": "Inserts a new stream for the authenticated user.", "httpMethod": "POST", "response": { "$ref": "LiveStream" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameterOrder": [ "part" ], "id": "youtube.liveStreams.insert" }, "list": { "flatPath": "youtube/v3/liveStreams", "description": "Retrieve the list of streams associated with the given channel. --", "id": "youtube.liveStreams.list", "httpMethod": "GET", "parameterOrder": [ "part" ], "response": { "$ref": "LiveStreamListResponse" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "path": "youtube/v3/liveStreams", "parameters": { "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query", "type": "string" }, "part": { "required": true, "location": "query", "repeated": true, "type": "string", "description": "The *part* parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status." }, "pageToken": { "type": "string", "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "location": "query" }, "maxResults": { "maximum": "50", "location": "query", "type": "integer", "default": "5", "format": "uint32", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "minimum": "0" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "mine": { "type": "boolean", "location": "query" }, "id": { "description": "Return LiveStreams with the given ids from Stubby or Apiary.", "type": "string", "location": "query", "repeated": true } } }, "delete": { "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query", "type": "string" }, "id": { "type": "string", "location": "query", "required": true } }, "flatPath": "youtube/v3/liveStreams", "description": "Deletes an existing stream for the authenticated user.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "httpMethod": "DELETE", "path": "youtube/v3/liveStreams", "parameterOrder": [ "id" ], "id": "youtube.liveStreams.delete" } } }, "thirdPartyLinks": { "methods": { "delete": { "id": "youtube.thirdPartyLinks.delete", "description": "Deletes a resource.", "parameters": { "externalChannelId": { "type": "string", "location": "query", "description": "Channel ID to which changes should be applied, for delegation." }, "type": { "enum": [ "linkUnspecified", "channelToStoreLink" ], "description": "Type of the link to be deleted.", "enumDescriptions": [ "", "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube." ], "type": "string", "required": true, "location": "query" }, "linkingToken": { "location": "query", "required": true, "type": "string", "description": "Delete the partner links with the given linking token." }, "part": { "description": "Do not use. Required for compatibility.", "repeated": true, "type": "string", "location": "query" } }, "parameterOrder": [ "linkingToken", "type" ], "httpMethod": "DELETE", "flatPath": "youtube/v3/thirdPartyLinks", "path": "youtube/v3/thirdPartyLinks" }, "update": { "flatPath": "youtube/v3/thirdPartyLinks", "description": "Updates an existing resource.", "id": "youtube.thirdPartyLinks.update", "response": { "$ref": "ThirdPartyLink" }, "path": "youtube/v3/thirdPartyLinks", "httpMethod": "PUT", "request": { "$ref": "ThirdPartyLink" }, "parameterOrder": [ "part" ], "parameters": { "externalChannelId": { "location": "query", "description": "Channel ID to which changes should be applied, for delegation.", "type": "string" }, "part": { "required": true, "type": "string", "repeated": true, "location": "query", "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet." } } }, "list": { "httpMethod": "GET", "flatPath": "youtube/v3/thirdPartyLinks", "path": "youtube/v3/thirdPartyLinks", "description": "Retrieves a list of resources, possibly filtered.", "response": { "$ref": "ThirdPartyLink" }, "parameterOrder": [ "part" ], "id": "youtube.thirdPartyLinks.list", "parameters": { "part": { "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet.", "type": "string", "location": "query", "repeated": true, "required": true }, "linkingToken": { "location": "query", "description": "Get a third party link with the given linking token.", "type": "string" }, "type": { "enumDescriptions": [ "", "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube." ], "description": "Get a third party link of the given type.", "location": "query", "type": "string", "enum": [ "linkUnspecified", "channelToStoreLink" ] }, "externalChannelId": { "description": "Channel ID to which changes should be applied, for delegation.", "location": "query", "type": "string" } } }, "insert": { "response": { "$ref": "ThirdPartyLink" }, "parameterOrder": [ "part" ], "id": "youtube.thirdPartyLinks.insert", "httpMethod": "POST", "path": "youtube/v3/thirdPartyLinks", "parameters": { "part": { "type": "string", "repeated": true, "location": "query", "description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.", "required": true }, "externalChannelId": { "location": "query", "description": "Channel ID to which changes should be applied, for delegation.", "type": "string" } }, "flatPath": "youtube/v3/thirdPartyLinks", "description": "Inserts a new resource into this collection.", "request": { "$ref": "ThirdPartyLink" } } } }, "tests": { "methods": { "insert": { "flatPath": "youtube/v3/tests", "scopes": [ "https://www.googleapis.com/auth/youtube.readonly" ], "response": { "$ref": "TestItem" }, "path": "youtube/v3/tests", "parameterOrder": [ "part" ], "description": "POST method.", "id": "youtube.tests.insert", "request": { "$ref": "TestItem" }, "parameters": { "externalChannelId": { "location": "query", "type": "string" }, "part": { "required": true, "location": "query", "repeated": true, "type": "string" } }, "httpMethod": "POST" } } }, "videoCategories": { "methods": { "list": { "path": "youtube/v3/videoCategories", "response": { "$ref": "VideoCategoryListResponse" }, "flatPath": "youtube/v3/videoCategories", "id": "youtube.videoCategories.list", "parameters": { "regionCode": { "location": "query", "type": "string" }, "hl": { "default": "en-US", "location": "query", "type": "string" }, "id": { "location": "query", "repeated": true, "type": "string", "description": "Returns the video categories with the given IDs for Stubby or Apiary." }, "part": { "location": "query", "type": "string", "required": true, "repeated": true, "description": "The *part* parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet." } }, "description": "Retrieves a list of resources, possibly filtered.", "parameterOrder": [ "part" ], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "httpMethod": "GET" } } }, "commentThreads": { "methods": { "insert": { "response": { "$ref": "CommentThread" }, "httpMethod": "POST", "flatPath": "youtube/v3/commentThreads", "parameterOrder": [ "part" ], "description": "Inserts a new resource into this collection.", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameters": { "part": { "location": "query", "description": "The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.", "required": true, "repeated": true, "type": "string" } }, "id": "youtube.commentThreads.insert", "request": { "$ref": "CommentThread" }, "path": "youtube/v3/commentThreads" }, "list": { "httpMethod": "GET", "parameterOrder": [ "part" ], "flatPath": "youtube/v3/commentThreads", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "response": { "$ref": "CommentThreadListResponse" }, "parameters": { "part": { "description": "The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.", "required": true, "type": "string", "repeated": true, "location": "query" }, "searchTerms": { "location": "query", "description": "Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.", "type": "string" }, "id": { "location": "query", "type": "string", "description": "Returns the comment threads with the given IDs for Stubby or Apiary.", "repeated": true }, "allThreadsRelatedToChannelId": { "description": "Returns the comment threads of all videos of the channel and the channel comments as well.", "type": "string", "location": "query" }, "channelId": { "description": "Returns the comment threads for all the channel comments (ie does not include comments left on videos).", "type": "string", "location": "query" }, "moderationStatus": { "description": "Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.", "enum": [ "published", "heldForReview", "likelySpam", "rejected" ], "enumDescriptions": [ "The comment is available for public display.", "The comment is awaiting review by a moderator.", "", "The comment is unfit for display." ], "default": "published", "type": "string", "location": "query" }, "maxResults": { "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "maximum": "100", "type": "integer", "location": "query", "format": "uint32", "minimum": "1", "default": "20" }, "textFormat": { "default": "html", "description": "The requested text format for the returned comments.", "type": "string", "enum": [ "textFormatUnspecified", "html", "plainText" ], "location": "query", "enumDescriptions": [ "", "Returns the comments in HTML format. This is the default value.", "Returns the comments in plain text format." ] }, "pageToken": { "location": "query", "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string" }, "order": { "enumDescriptions": [ "", "Order by time.", "Order by relevance." ], "default": "time", "location": "query", "enum": [ "orderUnspecified", "time", "relevance" ], "type": "string" }, "videoId": { "location": "query", "type": "string", "description": "Returns the comment threads of the specified video." } }, "id": "youtube.commentThreads.list", "path": "youtube/v3/commentThreads", "description": "Retrieves a list of resources, possibly filtered." } } }, "playlistItems": { "methods": { "delete": { "path": "youtube/v3/playlistItems", "description": "Deletes a resource.", "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "id": { "required": true, "location": "query", "type": "string" } }, "httpMethod": "DELETE", "flatPath": "youtube/v3/playlistItems", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "id" ], "id": "youtube.playlistItems.delete" }, "insert": { "path": "youtube/v3/playlistItems", "httpMethod": "POST", "parameterOrder": [ "part" ], "parameters": { "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" }, "part": { "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.", "type": "string", "required": true, "location": "query", "repeated": true } }, "response": { "$ref": "PlaylistItem" }, "id": "youtube.playlistItems.insert", "description": "Inserts a new resource into this collection.", "request": { "$ref": "PlaylistItem" }, "flatPath": "youtube/v3/playlistItems", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, "update": { "path": "youtube/v3/playlistItems", "id": "youtube.playlistItems.update", "description": "Updates an existing resource.", "request": { "$ref": "PlaylistItem" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "flatPath": "youtube/v3/playlistItems", "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "part": { "required": true, "location": "query", "repeated": true, "type": "string", "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note 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, which identify the times portion of the video that should play when users watch the 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 existing start and end times will be removed and replaced with the default settings." } }, "parameterOrder": [ "part" ], "httpMethod": "PUT", "response": { "$ref": "PlaylistItem" } }, "list": { "parameterOrder": [ "part" ], "path": "youtube/v3/playlistItems", "id": "youtube.playlistItems.list", "description": "Retrieves a list of resources, possibly filtered.", "flatPath": "youtube/v3/playlistItems", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "httpMethod": "GET", "response": { "$ref": "PlaylistItemListResponse" }, "parameters": { "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "playlistId": { "location": "query", "type": "string", "description": "Return the playlist items within the given playlist." }, "videoId": { "type": "string", "location": "query", "description": "Return the playlist items associated with the given video ID." }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "location": "query", "type": "string" }, "part": { "description": "The *part* parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains 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.", "required": true, "type": "string", "repeated": true, "location": "query" }, "id": { "location": "query", "repeated": true, "type": "string" }, "maxResults": { "format": "uint32", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "location": "query", "minimum": "0", "maximum": "50", "default": "5", "type": "integer" } } } } }, "watermarks": { "methods": { "unset": { "flatPath": "youtube/v3/watermarks/unset", "httpMethod": "POST", "path": "youtube/v3/watermarks/unset", "parameters": { "channelId": { "location": "query", "required": true, "type": "string" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" } }, "description": "Allows removal of channel watermark.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "id": "youtube.watermarks.unset", "parameterOrder": [ "channelId" ] }, "set": { "httpMethod": "POST", "parameterOrder": [ "channelId" ], "flatPath": "youtube/v3/watermarks/set", "description": "Allows upload of watermark image and setting it for a channel.", "path": "youtube/v3/watermarks/set", "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "channelId": { "type": "string", "location": "query", "required": true } }, "supportsMediaUpload": true, "mediaUpload": { "maxSize": "10485760", "protocols": { "simple": { "path": "/upload/youtube/v3/watermarks/set", "multipart": true }, "resumable": { "path": "/resumable/upload/youtube/v3/watermarks/set", "multipart": true } }, "accept": [ "image/jpeg", "image/png", "application/octet-stream" ] }, "id": "youtube.watermarks.set", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], "request": { "$ref": "InvideoBranding" } } } }, "membershipsLevels": { "methods": { "list": { "description": "Retrieves a list of all pricing levels offered by a creator to the fans.", "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/youtube.channel-memberships.creator" ], "id": "youtube.membershipsLevels.list", "parameters": { "part": { "location": "query", "type": "string", "description": "The *part* parameter specifies the membershipsLevel resource parts that the API response will include. Supported values are id and snippet.", "repeated": true, "required": true } }, "parameterOrder": [ "part" ], "flatPath": "youtube/v3/membershipsLevels", "path": "youtube/v3/membershipsLevels", "response": { "$ref": "MembershipsLevelListResponse" } } } }, "captions": { "methods": { "delete": { "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "description": "Deletes a resource.", "parameterOrder": [ "id" ], "flatPath": "youtube/v3/captions", "id": "youtube.captions.delete", "path": "youtube/v3/captions", "httpMethod": "DELETE", "parameters": { "onBehalfOf": { "description": "ID of the Google+ Page for the channel that the request is be on behalf of", "type": "string", "location": "query" }, "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "id": { "required": true, "location": "query", "type": "string" } } }, "update": { "path": "youtube/v3/captions", "request": { "$ref": "Caption" }, "mediaUpload": { "maxSize": "104857600", "accept": [ "text/xml", "application/octet-stream", "*/*" ], "protocols": { "resumable": { "multipart": true, "path": "/resumable/upload/youtube/v3/captions" }, "simple": { "path": "/upload/youtube/v3/captions", "multipart": true } } }, "supportsMediaUpload": true, "httpMethod": "PUT", "id": "youtube.captions.update", "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "onBehalfOf": { "type": "string", "location": "query", "description": "ID of the Google+ Page for the channel that the request is on behalf of." }, "sync": { "description": "Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio.", "location": "query", "type": "boolean" }, "part": { "type": "string", "repeated": true, "required": true, "description": "The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.", "location": "query" } }, "response": { "$ref": "Caption" }, "flatPath": "youtube/v3/captions", "description": "Updates an existing resource.", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "part" ] }, "download": { "description": "Downloads a caption track.", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "id" ], "httpMethod": "GET", "flatPath": "youtube/v3/captions/{id}", "parameters": { "tfmt": { "location": "query", "description": "Convert the captions into this format. Supported options are sbv, srt, and vtt.", "type": "string" }, "id": { "required": true, "location": "path", "type": "string", "description": "The ID of the caption track to download, required for One Platform." }, "tlang": { "description": "tlang is the language code; machine translate the captions into this language.", "location": "query", "type": "string" }, "onBehalfOf": { "location": "query", "type": "string", "description": "ID of the Google+ Page for the channel that the request is be on behalf of" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "id": "youtube.captions.download", "path": "youtube/v3/captions/{id}", "supportsMediaDownload": true, "useMediaDownloadService": true }, "insert": { "response": { "$ref": "Caption" }, "request": { "$ref": "Caption" }, "parameterOrder": [ "part" ], "id": "youtube.captions.insert", "supportsMediaUpload": true, "httpMethod": "POST", "parameters": { "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "onBehalfOf": { "location": "query", "type": "string", "description": "ID of the Google+ Page for the channel that the request is be on behalf of" }, "sync": { "location": "query", "description": "Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio.", "type": "boolean" }, "part": { "required": true, "location": "query", "repeated": true, "description": "The *part* parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet.", "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "mediaUpload": { "maxSize": "104857600", "accept": [ "text/xml", "application/octet-stream", "*/*" ], "protocols": { "simple": { "path": "/upload/youtube/v3/captions", "multipart": true }, "resumable": { "multipart": true, "path": "/resumable/upload/youtube/v3/captions" } } }, "path": "youtube/v3/captions", "description": "Inserts a new resource into this collection.", "flatPath": "youtube/v3/captions" }, "list": { "response": { "$ref": "CaptionListResponse" }, "flatPath": "youtube/v3/captions", "parameters": { "onBehalfOf": { "type": "string", "location": "query", "description": "ID of the Google+ Page for the channel that the request is on behalf of." }, "id": { "repeated": true, "description": "Returns the captions with the given IDs for Stubby or Apiary.", "type": "string", "location": "query" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "part": { "type": "string", "description": "The *part* parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet.", "repeated": true, "location": "query", "required": true }, "videoId": { "required": true, "type": "string", "description": "Returns the captions for the specified video.", "location": "query" } }, "description": "Retrieves a list of resources, possibly filtered.", "httpMethod": "GET", "path": "youtube/v3/captions", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "part", "videoId" ], "id": "youtube.captions.list" } } }, "liveBroadcasts": { "methods": { "transition": { "description": "Transition a broadcast to a given status.", "response": { "$ref": "LiveBroadcast" }, "flatPath": "youtube/v3/liveBroadcasts/transition", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "httpMethod": "POST", "id": "youtube.liveBroadcasts.transition", "parameterOrder": [ "broadcastStatus", "id", "part" ], "parameters": { "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "part": { "type": "string", "repeated": true, "location": "query", "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.", "required": true }, "onBehalfOfContentOwnerChannel": { "location": "query", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "type": "string" }, "broadcastStatus": { "required": true, "type": "string", "location": "query", "enumDescriptions": [ "", "Start testing the broadcast. YouTube transmits video to the broadcast's monitor stream. Note that you can only transition a broadcast to the testing state if its contentDetails.monitorStream.enableMonitorStream property is set to true.\",", "Return only persistent broadcasts.", "The broadcast is over. YouTube stops transmitting video." ], "enum": [ "statusUnspecified", "testing", "live", "complete" ], "description": "The status to which the broadcast is going to transition." }, "id": { "type": "string", "description": "Broadcast to transition.", "required": true, "location": "query" } }, "path": "youtube/v3/liveBroadcasts/transition" }, "bind": { "flatPath": "youtube/v3/liveBroadcasts/bind", "response": { "$ref": "LiveBroadcast" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameters": { "part": { "required": true, "location": "query", "type": "string", "repeated": true, "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status." }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query", "type": "string" }, "streamId": { "description": "Stream to bind, if not set unbind the current one.", "type": "string", "location": "query" }, "id": { "type": "string", "location": "query", "required": true, "description": "Broadcast to bind to the stream" } }, "httpMethod": "POST", "parameterOrder": [ "id", "part" ], "id": "youtube.liveBroadcasts.bind", "path": "youtube/v3/liveBroadcasts/bind", "description": "Bind a broadcast to a stream." }, "insert": { "path": "youtube/v3/liveBroadcasts", "flatPath": "youtube/v3/liveBroadcasts", "parameterOrder": [ "part" ], "parameters": { "part": { "type": "string", "location": "query", "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.", "required": true }, "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "type": "string", "location": "query" }, "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" } }, "description": "Inserts a new stream for the authenticated user.", "id": "youtube.liveBroadcasts.insert", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "request": { "$ref": "LiveBroadcast" }, "httpMethod": "POST", "response": { "$ref": "LiveBroadcast" } }, "update": { "parameterOrder": [ "part" ], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "id": "youtube.liveBroadcasts.update", "path": "youtube/v3/liveBroadcasts", "description": "Updates an existing broadcast for the authenticated user.", "flatPath": "youtube/v3/liveBroadcasts", "httpMethod": "PUT", "response": { "$ref": "LiveBroadcast" }, "request": { "$ref": "LiveBroadcast" }, "parameters": { "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query", "type": "string" }, "part": { "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. Note 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 broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast'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 broadcast will revert to the default privacy setting.", "location": "query", "repeated": true, "required": true, "type": "string" }, "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." } } }, "delete": { "httpMethod": "DELETE", "parameters": { "onBehalfOfContentOwnerChannel": { "location": "query", "type": "string", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." }, "id": { "type": "string", "location": "query", "description": "Broadcast to delete.", "required": true }, "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." } }, "path": "youtube/v3/liveBroadcasts", "id": "youtube.liveBroadcasts.delete", "description": "Delete a given broadcast.", "parameterOrder": [ "id" ], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "flatPath": "youtube/v3/liveBroadcasts" }, "list": { "id": "youtube.liveBroadcasts.list", "parameters": { "pageToken": { "location": "query", "type": "string", "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved." }, "part": { "repeated": true, "description": "The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, status and statistics.", "required": true, "type": "string", "location": "query" }, "broadcastType": { "enum": [ "broadcastTypeFilterUnspecified", "all", "event", "persistent" ], "default": "event", "type": "string", "location": "query", "enumDescriptions": [ "", "Return all broadcasts.", "Return only scheduled event broadcasts.", "Return only persistent broadcasts." ], "description": "Return only broadcasts with the selected type." }, "maxResults": { "minimum": "0", "default": "5", "location": "query", "type": "integer", "format": "uint32", "maximum": "50", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set." }, "broadcastStatus": { "type": "string", "description": "Return broadcasts with a certain status, e.g. active broadcasts.", "enum": [ "broadcastStatusFilterUnspecified", "all", "active", "upcoming", "completed" ], "enumDescriptions": [ "", "Return all broadcasts.", "Return current live broadcasts.", "Return broadcasts that have not yet started.", "Return broadcasts that have already ended." ], "location": "query" }, "mine": { "location": "query", "type": "boolean" }, "onBehalfOfContentOwnerChannel": { "location": "query", "type": "string", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." }, "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" }, "id": { "repeated": true, "description": "Return broadcasts with the given ids from Stubby or Apiary.", "type": "string", "location": "query" } }, "response": { "$ref": "LiveBroadcastListResponse" }, "parameterOrder": [ "part" ], "path": "youtube/v3/liveBroadcasts", "httpMethod": "GET", "description": "Retrieve the list of broadcasts associated with the given channel.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "flatPath": "youtube/v3/liveBroadcasts" } } }, "channels": { "methods": { "update": { "path": "youtube/v3/channels", "parameterOrder": [ "part" ], "description": "Updates an existing resource.", "id": "youtube.channels.update", "parameters": { "part": { "required": true, "location": "query", "type": "string", "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.) Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies." }, "onBehalfOfContentOwner": { "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 channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "response": { "$ref": "Channel" }, "flatPath": "youtube/v3/channels", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "request": { "$ref": "Channel" }, "httpMethod": "PUT" }, "list": { "parameterOrder": [ "part" ], "flatPath": "youtube/v3/channels", "path": "youtube/v3/channels", "httpMethod": "GET", "description": "Retrieves a list of resources, possibly filtered.", "response": { "$ref": "ChannelListResponse" }, "id": "youtube.channels.list", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner", "https://www.googleapis.com/auth/youtubepartner-channel-audit" ], "parameters": { "mySubscribers": { "description": "Return the channels subscribed to the authenticated user", "location": "query", "type": "boolean" }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string", "location": "query" }, "mine": { "type": "boolean", "location": "query", "description": "Return the ids of channels owned by the authenticated user." }, "categoryId": { "location": "query", "description": "Return the channels within the specified guide category ID.", "type": "string" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "maxResults": { "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "minimum": "0", "default": "5", "maximum": "50", "format": "uint32", "location": "query", "type": "integer" }, "hl": { "type": "string", "description": "Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX).", "location": "query" }, "forUsername": { "location": "query", "description": "Return the channel associated with a YouTube username.", "type": "string" }, "part": { "repeated": true, "required": true, "type": "string", "description": "The *part* parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set *part=contentDetails*, the API response will also contain all of those nested properties.", "location": "query" }, "id": { "type": "string", "repeated": true, "description": "Return the channels with the specified IDs.", "location": "query" }, "managedByMe": { "description": "Return the channels managed by the authenticated user.", "type": "boolean", "location": "query" } } } } }, "thumbnails": { "methods": { "set": { "flatPath": "youtube/v3/thumbnails/set", "id": "youtube.thumbnails.set", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "videoId" ], "httpMethod": "POST", "description": "As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here.", "path": "youtube/v3/thumbnails/set", "mediaUpload": { "maxSize": "2097152", "protocols": { "resumable": { "path": "/resumable/upload/youtube/v3/thumbnails/set", "multipart": true }, "simple": { "multipart": true, "path": "/upload/youtube/v3/thumbnails/set" } }, "accept": [ "image/jpeg", "image/png", "application/octet-stream" ] }, "response": { "$ref": "ThumbnailSetResponse" }, "parameters": { "videoId": { "description": "Returns the Thumbnail with the given video IDs for Stubby or Apiary.", "required": true, "location": "query", "type": "string" }, "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" } }, "supportsMediaUpload": true } } }, "liveChatBans": { "methods": { "delete": { "parameters": { "id": { "location": "query", "type": "string", "required": true } }, "id": "youtube.liveChatBans.delete", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "flatPath": "youtube/v3/liveChat/bans", "path": "youtube/v3/liveChat/bans", "httpMethod": "DELETE", "parameterOrder": [ "id" ], "description": "Deletes a chat ban." }, "insert": { "path": "youtube/v3/liveChat/bans", "parameterOrder": [ "part" ], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "request": { "$ref": "LiveChatBan" }, "response": { "$ref": "LiveChatBan" }, "parameters": { "part": { "location": "query", "type": "string", "required": true, "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet." } }, "description": "Inserts a new resource into this collection.", "flatPath": "youtube/v3/liveChat/bans", "httpMethod": "POST", "id": "youtube.liveChatBans.insert" } } }, "liveChatMessages": { "methods": { "insert": { "parameters": { "part": { "description": "The *part* parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.", "location": "query", "type": "string", "required": true, "repeated": true } }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "httpMethod": "POST", "parameterOrder": [ "part" ], "request": { "$ref": "LiveChatMessage" }, "response": { "$ref": "LiveChatMessage" }, "flatPath": "youtube/v3/liveChat/messages", "path": "youtube/v3/liveChat/messages", "id": "youtube.liveChatMessages.insert", "description": "Inserts a new resource into this collection." }, "delete": { "description": "Deletes a chat message.", "flatPath": "youtube/v3/liveChat/messages", "httpMethod": "DELETE", "parameterOrder": [ "id" ], "path": "youtube/v3/liveChat/messages", "id": "youtube.liveChatMessages.delete", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameters": { "id": { "location": "query", "required": true, "type": "string" } } }, "list": { "response": { "$ref": "LiveChatMessageListResponse" }, "id": "youtube.liveChatMessages.list", "flatPath": "youtube/v3/liveChat/messages", "description": "Retrieves a list of resources, possibly filtered.", "httpMethod": "GET", "parameters": { "liveChatId": { "location": "query", "required": true, "type": "string", "description": "The id of the live chat for which comments should be returned." }, "maxResults": { "type": "integer", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "minimum": "200", "maximum": "2000", "location": "query", "format": "uint32", "default": "500" }, "part": { "description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.", "repeated": true, "location": "query", "required": true, "type": "string" }, "hl": { "location": "query", "description": "Specifies the localization language in which the system messages should be returned.", "type": "string" }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.", "location": "query", "type": "string" }, "profileImageSize": { "minimum": "16", "description": "Specifies the size of the profile image that should be returned for each user.", "format": "uint32", "maximum": "720", "type": "integer", "location": "query" } }, "path": "youtube/v3/liveChat/messages", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "parameterOrder": [ "liveChatId", "part" ] } } }, "subscriptions": { "methods": { "insert": { "description": "Inserts a new resource into this collection.", "request": { "$ref": "Subscription" }, "path": "youtube/v3/subscriptions", "flatPath": "youtube/v3/subscriptions", "id": "youtube.subscriptions.insert", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameterOrder": [ "part" ], "parameters": { "part": { "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.", "type": "string", "required": true, "repeated": true, "location": "query" } }, "httpMethod": "POST", "response": { "$ref": "Subscription" } }, "list": { "path": "youtube/v3/subscriptions", "httpMethod": "GET", "response": { "$ref": "SubscriptionListResponse" }, "parameterOrder": [ "part" ], "id": "youtube.subscriptions.list", "flatPath": "youtube/v3/subscriptions", "description": "Retrieves a list of resources, possibly filtered.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "parameters": { "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "order": { "enum": [ "subscriptionOrderUnspecified", "relevance", "unread", "alphabetical" ], "location": "query", "description": "The order of the returned subscriptions", "default": "relevance", "type": "string", "enumDescriptions": [ "", "Sort by relevance.", "Sort by order of activity.", "Sort alphabetically." ] }, "channelId": { "type": "string", "location": "query", "description": "Return the subscriptions of the given channel owner." }, "forChannelId": { "location": "query", "type": "string", "description": "Return the subscriptions to the subset of these channels that the authenticated user is subscribed to." }, "onBehalfOfContentOwnerChannel": { "location": "query", "type": "string", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." }, "part": { "description": "The *part* parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set *part=snippet*, the API response will also contain all of those nested properties.", "location": "query", "repeated": true, "required": true, "type": "string" }, "myRecentSubscribers": { "type": "boolean", "location": "query" }, "maxResults": { "location": "query", "type": "integer", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "minimum": "0", "default": "5", "maximum": "50", "format": "uint32" }, "id": { "description": "Return the subscriptions with the given IDs for Stubby or Apiary.", "repeated": true, "location": "query", "type": "string" }, "mySubscribers": { "type": "boolean", "location": "query", "description": "Return the subscribers of the given channel owner." }, "mine": { "location": "query", "type": "boolean", "description": "Flag for returning the subscriptions of the authenticated user." }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "location": "query", "type": "string" } } }, "delete": { "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "parameters": { "id": { "type": "string", "required": true, "location": "query" } }, "id": "youtube.subscriptions.delete", "parameterOrder": [ "id" ], "httpMethod": "DELETE", "flatPath": "youtube/v3/subscriptions", "description": "Deletes a resource.", "path": "youtube/v3/subscriptions" } } }, "abuseReports": { "methods": { "insert": { "path": "youtube/v3/abuseReports", "flatPath": "youtube/v3/abuseReports", "id": "youtube.abuseReports.insert", "request": { "$ref": "AbuseReport" }, "parameters": { "part": { "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.", "required": true, "repeated": true, "location": "query", "type": "string" } }, "description": "Inserts a new resource into this collection.", "parameterOrder": [ "part" ], "response": { "$ref": "AbuseReport" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "httpMethod": "POST" } } }, "members": { "methods": { "list": { "scopes": [ "https://www.googleapis.com/auth/youtube.channel-memberships.creator" ], "id": "youtube.members.list", "parameters": { "maxResults": { "default": "5", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "format": "uint32", "minimum": "0", "type": "integer", "location": "query", "maximum": "1000" }, "pageToken": { "type": "string", "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "location": "query" }, "hasAccessToLevel": { "description": "Filter members in the results set to the ones that have access to a level.", "type": "string", "location": "query" }, "filterByMemberChannelId": { "location": "query", "description": "Comma separated list of channel IDs. Only data about members that are part of this list will be included in the response.", "type": "string" }, "part": { "repeated": true, "type": "string", "required": true, "description": "The *part* parameter specifies the member resource parts that the API response will include. Set the parameter value to snippet.", "location": "query" }, "mode": { "description": "Parameter that specifies which channel members to return.", "enumDescriptions": [ "", "Return only members that joined after the first call with this mode was made.", "Return all current members, from newest to oldest." ], "default": "all_current", "location": "query", "enum": [ "listMembersModeUnknown", "updates", "all_current" ], "type": "string" } }, "flatPath": "youtube/v3/members", "httpMethod": "GET", "parameterOrder": [ "part" ], "description": "Retrieves a list of members that match the request criteria for a channel.", "path": "youtube/v3/members", "response": { "$ref": "MemberListResponse" } } } }, "activities": { "methods": { "list": { "path": "youtube/v3/activities", "id": "youtube.activities.list", "response": { "$ref": "ActivityListResponse" }, "parameterOrder": [ "part" ], "parameters": { "pageToken": { "type": "string", "location": "query", "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved." }, "mine": { "location": "query", "type": "boolean" }, "home": { "type": "boolean", "location": "query" }, "regionCode": { "location": "query", "type": "string" }, "channelId": { "type": "string", "location": "query" }, "publishedAfter": { "location": "query", "type": "string", "format": "google-datetime" }, "part": { "type": "string", "description": "The *part* parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set *part=snippet*, the API response will also contain all of those nested properties.", "location": "query", "repeated": true, "required": true }, "publishedBefore": { "format": "google-datetime", "location": "query", "type": "string" }, "maxResults": { "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "format": "uint32", "maximum": "50", "location": "query", "minimum": "0", "type": "integer", "default": "5" } }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "description": "Retrieves a list of resources, possibly filtered.", "httpMethod": "GET", "flatPath": "youtube/v3/activities" } } }, "youtube": { "resources": { "v3": { "methods": { "updateCommentThreads": { "flatPath": "youtube/v3/commentThreads", "description": "Updates an existing resource.", "parameters": { "part": { "repeated": true, "location": "query", "type": "string", "description": "The *part* parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update." } }, "parameterOrder": [], "path": "youtube/v3/commentThreads", "httpMethod": "PUT", "response": { "$ref": "CommentThread" }, "id": "youtube.youtube.v3.updateCommentThreads", "request": { "$ref": "CommentThread" } } } } } }, "channelBanners": { "methods": { "insert": { "httpMethod": "POST", "mediaUpload": { "maxSize": "6291456", "accept": [ "image/jpeg", "image/png", "application/octet-stream" ], "protocols": { "simple": { "multipart": true, "path": "/upload/youtube/v3/channelBanners/insert" }, "resumable": { "path": "/resumable/upload/youtube/v3/channelBanners/insert", "multipart": true } } }, "request": { "$ref": "ChannelBannerResource" }, "description": "Inserts a new resource into this collection.", "supportsMediaUpload": true, "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "channelId": { "description": "Unused, channel_id is currently derived from the security context of the requestor.", "type": "string", "location": "query" }, "onBehalfOfContentOwnerChannel": { "location": "query", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "type": "string" } }, "flatPath": "youtube/v3/channelBanners/insert", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload" ], "response": { "$ref": "ChannelBannerResource" }, "parameterOrder": [], "id": "youtube.channelBanners.insert", "path": "youtube/v3/channelBanners/insert" } } }, "superChatEvents": { "methods": { "list": { "path": "youtube/v3/superChatEvents", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "description": "Retrieves a list of resources, possibly filtered.", "response": { "$ref": "SuperChatEventListResponse" }, "flatPath": "youtube/v3/superChatEvents", "httpMethod": "GET", "parameters": { "maxResults": { "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "format": "uint32", "type": "integer", "location": "query", "minimum": "1", "default": "5", "maximum": "50" }, "part": { "type": "string", "required": true, "description": "The *part* parameter specifies the superChatEvent resource parts that the API response will include. This parameter is currently not supported.", "location": "query", "repeated": true }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string", "location": "query" }, "hl": { "location": "query", "type": "string", "description": "Return rendered funding amounts in specified language." } }, "id": "youtube.superChatEvents.list", "parameterOrder": [ "part" ] } } }, "channelSections": { "methods": { "list": { "httpMethod": "GET", "parameters": { "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "mine": { "description": "Return the ChannelSections owned by the authenticated user.", "location": "query", "type": "boolean" }, "hl": { "type": "string", "location": "query", "description": "Return content in specified language" }, "part": { "required": true, "location": "query", "description": "The *part* parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set *part=snippet*, the API response will also contain all of those nested properties.", "type": "string", "repeated": true }, "id": { "type": "string", "location": "query", "repeated": true, "description": "Return the ChannelSections with the given IDs for Stubby or Apiary." }, "channelId": { "location": "query", "type": "string", "description": "Return the ChannelSections owned by the specified channel ID." } }, "path": "youtube/v3/channelSections", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "id": "youtube.channelSections.list", "description": "Retrieves a list of resources, possibly filtered.", "response": { "$ref": "ChannelSectionListResponse" }, "parameterOrder": [ "part" ], "flatPath": "youtube/v3/channelSections" }, "insert": { "parameters": { "onBehalfOfContentOwner": { "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query" }, "part": { "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails.", "type": "string", "required": true, "location": "query", "repeated": true }, "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "location": "query", "type": "string" } }, "httpMethod": "POST", "flatPath": "youtube/v3/channelSections", "description": "Inserts a new resource into this collection.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "id": "youtube.channelSections.insert", "request": { "$ref": "ChannelSection" }, "path": "youtube/v3/channelSections", "parameterOrder": [ "part" ], "response": { "$ref": "ChannelSection" } }, "update": { "path": "youtube/v3/channelSections", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "httpMethod": "PUT", "parameters": { "part": { "type": "string", "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails.", "repeated": true, "required": true, "location": "query" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "id": "youtube.channelSections.update", "flatPath": "youtube/v3/channelSections", "request": { "$ref": "ChannelSection" }, "parameterOrder": [ "part" ], "description": "Updates an existing resource.", "response": { "$ref": "ChannelSection" } }, "delete": { "httpMethod": "DELETE", "id": "youtube.channelSections.delete", "description": "Deletes a resource.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "path": "youtube/v3/channelSections", "flatPath": "youtube/v3/channelSections", "parameterOrder": [ "id" ], "parameters": { "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "id": { "location": "query", "type": "string", "required": true } } } } }, "comments": { "methods": { "markAsSpam": { "flatPath": "youtube/v3/comments/markAsSpam", "description": "Expresses the caller's opinion that one or more comments should be flagged as spam.", "parameterOrder": [ "id" ], "httpMethod": "POST", "path": "youtube/v3/comments/markAsSpam", "parameters": { "id": { "required": true, "type": "string", "description": "Flags the comments with the given IDs as spam in the caller's opinion.", "repeated": true, "location": "query" } }, "id": "youtube.comments.markAsSpam", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "insert": { "path": "youtube/v3/comments", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameterOrder": [ "part" ], "id": "youtube.comments.insert", "request": { "$ref": "Comment" }, "flatPath": "youtube/v3/comments", "description": "Inserts a new resource into this collection.", "httpMethod": "POST", "response": { "$ref": "Comment" }, "parameters": { "part": { "required": true, "description": "The *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.", "location": "query", "type": "string", "repeated": true } } }, "update": { "id": "youtube.comments.update", "response": { "$ref": "Comment" }, "description": "Updates an existing resource.", "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameters": { "part": { "repeated": true, "location": "query", "required": true, "description": "The *part* parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.", "type": "string" } }, "request": { "$ref": "Comment" }, "parameterOrder": [ "part" ], "path": "youtube/v3/comments", "flatPath": "youtube/v3/comments" }, "list": { "id": "youtube.comments.list", "parameters": { "id": { "repeated": true, "location": "query", "description": "Returns the comments with the given IDs for One Platform.", "type": "string" }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string", "location": "query" }, "parentId": { "description": "Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.", "type": "string", "location": "query" }, "textFormat": { "default": "html", "enum": [ "textFormatUnspecified", "html", "plainText" ], "enumDescriptions": [ "", "Returns the comments in HTML format. This is the default value.", "Returns the comments in plain text format." ], "description": "The requested text format for the returned comments.", "location": "query", "type": "string" }, "maxResults": { "minimum": "1", "default": "20", "type": "integer", "location": "query", "maximum": "100", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "format": "uint32" }, "part": { "repeated": true, "description": "The *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.", "type": "string", "required": true, "location": "query" } }, "response": { "$ref": "CommentListResponse" }, "flatPath": "youtube/v3/comments", "httpMethod": "GET", "parameterOrder": [ "part" ], "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "path": "youtube/v3/comments", "description": "Retrieves a list of resources, possibly filtered." }, "delete": { "path": "youtube/v3/comments", "parameters": { "id": { "type": "string", "required": true, "location": "query" } }, "flatPath": "youtube/v3/comments", "httpMethod": "DELETE", "id": "youtube.comments.delete", "parameterOrder": [ "id" ], "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "description": "Deletes a resource." }, "setModerationStatus": { "scopes": [ "https://www.googleapis.com/auth/youtube.force-ssl" ], "parameters": { "moderationStatus": { "type": "string", "description": "Specifies the requested moderation status. Note, comments can be in statuses, which are not available through this call. For example, this call does not allow to mark a comment as 'likely spam'. Valid values: MODERATION_STATUS_PUBLISHED, MODERATION_STATUS_HELD_FOR_REVIEW, MODERATION_STATUS_REJECTED.", "location": "query", "enumDescriptions": [ "The comment is available for public display.", "The comment is awaiting review by a moderator.", "", "The comment is unfit for display." ], "enum": [ "published", "heldForReview", "likelySpam", "rejected" ], "required": true }, "id": { "description": "Modifies the moderation status of the comments with the given IDs", "location": "query", "required": true, "repeated": true, "type": "string" }, "banAuthor": { "description": "If set to true the author of the comment gets added to the ban list. This means all future comments of the author will autmomatically be rejected. Only valid in combination with STATUS_REJECTED.", "location": "query", "default": "false", "type": "boolean" } }, "path": "youtube/v3/comments/setModerationStatus", "parameterOrder": [ "id", "moderationStatus" ], "description": "Sets the moderation status of one or more comments.", "flatPath": "youtube/v3/comments/setModerationStatus", "httpMethod": "POST", "id": "youtube.comments.setModerationStatus" } } }, "playlists": { "methods": { "update": { "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "request": { "$ref": "Playlist" }, "parameters": { "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" }, "part": { "location": "query", "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist's existing description will be deleted.", "type": "string", "required": true } }, "description": "Updates an existing resource.", "id": "youtube.playlists.update", "httpMethod": "PUT", "response": { "$ref": "Playlist" }, "flatPath": "youtube/v3/playlists", "parameterOrder": [ "part" ], "path": "youtube/v3/playlists" }, "list": { "parameters": { "maxResults": { "location": "query", "default": "5", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", "minimum": "0", "type": "integer", "format": "uint32", "maximum": "50" }, "hl": { "type": "string", "location": "query", "description": "Returen content in specified language" }, "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "type": "string", "location": "query" }, "part": { "type": "string", "repeated": true, "required": true, "description": "The *part* parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set *part=snippet*, the API response will contain all of those properties.", "location": "query" }, "mine": { "location": "query", "description": "Return the playlists owned by the authenticated user.", "type": "boolean" }, "id": { "repeated": true, "location": "query", "description": "Return the playlists with the given IDs for Stubby or Apiary.", "type": "string" }, "channelId": { "location": "query", "description": "Return the playlists owned by the specified channel ID.", "type": "string" }, "onBehalfOfContentOwnerChannel": { "location": "query", "type": "string", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." } }, "parameterOrder": [ "part" ], "id": "youtube.playlists.list", "description": "Retrieves a list of resources, possibly filtered.", "flatPath": "youtube/v3/playlists", "response": { "$ref": "PlaylistListResponse" }, "path": "youtube/v3/playlists", "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] }, "insert": { "httpMethod": "POST", "flatPath": "youtube/v3/playlists", "description": "Inserts a new resource into this collection.", "parameterOrder": [ "part" ], "response": { "$ref": "Playlist" }, "parameters": { "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" }, "onBehalfOfContentOwnerChannel": { "type": "string", "location": "query", "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." }, "part": { "type": "string", "repeated": true, "location": "query", "required": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include." } }, "request": { "$ref": "Playlist" }, "id": "youtube.playlists.insert", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "path": "youtube/v3/playlists" }, "delete": { "description": "Deletes a resource.", "parameterOrder": [ "id" ], "id": "youtube.playlists.delete", "parameters": { "id": { "type": "string", "location": "query", "required": true }, "onBehalfOfContentOwner": { "location": "query", "type": "string", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." } }, "flatPath": "youtube/v3/playlists", "path": "youtube/v3/playlists", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "httpMethod": "DELETE" } } }, "videos": { "methods": { "update": { "path": "youtube/v3/videos", "parameterOrder": [ "part" ], "flatPath": "youtube/v3/videos", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "id": "youtube.videos.update", "response": { "$ref": "Video" }, "description": "Updates an existing resource.", "parameters": { "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "part": { "repeated": true, "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note 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 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 setting will be removed and the video will revert to the default privacy setting. In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values 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.", "type": "string", "required": true, "location": "query" } }, "httpMethod": "PUT", "request": { "$ref": "Video" } }, "list": { "id": "youtube.videos.list", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], "response": { "$ref": "VideoListResponse" }, "path": "youtube/v3/videos", "description": "Retrieves a list of resources, possibly filtered.", "parameters": { "maxHeight": { "type": "integer", "format": "int32", "location": "query", "minimum": "72", "maximum": "8192" }, "hl": { "type": "string", "location": "query", "description": "Stands for \"host language\". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX)." }, "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.", "type": "string", "location": "query" }, "regionCode": { "location": "query", "type": "string", "description": "Use a chart that is specific to the specified region" }, "maxResults": { "minimum": "1", "format": "uint32", "type": "integer", "location": "query", "default": "5", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.", "maximum": "50" }, "id": { "description": "Return videos with the given ids.", "location": "query", "repeated": true, "type": "string" }, "locale": { "type": "string", "location": "query" }, "myRating": { "type": "string", "enum": [ "none", "like", "dislike" ], "description": "Return videos liked/disliked by the authenticated user. Does not support RateType.RATED_TYPE_NONE.", "enumDescriptions": [ "", "The entity is liked.", "The entity is disliked." ], "location": "query" }, "part": { "repeated": true, "description": "The *part* parameter specifies a comma-separated list of one or more video resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set *part=snippet*, the API response will contain all of those properties.", "required": true, "location": "query", "type": "string" }, "maxWidth": { "location": "query", "minimum": "72", "maximum": "8192", "type": "integer", "description": "Return the player with maximum height specified in", "format": "int32" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string", "location": "query" }, "chart": { "type": "string", "enumDescriptions": [ "", "Return the most popular videos for the specified content region and video category." ], "enum": [ "chartUnspecified", "mostPopular" ], "description": "Return the videos that are in the specified chart.", "location": "query" }, "videoCategoryId": { "default": "0", "location": "query", "type": "string", "description": "Use chart that is specific to the specified video category" } }, "httpMethod": "GET", "parameterOrder": [ "part" ], "flatPath": "youtube/v3/videos" }, "getRating": { "parameterOrder": [ "id" ], "id": "youtube.videos.getRating", "description": "Retrieves the ratings that the authorized user gave to a list of specified videos.", "parameters": { "id": { "required": true, "location": "query", "repeated": true, "type": "string" }, "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "flatPath": "youtube/v3/videos/getRating", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "path": "youtube/v3/videos/getRating", "response": { "$ref": "VideoGetRatingResponse" }, "httpMethod": "GET" }, "reportAbuse": { "description": "Report abuse for a video.", "httpMethod": "POST", "parameterOrder": [], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "path": "youtube/v3/videos/reportAbuse", "parameters": { "onBehalfOfContentOwner": { "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "location": "query", "type": "string" } }, "id": "youtube.videos.reportAbuse", "flatPath": "youtube/v3/videos/reportAbuse", "request": { "$ref": "VideoAbuseReport" } }, "rate": { "description": "Adds a like or dislike rating to a video or removes a rating from a video.", "id": "youtube.videos.rate", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "path": "youtube/v3/videos/rate", "httpMethod": "POST", "parameterOrder": [ "id", "rating" ], "parameters": { "rating": { "location": "query", "type": "string", "enumDescriptions": [ "", "The entity is liked.", "The entity is disliked." ], "enum": [ "none", "like", "dislike" ], "required": true }, "id": { "required": true, "type": "string", "location": "query" } }, "flatPath": "youtube/v3/videos/rate" }, "delete": { "httpMethod": "DELETE", "parameterOrder": [ "id" ], "path": "youtube/v3/videos", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ], "description": "Deletes a resource.", "id": "youtube.videos.delete", "flatPath": "youtube/v3/videos", "parameters": { "onBehalfOfContentOwner": { "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.", "type": "string" }, "id": { "type": "string", "required": true, "location": "query" } } }, "insert": { "description": "Inserts a new resource into this collection.", "path": "youtube/v3/videos", "request": { "$ref": "Video" }, "parameters": { "autoLevels": { "type": "boolean", "location": "query", "description": "Should auto-levels be applied to the upload." }, "notifySubscribers": { "description": "Notify the channel subscribers about the new video. As default, the notification is enabled.", "location": "query", "default": "true", "type": "boolean" }, "onBehalfOfContentOwnerChannel": { "description": "This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.", "type": "string", "location": "query" }, "stabilize": { "description": "Should stabilize be applied to the upload.", "type": "boolean", "location": "query" }, "onBehalfOfContentOwner": { "type": "string", "location": "query", "description": "*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner." }, "part": { "location": "query", "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values 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.", "type": "string", "repeated": true, "required": true } }, "response": { "$ref": "Video" }, "id": "youtube.videos.insert", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], "supportsMediaUpload": true, "flatPath": "youtube/v3/videos", "parameterOrder": [ "part" ], "httpMethod": "POST", "mediaUpload": { "protocols": { "simple": { "path": "/upload/youtube/v3/videos", "multipart": true }, "resumable": { "path": "/resumable/upload/youtube/v3/videos", "multipart": true } }, "maxSize": "274877906944", "accept": [ "video/*", "application/octet-stream" ] } } } }, "liveChatModerators": { "methods": { "insert": { "parameterOrder": [ "part" ], "response": { "$ref": "LiveChatModerator" }, "parameters": { "part": { "repeated": true, "location": "query", "description": "The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.", "type": "string", "required": true } }, "request": { "$ref": "LiveChatModerator" }, "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "id": "youtube.liveChatModerators.insert", "flatPath": "youtube/v3/liveChat/moderators", "httpMethod": "POST", "description": "Inserts a new resource into this collection.", "path": "youtube/v3/liveChat/moderators" }, "list": { "response": { "$ref": "LiveChatModeratorListResponse" }, "httpMethod": "GET", "parameterOrder": [ "liveChatId", "part" ], "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ], "id": "youtube.liveChatModerators.list", "path": "youtube/v3/liveChat/moderators", "description": "Retrieves a list of resources, possibly filtered.", "flatPath": "youtube/v3/liveChat/moderators", "parameters": { "pageToken": { "description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.", "location": "query", "type": "string" }, "liveChatId": { "required": true, "description": "The id of the live chat for which moderators should be returned.", "location": "query", "type": "string" }, "maxResults": { "maximum": "50", "minimum": "0", "format": "uint32", "type": "integer", "default": "5", "location": "query", "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set." }, "part": { "type": "string", "repeated": true, "description": "The *part* parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.", "required": true, "location": "query" } } }, "delete": { "parameterOrder": [ "id" ], "flatPath": "youtube/v3/liveChat/moderators", "parameters": { "id": { "location": "query", "type": "string", "required": true } }, "httpMethod": "DELETE", "description": "Deletes a chat moderator.", "scopes": [ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl" ], "path": "youtube/v3/liveChat/moderators", "id": "youtube.liveChatModerators.delete" } } } }, "parameters": { "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "fields": { "location": "query", "type": "string", "description": "Selector specifying which fields to include in a partial response." }, "uploadType": { "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", "location": "query" }, "$.xgafv": { "location": "query", "enumDescriptions": [ "v1 error format", "v2 error format" ], "type": "string", "enum": [ "1", "2" ], "description": "V1 error format." }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "access_token": { "location": "query", "type": "string", "description": "OAuth access token." }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "quotaUser": { "type": "string", "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", "location": "query" }, "alt": { "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query", "default": "json", "description": "Data format for response.", "type": "string", "enum": [ "json", "media", "proto" ] }, "prettyPrint": { "default": "true", "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean" }, "key": { "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "type": "string", "location": "query" } }, "version": "v3", "batchPath": "batch", "schemas": { "CommentThreadListResponse": { "type": "object", "properties": { "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "items": { "items": { "$ref": "CommentThread" }, "type": "array", "description": "A list of comment threads that match the request criteria." }, "tokenPagination": { "$ref": "TokenPagination" }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "default": "youtube#commentThreadListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThreadListResponse\".", "type": "string" }, "pageInfo": { "$ref": "PageInfo", "description": "General pagination information." }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" } }, "id": "CommentThreadListResponse" }, "PlaylistStatus": { "id": "PlaylistStatus", "properties": { "privacyStatus": { "enumDescriptions": [ "", "", "" ], "description": "The playlist's privacy status.", "enum": [ "public", "unlisted", "private" ], "type": "string" } }, "type": "object" }, "PlaylistItemStatus": { "type": "object", "description": "Information about the playlist item's privacy status.", "properties": { "privacyStatus": { "description": "This resource's privacy status.", "enum": [ "public", "unlisted", "private" ], "type": "string", "enumDescriptions": [ "", "", "" ] } }, "id": "PlaylistItemStatus" }, "CommentSnippet": { "properties": { "parentId": { "type": "string", "description": "The unique id of the parent comment, only set for replies." }, "canRate": { "type": "boolean", "description": "Whether the current viewer can rate this comment." }, "channelId": { "type": "string", "description": "The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel." }, "updatedAt": { "description": "The date and time when the comment was last updated.", "format": "date-time", "type": "string" }, "authorProfileImageUrl": { "description": "The URL for the avatar of the user who posted the comment.", "type": "string" }, "likeCount": { "type": "integer", "format": "uint32", "description": "The total number of likes this comment has received." }, "authorChannelUrl": { "description": "Link to the author's YouTube channel, if any.", "type": "string" }, "viewerRating": { "enumDescriptions": [ "", "The entity is liked.", "The entity is disliked." ], "type": "string", "description": "The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.", "enum": [ "none", "like", "dislike" ] }, "authorDisplayName": { "type": "string", "description": "The name of the user who posted the comment." }, "textDisplay": { "type": "string", "description": "The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc." }, "moderationStatus": { "description": "The comment's moderation status. Will not be set if the comments were requested through the id filter.", "enumDescriptions": [ "The comment is available for public display.", "The comment is awaiting review by a moderator.", "", "The comment is unfit for display." ], "enum": [ "published", "heldForReview", "likelySpam", "rejected" ], "type": "string" }, "authorChannelId": { "$ref": "CommentSnippetAuthorChannelId" }, "textOriginal": { "type": "string", "description": "The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author." }, "publishedAt": { "description": "The date and time when the comment was originally published.", "type": "string", "format": "date-time" }, "videoId": { "description": "The ID of the video the comment refers to, if any.", "type": "string" } }, "type": "object", "description": "Basic details about a comment, such as its author and text.", "id": "CommentSnippet" }, "ThirdPartyLink": { "properties": { "kind": { "default": "youtube#thirdPartyLink", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thirdPartyLink\"." }, "etag": { "type": "string", "description": "Etag of this resource" }, "linkingToken": { "description": "The linking_token identifies a YouTube account and channel with which the third party account is linked.", "type": "string" }, "status": { "description": "The status object contains information about the status of the link.", "$ref": "ThirdPartyLinkStatus" }, "snippet": { "description": "The snippet object contains basic details about the third- party account link.", "$ref": "ThirdPartyLinkSnippet" } }, "id": "ThirdPartyLink", "description": "A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.", "type": "object" }, "ChannelContentDetails": { "description": "Details about the content of a channel.", "id": "ChannelContentDetails", "properties": { "relatedPlaylists": { "properties": { "favorites": { "description": "The ID of the playlist that contains the channel\"s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.", "type": "string" }, "likes": { "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.", "type": "string" }, "watchHistory": { "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.", "type": "string" }, "uploads": { "type": "string", "description": "The ID of the playlist that contains the channel\"s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos." }, "watchLater": { "type": "string", "description": "The ID of the playlist that contains the channel\"s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list." } }, "type": "object" } }, "type": "object" }, "CommentThread": { "description": "A *comment thread* represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.", "properties": { "snippet": { "description": "The snippet object contains basic details about the comment thread and also the top level comment.", "$ref": "CommentThreadSnippet" }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThread\".", "default": "youtube#commentThread", "type": "string" }, "id": { "description": "The ID that YouTube uses to uniquely identify the comment thread.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "replies": { "description": "The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.", "$ref": "CommentThreadReplies" } }, "type": "object", "id": "CommentThread" }, "Member": { "properties": { "snippet": { "description": "The snippet object contains basic details about the member.", "$ref": "MemberSnippet" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#member\".", "default": "youtube#member", "type": "string" } }, "id": "Member", "type": "object", "description": "A *member* resource represents a member for a YouTube channel. A member provides recurring monetary support to a creator and receives special benefits." }, "ChannelSectionContentDetails": { "type": "object", "id": "ChannelSectionContentDetails", "description": "Details about a channelsection, including playlists and channels.", "properties": { "playlists": { "description": "The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed.", "type": "array", "items": { "type": "string" } }, "channels": { "items": { "type": "string" }, "description": "The channel ids for type multiple_channels.", "type": "array" } } }, "ChannelProfileDetails": { "properties": { "profileImageUrl": { "type": "string", "description": "The channels's avatar URL." }, "channelId": { "description": "The YouTube channel ID.", "type": "string" }, "displayName": { "description": "The channel's display name.", "type": "string" }, "channelUrl": { "description": "The channel's URL.", "type": "string" } }, "type": "object", "id": "ChannelProfileDetails" }, "ActivityContentDetailsFavorite": { "id": "ActivityContentDetailsFavorite", "type": "object", "properties": { "resourceId": { "$ref": "ResourceId", "description": "The resourceId object contains information that identifies the resource that was marked as a favorite." } }, "description": "Information about a video that was marked as a favorite video." }, "CaptionListResponse": { "properties": { "kind": { "type": "string", "default": "youtube#captionListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#captionListResponse\"." }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "items": { "type": "array", "items": { "$ref": "Caption" }, "description": "A list of captions that match the request criteria." }, "etag": { "type": "string", "description": "Etag of this resource." } }, "id": "CaptionListResponse", "type": "object" }, "ThumbnailSetResponse": { "properties": { "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thumbnailSetResponse\".", "default": "youtube#thumbnailSetResponse", "type": "string" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "items": { "type": "array", "description": "A list of thumbnails.", "items": { "$ref": "ThumbnailDetails" } } }, "id": "ThumbnailSetResponse", "type": "object" }, "ContentRating": { "description": "Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange", "id": "ContentRating", "type": "object", "properties": { "mibacRating": { "enumDescriptions": [ "", "", "", "", "", "", "", "", "" ], "enum": [ "mibacUnspecified", "mibacT", "mibacVap", "mibacVm6", "mibacVm12", "mibacVm14", "mibacVm16", "mibacVm18", "mibacUnrated" ], "description": "The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).", "type": "string" }, "fskRating": { "description": "The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.", "enum": [ "fskUnspecified", "fsk0", "fsk6", "fsk12", "fsk16", "fsk18", "fskUnrated" ], "type": "string", "enumDescriptions": [ "", "FSK 0", "FSK 6", "FSK 12", "FSK 16", "FSK 18", "" ] }, "fpbRating": { "type": "string", "description": "The video's rating from South Africa's Film and Publication Board.", "enumDescriptions": [ "", "A", "PG", "7-9PG", "10-12PG", "13", "16", "18", "X18", "XX", "", "10" ], "enum": [ "fpbUnspecified", "fpbA", "fpbPg", "fpb79Pg", "fpb1012Pg", "fpb13", "fpb16", "fpb18", "fpbX18", "fpbXx", "fpbUnrated", "fpb10" ] }, "egfilmRating": { "description": "The video's rating in Egypt.", "enumDescriptions": [ "", "GN", "18", "BN", "" ], "enum": [ "egfilmUnspecified", "egfilmGn", "egfilm18", "egfilmBn", "egfilmUnrated" ], "type": "string" }, "cbfcRating": { "enumDescriptions": [ "", "U", "U/A", "U/A 7+", "U/A 13+", "U/A 16+", "A", "S", "" ], "description": "The video's Central Board of Film Certification (CBFC - India) rating.", "enum": [ "cbfcUnspecified", "cbfcU", "cbfcUA", "cbfcUA7plus", "cbfcUA13plus", "cbfcUA16plus", "cbfcA", "cbfcS", "cbfcUnrated" ], "type": "string" }, "mccypRating": { "enumDescriptions": [ "", "A", "7", "11", "15", "" ], "description": "The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.", "type": "string", "enum": [ "mccypUnspecified", "mccypA", "mccyp7", "mccyp11", "mccyp15", "mccypUnrated" ] }, "rtcRating": { "description": "The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.", "type": "string", "enumDescriptions": [ "", "AA", "A", "B", "B15", "C", "D", "" ], "enum": [ "rtcUnspecified", "rtcAa", "rtcA", "rtcB", "rtcB15", "rtcC", "rtcD", "rtcUnrated" ] }, "russiaRating": { "description": "The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.", "enum": [ "russiaUnspecified", "russia0", "russia6", "russia12", "russia16", "russia18", "russiaUnrated" ], "type": "string", "enumDescriptions": [ "", "0+", "6+", "12+", "16+", "18+", "" ] }, "fpbRatingReasons": { "type": "array", "items": { "enumDescriptions": [ "", "South Africa rating content descriptors.", "", "", "", "", "", "", "", "", "", "" ], "type": "string", "enum": [ "fpbRatingReasonUnspecified", "fpbBlasphemy", "fpbLanguage", "fpbNudity", "fpbPrejudice", "fpbSex", "fpbViolence", "fpbDrugs", "fpbSexualViolence", "fpbHorror", "fpbCriminalTechniques", "fpbImitativeActsTechniques" ] }, "description": "Reasons that explain why the video received its FPB (South Africa) rating." }, "mcstRating": { "type": "string", "description": "The video's rating system for Vietnam - MCST", "enum": [ "mcstUnspecified", "mcstP", "mcst0", "mcstC13", "mcstC16", "mcst16plus", "mcstC18", "mcstGPg", "mcstUnrated" ], "enumDescriptions": [ "", "P", "0", "C13", "C16", "16+", "C18", "MCST_G_PG", "" ] }, "fcbmRating": { "enum": [ "fcbmUnspecified", "fcbmU", "fcbmPg13", "fcbmP13", "fcbm18", "fcbm18sx", "fcbm18pa", "fcbm18sg", "fcbm18pl", "fcbmUnrated" ], "enumDescriptions": [ "", "U", "PG13", "P13", "18", "18SX", "18PA", "18SG", "18PL", "" ], "type": "string", "description": "The video's rating from Malaysia's Film Censorship Board." }, "resorteviolenciaRating": { "type": "string", "enum": [ "resorteviolenciaUnspecified", "resorteviolenciaA", "resorteviolenciaB", "resorteviolenciaC", "resorteviolenciaD", "resorteviolenciaE", "resorteviolenciaUnrated" ], "enumDescriptions": [ "", "A", "B", "C", "D", "E", "" ], "description": "The video's rating in Venezuela." }, "icaaRating": { "enumDescriptions": [ "", "APTA", "7", "12", "13", "16", "18", "X", "" ], "description": "The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.", "enum": [ "icaaUnspecified", "icaaApta", "icaa7", "icaa12", "icaa13", "icaa16", "icaa18", "icaaX", "icaaUnrated" ], "type": "string" }, "mpaatRating": { "enumDescriptions": [ "", "GB", "RB" ], "type": "string", "enum": [ "mpaatUnspecified", "mpaatGb", "mpaatRb" ], "description": "The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html." }, "nbcRating": { "enum": [ "nbcUnspecified", "nbcG", "nbcPg", "nbc12plus", "nbc15plus", "nbc18plus", "nbc18plusr", "nbcPu", "nbcUnrated" ], "type": "string", "description": "The video's rating from the Maldives National Bureau of Classification.", "enumDescriptions": [ "", "G", "PG", "12+", "15+", "18+", "18+R", "PU", "" ] }, "fcoRating": { "enum": [ "fcoUnspecified", "fcoI", "fcoIia", "fcoIib", "fcoIi", "fcoIii", "fcoUnrated" ], "enumDescriptions": [ "", "I", "IIA", "IIB", "II", "III", "" ], "type": "string", "description": "The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration." }, "mekuRating": { "enumDescriptions": [ "", "S", "7", "12", "16", "18", "" ], "description": "The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).", "type": "string", "enum": [ "mekuUnspecified", "mekuS", "meku7", "meku12", "meku16", "meku18", "mekuUnrated" ] }, "nfvcbRating": { "enum": [ "nfvcbUnspecified", "nfvcbG", "nfvcbPg", "nfvcb12", "nfvcb12a", "nfvcb15", "nfvcb18", "nfvcbRe", "nfvcbUnrated" ], "enumDescriptions": [ "", "G", "PG", "12", "12A", "15", "18", "RE", "" ], "description": "The video's rating from Nigeria's National Film and Video Censors Board.", "type": "string" }, "catvfrRating": { "enum": [ "catvfrUnspecified", "catvfrG", "catvfr8plus", "catvfr13plus", "catvfr16plus", "catvfr18plus", "catvfrUnrated", "catvfrE" ], "description": "The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.", "enumDescriptions": [ "", "G", "8+", "13+", "16+", "18+", "", "" ], "type": "string" }, "cicfRating": { "enumDescriptions": [ "", "E", "KT/EA", "KNT/ENA", "" ], "type": "string", "enum": [ "cicfUnspecified", "cicfE", "cicfKtEa", "cicfKntEna", "cicfUnrated" ], "description": "The video's rating from the Commission de Contrôle des Films (Belgium)." }, "cceRating": { "enumDescriptions": [ "", "4", "6", "12", "16", "18", "", "14" ], "description": "The video's rating from Portugal's Comissão de Classificação de Espect´culos.", "type": "string", "enum": [ "cceUnspecified", "cceM4", "cceM6", "cceM12", "cceM16", "cceM18", "cceUnrated", "cceM14" ] }, "czfilmRating": { "enum": [ "czfilmUnspecified", "czfilmU", "czfilm12", "czfilm14", "czfilm18", "czfilmUnrated" ], "type": "string", "description": "The video's rating in the Czech Republic.", "enumDescriptions": [ "", "U", "12", "14", "18", "" ] }, "csaRating": { "type": "string", "enumDescriptions": [ "", "T", "10", "12", "16", "18", "Interdiction", "" ], "description": "The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.", "enum": [ "csaUnspecified", "csaT", "csa10", "csa12", "csa16", "csa18", "csaInterdiction", "csaUnrated" ] }, "anatelRating": { "type": "string", "description": "The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.", "enum": [ "anatelUnspecified", "anatelF", "anatelI", "anatelI7", "anatelI10", "anatelI12", "anatelR", "anatelA", "anatelUnrated" ], "enumDescriptions": [ "", "F", "I", "I-7", "I-10", "I-12", "R", "A", "" ] }, "incaaRating": { "enum": [ "incaaUnspecified", "incaaAtp", "incaaSam13", "incaaSam16", "incaaSam18", "incaaC", "incaaUnrated" ], "description": "The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.", "enumDescriptions": [ "", "ATP (Apta para todo publico)", "13 (Solo apta para mayores de 13 años)", "16 (Solo apta para mayores de 16 años)", "18 (Solo apta para mayores de 18 años)", "X (Solo apta para mayores de 18 años, de exhibición condicionada)", "" ], "type": "string" }, "eirinRating": { "description": "The video's Eirin (映倫) rating. Eirin is the Japanese rating system.", "type": "string", "enumDescriptions": [ "", "G", "PG-12", "R15+", "R18+", "" ], "enum": [ "eirinUnspecified", "eirinG", "eirinPg12", "eirinR15plus", "eirinR18plus", "eirinUnrated" ] }, "chfilmRating": { "enum": [ "chfilmUnspecified", "chfilm0", "chfilm6", "chfilm12", "chfilm16", "chfilm18", "chfilmUnrated" ], "enumDescriptions": [ "", "0", "6", "12", "16", "18", "" ], "description": "The video's rating in Switzerland.", "type": "string" }, "mdaRating": { "type": "string", "enum": [ "mdaUnspecified", "mdaG", "mdaPg", "mdaPg13", "mdaNc16", "mdaM18", "mdaR21", "mdaUnrated" ], "description": "The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).", "enumDescriptions": [ "", "G", "PG", "PG13", "NC16", "M18", "R21", "" ] }, "djctqRatingReasons": { "type": "array", "description": "Reasons that explain why the video received its DJCQT (Brazil) rating.", "items": { "enumDescriptions": [ "", "Brazil rating content descriptors. See http://go/brazilratings section F. Violência (Violence)", "Violência extrema (Extreme violence)", "Conteúdo sexual (Sexual content)", "Nudez (Nudity)", "Sexo (Sex)", "Sexo Explícito (Explicit sex)", "Drogas (Drugs)", "Drogas Lícitas (Legal drugs)", "Drogas Ilícitas (Illegal drugs)", "Linguagem Imprópria (Inappropriate language)", "Atos Criminosos (Criminal Acts)", "Conteúdo Impactante (Impacting content)" ], "type": "string", "enum": [ "djctqRatingReasonUnspecified", "djctqViolence", "djctqExtremeViolence", "djctqSexualContent", "djctqNudity", "djctqSex", "djctqExplicitSex", "djctqDrugs", "djctqLegalDrugs", "djctqIllegalDrugs", "djctqInappropriateLanguage", "djctqCriminalActs", "djctqImpactingContent" ] } }, "lsfRating": { "type": "string", "description": "The video's rating from Indonesia's Lembaga Sensor Film.", "enum": [ "lsfUnspecified", "lsfSu", "lsfA", "lsfBo", "lsf13", "lsfR", "lsf17", "lsfD", "lsf21", "lsfUnrated" ], "enumDescriptions": [ "", "SU", "A", "BO", "13", "R", "17", "D", "21", "" ] }, "nfrcRating": { "description": "The video's rating from the Bulgarian National Film Center.", "type": "string", "enum": [ "nfrcUnspecified", "nfrcA", "nfrcB", "nfrcC", "nfrcD", "nfrcX", "nfrcUnrated" ], "enumDescriptions": [ "", "A", "B", "C", "D", "X", "" ] }, "nmcRating": { "description": "The National Media Council ratings system for United Arab Emirates.", "type": "string", "enumDescriptions": [ "", "G", "PG", "PG-13", "PG-15", "15+", "18+", "18TC", "" ], "enum": [ "nmcUnspecified", "nmcG", "nmcPg", "nmcPg13", "nmcPg15", "nmc15plus", "nmc18plus", "nmc18tc", "nmcUnrated" ] }, "cscfRating": { "type": "string", "enum": [ "cscfUnspecified", "cscfAl", "cscfA", "cscf6", "cscf9", "cscf12", "cscf16", "cscf18", "cscfUnrated" ], "description": "The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).", "enumDescriptions": [ "", "AL", "A", "6", "9", "12", "16", "18", "" ] }, "chvrsRating": { "enum": [ "chvrsUnspecified", "chvrsG", "chvrsPg", "chvrs14a", "chvrs18a", "chvrsR", "chvrsE", "chvrsUnrated" ], "enumDescriptions": [ "", "G", "PG", "14A", "18A", "R", "E", "" ], "description": "The video's Canadian Home Video Rating System (CHVRS) rating.", "type": "string" }, "bfvcRating": { "type": "string", "description": "The video's rating from Thailand's Board of Film and Video Censors.", "enum": [ "bfvcUnspecified", "bfvcG", "bfvcE", "bfvc13", "bfvc15", "bfvc18", "bfvc20", "bfvcB", "bfvcUnrated" ], "enumDescriptions": [ "", "G", "E", "13", "15", "18", "20", "B", "" ] }, "ecbmctRating": { "enumDescriptions": [ "", "G", "7A", "7+", "13A", "13+", "15A", "15+", "18+", "" ], "enum": [ "ecbmctUnspecified", "ecbmctG", "ecbmct7a", "ecbmct7plus", "ecbmct13a", "ecbmct13plus", "ecbmct15a", "ecbmct15plus", "ecbmct18plus", "ecbmctUnrated" ], "type": "string", "description": "Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism" }, "tvpgRating": { "enum": [ "tvpgUnspecified", "tvpgY", "tvpgY7", "tvpgY7Fv", "tvpgG", "tvpgPg", "pg14", "tvpgMa", "tvpgUnrated" ], "type": "string", "enumDescriptions": [ "", "TV-Y", "TV-Y7", "TV-Y7-FV", "TV-G", "TV-PG", "TV-14", "TV-MA", "" ], "description": "The video's TV Parental Guidelines (TVPG) rating." }, "rteRating": { "enumDescriptions": [ "", "GA", "CH", "PS", "MA", "" ], "enum": [ "rteUnspecified", "rteGa", "rteCh", "rtePs", "rteMa", "rteUnrated" ], "description": "The video's rating from Ireland's Raidió Teilifís Éireann.", "type": "string" }, "smsaRating": { "type": "string", "enum": [ "smsaUnspecified", "smsaA", "smsa7", "smsa11", "smsa15", "smsaUnrated" ], "enumDescriptions": [ "", "All ages", "7", "11", "15", "" ], "description": "The video's rating from Statens medieråd (Sweden's National Media Council)." }, "ifcoRating": { "enumDescriptions": [ "", "G", "PG", "12", "12A", "15", "15A", "16", "18", "" ], "type": "string", "enum": [ "ifcoUnspecified", "ifcoG", "ifcoPg", "ifco12", "ifco12a", "ifco15", "ifco15a", "ifco16", "ifco18", "ifcoUnrated" ], "description": "The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information." }, "nbcplRating": { "enumDescriptions": [ "", "", "", "", "", "", "" ], "description": "The video's rating in Poland.", "enum": [ "nbcplUnspecified", "nbcplI", "nbcplIi", "nbcplIii", "nbcplIv", "nbcpl18plus", "nbcplUnrated" ], "type": "string" }, "menaMpaaRating": { "type": "string", "enumDescriptions": [ "", "G", "PG", "PG-13", "R", "To keep the same enum values as MPAA's items have, skip NC_17." ], "description": "The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.", "enum": [ "menaMpaaUnspecified", "menaMpaaG", "menaMpaaPg", "menaMpaaPg13", "menaMpaaR", "menaMpaaUnrated" ] }, "ytRating": { "enumDescriptions": [ "", "" ], "enum": [ "ytUnspecified", "ytAgeRestricted" ], "description": "A rating that YouTube uses to identify age-restricted content.", "type": "string" }, "kfcbRating": { "description": "The video's rating from the Kenya Film Classification Board.", "type": "string", "enumDescriptions": [ "", "GE", "PG", "16", "18", "" ], "enum": [ "kfcbUnspecified", "kfcbG", "kfcbPg", "kfcb16plus", "kfcbR", "kfcbUnrated" ] }, "pefilmRating": { "enumDescriptions": [ "", "PT", "PG", "14", "18", "" ], "enum": [ "pefilmUnspecified", "pefilmPt", "pefilmPg", "pefilm14", "pefilm18", "pefilmUnrated" ], "description": "The video's rating in Peru.", "type": "string" }, "smaisRating": { "type": "string", "description": "The video's rating in Iceland.", "enum": [ "smaisUnspecified", "smaisL", "smais7", "smais12", "smais14", "smais16", "smais18", "smaisUnrated" ], "enumDescriptions": [ "", "L", "7", "12", "14", "16", "18", "" ] }, "bmukkRating": { "type": "string", "enum": [ "bmukkUnspecified", "bmukkAa", "bmukk6", "bmukk8", "bmukk10", "bmukk12", "bmukk14", "bmukk16", "bmukkUnrated" ], "description": "The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).", "enumDescriptions": [ "", "Unrestricted", "6+", "8+", "10+", "12+", "14+", "16+", "" ] }, "catvRating": { "description": "Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.", "enumDescriptions": [ "", "C", "C8", "G", "PG", "14+", "18+", "", "" ], "type": "string", "enum": [ "catvUnspecified", "catvC", "catvC8", "catvG", "catvPg", "catv14plus", "catv18plus", "catvUnrated", "catvE" ] }, "nkclvRating": { "enumDescriptions": [ "", "U", "7+", "12+", "! 16+", "18+", "" ], "type": "string", "enum": [ "nkclvUnspecified", "nkclvU", "nkclv7plus", "nkclv12plus", "nkclv16plus", "nkclv18plus", "nkclvUnrated" ], "description": "The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia)." }, "ilfilmRating": { "enumDescriptions": [ "", "AA", "12", "14", "16", "18", "" ], "type": "string", "description": "The video's rating in Israel.", "enum": [ "ilfilmUnspecified", "ilfilmAa", "ilfilm12", "ilfilm14", "ilfilm16", "ilfilm18", "ilfilmUnrated" ] }, "oflcRating": { "enum": [ "oflcUnspecified", "oflcG", "oflcPg", "oflcM", "oflcR13", "oflcR15", "oflcR16", "oflcR18", "oflcUnrated", "oflcRp13", "oflcRp16", "oflcRp18" ], "description": "The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.", "type": "string", "enumDescriptions": [ "", "G", "PG", "M", "R13", "R15", "R16", "R18", "", "RP13", "RP16", "RP18" ] }, "djctqRating": { "type": "string", "enumDescriptions": [ "", "L", "10", "12", "14", "16", "18", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "djctqUnspecified", "djctqL", "djctq10", "djctq12", "djctq14", "djctq16", "djctq18", "djctqEr", "djctqL10", "djctqL12", "djctqL14", "djctqL16", "djctqL18", "djctq1012", "djctq1014", "djctq1016", "djctq1018", "djctq1214", "djctq1216", "djctq1218", "djctq1416", "djctq1418", "djctq1618", "djctqUnrated" ], "description": "The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating." }, "skfilmRating": { "enum": [ "skfilmUnspecified", "skfilmG", "skfilmP2", "skfilmP5", "skfilmP8", "skfilmUnrated" ], "enumDescriptions": [ "", "G", "P2", "P5", "P8", "" ], "type": "string", "description": "The video's rating in Slovakia." }, "mpaaRating": { "enum": [ "mpaaUnspecified", "mpaaG", "mpaaPg", "mpaaPg13", "mpaaR", "mpaaNc17", "mpaaX", "mpaaUnrated" ], "enumDescriptions": [ "", "G", "PG", "PG-13", "R", "NC-17", "! X", "" ], "type": "string", "description": "The video's Motion Picture Association of America (MPAA) rating." }, "mccaaRating": { "enum": [ "mccaaUnspecified", "mccaaU", "mccaaPg", "mccaa12a", "mccaa12", "mccaa14", "mccaa15", "mccaa16", "mccaa18", "mccaaUnrated" ], "enumDescriptions": [ "", "U", "PG", "12A", "12", "14 - this rating was removed from the new classification structure introduced in 2013.", "15", "16 - this rating was removed from the new classification structure introduced in 2013.", "18", "" ], "type": "string", "description": "The video's rating from Malta's Film Age-Classification Board." }, "kijkwijzerRating": { "description": "The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).", "type": "string", "enumDescriptions": [ "", "AL", "6", "9", "12", "16", "", "" ], "enum": [ "kijkwijzerUnspecified", "kijkwijzerAl", "kijkwijzer6", "kijkwijzer9", "kijkwijzer12", "kijkwijzer16", "kijkwijzer18", "kijkwijzerUnrated" ] }, "kmrbRating": { "type": "string", "description": "The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.", "enum": [ "kmrbUnspecified", "kmrbAll", "kmrb12plus", "kmrb15plus", "kmrbTeenr", "kmrbR", "kmrbUnrated" ], "enumDescriptions": [ "", "전체관람가", "12세 이상 관람가", "15세 이상 관람가", "", "청소년 관람불가", "" ] }, "mocRating": { "description": "The video's Ministerio de Cultura (Colombia) rating.", "enum": [ "mocUnspecified", "mocE", "mocT", "moc7", "moc12", "moc15", "moc18", "mocX", "mocBanned", "mocUnrated" ], "enumDescriptions": [ "", "E", "T", "7", "12", "15", "18", "X", "Banned", "" ], "type": "string" }, "medietilsynetRating": { "type": "string", "description": "The video's rating from Medietilsynet, the Norwegian Media Authority.", "enumDescriptions": [ "", "A", "6", "7", "9", "11", "12", "15", "18", "" ], "enum": [ "medietilsynetUnspecified", "medietilsynetA", "medietilsynet6", "medietilsynet7", "medietilsynet9", "medietilsynet11", "medietilsynet12", "medietilsynet15", "medietilsynet18", "medietilsynetUnrated" ] }, "cncRating": { "enumDescriptions": [ "", "T", "10", "12", "16", "18", "E", "interdiction", "" ], "description": "Rating system in France - Commission de classification cinematographique", "enum": [ "cncUnspecified", "cncT", "cnc10", "cnc12", "cnc16", "cnc18", "cncE", "cncInterdiction", "cncUnrated" ], "type": "string" }, "fmocRating": { "enum": [ "fmocUnspecified", "fmocU", "fmoc10", "fmoc12", "fmoc16", "fmoc18", "fmocE", "fmocUnrated" ], "enumDescriptions": [ "", "U", "10", "12", "16", "18", "E", "" ], "description": "This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.", "type": "string" }, "grfilmRating": { "enum": [ "grfilmUnspecified", "grfilmK", "grfilmE", "grfilmK12", "grfilmK13", "grfilmK15", "grfilmK17", "grfilmK18", "grfilmUnrated" ], "type": "string", "description": "The video's rating in Greece.", "enumDescriptions": [ "", "K", "E", "K-12", "K-13", "K-15", "K-17", "K-18", "" ] }, "eefilmRating": { "enum": [ "eefilmUnspecified", "eefilmPere", "eefilmL", "eefilmMs6", "eefilmK6", "eefilmMs12", "eefilmK12", "eefilmK14", "eefilmK16", "eefilmUnrated" ], "description": "The video's rating in Estonia.", "type": "string", "enumDescriptions": [ "", "Pere", "L", "MS-6", "K-6", "MS-12", "K-12", "K-14", "K-16", "" ] }, "cccRating": { "enum": [ "cccUnspecified", "cccTe", "ccc6", "ccc14", "ccc18", "ccc18v", "ccc18s", "cccUnrated" ], "type": "string", "enumDescriptions": [ "", "Todo espectador", "6+ - Inconveniente para menores de 7 años", "14+", "18+", "18+ - contenido excesivamente violento", "18+ - contenido pornográfico", "" ], "description": "The video's Consejo de Calificación Cinematográfica (Chile) rating." }, "mtrcbRating": { "enum": [ "mtrcbUnspecified", "mtrcbG", "mtrcbPg", "mtrcbR13", "mtrcbR16", "mtrcbR18", "mtrcbX", "mtrcbUnrated" ], "enumDescriptions": [ "", "G", "PG", "R-13", "R-16", "R-18", "X", "" ], "type": "string", "description": "The video's rating from the Movie and Television Review and Classification Board (Philippines)." }, "bbfcRating": { "type": "string", "enum": [ "bbfcUnspecified", "bbfcU", "bbfcPg", "bbfc12a", "bbfc12", "bbfc15", "bbfc18", "bbfcR18", "bbfcUnrated" ], "enumDescriptions": [ "", "U", "PG", "12A", "12", "15", "18", "R18", "" ], "description": "The video's British Board of Film Classification (BBFC) rating." }, "rcnofRating": { "type": "string", "description": "The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.", "enumDescriptions": [ "", "", "", "", "", "", "", "" ], "enum": [ "rcnofUnspecified", "rcnofI", "rcnofIi", "rcnofIii", "rcnofIv", "rcnofV", "rcnofVi", "rcnofUnrated" ] }, "cnaRating": { "type": "string", "enumDescriptions": [ "", "AP", "12", "15", "18", "18+", "" ], "description": "The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).", "enum": [ "cnaUnspecified", "cnaAp", "cna12", "cna15", "cna18", "cna18plus", "cnaUnrated" ] }, "moctwRating": { "enumDescriptions": [ "", "G", "P", "PG", "R", "", "R-12", "R-15" ], "type": "string", "enum": [ "moctwUnspecified", "moctwG", "moctwP", "moctwPg", "moctwR", "moctwUnrated", "moctwR12", "moctwR15" ], "description": "The video's rating from Taiwan's Ministry of Culture (文化部)." }, "agcomRating": { "enumDescriptions": [ "", "T", "VM14", "VM18", "" ], "type": "string", "enum": [ "agcomUnspecified", "agcomT", "agcomVm14", "agcomVm18", "agcomUnrated" ], "description": "The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM)." }, "acbRating": { "enum": [ "acbUnspecified", "acbE", "acbP", "acbC", "acbG", "acbPg", "acbM", "acbMa15plus", "acbR18plus", "acbUnrated" ], "description": "The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.", "type": "string", "enumDescriptions": [ "", "E", "Programs that have been given a P classification by the Australian Communications and Media Authority. These programs are intended for preschool children.", "Programs that have been given a C classification by the Australian Communications and Media Authority. These programs are intended for children (other than preschool children) who are younger than 14 years of age.", "G", "PG", "M", "MA15+", "R18+", "" ] } } }, "LanguageTag": { "id": "LanguageTag", "properties": { "value": { "type": "string" } }, "type": "object" }, "MembershipsLevelSnippet": { "type": "object", "properties": { "creatorChannelId": { "description": "The id of the channel that's offering channel memberships.", "type": "string" }, "levelDetails": { "description": "Details about the pricing level.", "$ref": "LevelDetails" } }, "id": "MembershipsLevelSnippet" }, "I18nRegion": { "type": "object", "description": "A *i18nRegion* resource identifies a region where YouTube is available.", "id": "I18nRegion", "properties": { "snippet": { "$ref": "I18nRegionSnippet", "description": "The snippet object contains basic details about the i18n region, such as region code and human-readable name." }, "id": { "description": "The ID that YouTube uses to uniquely identify the i18n region.", "type": "string" }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegion\".", "default": "youtube#i18nRegion", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" } } }, "VideoPlayer": { "id": "VideoPlayer", "type": "object", "properties": { "embedHtml": { "type": "string", "description": "An \u003ciframe\u003e tag that embeds a player that will play the video." }, "embedHeight": { "format": "int64", "type": "string" }, "embedWidth": { "type": "string", "description": "The embed width", "format": "int64" } }, "description": "Player to be used for a video playback." }, "LiveChatUserBannedMessageDetails": { "id": "LiveChatUserBannedMessageDetails", "properties": { "bannedUserDetails": { "description": "The details of the user that was banned.", "$ref": "ChannelProfileDetails" }, "banDurationSeconds": { "description": "The duration of the ban. This property is only present if the banType is temporary.", "format": "uint64", "type": "string" }, "banType": { "enumDescriptions": [ "", "" ], "type": "string", "description": "The type of ban.", "enum": [ "permanent", "temporary" ] } }, "type": "object" }, "ChannelSectionSnippet": { "properties": { "localized": { "$ref": "ChannelSectionLocalization", "description": "Localized title, read-only." }, "channelId": { "description": "The ID that YouTube uses to uniquely identify the channel that published the channel section.", "type": "string" }, "defaultLanguage": { "description": "The language of the channel section's default title and description.", "type": "string" }, "title": { "type": "string", "description": "The channel section's title for multiple_playlists and multiple_channels." }, "style": { "type": "string", "description": "The style of the channel section.", "enum": [ "channelsectionStyleUnspecified", "horizontalRow", "verticalList" ], "enumDescriptions": [ "", "", "" ] }, "type": { "type": "string", "description": "The type of the channel section.", "enum": [ "channelsectionTypeUndefined", "singlePlaylist", "multiplePlaylists", "popularUploads", "recentUploads", "likes", "allPlaylists", "likedPlaylists", "recentPosts", "recentActivity", "liveEvents", "upcomingEvents", "completedEvents", "multipleChannels", "postedVideos", "postedPlaylists", "subscriptions" ], "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ] }, "position": { "type": "integer", "format": "uint32", "description": "The position of the channel section in the channel." } }, "description": "Basic details about a channel section, including title, style and position.", "id": "ChannelSectionSnippet", "type": "object" }, "TestItemTestItemSnippet": { "type": "object", "properties": {}, "id": "TestItemTestItemSnippet" }, "ChannelConversionPing": { "description": "Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.", "properties": { "context": { "description": "Defines the context of the ping.", "enumDescriptions": [ "", "", "" ], "enum": [ "subscribe", "unsubscribe", "cview" ], "type": "string" }, "conversionUrl": { "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 use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.", "type": "string" } }, "type": "object", "id": "ChannelConversionPing" }, "LiveChatMessageAuthorDetails": { "id": "LiveChatMessageAuthorDetails", "properties": { "isChatSponsor": { "type": "boolean", "description": "Whether the author is a sponsor of the live chat." }, "channelId": { "type": "string", "description": "The YouTube channel ID." }, "isChatOwner": { "description": "Whether the author is the owner of the live chat.", "type": "boolean" }, "isVerified": { "type": "boolean", "description": "Whether the author's identity has been verified by YouTube." }, "profileImageUrl": { "description": "The channels's avatar URL.", "type": "string" }, "displayName": { "description": "The channel's display name.", "type": "string" }, "channelUrl": { "description": "The channel's URL.", "type": "string" }, "isChatModerator": { "type": "boolean", "description": "Whether the author is a moderator of the live chat." } }, "type": "object" }, "I18nLanguageSnippet": { "properties": { "name": { "type": "string", "description": "The human-readable name of the language in the language itself." }, "hl": { "type": "string", "description": "A short BCP-47 code that uniquely identifies a language." } }, "type": "object", "id": "I18nLanguageSnippet", "description": "Basic details about an i18n language, such as language code and human-readable name." }, "ChannelBannerResource": { "description": "A channel banner returned as the response to a channel_banner.insert call.", "properties": { "url": { "description": "The URL of this banner image.", "type": "string" }, "etag": { "type": "string" }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelBannerResource\".", "default": "youtube#channelBannerResource" } }, "type": "object", "id": "ChannelBannerResource" }, "VideoContentDetailsRegionRestriction": { "properties": { "blocked": { "description": "A list of region codes that identify countries 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 property is present and contains an empty list, the video is viewable in all countries.", "items": { "type": "string" }, "type": "array" }, "allowed": { "type": "array", "items": { "type": "string" }, "description": "A list of region codes that identify countries 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." } }, "id": "VideoContentDetailsRegionRestriction", "type": "object", "description": "DEPRECATED Region restriction of the video." }, "AbuseReport": { "type": "object", "id": "AbuseReport", "properties": { "abuseTypes": { "items": { "$ref": "AbuseType" }, "type": "array" }, "relatedEntities": { "type": "array", "items": { "$ref": "RelatedEntity" } }, "subject": { "$ref": "Entity" }, "description": { "type": "string" } } }, "SubscriptionContentDetails": { "description": "Details about the content to witch a subscription refers.", "id": "SubscriptionContentDetails", "type": "object", "properties": { "newItemCount": { "description": "The number of new items in the subscription since its content was last read.", "type": "integer", "format": "uint32" }, "totalItemCount": { "type": "integer", "format": "uint32", "description": "The approximate number of items that the subscription points to." }, "activityType": { "enumDescriptions": [ "", "", "" ], "description": "The type of activity this subscription is for (only uploads, everything).", "enum": [ "subscriptionActivityTypeUnspecified", "all", "uploads" ], "type": "string" } } }, "LiveStreamStatus": { "description": "Brief description of the live stream status.", "properties": { "streamStatus": { "enumDescriptions": [ "", "", "", "", "" ], "type": "string", "enum": [ "created", "ready", "active", "inactive", "error" ] }, "healthStatus": { "$ref": "LiveStreamHealthStatus", "description": "The health status of the stream." } }, "type": "object", "id": "LiveStreamStatus" }, "VideoGetRatingResponse": { "type": "object", "id": "VideoGetRatingResponse", "properties": { "items": { "type": "array", "description": "A list of ratings that match the request criteria.", "items": { "$ref": "VideoRating" } }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "default": "youtube#videoGetRatingResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoGetRatingResponse\".", "type": "string" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "etag": { "description": "Etag of this resource.", "type": "string" } } }, "LiveStreamConfigurationIssue": { "id": "LiveStreamConfigurationIssue", "type": "object", "properties": { "type": { "description": "The kind of error happening.", "enum": [ "gopSizeOver", "gopSizeLong", "gopSizeShort", "openGop", "badContainer", "audioBitrateHigh", "audioBitrateLow", "audioSampleRate", "bitrateHigh", "bitrateLow", "audioCodec", "videoCodec", "noAudioStream", "noVideoStream", "multipleVideoStreams", "multipleAudioStreams", "audioTooManyChannels", "interlacedVideo", "frameRateHigh", "resolutionMismatch", "videoCodecMismatch", "videoInterlaceMismatch", "videoProfileMismatch", "videoBitrateMismatch", "framerateMismatch", "gopMismatch", "audioSampleRateMismatch", "audioStereoMismatch", "audioCodecMismatch", "audioBitrateMismatch", "videoResolutionSuboptimal", "videoResolutionUnsupported", "videoIngestionStarved", "videoIngestionFasterThanRealtime" ], "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "type": "string" }, "description": { "type": "string", "description": "The long-form description of the issue and how to resolve it." }, "reason": { "description": "The short-form reason for this issue.", "type": "string" }, "severity": { "type": "string", "enum": [ "info", "warning", "error" ], "enumDescriptions": [ "", "", "" ], "description": "How severe this issue is to the stream." } } }, "VideoLocalization": { "id": "VideoLocalization", "description": "Localized versions of certain video properties (e.g. title).", "properties": { "description": { "description": "Localized version of the video's description.", "type": "string" }, "title": { "description": "Localized version of the video's title.", "type": "string" } }, "type": "object" }, "SuperChatEvent": { "description": "A `__superChatEvent__` resource represents a Super Chat purchase on a YouTube channel.", "type": "object", "properties": { "kind": { "default": "youtube#superChatEvent", "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#superChatEvent\"`.", "type": "string" }, "id": { "type": "string", "description": "The ID that YouTube assigns to uniquely identify the Super Chat event." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "snippet": { "$ref": "SuperChatEventSnippet", "description": "The `snippet` object contains basic details about the Super Chat event." } }, "id": "SuperChatEvent" }, "VideoStatus": { "description": "Basic details about a video category, such as its localized title. Next Id: 17", "properties": { "publishAt": { "description": "The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..", "format": "date-time", "type": "string" }, "publicStatsViewable": { "description": "This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update", "type": "boolean" }, "uploadStatus": { "type": "string", "description": "The status of the uploaded video.", "enum": [ "uploaded", "processed", "failed", "rejected", "deleted" ], "enumDescriptions": [ "Video has been uploaded but not processed yet.", "Video has been successfully processed.", "Processing has failed. See FailureReason.", "Video has been rejected. See RejectionReason.", "Video has been deleted." ] }, "rejectionReason": { "enumDescriptions": [ "Copyright infringement.", "Inappropriate video content.", "Duplicate upload in the same channel.", "Terms of use violation.", "Uploader account was suspended.", "Video duration was too long.", "Blocked by content owner.", "Uploader closed his/her account.", "Trademark infringement.", "An unspecified legal reason." ], "type": "string", "description": "This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.", "enum": [ "copyright", "inappropriate", "duplicate", "termsOfUse", "uploaderAccountSuspended", "length", "claim", "uploaderAccountClosed", "trademark", "legal" ] }, "selfDeclaredMadeForKids": { "type": "boolean" }, "madeForKids": { "type": "boolean" }, "privacyStatus": { "type": "string", "enumDescriptions": [ "", "", "" ], "enum": [ "public", "unlisted", "private" ], "description": "The video's privacy status." }, "embeddable": { "type": "boolean", "description": "This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update" }, "failureReason": { "enum": [ "conversion", "invalidFile", "emptyFile", "tooSmall", "codec", "uploadAborted" ], "type": "string", "enumDescriptions": [ "Unable to convert video content.", "Invalid file format.", "Empty file.", "File was too small.", "Unsupported codec.", "Upload wasn't finished." ], "description": "This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed." }, "license": { "enumDescriptions": [ "", "" ], "enum": [ "youtube", "creativeCommon" ], "type": "string", "description": "The video's license. @mutable youtube.videos.insert youtube.videos.update" } }, "id": "VideoStatus", "type": "object" }, "Comment": { "properties": { "id": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the comment." }, "snippet": { "$ref": "CommentSnippet", "description": "The snippet object contains basic details about the comment." }, "kind": { "type": "string", "default": "youtube#comment", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#comment\"." }, "etag": { "description": "Etag of this resource.", "type": "string" } }, "id": "Comment", "type": "object", "description": "A *comment* represents a single YouTube comment." }, "ChannelToStoreLinkDetails": { "description": "Information specific to a store on a merchandising platform linked to a YouTube channel.", "id": "ChannelToStoreLinkDetails", "type": "object", "properties": { "storeUrl": { "description": "Landing page of the store.", "type": "string" }, "storeName": { "description": "Name of the store.", "type": "string" }, "merchantId": { "type": "string", "description": "Google Merchant Center id of the store.", "format": "uint64" } } }, "VideoCategory": { "properties": { "id": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the video category." }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategory\".", "default": "youtube#videoCategory" }, "snippet": { "$ref": "VideoCategorySnippet", "description": "The snippet object contains basic details about the video category, including its title." }, "etag": { "description": "Etag of this resource.", "type": "string" } }, "id": "VideoCategory", "type": "object", "description": "A *videoCategory* resource identifies a category that has been or could be associated with uploaded videos." }, "ChannelStatus": { "type": "object", "description": "JSON template for the status part of a channel.", "properties": { "privacyStatus": { "enumDescriptions": [ "", "", "" ], "type": "string", "description": "Privacy status of the channel.", "enum": [ "public", "unlisted", "private" ] }, "madeForKids": { "type": "boolean" }, "selfDeclaredMadeForKids": { "type": "boolean" }, "isLinked": { "type": "boolean", "description": "If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity." }, "longUploadsStatus": { "description": "The long uploads status of this channel. See https://support.google.com/youtube/answer/71673 for more information.", "enum": [ "longUploadsUnspecified", "allowed", "eligible", "disallowed" ], "enumDescriptions": [ "", "", "", "" ], "type": "string" } }, "id": "ChannelStatus" }, "PlaylistSnippet": { "description": "Basic details about a playlist, including title, description and thumbnails.", "id": "PlaylistSnippet", "properties": { "channelTitle": { "description": "The channel title of the channel that the video belongs to.", "type": "string" }, "defaultLanguage": { "type": "string", "description": "The language of the playlist's default title and description." }, "tags": { "type": "array", "description": "Keyword tags associated with the playlist.", "items": { "type": "string" } }, "description": { "type": "string", "description": "The playlist's description." }, "channelId": { "description": "The ID that YouTube uses to uniquely identify the channel that published the playlist.", "type": "string" }, "localized": { "description": "Localized title and description, read-only.", "$ref": "PlaylistLocalization" }, "publishedAt": { "format": "date-time", "description": "The date and time that the playlist was created.", "type": "string" }, "thumbnailVideoId": { "description": "Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.", "type": "string" }, "thumbnails": { "$ref": "ThumbnailDetails", "description": "A map of thumbnail images associated with the playlist. 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." }, "title": { "annotations": { "required": [ "youtube.playlists.insert", "youtube.playlists.update" ] }, "type": "string", "description": "The playlist's title." } }, "type": "object" }, "VideoProcessingDetailsProcessingProgress": { "type": "object", "id": "VideoProcessingDetailsProcessingProgress", "description": "Video processing progress and completion time estimate.", "properties": { "partsProcessed": { "description": "The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.", "type": "string", "format": "uint64" }, "timeLeftMs": { "type": "string", "description": "An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.", "format": "uint64" }, "partsTotal": { "format": "uint64", "type": "string", "description": "An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video." } } }, "LiveChatMessageSnippet": { "description": "Next ID: 33", "id": "LiveChatMessageSnippet", "properties": { "fanFundingEventDetails": { "description": "Details about the funding event, this is only set if the type is 'fanFundingEvent'.", "$ref": "LiveChatFanFundingEventDetails" }, "liveChatId": { "type": "string" }, "superStickerDetails": { "$ref": "LiveChatSuperStickerDetails", "description": "Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'." }, "giftMembershipReceivedDetails": { "$ref": "LiveChatGiftMembershipReceivedDetails", "description": "Details about the Gift Membership Received event, this is only set if the type is 'giftMembershipReceivedEvent'." }, "memberMilestoneChatDetails": { "description": "Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.", "$ref": "LiveChatMemberMilestoneChatDetails" }, "textMessageDetails": { "$ref": "LiveChatTextMessageDetails", "description": "Details about the text message, this is only set if the type is 'textMessageEvent'." }, "messageDeletedDetails": { "$ref": "LiveChatMessageDeletedDetails" }, "membershipGiftingDetails": { "description": "Details about the Membership Gifting event, this is only set if the type is 'membershipGiftingEvent'.", "$ref": "LiveChatMembershipGiftingDetails" }, "messageRetractedDetails": { "$ref": "LiveChatMessageRetractedDetails" }, "hasDisplayContent": { "description": "Whether the message has display content that should be displayed to users.", "type": "boolean" }, "publishedAt": { "description": "The date and time when the message was orignally published.", "format": "date-time", "type": "string" }, "newSponsorDetails": { "$ref": "LiveChatNewSponsorDetails", "description": "Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that \"member\" is the new term for \"sponsor\"." }, "displayMessage": { "description": "Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.", "type": "string" }, "type": { "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "invalidType", "textMessageEvent", "tombstone", "fanFundingEvent", "chatEndedEvent", "sponsorOnlyModeStartedEvent", "sponsorOnlyModeEndedEvent", "newSponsorEvent", "memberMilestoneChatEvent", "membershipGiftingEvent", "giftMembershipReceivedEvent", "messageDeletedEvent", "messageRetractedEvent", "userBannedEvent", "superChatEvent", "superStickerEvent" ], "description": "The type of message, this will always be present, it determines the contents of the message as well as which fields will be present.", "type": "string" }, "superChatDetails": { "description": "Details about the Super Chat event, this is only set if the type is 'superChatEvent'.", "$ref": "LiveChatSuperChatDetails" }, "authorChannelId": { "type": "string", "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message membershipGiftingEvent - the user that made the purchase giftMembershipReceivedEvent - the user that received the gift membership messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase" }, "userBannedDetails": { "$ref": "LiveChatUserBannedMessageDetails" } }, "type": "object" }, "MonitorStreamInfo": { "type": "object", "id": "MonitorStreamInfo", "description": "Settings and Info of the monitor stream", "properties": { "enableMonitorStream": { "type": "boolean", "description": "This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints. You need to set this value to true if you intend to have a broadcast delay for your event. *Note:* This property cannot be updated once the broadcast is in the testing or live state.", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] } }, "embedHtml": { "type": "string", "description": "HTML code that embeds a player that plays the monitor stream." }, "broadcastStreamDelayMs": { "annotations": { "required": [ "youtube.liveBroadcasts.update" ] }, "type": "integer", "format": "uint32", "description": "If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay." } } }, "LiveChatSuperStickerDetails": { "id": "LiveChatSuperStickerDetails", "type": "object", "properties": { "tier": { "format": "uint32", "description": "The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1.", "type": "integer" }, "currency": { "type": "string", "description": "The currency in which the purchase was made." }, "superStickerMetadata": { "$ref": "SuperStickerMetadata", "description": "Information about the Super Sticker." }, "amountMicros": { "description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75).", "type": "string", "format": "uint64" }, "amountDisplayString": { "type": "string", "description": "A rendered string that displays the fund amount and currency to the user." } } }, "CommentThreadReplies": { "id": "CommentThreadReplies", "description": "Comments written in (direct or indirect) reply to the top level comment.", "type": "object", "properties": { "comments": { "type": "array", "items": { "$ref": "Comment" }, "description": "A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies." } } }, "ChannelLocalization": { "type": "object", "description": "Channel localization setting", "properties": { "title": { "type": "string", "description": "The localized strings for channel's title." }, "description": { "description": "The localized strings for channel's description.", "type": "string" } }, "id": "ChannelLocalization" }, "InvideoPosition": { "description": "Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one.", "properties": { "cornerPosition": { "enum": [ "topLeft", "topRight", "bottomLeft", "bottomRight" ], "type": "string", "description": "Describes in which corner of the video the visual widget will appear.", "enumDescriptions": [ "", "", "", "" ] }, "type": { "enum": [ "corner" ], "description": "Defines the position type.", "enumDescriptions": [ "" ], "type": "string" } }, "id": "InvideoPosition", "type": "object" }, "LiveChatMessageRetractedDetails": { "type": "object", "properties": { "retractedMessageId": { "type": "string" } }, "id": "LiveChatMessageRetractedDetails" }, "I18nLanguageListResponse": { "id": "I18nLanguageListResponse", "type": "object", "properties": { "etag": { "type": "string", "description": "Etag of this resource." }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "items": { "items": { "$ref": "I18nLanguage" }, "type": "array", "description": "A list of supported i18n languages. In this map, the i18n language ID is the map key, and its value is the corresponding i18nLanguage resource." }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "default": "youtube#i18nLanguageListResponse", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nLanguageListResponse\"." } } }, "SearchListResponse": { "properties": { "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "items": { "description": "Pagination information for token pagination.", "type": "array", "items": { "$ref": "SearchResult" } }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "default": "youtube#searchListResponse", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchListResponse\"." }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "tokenPagination": { "$ref": "TokenPagination" }, "etag": { "type": "string", "description": "Etag of this resource." }, "pageInfo": { "$ref": "PageInfo", "description": "General pagination information." }, "regionCode": { "type": "string" } }, "id": "SearchListResponse", "type": "object" }, "LiveChatTextMessageDetails": { "properties": { "messageText": { "description": "The user's message.", "type": "string" } }, "type": "object", "id": "LiveChatTextMessageDetails" }, "PlaylistItemListResponse": { "properties": { "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\". Etag of this resource.", "default": "youtube#playlistItemListResponse", "type": "string" }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "tokenPagination": { "$ref": "TokenPagination" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "etag": { "type": "string" }, "items": { "description": "A list of playlist items that match the request criteria.", "items": { "$ref": "PlaylistItem" }, "type": "array" }, "prevPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set." }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" } }, "id": "PlaylistItemListResponse", "type": "object" }, "PlaylistLocalization": { "description": "Playlist localization setting", "id": "PlaylistLocalization", "properties": { "title": { "description": "The localized strings for playlist's title.", "type": "string" }, "description": { "type": "string", "description": "The localized strings for playlist's description." } }, "type": "object" }, "ActivityContentDetailsSubscription": { "type": "object", "id": "ActivityContentDetailsSubscription", "description": "Information about a channel that a user subscribed to.", "properties": { "resourceId": { "$ref": "ResourceId", "description": "The resourceId object contains information that identifies the resource that the user subscribed to." } } }, "PlaylistItemSnippet": { "description": "Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15", "properties": { "position": { "description": "The order in which the item appears in the playlist. 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.", "type": "integer", "format": "uint32" }, "resourceId": { "$ref": "ResourceId", "description": "The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.", "annotations": { "required": [ "youtube.playlistItems.insert", "youtube.playlistItems.update" ] } }, "channelId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the user that added the item to the playlist." }, "videoOwnerChannelId": { "description": "Channel id for the channel this video belongs to.", "type": "string" }, "title": { "description": "The item's title.", "type": "string" }, "thumbnails": { "description": "A map of thumbnail images associated with the playlist item. 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.", "$ref": "ThumbnailDetails" }, "playlistId": { "description": "The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.", "type": "string", "annotations": { "required": [ "youtube.playlistItems.insert", "youtube.playlistItems.update" ] } }, "channelTitle": { "type": "string", "description": "Channel title for the channel that the playlist item belongs to." }, "description": { "description": "The item's description.", "type": "string" }, "videoOwnerChannelTitle": { "type": "string", "description": "Channel title for the channel this video belongs to." }, "publishedAt": { "description": "The date and time that the item was added to the playlist.", "format": "date-time", "type": "string" } }, "type": "object", "id": "PlaylistItemSnippet" }, "ChannelSection": { "id": "ChannelSection", "type": "object", "properties": { "kind": { "default": "youtube#channelSection", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSection\"." }, "id": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the channel section." }, "snippet": { "description": "The snippet object contains basic details about the channel section, such as its type, style and title.", "$ref": "ChannelSectionSnippet" }, "contentDetails": { "description": "The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section.", "$ref": "ChannelSectionContentDetails" }, "localizations": { "additionalProperties": { "$ref": "ChannelSectionLocalization" }, "description": "Localizations for different languages", "type": "object" }, "targeting": { "description": "The targeting object contains basic targeting settings about the channel section.", "$ref": "ChannelSectionTargeting" }, "etag": { "type": "string", "description": "Etag of this resource." } } }, "PlaylistListResponse": { "type": "object", "properties": { "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" }, "items": { "type": "array", "items": { "$ref": "Playlist" }, "description": "A list of playlists that match the request criteria" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistListResponse\".", "default": "youtube#playlistListResponse" }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "etag": { "type": "string", "description": "Etag of this resource." } }, "id": "PlaylistListResponse" }, "SearchResult": { "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, like a video, it does not have its own persistent data.", "type": "object", "properties": { "kind": { "default": "youtube#searchResult", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchResult\".", "type": "string" }, "id": { "description": "The id object contains information that can be used to uniquely identify the resource that matches the search request.", "$ref": "ResourceId" }, "snippet": { "description": "The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then the title will be the video's title and the description will be the video's description.", "$ref": "SearchResultSnippet" }, "etag": { "type": "string", "description": "Etag of this resource." } }, "id": "SearchResult" }, "VideoTopicDetails": { "type": "object", "description": "Freebase topic information related to the video.", "properties": { "relevantTopicIds": { "type": "array", "items": { "type": "string" }, "description": "Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API." }, "topicIds": { "type": "array", "description": "A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the \u003c a href=\"http://wiki.freebase.com/wiki/Topic_API\"\u003eFreebase Topic API.", "items": { "type": "string" } }, "topicCategories": { "description": "A list of Wikipedia URLs that provide a high-level description of the video's content.", "type": "array", "items": { "type": "string" } } }, "id": "VideoTopicDetails" }, "SuperChatEventSnippet": { "type": "object", "id": "SuperChatEventSnippet", "properties": { "amountMicros": { "description": "The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.", "type": "string", "format": "uint64" }, "displayString": { "type": "string", "description": "A rendered string that displays the purchase amount and currency (e.g., \"$1.00\"). The string is rendered for the given language." }, "supporterDetails": { "$ref": "ChannelProfileDetails", "description": "Details about the supporter." }, "commentText": { "type": "string", "description": "The text contents of the comment left by the user." }, "channelId": { "type": "string", "description": "Channel id where the event occurred." }, "messageType": { "type": "integer", "description": "The tier for the paid message, which is based on the amount of money spent to purchase the message.", "format": "uint32" }, "superStickerMetadata": { "description": "If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.", "$ref": "SuperStickerMetadata" }, "currency": { "description": "The currency in which the purchase was made. ISO 4217.", "type": "string" }, "createdAt": { "description": "The date and time when the event occurred.", "format": "date-time", "type": "string" }, "isSuperStickerEvent": { "type": "boolean", "description": "True if this event is a Super Sticker event." } } }, "AbuseType": { "properties": { "id": { "type": "string" } }, "id": "AbuseType", "type": "object" }, "ActivitySnippet": { "properties": { "thumbnails": { "$ref": "ThumbnailDetails", "description": "A map of thumbnail images associated with the resource that is primarily associated with the activity. 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." }, "publishedAt": { "type": "string", "description": "The date and time that the video was uploaded.", "format": "date-time" }, "groupId": { "type": "string", "description": "The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In your user interface, you can avoid repetition by grouping events with the same groupId value." }, "channelTitle": { "type": "string", "description": "Channel title for the channel responsible for this activity" }, "description": { "type": "string", "description": "The description of the resource primarily associated with the activity. @mutable youtube.activities.insert" }, "channelId": { "description": "The ID that YouTube uses to uniquely identify the channel associated with the activity.", "type": "string" }, "type": { "type": "string", "enum": [ "typeUnspecified", "upload", "like", "favorite", "comment", "subscription", "playlistItem", "recommendation", "bulletin", "social", "channelItem", "promotedItem" ], "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "" ], "description": "The type of activity that the resource describes." }, "title": { "type": "string", "description": "The title of the resource primarily associated with the activity." } }, "type": "object", "description": "Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12", "id": "ActivitySnippet" }, "TokenPagination": { "id": "TokenPagination", "description": "Stub token pagination template to suppress results.", "type": "object", "properties": {} }, "LiveChatMessageListResponse": { "id": "LiveChatMessageListResponse", "properties": { "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "nextPageToken": { "type": "string" }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessageListResponse\".", "default": "youtube#liveChatMessageListResponse", "type": "string" }, "etag": { "type": "string", "description": "Etag of this resource." }, "items": { "type": "array", "items": { "$ref": "LiveChatMessage" } }, "offlineAt": { "type": "string", "format": "date-time", "description": "The date and time when the underlying stream went offline." }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "pollingIntervalMillis": { "type": "integer", "description": "The amount of time the client should wait before polling again.", "format": "uint32" }, "tokenPagination": { "$ref": "TokenPagination" } }, "type": "object" }, "VideoAbuseReportSecondaryReason": { "properties": { "id": { "type": "string", "description": "The ID of this abuse report secondary reason." }, "label": { "type": "string", "description": "The localized label for this abuse report secondary reason." } }, "id": "VideoAbuseReportSecondaryReason", "type": "object" }, "ChannelBrandingSettings": { "id": "ChannelBrandingSettings", "description": "Branding properties of a YouTube channel.", "properties": { "channel": { "description": "Branding properties for the channel view.", "$ref": "ChannelSettings" }, "image": { "$ref": "ImageSettings", "description": "Branding properties for branding images." }, "hints": { "items": { "$ref": "PropertyValue" }, "type": "array", "description": "Additional experimental branding properties." }, "watch": { "description": "Branding properties for the watch page.", "$ref": "WatchSettings" } }, "type": "object" }, "CaptionSnippet": { "type": "object", "properties": { "videoId": { "annotations": { "required": [ "youtube.captions.insert" ] }, "description": "The ID that YouTube uses to uniquely identify the video associated with the caption track. @mutable youtube.captions.insert", "type": "string" }, "isAutoSynced": { "type": "boolean", "description": "Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions." }, "name": { "annotations": { "required": [ "youtube.captions.insert" ] }, "description": "The name of the caption track. The name is intended to be visible to the user as an option during playback.", "type": "string" }, "isDraft": { "description": "Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false. @mutable youtube.captions.insert youtube.captions.update", "type": "boolean" }, "isLarge": { "description": "Indicates whether the caption track uses large text for the vision-impaired. The default value is false.", "type": "boolean" }, "audioTrackType": { "description": "The type of audio track associated with the caption track.", "enum": [ "unknown", "primary", "commentary", "descriptive" ], "type": "string", "enumDescriptions": [ "", "", "", "" ] }, "isCC": { "description": "Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.", "type": "boolean" }, "lastUpdated": { "type": "string", "format": "date-time", "description": "The date and time when the caption track was last updated." }, "status": { "description": "The caption track's status.", "type": "string", "enumDescriptions": [ "", "", "" ], "enum": [ "serving", "syncing", "failed" ] }, "language": { "type": "string", "annotations": { "required": [ "youtube.captions.insert" ] }, "description": "The language of the caption track. The property value is a BCP-47 language tag." }, "failureReason": { "enumDescriptions": [ "", "", "" ], "type": "string", "description": "The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.", "enum": [ "unknownFormat", "unsupportedFormat", "processingFailed" ] }, "trackKind": { "enum": [ "standard", "ASR", "forced" ], "description": "The caption track's type.", "enumDescriptions": [ "", "", "" ], "type": "string" }, "isEasyReader": { "type": "boolean", "description": "Indicates whether caption track is formatted for \"easy reader,\" meaning it is at a third-grade level for language learners. The default value is false." } }, "id": "CaptionSnippet", "description": "Basic details about a caption track, such as its language and name." }, "ActivityListResponse": { "id": "ActivityListResponse", "properties": { "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "pageInfo": { "$ref": "PageInfo", "description": "General pagination information." }, "items": { "type": "array", "items": { "$ref": "Activity" } }, "kind": { "default": "youtube#activityListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activityListResponse\".", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" } }, "type": "object" }, "ChannelSettings": { "type": "object", "description": "Branding properties for the channel view.", "id": "ChannelSettings", "properties": { "defaultLanguage": { "type": "string" }, "featuredChannelsUrls": { "description": "The list of featured channels.", "type": "array", "items": { "type": "string" } }, "description": { "description": "Specifies the channel description.", "type": "string" }, "trackingAnalyticsAccountId": { "type": "string", "description": "The ID for a Google Analytics account to track and measure traffic to the channels." }, "defaultTab": { "type": "string", "description": "Which content tab users should see when viewing the channel." }, "unsubscribedTrailer": { "description": "The trailer of the channel, for users that are not subscribers.", "type": "string" }, "showRelatedChannels": { "description": "Whether related channels should be proposed.", "type": "boolean" }, "showBrowseView": { "type": "boolean", "description": "Whether the tab to browse the videos should be displayed." }, "keywords": { "description": "Lists keywords associated with the channel, comma-separated.", "type": "string" }, "featuredChannelsTitle": { "description": "Title for the featured channels tab.", "type": "string" }, "country": { "type": "string", "description": "The country of the channel." }, "profileColor": { "description": "A prominent color that can be rendered on this channel page.", "type": "string" }, "title": { "description": "Specifies the channel title.", "type": "string" }, "moderateComments": { "type": "boolean", "description": "Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible." } } }, "PageInfo": { "properties": { "totalResults": { "type": "integer", "format": "int32", "description": "The total number of results in the result set." }, "resultsPerPage": { "type": "integer", "description": "The number of results included in the API response.", "format": "int32" } }, "id": "PageInfo", "type": "object", "description": "Paging details for lists of resources, including total number of items available and number of resources returned in a single page." }, "I18nRegionSnippet": { "properties": { "name": { "description": "The human-readable name of the region.", "type": "string" }, "gl": { "description": "The region code as a 2-letter ISO country code.", "type": "string" } }, "description": "Basic details about an i18n region, such as region code and human-readable name.", "id": "I18nRegionSnippet", "type": "object" }, "PlaylistItemContentDetails": { "properties": { "startAt": { "type": "string", "description": "The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0." }, "endAt": { "type": "string", "description": "The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video." }, "videoId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request." }, "videoPublishedAt": { "type": "string", "format": "date-time", "description": "The date and time that the video was published to YouTube." }, "note": { "type": "string", "description": "A user-generated note for this item." } }, "type": "object", "id": "PlaylistItemContentDetails" }, "MembershipsLevel": { "type": "object", "properties": { "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#membershipsLevelListResponse\".", "type": "string", "default": "youtube#membershipsLevel" }, "id": { "type": "string", "description": "The ID that YouTube assigns to uniquely identify the memberships level." }, "snippet": { "description": "The snippet object contains basic details about the level.", "$ref": "MembershipsLevelSnippet" }, "etag": { "type": "string", "description": "Etag of this resource." } }, "id": "MembershipsLevel", "description": "A *membershipsLevel* resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits." }, "I18nLanguage": { "description": "An *i18nLanguage* resource identifies a UI language currently supported by YouTube.", "type": "object", "id": "I18nLanguage", "properties": { "kind": { "default": "youtube#i18nLanguage", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nLanguage\".", "type": "string" }, "snippet": { "$ref": "I18nLanguageSnippet", "description": "The snippet object contains basic details about the i18n language, such as language code and human-readable name." }, "id": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the i18n language." }, "etag": { "description": "Etag of this resource.", "type": "string" } } }, "SuperStickerMetadata": { "properties": { "altTextLanguage": { "description": "Specifies the localization language in which the alt text is returned.", "type": "string" }, "altText": { "description": "Internationalized alt text that describes the sticker image and any animation associated with it.", "type": "string" }, "stickerId": { "type": "string", "description": "Unique identifier of the Super Sticker. This is a shorter form of the alt_text that includes pack name and a recognizable characteristic of the sticker." } }, "type": "object", "id": "SuperStickerMetadata" }, "LevelDetails": { "type": "object", "id": "LevelDetails", "properties": { "displayName": { "type": "string", "description": "The name that should be used when referring to this level." } } }, "VideoCategoryListResponse": { "type": "object", "id": "VideoCategoryListResponse", "properties": { "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "items": { "type": "array", "items": { "$ref": "VideoCategory" }, "description": "A list of video categories that can be associated with YouTube videos. In this map, the video category ID is the map key, and its value is the corresponding videoCategory resource." }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategoryListResponse\".", "default": "youtube#videoCategoryListResponse" }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" } } }, "MembershipsDurationAtLevel": { "id": "MembershipsDurationAtLevel", "type": "object", "properties": { "memberSince": { "type": "string", "description": "The date and time when the user became a continuous member for the given level." }, "level": { "type": "string", "description": "Pricing level ID." }, "memberTotalDurationMonths": { "type": "integer", "format": "int32", "description": "The cumulative time the user has been a member for the given level in complete months (the time is rounded down to the nearest integer)." } } }, "LocalizedProperty": { "id": "LocalizedProperty", "type": "object", "properties": { "default": { "type": "string" }, "localized": { "items": { "$ref": "LocalizedString" }, "type": "array" }, "defaultLanguage": { "description": "The language of the default property.", "$ref": "LanguageTag" } } }, "LiveChatBanSnippet": { "type": "object", "properties": { "banDurationSeconds": { "description": "The duration of a ban, only filled if the ban has type TEMPORARY.", "type": "string", "format": "uint64" }, "type": { "enumDescriptions": [ "An invalid ban type.", "A permanent ban.", "A temporary ban." ], "type": "string", "enum": [ "liveChatBanTypeUnspecified", "permanent", "temporary" ], "description": "The type of ban." }, "liveChatId": { "type": "string", "description": "The chat this ban is pertinent to." }, "bannedUserDetails": { "$ref": "ChannelProfileDetails" } }, "id": "LiveChatBanSnippet" }, "LiveStreamSnippet": { "properties": { "publishedAt": { "type": "string", "description": "The date and time that the stream was created.", "format": "date-time" }, "title": { "annotations": { "required": [ "youtube.liveStreams.insert", "youtube.liveStreams.update" ] }, "description": "The stream's title. The value must be between 1 and 128 characters long.", "type": "string" }, "isDefaultStream": { "type": "boolean" }, "channelId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the channel that is transmitting the stream." }, "description": { "type": "string", "description": "The stream's description. The value cannot be longer than 10000 characters." } }, "id": "LiveStreamSnippet", "type": "object" }, "LiveChatMessage": { "id": "LiveChatMessage", "description": "A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.", "properties": { "snippet": { "$ref": "LiveChatMessageSnippet", "description": "The snippet object contains basic details about the message." }, "id": { "description": "The ID that YouTube assigns to uniquely identify the message.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessage\".", "default": "youtube#liveChatMessage" }, "authorDetails": { "$ref": "LiveChatMessageAuthorDetails", "description": "The authorDetails object contains basic details about the user that posted this message." } }, "type": "object" }, "LiveBroadcastStatus": { "type": "object", "id": "LiveBroadcastStatus", "description": "Live broadcast state.", "properties": { "lifeCycleStatus": { "enum": [ "lifeCycleStatusUnspecified", "created", "ready", "testing", "live", "complete", "revoked", "testStarting", "liveStarting" ], "enumDescriptions": [ "No value or the value is unknown.", "Incomplete settings, but otherwise valid", "Complete settings", "Visible only to partner, may need special UI treatment", "Viper is recording; this means the \"clock\" is running", "The broadcast is finished.", "This broadcast was removed by admin action", "Transition into TESTING has been requested", "Transition into LIVE has been requested" ], "type": "string", "description": "The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method." }, "recordingStatus": { "description": "The broadcast's recording status.", "enumDescriptions": [ "No value or the value is unknown.", "The recording has not yet been started.", "The recording is currently on.", "The recording is completed, and cannot be started again." ], "type": "string", "enum": [ "liveBroadcastRecordingStatusUnspecified", "notRecording", "recording", "recorded" ] }, "liveBroadcastPriority": { "description": "Priority of the live broadcast event (internal state).", "enumDescriptions": [ "", "Low priority broadcast: for low view count HoAs or other low priority broadcasts.", "Normal priority broadcast: for regular HoAs and broadcasts.", "High priority broadcast: for high profile HoAs, like PixelCorp ones." ], "type": "string", "enum": [ "liveBroadcastPriorityUnspecified", "low", "normal", "high" ] }, "privacyStatus": { "type": "string", "annotations": { "required": [ "youtube.liveBroadcasts.insert", "youtube.liveBroadcasts.update" ] }, "enumDescriptions": [ "", "", "" ], "description": "The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.", "enum": [ "public", "unlisted", "private" ] }, "madeForKids": { "description": "Whether the broadcast is made for kids or not, decided by YouTube instead of the creator. This field is read only.", "type": "boolean" }, "selfDeclaredMadeForKids": { "description": "This field will be set to True if the creator declares the broadcast to be kids only: go/live-cw-work.", "type": "boolean" } } }, "LiveChatGiftMembershipReceivedDetails": { "id": "LiveChatGiftMembershipReceivedDetails", "type": "object", "properties": { "associatedMembershipGiftingMessageId": { "description": "The ID of the membership gifting message that is related to this gift membership. This ID will always refer to a message whose type is 'membershipGiftingEvent'.", "type": "string" }, "gifterChannelId": { "type": "string", "description": "The ID of the user that made the membership gifting purchase. This matches the `snippet.authorChannelId` of the associated membership gifting message." }, "memberLevelName": { "description": "The name of the Level at which the viewer is a member. This matches the `snippet.membershipGiftingDetails.giftMembershipsLevelName` of the associated membership gifting message. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", "type": "string" } } }, "Thumbnail": { "description": "A thumbnail is an image representing a YouTube resource.", "type": "object", "id": "Thumbnail", "properties": { "height": { "type": "integer", "description": "(Optional) Height of the thumbnail image.", "format": "uint32" }, "width": { "description": "(Optional) Width of the thumbnail image.", "type": "integer", "format": "uint32" }, "url": { "description": "The thumbnail image's URL.", "type": "string" } } }, "LiveChatModerator": { "properties": { "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "default": "youtube#liveChatModerator", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModerator\"." }, "id": { "description": "The ID that YouTube assigns to uniquely identify the moderator.", "type": "string" }, "snippet": { "$ref": "LiveChatModeratorSnippet", "description": "The snippet object contains basic details about the moderator." } }, "description": "A *liveChatModerator* resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban/unban users from a chat, remove message, etc.", "type": "object", "id": "LiveChatModerator" }, "PlaylistContentDetails": { "id": "PlaylistContentDetails", "type": "object", "properties": { "itemCount": { "description": "The number of videos in the playlist.", "type": "integer", "format": "uint32" } } }, "VideoSuggestions": { "properties": { "tagSuggestions": { "items": { "$ref": "VideoSuggestionsTagSuggestion" }, "type": "array", "description": "A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube." }, "processingErrors": { "description": "A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.", "type": "array", "items": { "type": "string", "enum": [ "audioFile", "imageFile", "projectFile", "notAVideoFile", "docFile", "archiveFile", "unsupportedSpatialAudioLayout" ], "enumDescriptions": [ "File contains audio only (e.g., an MP3 file).", "Image file (e.g., a JPEG image).", "Movie project file (e.g., Microsoft Windows Movie Maker project).", "Other non-video file.", "Document or text file (e.g., MS Word document).", "An archive file (e.g., a ZIP archive).", "Unsupported spatial audio layout type." ] } }, "processingWarnings": { "items": { "enumDescriptions": [ "Unrecognized file format, transcoding is likely to fail.", "Unrecognized video codec, transcoding is likely to fail.", "Unrecognized audio codec, transcoding is likely to fail.", "Conflicting container and stream resolutions.", "Edit lists are not currently supported.", "Video codec that is known to cause problems was used.", "Audio codec that is known to cause problems was used.", "Unsupported VR video stereo mode.", "Unsupported spherical video projection type.", "Unsupported HDR pixel format.", "Unspecified HDR color metadata.", "Problematic HDR lookup table attached." ], "type": "string", "enum": [ "unknownContainer", "unknownVideoCodec", "unknownAudioCodec", "inconsistentResolution", "hasEditlist", "problematicVideoCodec", "problematicAudioCodec", "unsupportedVrStereoMode", "unsupportedSphericalProjectionType", "unsupportedHdrPixelFormat", "unsupportedHdrColorMetadata", "problematicHdrLookupTable" ] }, "description": "A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded 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, video artifacts, or a missing audio track.", "type": "array" }, "processingHints": { "type": "array", "description": "A list of suggestions that may improve YouTube's ability to process the video.", "items": { "enumDescriptions": [ "The MP4 file is not streamable, this will slow down the processing. MOOV atom was not found at the beginning of the file.", "Probably a better quality version of the video exists. The video has wide screen aspect ratio, but is not an HD video.", "Uploaded video is spherical video.", "Uploaded video has spatial audio.", "Uploaded video is VR video.", "Uploaded video is HDR video." ], "enum": [ "nonStreamableMov", "sendBestQualityVideo", "sphericalVideo", "spatialAudio", "vrVideo", "hdrVideo" ], "type": "string" } }, "editorSuggestions": { "description": "A list of video editing operations that might improve the video quality or playback experience of the uploaded video.", "type": "array", "items": { "enumDescriptions": [ "Picture brightness levels seem off and could be corrected.", "The video appears shaky and could be stabilized.", "Margins (mattes) detected around the picture could be cropped.", "The audio track appears silent and could be swapped with a better quality one." ], "type": "string", "enum": [ "videoAutoLevels", "videoStabilize", "videoCrop", "audioQuietAudioSwap" ] } } }, "id": "VideoSuggestions", "description": "Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.", "type": "object" }, "SubscriptionSnippet": { "description": "Basic details about a subscription, including title, description and thumbnails of the subscribed item.", "id": "SubscriptionSnippet", "properties": { "resourceId": { "$ref": "ResourceId", "annotations": { "required": [ "youtube.subscriptions.insert" ] }, "description": "The id object contains information about the channel that the user subscribed to." }, "channelTitle": { "description": "Channel title for the channel that the subscription belongs to.", "type": "string" }, "channelId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the subscriber's channel." }, "title": { "description": "The subscription's title.", "type": "string" }, "description": { "description": "The subscription's details.", "type": "string" }, "publishedAt": { "format": "date-time", "type": "string", "description": "The date and time that the subscription was created." }, "thumbnails": { "$ref": "ThumbnailDetails", "description": "A map of thumbnail images associated with the 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." } }, "type": "object" }, "I18nRegionListResponse": { "type": "object", "properties": { "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegionListResponse\".", "default": "youtube#i18nRegionListResponse" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "items": { "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 corresponding i18nRegion resource.", "type": "array", "items": { "$ref": "I18nRegion" } }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." } }, "id": "I18nRegionListResponse" }, "ChannelAuditDetails": { "properties": { "copyrightStrikesGoodStanding": { "type": "boolean", "description": "Whether or not the channel has any copyright strikes." }, "communityGuidelinesGoodStanding": { "description": "Whether or not the channel respects the community guidelines.", "type": "boolean" }, "contentIdClaimsGoodStanding": { "description": "Whether or not the channel has any unresolved claims.", "type": "boolean" } }, "type": "object", "description": "The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.", "id": "ChannelAuditDetails" }, "VideoMonetizationDetails": { "id": "VideoMonetizationDetails", "properties": { "access": { "description": "The value of access indicates whether the video can be monetized or not.", "$ref": "AccessPolicy" } }, "description": "Details about monetization of a YouTube Video.", "type": "object" }, "IngestionInfo": { "id": "IngestionInfo", "properties": { "rtmpsIngestionAddress": { "description": "This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams.", "type": "string" }, "backupIngestionAddress": { "type": "string", "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." }, "rtmpsBackupIngestionAddress": { "description": "This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams.", "type": "string" }, "ingestionAddress": { "description": "The primary ingestion URL that you should use to stream video to YouTube. You must stream video to this URL. Depending 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 them in the following format: *STREAM_URL/STREAM_NAME* ", "type": "string" }, "streamName": { "description": "The stream name that YouTube assigns to the video stream.", "type": "string" } }, "type": "object", "description": "Describes information necessary for ingesting an RTMP, HTTP, or SRT stream." }, "ActivityContentDetailsRecommendation": { "properties": { "resourceId": { "$ref": "ResourceId", "description": "The resourceId object contains information that identifies the recommended resource." }, "seedResourceId": { "$ref": "ResourceId", "description": "The seedResourceId object contains information about the resource that caused the recommendation." }, "reason": { "enum": [ "reasonUnspecified", "videoFavorited", "videoLiked", "videoWatched" ], "type": "string", "description": "The reason that the resource is recommended to the user.", "enumDescriptions": [ "", "", "", "" ] } }, "id": "ActivityContentDetailsRecommendation", "description": "Information that identifies the recommended resource.", "type": "object" }, "LiveStreamHealthStatus": { "properties": { "lastUpdateTimeSeconds": { "format": "uint64", "description": "The last time this status was updated (in seconds)", "type": "string" }, "status": { "type": "string", "description": "The status code of this stream", "enum": [ "good", "ok", "bad", "noData", "revoked" ], "enumDescriptions": [ "", "", "", "", "" ] }, "configurationIssues": { "description": "The configurations issues on this stream", "items": { "$ref": "LiveStreamConfigurationIssue" }, "type": "array" } }, "type": "object", "id": "LiveStreamHealthStatus" }, "Subscription": { "type": "object", "properties": { "subscriberSnippet": { "description": "The subscriberSnippet object contains basic details about the subscriber.", "$ref": "SubscriptionSubscriberSnippet" }, "id": { "description": "The ID that YouTube uses to uniquely identify the subscription.", "type": "string" }, "contentDetails": { "$ref": "SubscriptionContentDetails", "description": "The contentDetails object contains basic statistics about the subscription." }, "snippet": { "description": "The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.", "$ref": "SubscriptionSnippet" }, "etag": { "type": "string", "description": "Etag of this resource." }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscription\".", "default": "youtube#subscription", "type": "string" } }, "description": "A *subscription* resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added 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.", "id": "Subscription" }, "MemberSnippet": { "id": "MemberSnippet", "type": "object", "properties": { "creatorChannelId": { "type": "string", "description": "The id of the channel that's offering memberships." }, "membershipsDetails": { "$ref": "MembershipsDetails", "description": "Details about the user's membership." }, "memberDetails": { "$ref": "ChannelProfileDetails", "description": "Details about the member." } } }, "Caption": { "id": "Caption", "type": "object", "description": "A *caption* resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.", "properties": { "snippet": { "$ref": "CaptionSnippet", "description": "The snippet object contains basic details about the caption." }, "kind": { "type": "string", "default": "youtube#caption", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#caption\"." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "id": { "type": "string", "annotations": { "required": [ "youtube.captions.update" ] }, "description": "The ID that YouTube uses to uniquely identify the caption track." } } }, "VideoAgeGating": { "properties": { "restricted": { "description": "Age-restricted trailers. For redband trailers 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 field won't be present.", "type": "boolean" }, "videoGameRating": { "type": "string", "description": "Video game rating, if any.", "enum": [ "anyone", "m15Plus", "m16Plus", "m17Plus" ], "enumDescriptions": [ "", "", "", "" ] }, "alcoholContent": { "type": "boolean", "description": "Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content." } }, "type": "object", "id": "VideoAgeGating" }, "TestItem": { "type": "object", "id": "TestItem", "properties": { "gaia": { "type": "string", "format": "int64" }, "snippet": { "$ref": "TestItemTestItemSnippet" }, "id": { "type": "string" }, "featuredPart": { "type": "boolean" } } }, "ChannelTopicDetails": { "description": "Freebase topic information related to the channel.", "properties": { "topicCategories": { "type": "array", "items": { "type": "string" }, "description": "A list of Wikipedia URLs that describe the channel's content." }, "topicIds": { "type": "array", "description": "A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.", "items": { "type": "string" } } }, "type": "object", "id": "ChannelTopicDetails" }, "VideoAbuseReportReason": { "type": "object", "properties": { "etag": { "type": "string", "description": "Etag of this resource." }, "snippet": { "$ref": "VideoAbuseReportReasonSnippet", "description": "The `snippet` object contains basic details about the abuse report reason." }, "id": { "type": "string", "description": "The ID of this abuse report reason." }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#videoAbuseReportReason\"`.", "default": "youtube#videoAbuseReportReason" } }, "id": "VideoAbuseReportReason", "description": "A `__videoAbuseReportReason__` resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with `video.ReportAbuse`." }, "ChannelConversionPings": { "properties": { "pings": { "items": { "$ref": "ChannelConversionPing" }, "type": "array", "description": "Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping." } }, "description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.", "type": "object", "id": "ChannelConversionPings" }, "LiveChatModeratorSnippet": { "type": "object", "properties": { "liveChatId": { "type": "string", "description": "The ID of the live chat this moderator can act on." }, "moderatorDetails": { "description": "Details about the moderator.", "$ref": "ChannelProfileDetails" } }, "id": "LiveChatModeratorSnippet" }, "VideoFileDetails": { "type": "object", "description": "Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.", "id": "VideoFileDetails", "properties": { "creationTime": { "description": "The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM ", "type": "string" }, "fileSize": { "type": "string", "description": "The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.", "format": "uint64" }, "fileName": { "description": "The uploaded file's name. This field is present whether a video file or another type of file was uploaded.", "type": "string" }, "container": { "type": "string", "description": "The uploaded video file's container format." }, "fileType": { "enumDescriptions": [ "Known video file (e.g., an MP4 file).", "Audio only file (e.g., an MP3 file).", "Image file (e.g., a JPEG image).", "Archive file (e.g., a ZIP archive).", "Document or text file (e.g., MS Word document).", "Movie project file (e.g., Microsoft Windows Movie Maker project).", "Other non-video file type." ], "description": "The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.", "enum": [ "video", "audio", "image", "archive", "document", "project", "other" ], "type": "string" }, "bitrateBps": { "description": "The uploaded video file's combined (video and audio) bitrate in bits per second.", "type": "string", "format": "uint64" }, "videoStreams": { "type": "array", "description": "A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.", "items": { "$ref": "VideoFileDetailsVideoStream" } }, "durationMs": { "format": "uint64", "type": "string", "description": "The length of the uploaded video in milliseconds." }, "audioStreams": { "type": "array", "description": "A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.", "items": { "$ref": "VideoFileDetailsAudioStream" } } } }, "VideoSuggestionsTagSuggestion": { "description": "A single tag suggestion with it's relevance information.", "id": "VideoSuggestionsTagSuggestion", "type": "object", "properties": { "categoryRestricts": { "type": "array", "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 restricts defined for the keyword.", "items": { "type": "string" } }, "tag": { "description": "The keyword tag suggested for the video.", "type": "string" } } }, "ChannelContentOwnerDetails": { "properties": { "contentOwner": { "type": "string", "description": "The ID of the content owner linked to the channel." }, "timeLinked": { "description": "The date and time when the channel was linked to the content owner.", "type": "string", "format": "date-time" } }, "id": "ChannelContentOwnerDetails", "type": "object", "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel." }, "VideoAbuseReport": { "properties": { "language": { "description": "The language that the content was viewed in.", "type": "string" }, "videoId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the video." }, "secondaryReasonId": { "description": "The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason for the primary reason.", "type": "string" }, "reasonId": { "type": "string", "description": "The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID." }, "comments": { "type": "string", "description": "Additional comments regarding the abuse report." } }, "id": "VideoAbuseReport", "type": "object" }, "InvideoTiming": { "type": "object", "id": "InvideoTiming", "description": "Describes a temporal position of a visual widget inside a video.", "properties": { "durationMs": { "format": "uint64", "description": "Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.", "type": "string" }, "offsetMs": { "type": "string", "format": "uint64", "description": "Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds." }, "type": { "enum": [ "offsetFromStart", "offsetFromEnd" ], "type": "string", "description": "Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.", "enumDescriptions": [ "", "" ] } } }, "LiveChatSuperChatDetails": { "id": "LiveChatSuperChatDetails", "type": "object", "properties": { "currency": { "description": "The currency in which the purchase was made.", "type": "string" }, "amountMicros": { "format": "uint64", "description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75).", "type": "string" }, "tier": { "description": "The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1.", "format": "uint32", "type": "integer" }, "userComment": { "description": "The comment added by the user to this Super Chat event.", "type": "string" }, "amountDisplayString": { "type": "string", "description": "A rendered string that displays the fund amount and currency to the user." } } }, "LiveChatMemberMilestoneChatDetails": { "type": "object", "properties": { "memberLevelName": { "description": "The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", "type": "string" }, "memberMonth": { "description": "The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.", "type": "integer", "format": "uint32" }, "userComment": { "description": "The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.", "type": "string" } }, "id": "LiveChatMemberMilestoneChatDetails" }, "InvideoBranding": { "id": "InvideoBranding", "type": "object", "description": "LINT.IfChange Describes an invideo branding.", "properties": { "timing": { "description": "The temporal position within the video where watermark will be displayed.", "$ref": "InvideoTiming" }, "imageBytes": { "type": "string", "description": "The bytes the uploaded image. Only used in api to youtube communication.", "format": "byte" }, "targetChannelId": { "type": "string", "description": "The channel to which this branding links. If not present it defaults to the current channel." }, "imageUrl": { "type": "string", "description": "The url of the uploaded image. Only used in apiary to api communication." }, "position": { "$ref": "InvideoPosition", "description": "The spatial position within the video where the branding watermark will be displayed." } } }, "CdnSettings": { "properties": { "ingestionType": { "annotations": { "required": [ "youtube.liveStreams.insert", "youtube.liveStreams.update" ] }, "type": "string", "description": " The method or protocol used to transmit the video stream.", "enumDescriptions": [ "", "", "", "" ], "enum": [ "rtmp", "dash", "webrtc", "hls" ] }, "format": { "description": "The format of the video stream that you are sending to Youtube. ", "type": "string", "annotations": { "required": [ "youtube.liveStreams.insert", "youtube.liveStreams.update" ] } }, "frameRate": { "enumDescriptions": [ "", "", "" ], "type": "string", "description": "The frame rate of the inbound video data.", "enum": [ "30fps", "60fps", "variable" ] }, "ingestionInfo": { "description": "The ingestionInfo object contains information that YouTube provides that you need to transmit your RTMP or HTTP stream to YouTube.", "$ref": "IngestionInfo" }, "resolution": { "description": "The resolution of the inbound video data.", "enum": [ "240p", "360p", "480p", "720p", "1080p", "1440p", "2160p", "variable" ], "enumDescriptions": [ "", "", "", "", "", "", "", "" ], "type": "string" } }, "description": "Brief description of the live stream cdn settings.", "id": "CdnSettings", "type": "object" }, "SearchResultSnippet": { "id": "SearchResultSnippet", "type": "object", "description": "Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.", "properties": { "channelId": { "type": "string", "description": "The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies." }, "publishedAt": { "type": "string", "description": "The creation date and time of the resource that the search result identifies.", "format": "date-time" }, "thumbnails": { "description": "A map of thumbnail images associated with the search result. 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.", "$ref": "ThumbnailDetails" }, "description": { "type": "string", "description": "A description of the search result." }, "title": { "description": "The title of the search result.", "type": "string" }, "channelTitle": { "description": "The title of the channel that published the resource that the search result identifies.", "type": "string" }, "liveBroadcastContent": { "enumDescriptions": [ "", "The live broadcast is upcoming.", "The live broadcast is active.", "The live broadcast has been completed." ], "enum": [ "none", "upcoming", "live", "completed" ], "type": "string", "description": "It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's \"none\" if there is not any upcoming/active live broadcasts." } } }, "LiveBroadcastSnippet": { "properties": { "description": { "description": "The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.", "type": "string" }, "isDefaultBroadcast": { "type": "boolean", "description": "Indicates whether this broadcast is the default broadcast. Internal only." }, "channelId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast." }, "liveChatId": { "type": "string", "description": "The id of the live chat for this broadcast." }, "publishedAt": { "description": "The date and time that the broadcast was added to YouTube's live broadcast schedule.", "format": "date-time", "type": "string" }, "thumbnails": { "description": "A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.", "$ref": "ThumbnailDetails" }, "scheduledEndTime": { "description": "The date and time that the broadcast is scheduled to end.", "type": "string", "format": "date-time" }, "actualEndTime": { "description": "The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete.", "format": "date-time", "type": "string" }, "scheduledStartTime": { "format": "date-time", "type": "string", "description": "The date and time that the broadcast is scheduled to start.", "annotations": { "required": [ "youtube.liveBroadcasts.insert", "youtube.liveBroadcasts.update" ] } }, "actualStartTime": { "type": "string", "format": "date-time", "description": "The date and time that the broadcast actually started. This information is only available once the broadcast's state is live." }, "title": { "annotations": { "required": [ "youtube.liveBroadcasts.insert", "youtube.liveBroadcasts.update" ] }, "type": "string", "description": "The broadcast's title. Note that the broadcast 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 resource." } }, "description": "Basic broadcast information.", "id": "LiveBroadcastSnippet", "type": "object" }, "CommentSnippetAuthorChannelId": { "id": "CommentSnippetAuthorChannelId", "type": "object", "properties": { "value": { "type": "string" } }, "description": "The id of the author's YouTube channel, if any." }, "Channel": { "description": "A *channel* resource contains information about a YouTube channel.", "properties": { "snippet": { "$ref": "ChannelSnippet", "description": "The snippet object contains basic details about the channel, such as its title, description, and thumbnail images." }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channel\".", "default": "youtube#channel", "type": "string" }, "contentDetails": { "$ref": "ChannelContentDetails", "description": "The contentDetails object encapsulates information about the channel's content." }, "brandingSettings": { "description": "The brandingSettings object encapsulates information about the branding of the channel.", "$ref": "ChannelBrandingSettings" }, "status": { "$ref": "ChannelStatus", "description": "The status object encapsulates information about the privacy status of the channel." }, "auditDetails": { "$ref": "ChannelAuditDetails", "description": "The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process." }, "topicDetails": { "description": "The topicDetails object encapsulates information about Freebase topics associated with the channel.", "$ref": "ChannelTopicDetails" }, "id": { "description": "The ID that YouTube uses to uniquely identify the channel.", "type": "string" }, "etag": { "type": "string", "description": "Etag of this resource." }, "statistics": { "description": "The statistics object encapsulates statistics for the channel.", "$ref": "ChannelStatistics" }, "conversionPings": { "description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.", "$ref": "ChannelConversionPings" }, "contentOwnerDetails": { "$ref": "ChannelContentOwnerDetails", "description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel." }, "localizations": { "additionalProperties": { "$ref": "ChannelLocalization" }, "type": "object", "description": "Localizations for different languages" } }, "type": "object", "id": "Channel" }, "ActivityContentDetails": { "type": "object", "properties": { "recommendation": { "description": "The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.", "$ref": "ActivityContentDetailsRecommendation" }, "comment": { "description": "The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.", "$ref": "ActivityContentDetailsComment" }, "channelItem": { "description": "The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.", "$ref": "ActivityContentDetailsChannelItem" }, "favorite": { "description": "The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.", "$ref": "ActivityContentDetailsFavorite" }, "like": { "$ref": "ActivityContentDetailsLike", "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." }, "bulletin": { "description": "The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.", "$ref": "ActivityContentDetailsBulletin" }, "playlistItem": { "$ref": "ActivityContentDetailsPlaylistItem", "description": "The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem." }, "social": { "description": "The social object contains details about a social network post. This property is only present if the snippet.type is social.", "$ref": "ActivityContentDetailsSocial" }, "upload": { "description": "The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.", "$ref": "ActivityContentDetailsUpload" }, "promotedItem": { "description": "The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.", "$ref": "ActivityContentDetailsPromotedItem" }, "subscription": { "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.", "$ref": "ActivityContentDetailsSubscription" } }, "description": "Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.", "id": "ActivityContentDetails" }, "ChannelSectionTargeting": { "properties": { "languages": { "items": { "type": "string" }, "type": "array", "description": "The language the channel section is targeting." }, "regions": { "description": "The region the channel section is targeting.", "type": "array", "items": { "type": "string" } }, "countries": { "items": { "type": "string" }, "type": "array", "description": "The country the channel section is targeting." } }, "type": "object", "id": "ChannelSectionTargeting", "description": "ChannelSection targeting setting." }, "ActivityContentDetailsSocial": { "id": "ActivityContentDetailsSocial", "type": "object", "properties": { "author": { "description": "The author of the social network post.", "type": "string" }, "type": { "enumDescriptions": [ "", "", "", "" ], "enum": [ "unspecified", "googlePlus", "facebook", "twitter" ], "description": "The name of the social network.", "type": "string" }, "imageUrl": { "type": "string", "description": "An image of the post's author." }, "referenceUrl": { "type": "string", "description": "The URL of the social network post." }, "resourceId": { "$ref": "ResourceId", "description": "The resourceId object encapsulates information that identifies the resource associated with a social network post." } }, "description": "Details about a social network post." }, "VideoRating": { "description": "Basic details about rating of a video.", "type": "object", "properties": { "rating": { "description": "Rating of a video.", "enum": [ "none", "like", "dislike" ], "type": "string", "enumDescriptions": [ "", "The entity is liked.", "The entity is disliked." ] }, "videoId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the video." } }, "id": "VideoRating" }, "ChannelSnippet": { "properties": { "thumbnails": { "$ref": "ThumbnailDetails", "description": "A map of thumbnail images associated with the channel. 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. When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response. Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain. Thumbnail images might be empty for newly created channels and might take up to one day to populate." }, "localized": { "description": "Localized title and description, read-only.", "$ref": "ChannelLocalization" }, "country": { "type": "string", "description": "The country of the channel." }, "title": { "description": "The channel's title.", "type": "string" }, "defaultLanguage": { "type": "string", "description": "The language of the channel's default title and description." }, "publishedAt": { "description": "The date and time that the channel was created.", "format": "date-time", "type": "string" }, "description": { "type": "string", "description": "The description of the channel." }, "customUrl": { "type": "string", "description": "The custom url of the channel." } }, "id": "ChannelSnippet", "description": "Basic details about a channel, including title, description and thumbnails.", "type": "object" }, "ActivityContentDetailsPlaylistItem": { "id": "ActivityContentDetailsPlaylistItem", "properties": { "playlistId": { "description": "The value that YouTube uses to uniquely identify the playlist.", "type": "string" }, "resourceId": { "description": "The resourceId object contains information about the resource that was added to the playlist.", "$ref": "ResourceId" }, "playlistItemId": { "type": "string", "description": "ID of the item within the playlist." } }, "description": "Information about a new playlist item.", "type": "object" }, "Activity": { "id": "Activity", "properties": { "id": { "description": "The ID that YouTube uses to uniquely identify the activity.", "type": "string" }, "snippet": { "description": "The snippet object contains basic details about the activity, including the activity's type and group ID.", "$ref": "ActivitySnippet" }, "contentDetails": { "$ref": "ActivityContentDetails", "description": "The contentDetails object contains information about the content associated with the activity. For example, if the snippet.type value is videoRated, then the contentDetails object's content identifies the rated video." }, "etag": { "description": "Etag of this resource", "type": "string" }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activity\".", "default": "youtube#activity", "type": "string" } }, "type": "object", "description": "An *activity* resource contains information about an action that a particular channel, or user, has taken on YouTube.The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, commenting on a video, uploading a video, and so forth. Each activity resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded." }, "ActivityContentDetailsUpload": { "type": "object", "id": "ActivityContentDetailsUpload", "description": "Information about the uploaded video.", "properties": { "videoId": { "description": "The ID that YouTube uses to uniquely identify the uploaded video.", "type": "string" } } }, "SubscriptionSubscriberSnippet": { "type": "object", "description": "Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.", "properties": { "title": { "description": "The title of the subscriber.", "type": "string" }, "thumbnails": { "$ref": "ThumbnailDetails", "description": "Thumbnails for this subscriber." }, "channelId": { "description": "The channel ID of the subscriber.", "type": "string" }, "description": { "description": "The description of the subscriber.", "type": "string" } }, "id": "SubscriptionSubscriberSnippet" }, "VideoLiveStreamingDetails": { "id": "VideoLiveStreamingDetails", "description": "Details about the live streaming metadata.", "type": "object", "properties": { "actualStartTime": { "description": "The time that the broadcast actually started. This value will not be available until the broadcast begins.", "format": "date-time", "type": "string" }, "activeLiveChatId": { "type": "string", "description": "The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page." }, "actualEndTime": { "description": "The time that the broadcast actually ended. This value will not be available until the broadcast is over.", "format": "date-time", "type": "string" }, "scheduledStartTime": { "description": "The time that the broadcast is scheduled to begin.", "type": "string", "format": "date-time" }, "scheduledEndTime": { "type": "string", "format": "date-time", "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely." }, "concurrentViewers": { "type": "string", "format": "uint64", "description": "The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current 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 broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended." } } }, "Entity": { "properties": { "id": { "type": "string" }, "url": { "type": "string" }, "typeId": { "type": "string" } }, "type": "object", "id": "Entity" }, "ThumbnailDetails": { "description": "Internal representation of thumbnails for a YouTube resource.", "id": "ThumbnailDetails", "properties": { "high": { "$ref": "Thumbnail", "description": "The high quality image for this resource." }, "maxres": { "description": "The maximum resolution quality image for this resource.", "$ref": "Thumbnail" }, "medium": { "$ref": "Thumbnail", "description": "The medium quality image for this resource." }, "standard": { "description": "The standard quality image for this resource.", "$ref": "Thumbnail" }, "default": { "$ref": "Thumbnail", "description": "The default image for this resource." } }, "type": "object" }, "ActivityContentDetailsComment": { "type": "object", "properties": { "resourceId": { "description": "The resourceId object contains information that identifies the resource associated with the comment.", "$ref": "ResourceId" } }, "id": "ActivityContentDetailsComment", "description": "Information about a resource that received a comment." }, "CommentListResponse": { "id": "CommentListResponse", "properties": { "items": { "description": "A list of comments that match the request criteria.", "items": { "$ref": "Comment" }, "type": "array" }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "kind": { "default": "youtube#commentListResponse", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentListResponse\"." }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "tokenPagination": { "$ref": "TokenPagination" }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "etag": { "type": "string", "description": "Etag of this resource." } }, "type": "object" }, "LiveChatMembershipGiftingDetails": { "id": "LiveChatMembershipGiftingDetails", "type": "object", "properties": { "giftMembershipsLevelName": { "description": "The name of the level of the gift memberships purchased by the user. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", "type": "string" }, "giftMembershipsCount": { "format": "int32", "type": "integer", "description": "The number of gift memberships purchased by the user." } } }, "GeoPoint": { "properties": { "altitude": { "description": "Altitude above the reference ellipsoid, in meters.", "format": "double", "type": "number" }, "longitude": { "description": "Longitude in degrees.", "type": "number", "format": "double" }, "latitude": { "format": "double", "type": "number", "description": "Latitude in degrees." } }, "id": "GeoPoint", "description": "Geographical coordinates of a point, in WGS84.", "type": "object" }, "LiveChatMessageDeletedDetails": { "properties": { "deletedMessageId": { "type": "string" } }, "id": "LiveChatMessageDeletedDetails", "type": "object" }, "MembershipsDuration": { "type": "object", "properties": { "memberTotalDurationMonths": { "description": "The cumulative time the user has been a member across all levels in complete months (the time is rounded down to the nearest integer).", "format": "int32", "type": "integer" }, "memberSince": { "type": "string", "description": "The date and time when the user became a continuous member across all levels." } }, "id": "MembershipsDuration" }, "LiveChatFanFundingEventDetails": { "properties": { "currency": { "type": "string", "description": "The currency in which the fund was made." }, "amountDisplayString": { "type": "string", "description": "A rendered string that displays the fund amount and currency to the user." }, "userComment": { "type": "string", "description": "The comment added by the user to this fan funding event." }, "amountMicros": { "description": "The amount of the fund.", "type": "string", "format": "uint64" } }, "type": "object", "id": "LiveChatFanFundingEventDetails" }, "CommentThreadSnippet": { "properties": { "videoId": { "description": "The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.", "type": "string" }, "isPublic": { "description": "Whether the thread (and therefore all its comments) is visible to all YouTube users.", "type": "boolean" }, "channelId": { "description": "The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.", "type": "string" }, "canReply": { "type": "boolean", "description": "Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field." }, "totalReplyCount": { "format": "uint32", "type": "integer", "description": "The total number of replies (not including the top level comment)." }, "topLevelComment": { "$ref": "Comment", "description": "The top level comment of this thread." } }, "id": "CommentThreadSnippet", "type": "object", "description": "Basic details about a comment thread." }, "VideoContentDetails": { "id": "VideoContentDetails", "description": "Details about the content of a YouTube Video.", "properties": { "hasCustomThumbnail": { "type": "boolean", "description": "Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader." }, "licensedContent": { "description": "The value of is_license_content indicates whether the video is licensed content.", "type": "boolean" }, "regionRestriction": { "description": "The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.", "$ref": "VideoContentDetailsRegionRestriction" }, "dimension": { "type": "string", "description": "The value of dimension indicates whether the video is available in 3D or in 2D." }, "projection": { "type": "string", "description": "Specifies the projection format of the video.", "enumDescriptions": [ "", "" ], "enum": [ "rectangular", "360" ] }, "duration": { "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 the 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 letters 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.", "type": "string" }, "definition": { "enum": [ "sd", "hd" ], "type": "string", "description": "The value of definition indicates whether the video is available in high definition or only in standard definition.", "enumDescriptions": [ "sd", "hd" ] }, "caption": { "enumDescriptions": [ "", "" ], "enum": [ "true", "false" ], "description": "The value of captions indicates whether the video has captions or not.", "type": "string" }, "contentRating": { "$ref": "ContentRating", "description": "Specifies the ratings that the video received under various rating schemes." }, "countryRestriction": { "description": "The countryRestriction object contains information about the countries where a video is (or is not) viewable.", "$ref": "AccessPolicy" } }, "type": "object" }, "PlaylistPlayer": { "id": "PlaylistPlayer", "properties": { "embedHtml": { "type": "string", "description": "An \u003ciframe\u003e tag that embeds a player that will play the playlist." } }, "type": "object" }, "LiveBroadcastContentDetails": { "type": "object", "properties": { "boundStreamLastUpdateTimeMs": { "type": "string", "description": "The date and time that the live stream referenced by boundStreamId was last updated.", "format": "date-time" }, "enableLowLatency": { "description": "Indicates whether this broadcast has low latency enabled.", "type": "boolean" }, "enableAutoStart": { "description": "This setting indicates whether auto start is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.", "type": "boolean" }, "startWithSlate": { "type": "boolean", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] }, "description": "This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers." }, "enableDvr": { "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. *Important:* You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] }, "type": "boolean" }, "stereoLayout": { "enum": [ "stereoLayoutUnspecified", "mono", "leftRight", "topBottom" ], "enumDescriptions": [ "", "", "", "" ], "type": "string", "description": "The 3D stereo layout of this broadcast. This defaults to mono." }, "recordFromStart": { "description": "Automatically start recording after the event goes live. The default value for this property is true. *Important:* 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 value 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.", "type": "boolean", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] } }, "enableClosedCaptions": { "type": "boolean", "description": "This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to CLOSED_CAPTIONS_HTTP_POST." }, "boundStreamId": { "type": "string", "description": "This value uniquely identifies the live stream bound to the broadcast." }, "latencyPreference": { "enumDescriptions": [ "", "Best for: highest quality viewer playbacks and higher resolutions.", "Best for: near real-time interaction, with minimal playback buffering.", "Best for: real-time interaction Does not support: Closed captions, 1440p, and 4k resolutions" ], "enum": [ "latencyPreferenceUnspecified", "normal", "low", "ultraLow" ], "type": "string", "description": "If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted." }, "projection": { "description": "The projection format of this broadcast. This defaults to rectangular.", "enumDescriptions": [ "", "", "", "" ], "type": "string", "enum": [ "projectionUnspecified", "rectangular", "360", "mesh" ] }, "enableAutoStop": { "description": "This setting indicates whether auto stop is enabled for this broadcast. The default value for this property is false. This setting can only be used by Events.", "type": "boolean" }, "closedCaptionsType": { "enum": [ "closedCaptionsTypeUnspecified", "closedCaptionsDisabled", "closedCaptionsHttpPost", "closedCaptionsEmbedded" ], "type": "string", "enumDescriptions": [ "", "", "", "" ] }, "enableEmbed": { "type": "boolean", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] }, "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." }, "mesh": { "description": "The mesh for projecting the video if projection is mesh. The mesh value must be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows the Spherical Video V2 RFC specification for an mshp box, excluding the box size and type but including the following four reserved zero bytes for the version and flags.", "type": "string", "format": "byte" }, "monitorStream": { "$ref": "MonitorStreamInfo", "description": "The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly." }, "enableContentEncryption": { "description": "This setting indicates whether YouTube should enable content encryption for the broadcast.", "type": "boolean", "annotations": { "required": [ "youtube.liveBroadcasts.update" ] } } }, "id": "LiveBroadcastContentDetails", "description": "Detailed settings of a broadcast." }, "ResourceId": { "properties": { "channelId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel." }, "videoId": { "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.", "type": "string" }, "kind": { "description": "The type of the API resource.", "type": "string" }, "playlistId": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist." } }, "type": "object", "id": "ResourceId", "description": "A resource id is a generic reference that points to another YouTube resource." }, "ChannelStatistics": { "properties": { "subscriberCount": { "description": "The number of subscribers that the channel has.", "format": "uint64", "type": "string" }, "commentCount": { "description": "The number of comments for the channel.", "format": "uint64", "type": "string" }, "videoCount": { "type": "string", "description": "The number of videos uploaded to the channel.", "format": "uint64" }, "hiddenSubscriberCount": { "type": "boolean", "description": "Whether or not the number of subscribers is shown for this user." }, "viewCount": { "description": "The number of times the channel has been viewed.", "type": "string", "format": "uint64" } }, "id": "ChannelStatistics", "description": "Statistics about a channel: number of subscribers, number of videos in the channel, etc.", "type": "object" }, "MembershipsDetails": { "properties": { "membershipsDurationAtLevels": { "description": "Data about memberships duration on particular pricing levels.", "items": { "$ref": "MembershipsDurationAtLevel" }, "type": "array" }, "highestAccessibleLevel": { "description": "Id of the highest level that the user has access to at the moment.", "type": "string" }, "accessibleLevels": { "type": "array", "items": { "type": "string" }, "description": "Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase." }, "highestAccessibleLevelDisplayName": { "type": "string", "description": "Display name for the highest level that the user has access to at the moment." }, "membershipsDuration": { "$ref": "MembershipsDuration", "description": "Data about memberships duration without taking into consideration pricing levels." } }, "id": "MembershipsDetails", "type": "object" }, "LiveStream": { "type": "object", "description": "A live stream describes a live ingestion point.", "properties": { "id": { "description": "The ID that YouTube assigns to uniquely identify the stream.", "type": "string", "annotations": { "required": [ "youtube.liveStreams.update" ] } }, "cdn": { "$ref": "CdnSettings", "description": "The cdn object defines the live stream's content delivery network (CDN) settings. These settings provide details about the manner in which you stream your content to YouTube." }, "snippet": { "description": "The snippet object contains basic details about the stream, including its channel, title, and description.", "$ref": "LiveStreamSnippet" }, "status": { "description": "The status object contains information about live stream's status.", "$ref": "LiveStreamStatus" }, "kind": { "default": "youtube#liveStream", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStream\"." }, "contentDetails": { "$ref": "LiveStreamContentDetails", "description": "The content_details object contains information about the stream, including the closed captions ingestion URL." }, "etag": { "type": "string", "description": "Etag of this resource." } }, "id": "LiveStream" }, "LiveChatBan": { "id": "LiveChatBan", "properties": { "snippet": { "description": "The `snippet` object contains basic details about the ban.", "$ref": "LiveChatBanSnippet" }, "kind": { "default": "youtube#liveChatBan", "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#liveChatBan\"`.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "id": { "description": "The ID that YouTube assigns to uniquely identify the ban.", "type": "string" } }, "description": "A `__liveChatBan__` resource represents a ban for a YouTube live chat.", "type": "object" }, "VideoListResponse": { "type": "object", "id": "VideoListResponse", "properties": { "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "prevPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set." }, "kind": { "type": "string", "default": "youtube#videoListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoListResponse\"." }, "tokenPagination": { "$ref": "TokenPagination" }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "items": { "type": "array", "items": { "$ref": "Video" } } } }, "LiveChatModeratorListResponse": { "properties": { "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "pageInfo": { "description": "General pagination information.", "$ref": "PageInfo" }, "items": { "type": "array", "items": { "$ref": "LiveChatModerator" }, "description": "A list of moderators that match the request criteria." }, "kind": { "default": "youtube#liveChatModeratorListResponse", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModeratorListResponse\"." }, "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" }, "etag": { "description": "Etag of this resource.", "type": "string" } }, "id": "LiveChatModeratorListResponse", "type": "object" }, "LiveBroadcastStatistics": { "id": "LiveBroadcastStatistics", "properties": { "totalChatCount": { "description": "The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.", "type": "string", "format": "uint64" } }, "description": "Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.", "type": "object" }, "PlaylistItem": { "type": "object", "id": "PlaylistItem", "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. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated 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. You 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. For example, if a user gives a positive rating to a video, you would insert that video into the liked videos playlist for that user's channel.", "properties": { "etag": { "type": "string", "description": "Etag of this resource." }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItem\".", "default": "youtube#playlistItem" }, "snippet": { "$ref": "PlaylistItemSnippet", "description": "The snippet object contains basic details about the playlist item, such as its title and position in the playlist." }, "id": { "description": "The ID that YouTube uses to uniquely identify the playlist item.", "type": "string" }, "status": { "description": "The status object contains information about the playlist item's privacy status.", "$ref": "PlaylistItemStatus" }, "contentDetails": { "$ref": "PlaylistItemContentDetails", "description": "The contentDetails object is included in the resource if the included item is a YouTube video. The object contains additional information about the video." } } }, "AccessPolicy": { "description": "Rights management policy for YouTube resources.", "properties": { "allowed": { "type": "boolean", "description": "The value of allowed indicates whether the access to the policy is allowed or denied by default." }, "exception": { "items": { "type": "string" }, "description": "A list of region codes that identify countries where the default policy do not apply.", "type": "array" } }, "id": "AccessPolicy", "type": "object" }, "SuperChatEventListResponse": { "properties": { "tokenPagination": { "$ref": "TokenPagination" }, "items": { "type": "array", "description": "A list of Super Chat purchases that match the request criteria.", "items": { "$ref": "SuperChatEvent" } }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "kind": { "type": "string", "default": "youtube#superChatEventListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEventListResponse\"." }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "etag": { "type": "string", "description": "Etag of this resource." }, "pageInfo": { "$ref": "PageInfo" }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" } }, "type": "object", "id": "SuperChatEventListResponse" }, "ThirdPartyLinkSnippet": { "properties": { "channelToStoreLink": { "$ref": "ChannelToStoreLinkDetails", "description": "Information specific to a link between a channel and a store on a merchandising platform." }, "type": { "enumDescriptions": [ "", "A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube." ], "description": "Type of the link named after the entities that are being linked.", "type": "string", "enum": [ "linkUnspecified", "channelToStoreLink" ] } }, "description": "Basic information about a third party account link, including its type and type-specific information.", "type": "object", "id": "ThirdPartyLinkSnippet" }, "ChannelListResponse": { "type": "object", "id": "ChannelListResponse", "properties": { "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "visitorId": { "description": "The visitorId identifies the visitor.", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "items": { "items": { "$ref": "Channel" }, "type": "array" }, "kind": { "type": "string", "default": "youtube#channelListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelListResponse\"." }, "pageInfo": { "$ref": "PageInfo", "description": "General pagination information." }, "etag": { "description": "Etag of this resource.", "type": "string" } } }, "LiveStreamListResponse": { "type": "object", "id": "LiveStreamListResponse", "properties": { "prevPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set." }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "default": "youtube#liveStreamListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStreamListResponse\".", "type": "string" }, "etag": { "type": "string", "description": "Etag of this resource." }, "pageInfo": { "$ref": "PageInfo" }, "items": { "description": "A list of live streams that match the request criteria.", "items": { "$ref": "LiveStream" }, "type": "array" }, "tokenPagination": { "$ref": "TokenPagination" } } }, "ThirdPartyLinkStatus": { "description": "The third-party link status object contains information about the status of the link.", "type": "object", "id": "ThirdPartyLinkStatus", "properties": { "linkStatus": { "type": "string", "enumDescriptions": [ "", "", "", "" ], "enum": [ "unknown", "failed", "pending", "linked" ] } } }, "LiveStreamContentDetails": { "description": "Detailed settings of a stream.", "type": "object", "properties": { "isReusable": { "description": "Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same stream for many different broadcasts if those broadcasts occur at different times. If you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams differ from reusable streams in the following ways: - A non-reusable stream can only be bound to one broadcast. - A non-reusable stream might be deleted by an automated process after the broadcast ends. - The liveStreams.list method does not list non-reusable streams if you call the method and set the mine parameter to true. The only way to use that method to retrieve the resource for a non-reusable stream is to use the id parameter to identify the stream. ", "type": "boolean" }, "closedCaptionsIngestionUrl": { "description": "The ingestion URL where the closed captions of this stream are sent.", "type": "string" } }, "id": "LiveStreamContentDetails" }, "VideoFileDetailsVideoStream": { "properties": { "widthPixels": { "description": "The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.", "format": "uint32", "type": "integer" }, "codec": { "type": "string", "description": "The video codec that the stream uses." }, "rotation": { "enumDescriptions": [ "", "", "", "", "" ], "description": "The amount that YouTube needs to rotate the original source content to properly display the video.", "enum": [ "none", "clockwise", "upsideDown", "counterClockwise", "other" ], "type": "string" }, "aspectRatio": { "format": "double", "type": "number", "description": "The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed." }, "vendor": { "type": "string", "description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code." }, "heightPixels": { "type": "integer", "description": "The encoded video content's height in pixels.", "format": "uint32" }, "bitrateBps": { "description": "The video stream's bitrate, in bits per second.", "format": "uint64", "type": "string" }, "frameRateFps": { "description": "The video stream's frame rate, in frames per second.", "type": "number", "format": "double" } }, "id": "VideoFileDetailsVideoStream", "type": "object", "description": "Information about a video stream." }, "VideoCategorySnippet": { "id": "VideoCategorySnippet", "description": "Basic details about a video category, such as its localized title.", "properties": { "title": { "type": "string", "description": "The video category's title." }, "assignable": { "type": "boolean" }, "channelId": { "type": "string", "description": "The YouTube channel that created the video category.", "default": "UCBR8-60-B28hp2BmDPdntcQ" } }, "type": "object" }, "SubscriptionListResponse": { "id": "SubscriptionListResponse", "properties": { "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscriptionListResponse\".", "type": "string", "default": "youtube#subscriptionListResponse" }, "items": { "description": "A list of subscriptions that match the request criteria.", "type": "array", "items": { "$ref": "Subscription" } }, "pageInfo": { "$ref": "PageInfo" }, "eventId": { "type": "string", "description": "Serialized EventId of the request which produced this response." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "tokenPagination": { "$ref": "TokenPagination" }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "prevPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.", "type": "string" } }, "type": "object" }, "ChannelSectionLocalization": { "type": "object", "description": "ChannelSection localization setting", "properties": { "title": { "type": "string", "description": "The localized strings for channel section's title." } }, "id": "ChannelSectionLocalization" }, "LiveBroadcast": { "description": "A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.", "type": "object", "id": "LiveBroadcast", "properties": { "statistics": { "description": "The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.", "$ref": "LiveBroadcastStatistics" }, "contentDetails": { "$ref": "LiveBroadcastContentDetails", "description": "The contentDetails object contains information 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 viewing after the event has concluded." }, "status": { "$ref": "LiveBroadcastStatus", "description": "The status object contains information about the event's status." }, "id": { "annotations": { "required": [ "youtube.liveBroadcasts.update" ] }, "type": "string", "description": "The ID that YouTube assigns to uniquely identify the broadcast." }, "snippet": { "$ref": "LiveBroadcastSnippet", "description": "The snippet object contains basic details about the event, including its title, description, start time, and end time." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "default": "youtube#liveBroadcast", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcast\".", "type": "string" } } }, "VideoProcessingDetails": { "description": "Describes processing status and progress and availability of some other Video resource parts.", "type": "object", "properties": { "thumbnailsAvailability": { "description": "This value indicates whether thumbnail images have been generated for the video.", "type": "string" }, "processingIssuesAvailability": { "type": "string", "description": "This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request." }, "processingStatus": { "enum": [ "processing", "succeeded", "failed", "terminated" ], "enumDescriptions": [ "", "", "", "" ], "description": "The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.", "type": "string" }, "processingProgress": { "description": "The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.", "$ref": "VideoProcessingDetailsProcessingProgress" }, "fileDetailsAvailability": { "description": "This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.", "type": "string" }, "editorSuggestionsAvailability": { "type": "string", "description": "This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request." }, "tagSuggestionsAvailability": { "type": "string", "description": "This value indicates whether keyword (tag) suggestions 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 suggestions by requesting the suggestions part in your videos.list() request." }, "processingFailureReason": { "enum": [ "uploadFailed", "transcodeFailed", "streamingFailed", "other" ], "enumDescriptions": [ "", "", "", "" ], "description": "The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.", "type": "string" } }, "id": "VideoProcessingDetails" }, "VideoSnippet": { "id": "VideoSnippet", "description": "Basic details about a video, including title, description, uploader, thumbnails and category.", "type": "object", "properties": { "tags": { "type": "array", "items": { "type": "string" }, "description": "A list of keyword tags associated with the video. Tags may contain spaces." }, "channelTitle": { "description": "Channel title for the channel that the video belongs to.", "type": "string" }, "title": { "description": "The video's title. @mutable youtube.videos.insert youtube.videos.update", "type": "string" }, "channelId": { "description": "The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.", "type": "string" }, "liveBroadcastContent": { "description": "Indicates if the video is an upcoming/active live broadcast. Or it's \"none\" if the video is not an upcoming/active live broadcast.", "type": "string", "enum": [ "none", "upcoming", "live", "completed" ], "enumDescriptions": [ "", "The live broadcast is upcoming.", "The live broadcast is active.", "The live broadcast has been completed." ] }, "publishedAt": { "type": "string", "description": "The date and time when the video was uploaded.", "format": "date-time" }, "localized": { "$ref": "VideoLocalization", "description": "Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)" }, "thumbnails": { "description": "A map of thumbnail images associated with the 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.", "$ref": "ThumbnailDetails" }, "defaultAudioLanguage": { "type": "string", "description": "The default_audio_language property specifies the language spoken in the video's default audio track." }, "defaultLanguage": { "type": "string", "description": "The language of the videos's default snippet." }, "categoryId": { "description": "The YouTube video category associated with the video.", "type": "string" }, "description": { "type": "string", "description": "The video's description. @mutable youtube.videos.insert youtube.videos.update" } } }, "PropertyValue": { "type": "object", "properties": { "value": { "type": "string", "description": "The property's value." }, "property": { "type": "string", "description": "A property." } }, "id": "PropertyValue", "description": "A pair Property / Value." }, "MembershipsLevelListResponse": { "properties": { "items": { "type": "array", "items": { "$ref": "MembershipsLevel" }, "description": "A list of pricing levels offered by a creator to the fans." }, "etag": { "type": "string", "description": "Etag of this resource." }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#membershipsLevelListResponse\".", "default": "youtube#membershipsLevelListResponse", "type": "string" } }, "type": "object", "id": "MembershipsLevelListResponse" }, "MemberListResponse": { "type": "object", "properties": { "kind": { "type": "string", "default": "youtube#memberListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#memberListResponse\"." }, "pageInfo": { "$ref": "PageInfo" }, "items": { "type": "array", "items": { "$ref": "Member" }, "description": "A list of members that match the request criteria." }, "nextPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set." }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "etag": { "type": "string", "description": "Etag of this resource." }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "tokenPagination": { "$ref": "TokenPagination" } }, "id": "MemberListResponse" }, "RelatedEntity": { "properties": { "entity": { "$ref": "Entity" } }, "id": "RelatedEntity", "type": "object" }, "LiveBroadcastListResponse": { "properties": { "etag": { "type": "string", "description": "Etag of this resource." }, "nextPageToken": { "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.", "type": "string" }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcastListResponse\".", "default": "youtube#liveBroadcastListResponse" }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "pageInfo": { "$ref": "PageInfo", "description": "General pagination information." }, "prevPageToken": { "type": "string", "description": "The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set." }, "items": { "description": "A list of broadcasts that match the request criteria.", "items": { "$ref": "LiveBroadcast" }, "type": "array" }, "tokenPagination": { "$ref": "TokenPagination" } }, "id": "LiveBroadcastListResponse", "type": "object" }, "VideoAbuseReportReasonListResponse": { "id": "VideoAbuseReportReasonListResponse", "properties": { "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "etag": { "description": "Etag of this resource.", "type": "string" }, "kind": { "default": "youtube#videoAbuseReportReasonListResponse", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string `\"youtube#videoAbuseReportReasonListResponse\"`." }, "visitorId": { "description": "The `visitorId` identifies the visitor.", "type": "string" }, "items": { "description": "A list of valid abuse reasons that are used with `video.ReportAbuse`.", "items": { "$ref": "VideoAbuseReportReason" }, "type": "array" } }, "type": "object" }, "ChannelSectionListResponse": { "type": "object", "id": "ChannelSectionListResponse", "properties": { "items": { "description": "A list of ChannelSections that match the request criteria.", "items": { "$ref": "ChannelSection" }, "type": "array" }, "visitorId": { "type": "string", "description": "The visitorId identifies the visitor." }, "kind": { "default": "youtube#channelSectionListResponse", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSectionListResponse\".", "type": "string" }, "eventId": { "description": "Serialized EventId of the request which produced this response.", "type": "string" }, "etag": { "type": "string", "description": "Etag of this resource." } } }, "LocalizedString": { "type": "object", "properties": { "value": { "type": "string" }, "language": { "type": "string" } }, "id": "LocalizedString" }, "Video": { "id": "Video", "description": "A *video* resource represents a YouTube video.", "type": "object", "properties": { "ageGating": { "description": "Age restriction details related to a video. This data can only be retrieved by the video owner.", "$ref": "VideoAgeGating" }, "kind": { "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#video\".", "default": "youtube#video" }, "statistics": { "description": "The statistics object contains statistics about the video.", "$ref": "VideoStatistics" }, "topicDetails": { "$ref": "VideoTopicDetails", "description": "The topicDetails object encapsulates information about Freebase topics associated with the video." }, "snippet": { "$ref": "VideoSnippet", "description": "The snippet object contains basic details about the video, such as its title, description, and category." }, "contentDetails": { "description": "The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.", "$ref": "VideoContentDetails" }, "projectDetails": { "description": "The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677", "$ref": "VideoProjectDetails" }, "status": { "$ref": "VideoStatus", "description": "The status object contains information about the video's uploading, processing, and privacy statuses." }, "fileDetails": { "$ref": "VideoFileDetails", "description": "The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner." }, "id": { "description": "The ID that YouTube uses to uniquely identify the video.", "annotations": { "required": [ "youtube.videos.update" ] }, "type": "string" }, "monetizationDetails": { "$ref": "VideoMonetizationDetails", "description": "The monetizationDetails object encapsulates information about the monetization status of the video." }, "recordingDetails": { "$ref": "VideoRecordingDetails", "description": "The recordingDetails object encapsulates information about the location, date and address where the video was recorded." }, "liveStreamingDetails": { "$ref": "VideoLiveStreamingDetails", "description": "The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast." }, "localizations": { "type": "object", "additionalProperties": { "$ref": "VideoLocalization" }, "description": "The localizations object contains localized versions of the basic details about the video, such as its title and description." }, "player": { "description": "The player object contains information that you would use to play the video in an embedded player.", "$ref": "VideoPlayer" }, "suggestions": { "description": "The suggestions object encapsulates suggestions 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.", "$ref": "VideoSuggestions" }, "etag": { "type": "string", "description": "Etag of this resource." }, "processingDetails": { "$ref": "VideoProcessingDetails", "description": "The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of 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 thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner." } } }, "ActivityContentDetailsLike": { "id": "ActivityContentDetailsLike", "description": "Information about a resource that received a positive (like) rating.", "properties": { "resourceId": { "$ref": "ResourceId", "description": "The resourceId object contains information that identifies the rated resource." } }, "type": "object" }, "Playlist": { "properties": { "id": { "type": "string", "description": "The ID that YouTube uses to uniquely identify the playlist." }, "kind": { "default": "youtube#playlist", "type": "string", "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlist\"." }, "snippet": { "$ref": "PlaylistSnippet", "description": "The snippet object contains basic details about the playlist, such as its title and description." }, "etag": { "description": "Etag of this resource.", "type": "string" }, "status": { "description": "The status object contains status information for the playlist.", "$ref": "PlaylistStatus" }, "contentDetails": { "description": "The contentDetails object contains information like video count.", "$ref": "PlaylistContentDetails" }, "localizations": { "additionalProperties": { "$ref": "PlaylistLocalization" }, "description": "Localizations for different languages", "type": "object" }, "player": { "$ref": "PlaylistPlayer", "description": "The player object contains information that you would use to play the playlist in an embedded player." } }, "description": "A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated 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. You 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.", "type": "object", "id": "Playlist" }, "VideoStatistics": { "id": "VideoStatistics", "properties": { "favoriteCount": { "type": "string", "description": "The number of users who currently have the video marked as a favorite video.", "format": "uint64" }, "viewCount": { "description": "The number of times the video has been viewed.", "format": "uint64", "type": "string" }, "commentCount": { "format": "uint64", "description": "The number of comments for the video.", "type": "string" }, "likeCount": { "description": "The number of users who have indicated that they liked the video by giving it a positive rating.", "type": "string", "format": "uint64" }, "dislikeCount": { "format": "uint64", "type": "string", "description": "The number of users who have indicated that they disliked the video by giving it a negative rating." } }, "description": "Statistics about the video, such as the number of times the video was viewed or liked.", "type": "object" }, "WatchSettings": { "id": "WatchSettings", "description": "Branding properties for the watch. All deprecated.", "type": "object", "properties": { "backgroundColor": { "type": "string", "description": "The text color for the video watch page's branded area." }, "featuredPlaylistId": { "type": "string", "description": "An ID that uniquely identifies a playlist that displays next to the video player." }, "textColor": { "description": "The background color for the video watch page's branded area.", "type": "string" } } }, "ActivityContentDetailsPromotedItem": { "description": "Details about a resource which is being promoted.", "type": "object", "properties": { "impressionUrl": { "type": "array", "items": { "type": "string" }, "description": "The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item." }, "forecastingUrl": { "type": "array", "description": "The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.", "items": { "type": "string" } }, "adTag": { "description": "The URL the client should fetch to request a promoted item.", "type": "string" }, "clickTrackingUrl": { "description": "The URL the client should ping to indicate that the user clicked through on this promoted item.", "type": "string" }, "creativeViewUrl": { "type": "string", "description": "The URL the client should ping to indicate that the user was shown this promoted item." }, "descriptionText": { "description": "The text description to accompany the promoted item.", "type": "string" }, "destinationUrl": { "description": "The URL the client should direct the user to, if the user chooses to visit the advertiser's website.", "type": "string" }, "ctaType": { "enum": [ "ctaTypeUnspecified", "visitAdvertiserSite" ], "enumDescriptions": [ "", "" ], "description": "The type of call-to-action, a message to the user indicating action that can be taken.", "type": "string" }, "videoId": { "description": "The ID that YouTube uses to uniquely identify the promoted video.", "type": "string" }, "customCtaButtonText": { "description": "The custom call-to-action button text. If specified, it will override the default button text for the cta_type.", "type": "string" } }, "id": "ActivityContentDetailsPromotedItem" }, "ActivityContentDetailsChannelItem": { "id": "ActivityContentDetailsChannelItem", "type": "object", "properties": { "resourceId": { "description": "The resourceId object contains information that identifies the resource that was added to the channel.", "$ref": "ResourceId" } }, "description": "Details about a resource which was added to a channel." }, "VideoProjectDetails": { "id": "VideoProjectDetails", "type": "object", "description": "DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677", "properties": {} }, "VideoAbuseReportReasonSnippet": { "id": "VideoAbuseReportReasonSnippet", "description": "Basic details about a video category, such as its localized title.", "properties": { "label": { "type": "string", "description": "The localized label belonging to this abuse report reason." }, "secondaryReasons": { "description": "The secondary reasons associated with this reason, if any are available. (There might be 0 or more.)", "type": "array", "items": { "$ref": "VideoAbuseReportSecondaryReason" } } }, "type": "object" }, "ImageSettings": { "type": "object", "id": "ImageSettings", "properties": { "bannerTvHighImageUrl": { "description": "Banner image. TV size high resolution (1920x1080).", "type": "string" }, "bannerTabletExtraHdImageUrl": { "type": "string", "description": "Banner image. Tablet size extra high resolution (2560x424)." }, "bannerExternalUrl": { "type": "string", "description": "This is generated when a ChannelBanner.Insert request has succeeded for the given channel." }, "bannerTvImageUrl": { "type": "string", "description": "Banner image. TV size extra high resolution (2120x1192)." }, "bannerTvMediumImageUrl": { "description": "Banner image. TV size medium resolution (1280x720).", "type": "string" }, "backgroundImageUrl": { "$ref": "LocalizedProperty", "description": "The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k." }, "trackingImageUrl": { "type": "string", "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." }, "bannerMobileImageUrl": { "type": "string", "description": "Banner image. Mobile size (640x175)." }, "bannerMobileMediumHdImageUrl": { "type": "string", "description": "Banner image. Mobile size medium/high resolution (960x263)." }, "bannerTabletImageUrl": { "description": "Banner image. Tablet size (1707x283).", "type": "string" }, "largeBrandedBannerImageUrl": { "description": "The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.", "$ref": "LocalizedProperty" }, "bannerMobileHdImageUrl": { "description": "Banner image. Mobile size high resolution (1280x360).", "type": "string" }, "largeBrandedBannerImageImapScript": { "description": "The image map script for the large banner image.", "$ref": "LocalizedProperty" }, "watchIconImageUrl": { "type": "string" }, "bannerTabletHdImageUrl": { "description": "Banner image. Tablet size high resolution (2276x377).", "type": "string" }, "bannerTvLowImageUrl": { "type": "string", "description": "Banner image. TV size low resolution (854x480)." }, "bannerImageUrl": { "description": "Banner image. Desktop size (1060x175).", "type": "string" }, "smallBrandedBannerImageImapScript": { "description": "The image map script for the small banner image.", "$ref": "LocalizedProperty" }, "smallBrandedBannerImageUrl": { "$ref": "LocalizedProperty", "description": "The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page. 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 flexible width that cannot exceed 170 pixels." }, "bannerTabletLowImageUrl": { "description": "Banner image. Tablet size low resolution (1138x188).", "type": "string" }, "bannerMobileLowImageUrl": { "description": "Banner image. Mobile size low resolution (320x88).", "type": "string" }, "bannerMobileExtraHdImageUrl": { "type": "string", "description": "Banner image. Mobile size high resolution (1440x395)." } }, "description": "Branding properties for images associated with the channel." }, "ActivityContentDetailsBulletin": { "properties": { "resourceId": { "$ref": "ResourceId", "description": "The resourceId object contains information that identifies the resource associated with a bulletin post. @mutable youtube.activities.insert" } }, "type": "object", "id": "ActivityContentDetailsBulletin", "description": "Details about a channel bulletin post." }, "VideoRecordingDetails": { "description": "Recording information associated with the video.", "properties": { "location": { "description": "The geolocation information associated with the video.", "$ref": "GeoPoint" }, "recordingDate": { "description": "The date and time when the video was recorded.", "format": "date-time", "type": "string" }, "locationDescription": { "description": "The text description of the location where the video was recorded.", "type": "string" } }, "type": "object", "id": "VideoRecordingDetails" }, "LiveChatNewSponsorDetails": { "properties": { "memberLevelName": { "description": "The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.", "type": "string" }, "isUpgrade": { "type": "boolean", "description": "If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false." } }, "type": "object", "id": "LiveChatNewSponsorDetails" }, "VideoFileDetailsAudioStream": { "type": "object", "description": "Information about an audio stream.", "properties": { "bitrateBps": { "type": "string", "format": "uint64", "description": "The audio stream's bitrate, in bits per second." }, "vendor": { "description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.", "type": "string" }, "codec": { "type": "string", "description": "The audio codec that the stream uses." }, "channelCount": { "type": "integer", "description": "The number of audio channels that the stream contains.", "format": "uint32" } }, "id": "VideoFileDetailsAudioStream" } }, "name": "youtube", "canonicalName": "YouTube", "ownerDomain": "google.com", "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/youtube.upload": { "description": "Manage your YouTube videos" }, "https://www.googleapis.com/auth/youtube.readonly": { "description": "View your YouTube account" }, "https://www.googleapis.com/auth/youtubepartner-channel-audit": { "description": "View private information of your YouTube channel relevant during the audit process with a YouTube partner" }, "https://www.googleapis.com/auth/youtube.force-ssl": { "description": "See, edit, and permanently delete your YouTube videos, ratings, comments and captions" }, "https://www.googleapis.com/auth/youtubepartner": { "description": "View and manage your assets and associated content on YouTube" }, "https://www.googleapis.com/auth/youtube.channel-memberships.creator": { "description": "See a list of your current active channel members, their current level, and when they became a member" }, "https://www.googleapis.com/auth/youtube": { "description": "Manage your YouTube account" } } } }, "basePath": "", "ownerName": "Google", "documentationLink": "https://developers.google.com/youtube/", "rootUrl": "https://youtube.googleapis.com/", "protocol": "rest", "discoveryVersion": "v1", "id": "youtube:v3", "mtlsRootUrl": "https://youtube.mtls.googleapis.com/", "revision": "20220518", "baseUrl": "https://youtube.googleapis.com/", "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" } }