1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-21 05:11:17 +00:00
nginx-sso/vendor/google.golang.org/api/youtube/v3/youtube-api.json

10901 lines
450 KiB
JSON
Raw Normal View History

{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/youtube": {
"description": "Manage your YouTube account"
},
"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/youtube.readonly": {
"description": "View your YouTube account"
},
"https://www.googleapis.com/auth/youtube.upload": {
"description": "Manage your YouTube videos"
},
"https://www.googleapis.com/auth/youtubepartner": {
"description": "View and manage your assets and associated content on YouTube"
},
"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"
}
}
}
},
"basePath": "/youtube/v3/",
"baseUrl": "https://www.googleapis.com/youtube/v3/",
"batchPath": "batch/youtube/v3",
"canonicalName": "YouTube",
"description": "Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/youtube/v3",
"etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/1jg0CI2utjqWmZlLNTmtG27447k\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/youtube-16.png",
"x32": "https://www.google.com/images/icons/product/youtube-32.png"
},
"id": "youtube:v3",
"kind": "discovery#restDescription",
"name": "youtube",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"alt": {
"default": "json",
"description": "Data format for the response.",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"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.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
"location": "query",
"type": "string"
},
"userIp": {
"description": "Deprecated. Please use quotaUser instead.",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"activities": {
"methods": {
"insert": {
"description": "Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.)\n\nNote: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the playlistItems.insert() method to mark a video as a favorite.",
"httpMethod": "POST",
"id": "youtube.activities.insert",
"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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "activities",
"request": {
"$ref": "Activity"
},
"response": {
"$ref": "Activity"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user.",
"httpMethod": "GET",
"id": "youtube.activities.list",
"parameterOrder": [
"part"
],
"parameters": {
"channelId": {
"description": "The channelId parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's activities.",
"location": "query",
"type": "string"
},
"home": {
"description": "Set this parameter's value to true to retrieve the activity feed that displays on the YouTube home page for the currently authenticated user.",
"location": "query",
"type": "boolean"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "Set this parameter's value to true to retrieve a feed of the authenticated user's activities.",
"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.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include.\n\nIf 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",
"required": true,
"type": "string"
},
"publishedAfter": {
"description": "The publishedAfter parameter specifies the earliest date and time that an activity could have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be included in the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"location": "query",
"type": "string"
},
"publishedBefore": {
"description": "The publishedBefore parameter specifies the date and time before which an activity must have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"location": "query",
"type": "string"
},
"regionCode": {
"description": "The regionCode parameter instructs the API to return results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. YouTube uses this value when the authorized user's previous activity on YouTube does not provide enough information to generate the activity feed.",
"location": "query",
"type": "string"
}
},
"path": "activities",
"response": {
"$ref": "ActivityListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"captions": {
"methods": {
"delete": {
"description": "Deletes a specified caption track.",
"httpMethod": "DELETE",
"id": "youtube.captions.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter identifies the caption track that is being deleted. The value is a caption track ID as identified by the id property in a caption resource.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOf": {
"description": "ID of the Google+ Page for the channel that the request is be on behalf of",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "captions",
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"download": {
"description": "Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.",
"httpMethod": "GET",
"id": "youtube.captions.download",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption resource.",
"location": "path",
"required": true,
"type": "string"
},
"onBehalfOf": {
"description": "ID of the Google+ Page for the channel that the request is be on behalf of",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"tfmt": {
"description": "The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.",
"enum": [
"sbv",
"scc",
"srt",
"ttml",
"vtt"
],
"enumDescriptions": [
"SubViewer subtitle.",
"Scenarist Closed Caption format.",
"SubRip subtitle.",
"Timed Text Markup Language caption.",
"Web Video Text Tracks caption."
],
"location": "query",
"type": "string"
},
"tlang": {
"description": "The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.",
"location": "query",
"type": "string"
}
},
"path": "captions/{id}",
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
],
"supportsMediaDownload": true
},
"insert": {
"description": "Uploads a caption track.",
"httpMethod": "POST",
"id": "youtube.captions.insert",
"mediaUpload": {
"accept": [
"*/*",
"application/octet-stream",
"text/xml"
],
"maxSize": "100MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/captions"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/captions"
}
}
},
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOf": {
"description": "ID of the Google+ Page for the channel that the request is be on behalf of",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"part": {
"description": "The part parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
},
"sync": {
"description": "The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions.\n\nYou should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are incorrect and want YouTube to try to fix them.",
"location": "query",
"type": "boolean"
}
},
"path": "captions",
"request": {
"$ref": "Caption"
},
"response": {
"$ref": "Caption"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
],
"supportsMediaUpload": true
},
"list": {
"description": "Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.",
"httpMethod": "GET",
"id": "youtube.captions.list",
"parameterOrder": [
"part",
"videoId"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of IDs that identify the caption resources that should be retrieved. Each ID must identify a caption track associated with the specified video.",
"location": "query",
"type": "string"
},
"onBehalfOf": {
"description": "ID of the Google+ Page for the channel that the request is on behalf of.",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"part": {
"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",
"required": true,
"type": "string"
},
"videoId": {
"description": "The videoId parameter specifies the YouTube video ID of the video for which the API should return caption tracks.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "captions",
"response": {
"$ref": "CaptionListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"update": {
"description": "Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.",
"httpMethod": "PUT",
"id": "youtube.captions.update",
"mediaUpload": {
"accept": [
"*/*",
"application/octet-stream",
"text/xml"
],
"maxSize": "100MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/captions"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/captions"
}
}
},
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOf": {
"description": "ID of the Google+ Page for the channel that the request is be on behalf of",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"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. Set the property value to snippet if you are updating the track's draft status. Otherwise, set the property value to id.",
"location": "query",
"required": true,
"type": "string"
},
"sync": {
"description": "Note: The API server only processes the parameter value if the request contains an updated caption file.\n\nThe sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will automatically synchronize the caption track with the audio track.",
"location": "query",
"type": "boolean"
}
},
"path": "captions",
"request": {
"$ref": "Caption"
},
"response": {
"$ref": "Caption"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
],
"supportsMediaUpload": true
}
}
},
"channelBanners": {
"methods": {
"insert": {
"description": "Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel:\n\n- Call the channelBanners.insert method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 pixels.\n- Extract the url property's value from the response that the API returns for step 1.\n- Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the URL obtained in step 2.",
"httpMethod": "POST",
"id": "youtube.channelBanners.insert",
"mediaUpload": {
"accept": [
"application/octet-stream",
"image/jpeg",
"image/png"
],
"maxSize": "6MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/channelBanners/insert"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/channelBanners/insert"
}
}
},
"parameters": {
"channelId": {
"description": "The channelId parameter identifies the YouTube channel to which the banner is uploaded. The channelId parameter was introduced as a required parameter in May 2017. As this was a backward-incompatible change, channelBanners.insert requests that do not specify this parameter will not return an error until six months have passed from the time that the parameter was introduced. Please see the API Terms of Service for the official policy regarding backward incompatible changes and the API revision history for the exact date that the parameter was introduced.",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "channelBanners/insert",
"request": {
"$ref": "ChannelBannerResource"
},
"response": {
"$ref": "ChannelBannerResource"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.upload"
],
"supportsMediaUpload": true
}
}
},
"channelSections": {
"methods": {
"delete": {
"description": "Deletes a channelSection.",
"httpMethod": "DELETE",
"id": "youtube.channelSections.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In a channelSection resource, the id property specifies the YouTube channelSection ID.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "channelSections",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"insert": {
"description": "Adds a channelSection for the authenticated user's channel.",
"httpMethod": "POST",
"id": "youtube.channelSections.insert",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nThe part names that you can include in the parameter value are snippet and contentDetails.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "channelSections",
"request": {
"$ref": "ChannelSection"
},
"response": {
"$ref": "ChannelSection"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"list": {
"description": "Returns channelSection resources that match the API request criteria.",
"httpMethod": "GET",
"id": "youtube.channelSections.list",
"parameterOrder": [
"part"
],
"parameters": {
"channelId": {
"description": "The channelId parameter specifies a YouTube channel ID. The API will only return that channel's channelSections.",
"location": "query",
"type": "string"
},
"hl": {
"description": "The hl parameter indicates that the snippet.localized property values in the returned channelSection resources should be in the specified language if localized values for that language are available. For example, if the API request specifies hl=de, the snippet.localized properties in the API response will contain German titles if German titles are available. Channel owners can provide localized channel section titles using either the channelSections.insert or channelSections.update method.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the resource(s) that are being retrieved. In a channelSection resource, the id property specifies the YouTube channelSection ID.",
"location": "query",
"type": "string"
},
"mine": {
"description": "Set this parameter's value to true to retrieve a feed of the authenticated user's channelSections.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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 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.\n\nIf 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "channelSections",
"response": {
"$ref": "ChannelSectionListResponse"
},
"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"
]
},
"update": {
"description": "Update a channelSection.",
"httpMethod": "PUT",
"id": "youtube.channelSections.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThe part names that you can include in the parameter value are snippet and contentDetails.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "channelSections",
"request": {
"$ref": "ChannelSection"
},
"response": {
"$ref": "ChannelSection"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
},
"channels": {
"methods": {
"list": {
"description": "Returns a collection of zero or more channel resources that match the request criteria.",
"httpMethod": "GET",
"id": "youtube.channels.list",
"parameterOrder": [
"part"
],
"parameters": {
"categoryId": {
"description": "The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.",
"location": "query",
"type": "string"
},
"forUsername": {
"description": "The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.",
"location": "query",
"type": "string"
},
"hl": {
"description": "The hl parameter should be used for filter out the properties that are not in the given language. Used for the brandingSettings part.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.",
"location": "query",
"type": "string"
},
"managedByMe": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nSet this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.",
"location": "query",
"type": "boolean"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.",
"location": "query",
"type": "boolean"
},
"mySubscribers": {
"description": "Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user's channel.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"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 channel resource properties that the API response will include.\n\nIf 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",
"required": true,
"type": "string"
}
},
"path": "channels",
"response": {
"$ref": "ChannelListResponse"
},
"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"
]
},
"update": {
"description": "Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.",
"httpMethod": "PUT",
"id": "youtube.channels.update",
"parameterOrder": [
"part"
],
"parameters": {
"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"
},
"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.\n\nThe 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.)\n\nNote that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "channels",
"request": {
"$ref": "Channel"
},
"response": {
"$ref": "Channel"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
},
"commentThreads": {
"methods": {
"insert": {
"description": "Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.",
"httpMethod": "POST",
"id": "youtube.commentThreads.insert",
"parameterOrder": [
"part"
],
"parameters": {
"part": {
"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",
"required": true,
"type": "string"
}
},
"path": "commentThreads",
"request": {
"$ref": "CommentThread"
},
"response": {
"$ref": "CommentThread"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Returns a list of comment threads that match the API request parameters.",
"httpMethod": "GET",
"id": "youtube.commentThreads.list",
"parameterOrder": [
"part"
],
"parameters": {
"allThreadsRelatedToChannelId": {
"description": "The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel. The response can include comments about the channel or about the channel's videos.",
"location": "query",
"type": "string"
},
"channelId": {
"description": "The channelId parameter instructs the API to return comment threads containing comments about the specified channel. (The response will not include comments left on videos that the channel uploaded.)",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "20",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"format": "uint32",
"location": "query",
"maximum": "100",
"minimum": "1",
"type": "integer"
},
"moderationStatus": {
"default": "MODERATION_STATUS_PUBLISHED",
"description": "Set this parameter to limit the returned comment threads to a particular moderation state.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"enum": [
"heldForReview",
"likelySpam",
"published"
],
"enumDescriptions": [
"Retrieve comment threads that are awaiting review by a moderator. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment are awaiting review.",
"Retrieve comment threads classified as likely to be spam. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment is considered likely to be spam.",
"Retrieve threads of published comments. This is the default value. A comment thread can be included in the response if its top-level comment has been published."
],
"location": "query",
"type": "string"
},
"order": {
"default": "true",
"description": "The order parameter specifies the order in which the API response should list comment threads. Valid values are: \n- time - Comment threads are ordered by time. This is the default behavior.\n- relevance - Comment threads are ordered by relevance.Note: This parameter is not supported for use in conjunction with the id parameter.",
"enum": [
"relevance",
"time"
],
"enumDescriptions": [
"Order by relevance.",
"Order by time."
],
"location": "query",
"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 identifies the next page of the result that can be retrieved.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.",
"location": "query",
"required": true,
"type": "string"
},
"searchTerms": {
"description": "The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"location": "query",
"type": "string"
},
"textFormat": {
"default": "FORMAT_HTML",
"description": "Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text.",
"enum": [
"html",
"plainText"
],
"enumDescriptions": [
"Returns the comments in HTML format. This is the default value.",
"Returns the comments in plain text format."
],
"location": "query",
"type": "string"
},
"videoId": {
"description": "The videoId parameter instructs the API to return comment threads associated with the specified video ID.",
"location": "query",
"type": "string"
}
},
"path": "commentThreads",
"response": {
"$ref": "CommentThreadListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"update": {
"description": "Modifies the top-level comment in a comment thread.",
"httpMethod": "PUT",
"id": "youtube.commentThreads.update",
"parameterOrder": [
"part"
],
"parameters": {
"part": {
"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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "commentThreads",
"request": {
"$ref": "CommentThread"
},
"response": {
"$ref": "CommentThread"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
}
}
},
"comments": {
"methods": {
"delete": {
"description": "Deletes a comment.",
"httpMethod": "DELETE",
"id": "youtube.comments.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the comment ID for the resource that is being deleted.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "comments",
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.",
"httpMethod": "POST",
"id": "youtube.comments.insert",
"parameterOrder": [
"part"
],
"parameters": {
"part": {
"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",
"required": true,
"type": "string"
}
},
"path": "comments",
"request": {
"$ref": "Comment"
},
"response": {
"$ref": "Comment"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Returns a list of comments that match the API request parameters.",
"httpMethod": "GET",
"id": "youtube.comments.list",
"parameterOrder": [
"part"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of comment IDs for the resources that are being retrieved. In a comment resource, the id property specifies the comment's ID.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "20",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"format": "uint32",
"location": "query",
"maximum": "100",
"minimum": "1",
"type": "integer"
},
"pageToken": {
"description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved.\n\nNote: This parameter is not supported for use in conjunction with the id parameter.",
"location": "query",
"type": "string"
},
"parentId": {
"description": "The parentId parameter specifies the ID of the comment for which replies should be retrieved.\n\nNote: YouTube currently supports replies only for top-level comments. However, replies to replies may be supported in the future.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.",
"location": "query",
"required": true,
"type": "string"
},
"textFormat": {
"default": "FORMAT_HTML",
"description": "This parameter indicates whether the API should return comments formatted as HTML or as plain text.",
"enum": [
"html",
"plainText"
],
"enumDescriptions": [
"Returns the comments in HTML format. This is the default value.",
"Returns the comments in plain text format."
],
"location": "query",
"type": "string"
}
},
"path": "comments",
"response": {
"$ref": "CommentListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"markAsSpam": {
"description": "Expresses the caller's opinion that one or more comments should be flagged as spam.",
"httpMethod": "POST",
"id": "youtube.comments.markAsSpam",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of IDs of comments that the caller believes should be classified as spam.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "comments/markAsSpam",
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"setModerationStatus": {
"description": "Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments.",
"httpMethod": "POST",
"id": "youtube.comments.setModerationStatus",
"parameterOrder": [
"id",
"moderationStatus"
],
"parameters": {
"banAuthor": {
"default": "false",
"description": "The banAuthor parameter lets you indicate that you want to automatically reject any additional comments written by the comment's author. Set the parameter value to true to ban the author.\n\nNote: This parameter is only valid if the moderationStatus parameter is also set to rejected.",
"location": "query",
"type": "boolean"
},
"id": {
"description": "The id parameter specifies a comma-separated list of IDs that identify the comments for which you are updating the moderation status.",
"location": "query",
"required": true,
"type": "string"
},
"moderationStatus": {
"description": "Identifies the new moderation status of the specified comments.",
"enum": [
"heldForReview",
"published",
"rejected"
],
"enumDescriptions": [
"Marks a comment as awaiting review by a moderator.",
"Clears a comment for public display.",
"Rejects a comment as being unfit for display. This action also effectively hides all replies to the rejected comment.\n\nNote: The API does not currently provide a way to list or otherwise discover rejected comments. However, you can change the moderation status of a rejected comment if you still know its ID. If you were to change the moderation status of a rejected comment, the comment replies would subsequently be discoverable again as well."
],
"location": "query",
"required": true,
"type": "string"
}
},
"path": "comments/setModerationStatus",
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"update": {
"description": "Modifies a comment.",
"httpMethod": "PUT",
"id": "youtube.comments.update",
"parameterOrder": [
"part"
],
"parameters": {
"part": {
"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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "comments",
"request": {
"$ref": "Comment"
},
"response": {
"$ref": "Comment"
},
"scopes": [
"https://www.googleapis.com/auth/youtube.force-ssl"
]
}
}
},
"guideCategories": {
"methods": {
"list": {
"description": "Returns a list of categories that can be associated with YouTube channels.",
"httpMethod": "GET",
"id": "youtube.guideCategories.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"default": "en-US",
"description": "The hl parameter specifies the language that will be used for text values in the API response.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies the guideCategory resource properties that the API response will include. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
},
"regionCode": {
"description": "The regionCode parameter instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.",
"location": "query",
"type": "string"
}
},
"path": "guideCategories",
"response": {
"$ref": "GuideCategoryListResponse"
},
"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"
]
}
}
},
"i18nLanguages": {
"methods": {
"list": {
"description": "Returns a list of application languages that the YouTube website supports.",
"httpMethod": "GET",
"id": "youtube.i18nLanguages.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"default": "en_US",
"description": "The hl parameter specifies the language that should be used for text values in the API response.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "i18nLanguages",
"response": {
"$ref": "I18nLanguageListResponse"
},
"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"
]
}
}
},
"i18nRegions": {
"methods": {
"list": {
"description": "Returns a list of content regions that the YouTube website supports.",
"httpMethod": "GET",
"id": "youtube.i18nRegions.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"default": "en_US",
"description": "The hl parameter specifies the language that should be used for text values in the API response.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "i18nRegions",
"response": {
"$ref": "I18nRegionListResponse"
},
"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"
]
}
}
},
"liveBroadcasts": {
"methods": {
"bind": {
"description": "Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.",
"httpMethod": "POST",
"id": "youtube.liveBroadcasts.bind",
"parameterOrder": [
"id",
"part"
],
"parameters": {
"id": {
"description": "The id parameter specifies the unique ID of the broadcast that is being bound to a video stream.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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 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.",
"location": "query",
"required": true,
"type": "string"
},
"streamId": {
"description": "The streamId parameter specifies the unique ID of the video stream that is being bound to a broadcast. If this parameter is omitted, the API will remove any existing binding between the broadcast and a video stream.",
"location": "query",
"type": "string"
}
},
"path": "liveBroadcasts/bind",
"response": {
"$ref": "LiveBroadcast"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"control": {
"description": "Controls the settings for a slate that can be displayed in the broadcast stream.",
"httpMethod": "POST",
"id": "youtube.liveBroadcasts.control",
"parameterOrder": [
"id",
"part"
],
"parameters": {
"displaySlate": {
"description": "The displaySlate parameter specifies whether the slate is being enabled or disabled.",
"location": "query",
"type": "boolean"
},
"id": {
"description": "The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in which the slate is being updated.",
"location": "query",
"required": true,
"type": "string"
},
"offsetTimeMs": {
"description": "The offsetTimeMs parameter specifies a positive time offset when the specified slate change will occur. The value is measured in milliseconds from the beginning of the broadcast's monitor stream, which is the time that the testing phase for the broadcast began. Even though it is specified in milliseconds, the value is actually an approximation, and YouTube completes the requested action as closely as possible to that time.\n\nIf you do not specify a value for this parameter, then YouTube performs the action as soon as possible. See the Getting started guide for more details.\n\nImportant: You should only specify a value for this parameter if your broadcast stream is delayed.",
"format": "uint64",
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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 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.",
"location": "query",
"required": true,
"type": "string"
},
"walltime": {
"description": "The walltime parameter specifies the wall clock time at which the specified slate change will occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.",
"format": "date-time",
"location": "query",
"type": "string"
}
},
"path": "liveBroadcasts/control",
"response": {
"$ref": "LiveBroadcast"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"delete": {
"description": "Deletes a broadcast.",
"httpMethod": "DELETE",
"id": "youtube.liveBroadcasts.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube live broadcast ID for the resource that is being deleted.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
}
},
"path": "liveBroadcasts",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Creates a broadcast.",
"httpMethod": "POST",
"id": "youtube.liveBroadcasts.insert",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nThe part properties that you can include in the parameter value are id, snippet, contentDetails, and status.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveBroadcasts",
"request": {
"$ref": "LiveBroadcast"
},
"response": {
"$ref": "LiveBroadcast"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Returns a list of YouTube broadcasts that match the API request parameters.",
"httpMethod": "GET",
"id": "youtube.liveBroadcasts.list",
"parameterOrder": [
"part"
],
"parameters": {
"broadcastStatus": {
"description": "The broadcastStatus parameter filters the API response to only include broadcasts with the specified status.",
"enum": [
"active",
"all",
"completed",
"upcoming"
],
"enumDescriptions": [
"Return current live broadcasts.",
"Return all broadcasts.",
"Return broadcasts that have already ended.",
"Return broadcasts that have not yet started."
],
"location": "query",
"type": "string"
},
"broadcastType": {
"default": "BROADCAST_TYPE_FILTER_EVENT",
"description": "The broadcastType parameter filters the API response to only include broadcasts with the specified type. This is only compatible with the mine filter for now.",
"enum": [
"all",
"event",
"persistent"
],
"enumDescriptions": [
"Return all broadcasts.",
"Return only scheduled event broadcasts.",
"Return only persistent broadcasts."
],
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of YouTube broadcast IDs that identify the broadcasts being retrieved. In a liveBroadcast resource, the id property specifies the broadcast's ID.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "The mine parameter can be used to instruct the API to only return broadcasts owned by the authenticated user. Set the parameter value to true to only retrieve your own broadcasts.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
},
"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 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveBroadcasts",
"response": {
"$ref": "LiveBroadcastListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
},
"transition": {
"description": "Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. For example, when you transition a broadcast's status to testing, YouTube starts to transmit video to that broadcast's monitor stream. Before calling this method, you should confirm that the value of the status.streamStatus property for the stream bound to your broadcast is active.",
"httpMethod": "POST",
"id": "youtube.liveBroadcasts.transition",
"parameterOrder": [
"broadcastStatus",
"id",
"part"
],
"parameters": {
"broadcastStatus": {
"description": "The broadcastStatus parameter identifies the state to which the broadcast is changing. Note that to transition a broadcast to either the testing or live state, the status.streamStatus must be active for the stream that the broadcast is bound to.",
"enum": [
"complete",
"live",
"testing"
],
"enumDescriptions": [
"The broadcast is over. YouTube stops transmitting video.",
"The broadcast is visible to its audience. YouTube transmits video to the broadcast's monitor stream and its broadcast stream.",
"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."
],
"location": "query",
"required": true,
"type": "string"
},
"id": {
"description": "The id parameter specifies the unique ID of the broadcast that is transitioning to another status.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveBroadcasts/transition",
"response": {
"$ref": "LiveBroadcast"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"update": {
"description": "Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDetails object.",
"httpMethod": "PUT",
"id": "youtube.liveBroadcasts.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nThe part properties that you can include in the parameter value are id, snippet, contentDetails, and status.\n\nNote that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a 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",
"required": true,
"type": "string"
}
},
"path": "liveBroadcasts",
"request": {
"$ref": "LiveBroadcast"
},
"response": {
"$ref": "LiveBroadcast"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
}
}
},
"liveChatBans": {
"methods": {
"delete": {
"description": "Removes a chat ban.",
"httpMethod": "DELETE",
"id": "youtube.liveChatBans.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter identifies the chat ban to remove. The value uniquely identifies both the ban and the chat.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/bans",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Adds a new ban to the chat.",
"httpMethod": "POST",
"id": "youtube.liveChatBans.insert",
"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 returns. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/bans",
"request": {
"$ref": "LiveChatBan"
},
"response": {
"$ref": "LiveChatBan"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
}
}
},
"liveChatMessages": {
"methods": {
"delete": {
"description": "Deletes a chat message.",
"httpMethod": "DELETE",
"id": "youtube.liveChatMessages.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube chat message ID of the resource that is being deleted.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/messages",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Adds a message to a live chat.",
"httpMethod": "POST",
"id": "youtube.liveChatMessages.insert",
"parameterOrder": [
"part"
],
"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",
"required": true,
"type": "string"
}
},
"path": "liveChat/messages",
"request": {
"$ref": "LiveChatMessage"
},
"response": {
"$ref": "LiveChatMessage"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Lists live chat messages for a specific chat.",
"httpMethod": "GET",
"id": "youtube.liveChatMessages.list",
"parameterOrder": [
"liveChatId",
"part"
],
"parameters": {
"hl": {
"description": "The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.\n\nIf localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.",
"location": "query",
"type": "string"
},
"liveChatId": {
"description": "The liveChatId parameter specifies the ID of the chat whose messages will be returned.",
"location": "query",
"required": true,
"type": "string"
},
"maxResults": {
"default": "500",
"description": "The maxResults parameter specifies the maximum number of messages that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "2000",
"minimum": "200",
"type": "integer"
},
"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"
},
"part": {
"description": "The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.",
"location": "query",
"required": true,
"type": "string"
},
"profileImageSize": {
"description": "The profileImageSize parameter specifies the size of the user profile pictures that should be returned in the result set. Default: 88.",
"format": "uint32",
"location": "query",
"maximum": "720",
"minimum": "16",
"type": "integer"
}
},
"path": "liveChat/messages",
"response": {
"$ref": "LiveChatMessageListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"liveChatModerators": {
"methods": {
"delete": {
"description": "Removes a chat moderator.",
"httpMethod": "DELETE",
"id": "youtube.liveChatModerators.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter identifies the chat moderator to remove. The value uniquely identifies both the moderator and the chat.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/moderators",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Adds a new moderator for the chat.",
"httpMethod": "POST",
"id": "youtube.liveChatModerators.insert",
"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 returns. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/moderators",
"request": {
"$ref": "LiveChatModerator"
},
"response": {
"$ref": "LiveChatModerator"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Lists moderators for a live chat.",
"httpMethod": "GET",
"id": "youtube.liveChatModerators.list",
"parameterOrder": [
"liveChatId",
"part"
],
"parameters": {
"liveChatId": {
"description": "The liveChatId parameter specifies the YouTube live chat for which the API should return moderators.",
"location": "query",
"required": true,
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"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 the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveChat/moderators",
"response": {
"$ref": "LiveChatModeratorListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"liveStreams": {
"methods": {
"delete": {
"description": "Deletes a video stream.",
"httpMethod": "DELETE",
"id": "youtube.liveStreams.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube live stream ID for the resource that is being deleted.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
}
},
"path": "liveStreams",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"insert": {
"description": "Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience.",
"httpMethod": "POST",
"id": "youtube.liveStreams.insert",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nThe part properties that you can include in the parameter value are id, snippet, cdn, and status.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveStreams",
"request": {
"$ref": "LiveStream"
},
"response": {
"$ref": "LiveStream"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
},
"list": {
"description": "Returns a list of video streams that match the API request parameters.",
"httpMethod": "GET",
"id": "youtube.liveStreams.list",
"parameterOrder": [
"part"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of YouTube stream IDs that identify the streams being retrieved. In a liveStream resource, the id property specifies the stream's ID.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "The mine parameter can be used to instruct the API to only return streams owned by the authenticated user. Set the parameter value to true to only retrieve your own streams.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
},
"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 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveStreams",
"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"
]
},
"update": {
"description": "Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings.",
"httpMethod": "PUT",
"id": "youtube.liveStreams.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nThe part properties that you can include in the parameter value are id, snippet, cdn, and status.\n\nNote that this method will override the existing values for all of 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "liveStreams",
"request": {
"$ref": "LiveStream"
},
"response": {
"$ref": "LiveStream"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl"
]
}
}
},
"playlistItems": {
"methods": {
"delete": {
"description": "Deletes a playlist item.",
"httpMethod": "DELETE",
"id": "youtube.playlistItems.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube playlist item ID for the playlist item that is being deleted. In a playlistItem resource, the id property specifies the playlist item's ID.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "playlistItems",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"insert": {
"description": "Adds a resource to a playlist.",
"httpMethod": "POST",
"id": "youtube.playlistItems.insert",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "playlistItems",
"request": {
"$ref": "PlaylistItem"
},
"response": {
"$ref": "PlaylistItem"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"list": {
"description": "Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs.",
"httpMethod": "GET",
"id": "youtube.playlistItems.list",
"parameterOrder": [
"part"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of one or more unique playlist item IDs.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"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.\n\nIf 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.",
"location": "query",
"required": true,
"type": "string"
},
"playlistId": {
"description": "The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve playlist items. Note that even though this is an optional parameter, every request to retrieve playlist items must specify a value for either the id parameter or the playlistId parameter.",
"location": "query",
"type": "string"
},
"videoId": {
"description": "The videoId parameter specifies that the request should return only the playlist items that contain the specified video.",
"location": "query",
"type": "string"
}
},
"path": "playlistItems",
"response": {
"$ref": "PlaylistItemListResponse"
},
"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"
],
"supportsSubscription": true
},
"update": {
"description": "Modifies a playlist item. For example, you could update the item's position in the playlist.",
"httpMethod": "PUT",
"id": "youtube.playlistItems.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nNote that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "playlistItems",
"request": {
"$ref": "PlaylistItem"
},
"response": {
"$ref": "PlaylistItem"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
},
"playlists": {
"methods": {
"delete": {
"description": "Deletes a playlist.",
"httpMethod": "DELETE",
"id": "youtube.playlists.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube playlist ID for the playlist that is being deleted. In a playlist resource, the id property specifies the playlist's ID.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "playlists",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"insert": {
"description": "Creates a playlist.",
"httpMethod": "POST",
"id": "youtube.playlists.insert",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "playlists",
"request": {
"$ref": "Playlist"
},
"response": {
"$ref": "Playlist"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"list": {
"description": "Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.",
"httpMethod": "GET",
"id": "youtube.playlists.list",
"parameterOrder": [
"part"
],
"parameters": {
"channelId": {
"description": "This value indicates that the API should only return the specified channel's playlists.",
"location": "query",
"type": "string"
},
"hl": {
"description": "The hl parameter should be used for filter out the properties that are not in the given language. Used for the snippet part.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the resource(s) that are being retrieved. In a playlist resource, the id property specifies the playlist's YouTube playlist ID.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "Set this parameter's value to true to instruct the API to only return playlists owned by the authenticated user.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
},
"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 playlist resource properties that the API response will include.\n\nIf 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",
"required": true,
"type": "string"
}
},
"path": "playlists",
"response": {
"$ref": "PlaylistListResponse"
},
"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"
]
},
"update": {
"description": "Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.",
"httpMethod": "PUT",
"id": "youtube.playlists.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nNote 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "playlists",
"request": {
"$ref": "Playlist"
},
"response": {
"$ref": "Playlist"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
},
"search": {
"methods": {
"list": {
"description": "Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.",
"httpMethod": "GET",
"id": "youtube.search.list",
"parameterOrder": [
"part"
],
"parameters": {
"channelId": {
"description": "The channelId parameter indicates that the API response should only contain resources created by the channel",
"location": "query",
"type": "string"
},
"channelType": {
"description": "The channelType parameter lets you restrict a search to a particular type of channel.",
"enum": [
"any",
"show"
],
"enumDescriptions": [
"Return all channels.",
"Only retrieve shows."
],
"location": "query",
"type": "string"
},
"eventType": {
"description": "The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"completed",
"live",
"upcoming"
],
"enumDescriptions": [
"Only include completed broadcasts.",
"Only include active broadcasts.",
"Only include upcoming broadcasts."
],
"location": "query",
"type": "string"
},
"forContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.",
"location": "query",
"type": "boolean"
},
"forDeveloper": {
"description": "The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's own app or website but not to videos uploaded through other apps or sites.",
"location": "query",
"type": "boolean"
},
"forMine": {
"description": "The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type parameter's value must also be set to video.",
"location": "query",
"type": "boolean"
},
"location": {
"description": "The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427).\n\n\n- The location parameter value identifies the point at the center of the area.\n- The locationRadius parameter specifies the maximum distance that the location associated with a video can be from that point for the video to still be included in the search results.The API returns an error if your request specifies a value for the location parameter but does not also specify a value for the locationRadius parameter.",
"location": "query",
"type": "string"
},
"locationRadius": {
"description": "The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area.\n\nThe parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers.\n\nNote: See the definition of the location parameter for more information.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"order": {
"default": "SEARCH_SORT_RELEVANCE",
"description": "The order parameter specifies the method that will be used to order resources in the API response.",
"enum": [
"date",
"rating",
"relevance",
"title",
"videoCount",
"viewCount"
],
"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 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.",
"Resources are sorted from highest to lowest number of views."
],
"location": "query",
"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.",
"location": "query",
"type": "string"
},
"part": {
"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.",
"location": "query",
"required": true,
"type": "string"
},
"publishedAfter": {
"description": "The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).",
"format": "date-time",
"location": "query",
"type": "string"
},
"publishedBefore": {
"description": "The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).",
"format": "date-time",
"location": "query",
"type": "string"
},
"q": {
"description": "The q parameter specifies the query term to search for.\n\nYour request can also use the Boolean NOT (-) and OR (|) operators to exclude videos or to find videos that are associated with one of several search terms. For example, to search for videos matching either \"boating\" or \"sailing\", set the q parameter value to boating|sailing. Similarly, to search for videos matching either \"boating\" or \"sailing\" but not \"fishing\", set the q parameter value to boating|sailing -fishing. Note that the pipe character must be URL-escaped when it is sent in your API request. The URL-escaped value for the pipe character is %7C.",
"location": "query",
"type": "string"
},
"regionCode": {
"description": "The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.",
"location": "query",
"type": "string"
},
"relatedToVideoId": {
"description": "The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video.",
"location": "query",
"type": "string"
},
"relevanceLanguage": {
"description": "The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term.",
"location": "query",
"type": "string"
},
"safeSearch": {
"description": "The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.",
"enum": [
"moderate",
"none",
"strict"
],
"enumDescriptions": [
"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 not filter the search result set.",
"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."
],
"location": "query",
"type": "string"
},
"topicId": {
"description": "The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID.",
"location": "query",
"type": "string"
},
"type": {
"default": "video,channel,playlist",
"description": "The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types.",
"location": "query",
"type": "string"
},
"videoCaption": {
"description": "The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"closedCaption",
"none"
],
"enumDescriptions": [
"Do not filter results based on caption availability.",
"Only include videos that have captions.",
"Only include videos that do not have captions."
],
"location": "query",
"type": "string"
},
"videoCategoryId": {
"description": "The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"location": "query",
"type": "string"
},
"videoDefinition": {
"description": "The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"high",
"standard"
],
"enumDescriptions": [
"Return all videos, regardless of their resolution.",
"Only retrieve HD videos.",
"Only retrieve videos in standard definition."
],
"location": "query",
"type": "string"
},
"videoDimension": {
"description": "The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"2d",
"3d",
"any"
],
"enumDescriptions": [
"Restrict search results to exclude 3D videos.",
"Restrict search results to only include 3D videos.",
"Include both 3D and non-3D videos in returned results. This is the default value."
],
"location": "query",
"type": "string"
},
"videoDuration": {
"description": "The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"long",
"medium",
"short"
],
"enumDescriptions": [
"Do not filter video search results based on their duration. This is the default value.",
"Only include videos longer than 20 minutes.",
"Only include videos that are between four and 20 minutes long (inclusive).",
"Only include videos that are less than four minutes long."
],
"location": "query",
"type": "string"
},
"videoEmbeddable": {
"description": "The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"true"
],
"enumDescriptions": [
"Return all videos, embeddable or not.",
"Only retrieve embeddable videos."
],
"location": "query",
"type": "string"
},
"videoLicense": {
"description": "The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"creativeCommon",
"youtube"
],
"enumDescriptions": [
"Return all videos, regardless of which license they have, that match the query parameters.",
"Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more.",
"Only return videos that have the standard YouTube license."
],
"location": "query",
"type": "string"
},
"videoSyndicated": {
"description": "The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"true"
],
"enumDescriptions": [
"Return all videos, syndicated or not.",
"Only retrieve syndicated videos."
],
"location": "query",
"type": "string"
},
"videoType": {
"description": "The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video.",
"enum": [
"any",
"episode",
"movie"
],
"enumDescriptions": [
"Return all videos.",
"Only retrieve episodes of shows.",
"Only retrieve movies."
],
"location": "query",
"type": "string"
}
},
"path": "search",
"response": {
"$ref": "SearchListResponse"
},
"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"
]
}
}
},
"sponsors": {
"methods": {
"list": {
"description": "Lists sponsors for a channel.",
"httpMethod": "GET",
"id": "youtube.sponsors.list",
"parameterOrder": [
"part"
],
"parameters": {
"filter": {
"default": "POLL_NEWEST",
"description": "The filter parameter specifies which channel sponsors to return.",
"enum": [
"all",
"newest"
],
"enumDescriptions": [
"Return all sponsors, from newest to oldest.",
"Return the most recent sponsors, from newest to oldest."
],
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"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 the sponsor resource parts that the API response will include. Supported values are id and snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "sponsors",
"response": {
"$ref": "SponsorListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"subscriptions": {
"methods": {
"delete": {
"description": "Deletes a subscription.",
"httpMethod": "DELETE",
"id": "youtube.subscriptions.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies the YouTube subscription ID.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "subscriptions",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"insert": {
"description": "Adds a subscription for the authenticated user's channel.",
"httpMethod": "POST",
"id": "youtube.subscriptions.insert",
"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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "subscriptions",
"request": {
"$ref": "Subscription"
},
"response": {
"$ref": "Subscription"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"list": {
"description": "Returns subscription resources that match the API request criteria.",
"httpMethod": "GET",
"id": "youtube.subscriptions.list",
"parameterOrder": [
"part"
],
"parameters": {
"channelId": {
"description": "The channelId parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions.",
"location": "query",
"type": "string"
},
"forChannelId": {
"description": "The forChannelId parameter specifies a comma-separated list of channel IDs. The API response will then only contain subscriptions matching those channels.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube subscription ID(s) for the resource(s) that are being retrieved. In a subscription resource, the id property specifies the YouTube subscription ID.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "0",
"type": "integer"
},
"mine": {
"description": "Set this parameter's value to true to retrieve a feed of the authenticated user's subscriptions.",
"location": "query",
"type": "boolean"
},
"myRecentSubscribers": {
"description": "Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user in reverse chronological order (newest first).",
"location": "query",
"type": "boolean"
},
"mySubscribers": {
"description": "Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user in no particular order.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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"
},
"order": {
"default": "SUBSCRIPTION_ORDER_RELEVANCE",
"description": "The order parameter specifies the method that will be used to sort resources in the API response.",
"enum": [
"alphabetical",
"relevance",
"unread"
],
"enumDescriptions": [
"Sort alphabetically.",
"Sort by relevance.",
"Sort by order of activity."
],
"location": "query",
"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.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include.\n\nIf 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",
"required": true,
"type": "string"
}
},
"path": "subscriptions",
"response": {
"$ref": "SubscriptionListResponse"
},
"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"
]
}
}
},
"superChatEvents": {
"methods": {
"list": {
"description": "Lists Super Chat events for a channel.",
"httpMethod": "GET",
"id": "youtube.superChatEvents.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"description": "The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.\n\nIf localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.",
"location": "query",
"type": "string"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "1",
"type": "integer"
},
"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 the superChatEvent resource parts that the API response will include. Supported values are id and snippet.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "superChatEvents",
"response": {
"$ref": "SuperChatEventListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"thumbnails": {
"methods": {
"set": {
"description": "Uploads a custom video thumbnail to YouTube and sets it for a video.",
"httpMethod": "POST",
"id": "youtube.thumbnails.set",
"mediaUpload": {
"accept": [
"application/octet-stream",
"image/jpeg",
"image/png"
],
"maxSize": "2MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/thumbnails/set"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/thumbnails/set"
}
}
},
"parameterOrder": [
"videoId"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"videoId": {
"description": "The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being provided.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "thumbnails/set",
"response": {
"$ref": "ThumbnailSetResponse"
},
"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
}
}
},
"videoAbuseReportReasons": {
"methods": {
"list": {
"description": "Returns a list of abuse reasons that can be used for reporting abusive videos.",
"httpMethod": "GET",
"id": "youtube.videoAbuseReportReasons.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"default": "en_US",
"description": "The hl parameter specifies the language that should be used for text values in the API response.",
"location": "query",
"type": "string"
},
"part": {
"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"
}
},
"path": "videoAbuseReportReasons",
"response": {
"$ref": "VideoAbuseReportReasonListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtube.readonly"
]
}
}
},
"videoCategories": {
"methods": {
"list": {
"description": "Returns a list of categories that can be associated with YouTube videos.",
"httpMethod": "GET",
"id": "youtube.videoCategories.list",
"parameterOrder": [
"part"
],
"parameters": {
"hl": {
"default": "en_US",
"description": "The hl parameter specifies the language that should be used for text values in the API response.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.",
"location": "query",
"required": true,
"type": "string"
},
"regionCode": {
"description": "The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.",
"location": "query",
"type": "string"
}
},
"path": "videoCategories",
"response": {
"$ref": "VideoCategoryListResponse"
},
"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"
]
}
}
},
"videos": {
"methods": {
"delete": {
"description": "Deletes a YouTube video.",
"httpMethod": "DELETE",
"id": "youtube.videos.delete",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube video ID for the resource that is being deleted. In a video resource, the id property specifies the video's ID.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "videos",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"getRating": {
"description": "Retrieves the ratings that the authorized user gave to a list of specified videos.",
"httpMethod": "GET",
"id": "youtube.videos.getRating",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) for which you are retrieving rating data. In a video resource, the id property specifies the video's ID.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "videos/getRating",
"response": {
"$ref": "VideoGetRatingResponse"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"insert": {
"description": "Uploads a video to YouTube and optionally sets the video's metadata.",
"httpMethod": "POST",
"id": "youtube.videos.insert",
"mediaUpload": {
"accept": [
"application/octet-stream",
"video/*"
],
"maxSize": "64GB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/videos"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/videos"
}
}
},
"parameterOrder": [
"part"
],
"parameters": {
"autoLevels": {
"description": "The autoLevels parameter indicates whether YouTube should automatically enhance the video's lighting and color.",
"location": "query",
"type": "boolean"
},
"notifySubscribers": {
"default": "true",
"description": "The notifySubscribers parameter indicates whether YouTube should send a notification about the new video to users who subscribe to the video's channel. A parameter value of True indicates that subscribers will be notified of newly uploaded videos. However, a channel owner who is uploading many videos might prefer to set the value to False to avoid sending a notification about each new video to the channel's subscribers.",
"location": "query",
"type": "boolean"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"onBehalfOfContentOwnerChannel": {
"description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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.\n\nThis 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.\n\nNote 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.",
"location": "query",
"required": true,
"type": "string"
},
"stabilize": {
"description": "The stabilize parameter indicates whether YouTube should adjust the video to remove shaky camera motions.",
"location": "query",
"type": "boolean"
}
},
"path": "videos",
"request": {
"$ref": "Video"
},
"response": {
"$ref": "Video"
},
"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
},
"list": {
"description": "Returns a list of videos that match the API request parameters.",
"httpMethod": "GET",
"id": "youtube.videos.list",
"parameterOrder": [
"part"
],
"parameters": {
"chart": {
"description": "The chart parameter identifies the chart that you want to retrieve.",
"enum": [
"mostPopular"
],
"enumDescriptions": [
"Return the most popular videos for the specified content region and video category."
],
"location": "query",
"type": "string"
},
"hl": {
"description": "The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.\n\nIf localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.",
"location": "query",
"type": "string"
},
"id": {
"description": "The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.",
"location": "query",
"type": "string"
},
"locale": {
"description": "DEPRECATED",
"location": "query",
"type": "string"
},
"maxHeight": {
"description": "The maxHeight parameter specifies a maximum height of the embedded player. If maxWidth is provided, maxHeight may not be reached in order to not violate the width request.",
"format": "uint32",
"location": "query",
"maximum": "8192",
"minimum": "72",
"type": "integer"
},
"maxResults": {
"default": "5",
"description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.\n\nNote: 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.",
"format": "uint32",
"location": "query",
"maximum": "50",
"minimum": "1",
"type": "integer"
},
"maxWidth": {
"description": "The maxWidth parameter specifies a maximum width of the embedded player. If maxHeight is provided, maxWidth may not be reached in order to not violate the height request.",
"format": "uint32",
"location": "query",
"maximum": "8192",
"minimum": "72",
"type": "integer"
},
"myRating": {
"description": "Set this parameter's value to like or dislike to instruct the API to only return videos liked or disliked by the authenticated user.",
"enum": [
"dislike",
"like"
],
"enumDescriptions": [
"Returns only videos disliked by the authenticated user.",
"Returns only video liked by the authenticated user."
],
"location": "query",
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"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.\n\nNote: 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.",
"location": "query",
"type": "string"
},
"part": {
"description": "The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include.\n\nIf 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.",
"location": "query",
"required": true,
"type": "string"
},
"regionCode": {
"description": "The regionCode parameter instructs the API to select a video chart available in the specified region. This parameter can only be used in conjunction with the chart parameter. The parameter value is an ISO 3166-1 alpha-2 country code.",
"location": "query",
"type": "string"
},
"videoCategoryId": {
"default": "0",
"description": "The videoCategoryId parameter identifies the video category for which the chart should be retrieved. This parameter can only be used in conjunction with the chart parameter. By default, charts are not restricted to a particular category.",
"location": "query",
"type": "string"
}
},
"path": "videos",
"response": {
"$ref": "VideoListResponse"
},
"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"
]
},
"rate": {
"description": "Add a like or dislike rating to a video or remove a rating from a video.",
"httpMethod": "POST",
"id": "youtube.videos.rate",
"parameterOrder": [
"id",
"rating"
],
"parameters": {
"id": {
"description": "The id parameter specifies the YouTube video ID of the video that is being rated or having its rating removed.",
"location": "query",
"required": true,
"type": "string"
},
"rating": {
"description": "Specifies the rating to record.",
"enum": [
"dislike",
"like",
"none"
],
"enumDescriptions": [
"Records that the authenticated user disliked the video.",
"Records that the authenticated user liked the video.",
"Removes any rating that the authenticated user had previously set for the video."
],
"location": "query",
"required": true,
"type": "string"
}
},
"path": "videos/rate",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"reportAbuse": {
"description": "Report abuse for a video.",
"httpMethod": "POST",
"id": "youtube.videos.reportAbuse",
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "videos/reportAbuse",
"request": {
"$ref": "VideoAbuseReport"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
},
"update": {
"description": "Updates a video's metadata.",
"httpMethod": "PUT",
"id": "youtube.videos.update",
"parameterOrder": [
"part"
],
"parameters": {
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
},
"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.\n\nNote that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a 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.\n\nIn 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.",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "videos",
"request": {
"$ref": "Video"
},
"response": {
"$ref": "Video"
},
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
},
"watermarks": {
"methods": {
"set": {
"description": "Uploads a watermark image to YouTube and sets it for a channel.",
"httpMethod": "POST",
"id": "youtube.watermarks.set",
"mediaUpload": {
"accept": [
"application/octet-stream",
"image/jpeg",
"image/png"
],
"maxSize": "10MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/watermarks/set"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/watermarks/set"
}
}
},
"parameterOrder": [
"channelId"
],
"parameters": {
"channelId": {
"description": "The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "watermarks/set",
"request": {
"$ref": "InvideoBranding"
},
"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
},
"unset": {
"description": "Deletes a channel's watermark image.",
"httpMethod": "POST",
"id": "youtube.watermarks.unset",
"parameterOrder": [
"channelId"
],
"parameters": {
"channelId": {
"description": "The channelId parameter specifies the YouTube channel ID for which the watermark is being unset.",
"location": "query",
"required": true,
"type": "string"
},
"onBehalfOfContentOwner": {
"description": "Note: This parameter is intended exclusively for YouTube content partners.\n\nThe 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"
}
},
"path": "watermarks/unset",
"scopes": [
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
}
}
}
},
"revision": "20190128",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AccessPolicy": {
"description": "Rights management policy for YouTube resources.",
"id": "AccessPolicy",
"properties": {
"allowed": {
"description": "The value of allowed indicates whether the access to the policy is allowed or denied by default.",
"type": "boolean"
},
"exception": {
"description": "A list of region codes that identify countries where the default policy do not apply.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Activity": {
"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.",
"id": "Activity",
"properties": {
"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"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the activity.",
"type": "string"
},
"kind": {
"default": "youtube#activity",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activity\".",
"type": "string"
},
"snippet": {
"$ref": "ActivitySnippet",
"description": "The snippet object contains basic details about the activity, including the activity's type and group ID."
}
},
"type": "object"
},
"ActivityContentDetails": {
"description": "Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.",
"id": "ActivityContentDetails",
"properties": {
"bulletin": {
"$ref": "ActivityContentDetailsBulletin",
"description": "The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin."
},
"channelItem": {
"$ref": "ActivityContentDetailsChannelItem",
"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."
},
"comment": {
"$ref": "ActivityContentDetailsComment",
"description": "The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment."
},
"favorite": {
"$ref": "ActivityContentDetailsFavorite",
"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."
},
"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."
},
"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."
},
"promotedItem": {
"$ref": "ActivityContentDetailsPromotedItem",
"description": "The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem."
},
"recommendation": {
"$ref": "ActivityContentDetailsRecommendation",
"description": "The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation."
},
"social": {
"$ref": "ActivityContentDetailsSocial",
"description": "The social object contains details about a social network post. This property is only present if the snippet.type is social."
},
"subscription": {
"$ref": "ActivityContentDetailsSubscription",
"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."
},
"upload": {
"$ref": "ActivityContentDetailsUpload",
"description": "The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload."
}
},
"type": "object"
},
"ActivityContentDetailsBulletin": {
"description": "Details about a channel bulletin post.",
"id": "ActivityContentDetailsBulletin",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the resource associated with a bulletin post."
}
},
"type": "object"
},
"ActivityContentDetailsChannelItem": {
"description": "Details about a resource which was added to a channel.",
"id": "ActivityContentDetailsChannelItem",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the resource that was added to the channel."
}
},
"type": "object"
},
"ActivityContentDetailsComment": {
"description": "Information about a resource that received a comment.",
"id": "ActivityContentDetailsComment",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the resource associated with the comment."
}
},
"type": "object"
},
"ActivityContentDetailsFavorite": {
"description": "Information about a video that was marked as a favorite video.",
"id": "ActivityContentDetailsFavorite",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the resource that was marked as a favorite."
}
},
"type": "object"
},
"ActivityContentDetailsLike": {
"description": "Information about a resource that received a positive (like) rating.",
"id": "ActivityContentDetailsLike",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the rated resource."
}
},
"type": "object"
},
"ActivityContentDetailsPlaylistItem": {
"description": "Information about a new playlist item.",
"id": "ActivityContentDetailsPlaylistItem",
"properties": {
"playlistId": {
"description": "The value that YouTube uses to uniquely identify the playlist.",
"type": "string"
},
"playlistItemId": {
"description": "ID of the item within the playlist.",
"type": "string"
},
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information about the resource that was added to the playlist."
}
},
"type": "object"
},
"ActivityContentDetailsPromotedItem": {
"description": "Details about a resource which is being promoted.",
"id": "ActivityContentDetailsPromotedItem",
"properties": {
"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": {
"description": "The URL the client should ping to indicate that the user was shown this promoted item.",
"type": "string"
},
"ctaType": {
"description": "The type of call-to-action, a message to the user indicating action that can be taken.",
"enum": [
"unspecified",
"visitAdvertiserSite"
],
"enumDescriptions": [
"",
""
],
"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"
},
"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"
},
"forecastingUrl": {
"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"
},
"type": "array"
},
"impressionUrl": {
"description": "The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.",
"items": {
"type": "string"
},
"type": "array"
},
"videoId": {
"description": "The ID that YouTube uses to uniquely identify the promoted video.",
"type": "string"
}
},
"type": "object"
},
"ActivityContentDetailsRecommendation": {
"description": "Information that identifies the recommended resource.",
"id": "ActivityContentDetailsRecommendation",
"properties": {
"reason": {
"description": "The reason that the resource is recommended to the user.",
"enum": [
"unspecified",
"videoFavorited",
"videoLiked",
"videoWatched"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"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."
}
},
"type": "object"
},
"ActivityContentDetailsSocial": {
"description": "Details about a social network post.",
"id": "ActivityContentDetailsSocial",
"properties": {
"author": {
"description": "The author of the social network post.",
"type": "string"
},
"imageUrl": {
"description": "An image of the post's author.",
"type": "string"
},
"referenceUrl": {
"description": "The URL of the social network post.",
"type": "string"
},
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object encapsulates information that identifies the resource associated with a social network post."
},
"type": {
"description": "The name of the social network.",
"enum": [
"facebook",
"googlePlus",
"twitter",
"unspecified"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"ActivityContentDetailsSubscription": {
"description": "Information about a channel that a user subscribed to.",
"id": "ActivityContentDetailsSubscription",
"properties": {
"resourceId": {
"$ref": "ResourceId",
"description": "The resourceId object contains information that identifies the resource that the user subscribed to."
}
},
"type": "object"
},
"ActivityContentDetailsUpload": {
"description": "Information about the uploaded video.",
"id": "ActivityContentDetailsUpload",
"properties": {
"videoId": {
"description": "The ID that YouTube uses to uniquely identify the uploaded video.",
"type": "string"
}
},
"type": "object"
},
"ActivityListResponse": {
"id": "ActivityListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of activities, or events, that match the request criteria.",
"items": {
"$ref": "Activity"
},
"type": "array"
},
"kind": {
"default": "youtube#activityListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#activityListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"ActivitySnippet": {
"description": "Basic details about an activity, including title, description, thumbnails, activity type and group.",
"id": "ActivitySnippet",
"properties": {
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the channel associated with the activity.",
"type": "string"
},
"channelTitle": {
"description": "Channel title for the channel responsible for this activity",
"type": "string"
},
"description": {
"annotations": {
"required": [
"youtube.activities.insert"
]
},
"description": "The description of the resource primarily associated with the activity.",
"type": "string"
},
"groupId": {
"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.",
"type": "string"
},
"publishedAt": {
"description": "The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"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."
},
"title": {
"description": "The title of the resource primarily associated with the activity.",
"type": "string"
},
"type": {
"description": "The type of activity that the resource describes.",
"enum": [
"bulletin",
"channelItem",
"comment",
"favorite",
"like",
"playlistItem",
"promotedItem",
"recommendation",
"social",
"subscription",
"upload"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"Caption": {
"description": "A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.",
"id": "Caption",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"annotations": {
"required": [
"youtube.captions.update"
]
},
"description": "The ID that YouTube uses to uniquely identify the caption track.",
"type": "string"
},
"kind": {
"default": "youtube#caption",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#caption\".",
"type": "string"
},
"snippet": {
"$ref": "CaptionSnippet",
"description": "The snippet object contains basic details about the caption."
}
},
"type": "object"
},
"CaptionListResponse": {
"id": "CaptionListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of captions that match the request criteria.",
"items": {
"$ref": "Caption"
},
"type": "array"
},
"kind": {
"default": "youtube#captionListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#captionListResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"CaptionSnippet": {
"description": "Basic details about a caption track, such as its language and name.",
"id": "CaptionSnippet",
"properties": {
"audioTrackType": {
"description": "The type of audio track associated with the caption track.",
"enum": [
"commentary",
"descriptive",
"primary",
"unknown"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"failureReason": {
"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": [
"processingFailed",
"unknownFormat",
"unsupportedFormat"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"isAutoSynced": {
"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.",
"type": "boolean"
},
"isCC": {
"description": "Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.",
"type": "boolean"
},
"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.",
"type": "boolean"
},
"isEasyReader": {
"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.",
"type": "boolean"
},
"isLarge": {
"description": "Indicates whether the caption track uses large text for the vision-impaired. The default value is false.",
"type": "boolean"
},
"language": {
"annotations": {
"required": [
"youtube.captions.insert"
]
},
"description": "The language of the caption track. The property value is a BCP-47 language tag.",
"type": "string"
},
"lastUpdated": {
"description": "The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"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"
},
"status": {
"description": "The caption track's status.",
"enum": [
"failed",
"serving",
"syncing"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"trackKind": {
"description": "The caption track's type.",
"enum": [
"ASR",
"forced",
"standard"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"videoId": {
"annotations": {
"required": [
"youtube.captions.insert"
]
},
"description": "The ID that YouTube uses to uniquely identify the video associated with the caption track.",
"type": "string"
}
},
"type": "object"
},
"CdnSettings": {
"description": "Brief description of the live stream cdn settings.",
"id": "CdnSettings",
"properties": {
"format": {
"annotations": {
"required": [
"youtube.liveStreams.insert",
"youtube.liveStreams.update"
]
},
"description": "The format of the video stream that you are sending to Youtube.",
"type": "string"
},
"frameRate": {
"description": "The frame rate of the inbound video data.",
"enum": [
"30fps",
"60fps",
"variable"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"ingestionInfo": {
"$ref": "IngestionInfo",
"description": "The ingestionInfo object contains information that YouTube provides that you need to transmit your RTMP or HTTP stream to YouTube."
},
"ingestionType": {
"annotations": {
"required": [
"youtube.liveStreams.insert",
"youtube.liveStreams.update"
]
},
"description": "The method or protocol used to transmit the video stream.",
"enum": [
"dash",
"http",
"rtmp",
"webrtc"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"resolution": {
"description": "The resolution of the inbound video data.",
"enum": [
"1080p",
"1440p",
"2160p",
"240p",
"360p",
"480p",
"720p",
"variable"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"Channel": {
"description": "A channel resource contains information about a YouTube channel.",
"id": "Channel",
"properties": {
"auditDetails": {
"$ref": "ChannelAuditDetails",
"description": "The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process."
},
"brandingSettings": {
"$ref": "ChannelBrandingSettings",
"description": "The brandingSettings object encapsulates information about the branding of the channel."
},
"contentDetails": {
"$ref": "ChannelContentDetails",
"description": "The contentDetails object encapsulates information about the channel's content."
},
"contentOwnerDetails": {
"$ref": "ChannelContentOwnerDetails",
"description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel."
},
"conversionPings": {
"$ref": "ChannelConversionPings",
"description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the channel.",
"type": "string"
},
"invideoPromotion": {
"$ref": "InvideoPromotion",
"description": "The invideoPromotion object encapsulates information about promotion campaign associated with the channel."
},
"kind": {
"default": "youtube#channel",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channel\".",
"type": "string"
},
"localizations": {
"additionalProperties": {
"$ref": "ChannelLocalization",
"description": "The language tag, using string since map_key require simple types."
},
"description": "Localizations for different languages",
"type": "object"
},
"snippet": {
"$ref": "ChannelSnippet",
"description": "The snippet object contains basic details about the channel, such as its title, description, and thumbnail images."
},
"statistics": {
"$ref": "ChannelStatistics",
"description": "The statistics object encapsulates statistics for the channel."
},
"status": {
"$ref": "ChannelStatus",
"description": "The status object encapsulates information about the privacy status of the channel."
},
"topicDetails": {
"$ref": "ChannelTopicDetails",
"description": "The topicDetails object encapsulates information about Freebase topics associated with the channel."
}
},
"type": "object"
},
"ChannelAuditDetails": {
"description": "The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.",
"id": "ChannelAuditDetails",
"properties": {
"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"
},
"copyrightStrikesGoodStanding": {
"description": "Whether or not the channel has any copyright strikes.",
"type": "boolean"
}
},
"type": "object"
},
"ChannelBannerResource": {
"description": "A channel banner returned as the response to a channel_banner.insert call.",
"id": "ChannelBannerResource",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"kind": {
"default": "youtube#channelBannerResource",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelBannerResource\".",
"type": "string"
},
"url": {
"description": "The URL of this banner image.",
"type": "string"
}
},
"type": "object"
},
"ChannelBrandingSettings": {
"description": "Branding properties of a YouTube channel.",
"id": "ChannelBrandingSettings",
"properties": {
"channel": {
"$ref": "ChannelSettings",
"description": "Branding properties for the channel view."
},
"hints": {
"description": "Additional experimental branding properties.",
"items": {
"$ref": "PropertyValue"
},
"type": "array"
},
"image": {
"$ref": "ImageSettings",
"description": "Branding properties for branding images."
},
"watch": {
"$ref": "WatchSettings",
"description": "Branding properties for the watch page."
}
},
"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"
},
"uploads": {
"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.",
"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"
},
"watchLater": {
"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": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"ChannelContentOwnerDetails": {
"description": "The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.",
"id": "ChannelContentOwnerDetails",
"properties": {
"contentOwner": {
"description": "The ID of the content owner linked to the channel.",
"type": "string"
},
"timeLinked": {
"description": "The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"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.",
"id": "ChannelConversionPing",
"properties": {
"context": {
"description": "Defines the context of the ping.",
"enum": [
"cview",
"subscribe",
"unsubscribe"
],
"enumDescriptions": [
"",
"",
""
],
"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\u0026labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.",
"type": "string"
}
},
"type": "object"
},
"ChannelConversionPings": {
"description": "The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.",
"id": "ChannelConversionPings",
"properties": {
"pings": {
"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.",
"items": {
"$ref": "ChannelConversionPing"
},
"type": "array"
}
},
"type": "object"
},
"ChannelListResponse": {
"id": "ChannelListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of channels that match the request criteria.",
"items": {
"$ref": "Channel"
},
"type": "array"
},
"kind": {
"default": "youtube#channelListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"ChannelLocalization": {
"description": "Channel localization setting",
"id": "ChannelLocalization",
"properties": {
"description": {
"description": "The localized strings for channel's description.",
"type": "string"
},
"title": {
"description": "The localized strings for channel's title.",
"type": "string"
}
},
"type": "object"
},
"ChannelProfileDetails": {
"id": "ChannelProfileDetails",
"properties": {
"channelId": {
"description": "The YouTube channel ID.",
"type": "string"
},
"channelUrl": {
"description": "The channel's URL.",
"type": "string"
},
"displayName": {
"description": "The channel's display name.",
"type": "string"
},
"profileImageUrl": {
"description": "The channels's avatar URL.",
"type": "string"
}
},
"type": "object"
},
"ChannelSection": {
"id": "ChannelSection",
"properties": {
"contentDetails": {
"$ref": "ChannelSectionContentDetails",
"description": "The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the channel section.",
"type": "string"
},
"kind": {
"default": "youtube#channelSection",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSection\".",
"type": "string"
},
"localizations": {
"additionalProperties": {
"$ref": "ChannelSectionLocalization",
"description": "The language tag, using string since map_key require simple types."
},
"description": "Localizations for different languages",
"type": "object"
},
"snippet": {
"$ref": "ChannelSectionSnippet",
"description": "The snippet object contains basic details about the channel section, such as its type, style and title."
},
"targeting": {
"$ref": "ChannelSectionTargeting",
"description": "The targeting object contains basic targeting settings about the channel section."
}
},
"type": "object"
},
"ChannelSectionContentDetails": {
"description": "Details about a channelsection, including playlists and channels.",
"id": "ChannelSectionContentDetails",
"properties": {
"channels": {
"description": "The channel ids for type multiple_channels.",
"items": {
"type": "string"
},
"type": "array"
},
"playlists": {
"description": "The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ChannelSectionListResponse": {
"id": "ChannelSectionListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of ChannelSections that match the request criteria.",
"items": {
"$ref": "ChannelSection"
},
"type": "array"
},
"kind": {
"default": "youtube#channelSectionListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#channelSectionListResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"ChannelSectionLocalization": {
"description": "ChannelSection localization setting",
"id": "ChannelSectionLocalization",
"properties": {
"title": {
"description": "The localized strings for channel section's title.",
"type": "string"
}
},
"type": "object"
},
"ChannelSectionSnippet": {
"description": "Basic details about a channel section, including title, style and position.",
"id": "ChannelSectionSnippet",
"properties": {
"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"
},
"localized": {
"$ref": "ChannelSectionLocalization",
"description": "Localized title, read-only."
},
"position": {
"description": "The position of the channel section in the channel.",
"format": "uint32",
"type": "integer"
},
"style": {
"description": "The style of the channel section.",
"enum": [
"channelsectionStyleUndefined",
"horizontalRow",
"verticalList"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"title": {
"description": "The channel section's title for multiple_playlists and multiple_channels.",
"type": "string"
},
"type": {
"description": "The type of the channel section.",
"enum": [
"allPlaylists",
"channelsectionTypeUndefined",
"completedEvents",
"likedPlaylists",
"likes",
"liveEvents",
"multipleChannels",
"multiplePlaylists",
"popularUploads",
"postedPlaylists",
"postedVideos",
"recentActivity",
"recentPosts",
"recentUploads",
"singlePlaylist",
"subscriptions",
"upcomingEvents"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"ChannelSectionTargeting": {
"description": "ChannelSection targeting setting.",
"id": "ChannelSectionTargeting",
"properties": {
"countries": {
"description": "The country the channel section is targeting.",
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"description": "The language the channel section is targeting.",
"items": {
"type": "string"
},
"type": "array"
},
"regions": {
"description": "The region the channel section is targeting.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ChannelSettings": {
"description": "Branding properties for the channel view.",
"id": "ChannelSettings",
"properties": {
"country": {
"description": "The country of the channel.",
"type": "string"
},
"defaultLanguage": {
"type": "string"
},
"defaultTab": {
"description": "Which content tab users should see when viewing the channel.",
"type": "string"
},
"description": {
"description": "Specifies the channel description.",
"type": "string"
},
"featuredChannelsTitle": {
"description": "Title for the featured channels tab.",
"type": "string"
},
"featuredChannelsUrls": {
"description": "The list of featured channels.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Lists keywords associated with the channel, comma-separated.",
"type": "string"
},
"moderateComments": {
"description": "Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.",
"type": "boolean"
},
"profileColor": {
"description": "A prominent color that can be rendered on this channel page.",
"type": "string"
},
"showBrowseView": {
"description": "Whether the tab to browse the videos should be displayed.",
"type": "boolean"
},
"showRelatedChannels": {
"description": "Whether related channels should be proposed.",
"type": "boolean"
},
"title": {
"description": "Specifies the channel title.",
"type": "string"
},
"trackingAnalyticsAccountId": {
"description": "The ID for a Google Analytics account to track and measure traffic to the channels.",
"type": "string"
},
"unsubscribedTrailer": {
"description": "The trailer of the channel, for users that are not subscribers.",
"type": "string"
}
},
"type": "object"
},
"ChannelSnippet": {
"description": "Basic details about a channel, including title, description and thumbnails.",
"id": "ChannelSnippet",
"properties": {
"country": {
"description": "The country of the channel.",
"type": "string"
},
"customUrl": {
"description": "The custom url of the channel.",
"type": "string"
},
"defaultLanguage": {
"description": "The language of the channel's default title and description.",
"type": "string"
},
"description": {
"description": "The description of the channel.",
"type": "string"
},
"localized": {
"$ref": "ChannelLocalization",
"description": "Localized title and description, read-only."
},
"publishedAt": {
"description": "The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"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.\n\nWhen 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.\n\nBeginning 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."
},
"title": {
"description": "The channel's title.",
"type": "string"
}
},
"type": "object"
},
"ChannelStatistics": {
"description": "Statistics about a channel: number of subscribers, number of videos in the channel, etc.",
"id": "ChannelStatistics",
"properties": {
"commentCount": {
"description": "The number of comments for the channel.",
"format": "uint64",
"type": "string"
},
"hiddenSubscriberCount": {
"description": "Whether or not the number of subscribers is shown for this user.",
"type": "boolean"
},
"subscriberCount": {
"description": "The number of subscribers that the channel has.",
"format": "uint64",
"type": "string"
},
"videoCount": {
"description": "The number of videos uploaded to the channel.",
"format": "uint64",
"type": "string"
},
"viewCount": {
"description": "The number of times the channel has been viewed.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"ChannelStatus": {
"description": "JSON template for the status part of a channel.",
"id": "ChannelStatus",
"properties": {
"isLinked": {
"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.",
"type": "boolean"
},
"longUploadsStatus": {
"description": "The long uploads status of this channel. See",
"enum": [
"allowed",
"disallowed",
"eligible",
"longUploadsUnspecified"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"privacyStatus": {
"description": "Privacy status of the channel.",
"enum": [
"private",
"public",
"unlisted",
"unlisted_new"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"ChannelTopicDetails": {
"description": "Freebase topic information related to the channel.",
"id": "ChannelTopicDetails",
"properties": {
"topicCategories": {
"description": "A list of Wikipedia URLs that describe the channel's content.",
"items": {
"type": "string"
},
"type": "array"
},
"topicIds": {
"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": "array"
}
},
"type": "object"
},
"Comment": {
"description": "A comment represents a single YouTube comment.",
"id": "Comment",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the comment.",
"type": "string"
},
"kind": {
"default": "youtube#comment",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#comment\".",
"type": "string"
},
"snippet": {
"$ref": "CommentSnippet",
"description": "The snippet object contains basic details about the comment."
}
},
"type": "object"
},
"CommentListResponse": {
"id": "CommentListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of comments that match the request criteria.",
"items": {
"$ref": "Comment"
},
"type": "array"
},
"kind": {
"default": "youtube#commentListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentListResponse\".",
"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"
},
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"CommentSnippet": {
"description": "Basic details about a comment, such as its author and text.",
"id": "CommentSnippet",
"properties": {
"authorChannelId": {
"description": "The id of the author's YouTube channel, if any.",
"type": "any"
},
"authorChannelUrl": {
"description": "Link to the author's YouTube channel, if any.",
"type": "string"
},
"authorDisplayName": {
"description": "The name of the user who posted the comment.",
"type": "string"
},
"authorProfileImageUrl": {
"description": "The URL for the avatar of the user who posted the comment.",
"type": "string"
},
"canRate": {
"description": "Whether the current viewer can rate this comment.",
"type": "boolean"
},
"channelId": {
"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.",
"type": "string"
},
"likeCount": {
"description": "The total number of likes this comment has received.",
"format": "uint32",
"type": "integer"
},
"moderationStatus": {
"description": "The comment's moderation status. Will not be set if the comments were requested through the id filter.",
"enum": [
"heldForReview",
"likelySpam",
"published",
"rejected"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"parentId": {
"description": "The unique id of the parent comment, only set for replies.",
"type": "string"
},
"publishedAt": {
"description": "The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"textDisplay": {
"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.",
"type": "string"
},
"textOriginal": {
"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.",
"type": "string"
},
"updatedAt": {
"description": "The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"videoId": {
"description": "The ID of the video the comment refers to, if any.",
"type": "string"
},
"viewerRating": {
"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": [
"dislike",
"like",
"none",
"unspecified"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"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.",
"id": "CommentThread",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the comment thread.",
"type": "string"
},
"kind": {
"default": "youtube#commentThread",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThread\".",
"type": "string"
},
"replies": {
"$ref": "CommentThreadReplies",
"description": "The replies object contains a limited number of replies (if any) to the top level comment found in the snippet."
},
"snippet": {
"$ref": "CommentThreadSnippet",
"description": "The snippet object contains basic details about the comment thread and also the top level comment."
}
},
"type": "object"
},
"CommentThreadListResponse": {
"id": "CommentThreadListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of comment threads that match the request criteria.",
"items": {
"$ref": "CommentThread"
},
"type": "array"
},
"kind": {
"default": "youtube#commentThreadListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentThreadListResponse\".",
"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"
},
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"CommentThreadReplies": {
"description": "Comments written in (direct or indirect) reply to the top level comment.",
"id": "CommentThreadReplies",
"properties": {
"comments": {
"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.",
"items": {
"$ref": "Comment"
},
"type": "array"
}
},
"type": "object"
},
"CommentThreadSnippet": {
"description": "Basic details about a comment thread.",
"id": "CommentThreadSnippet",
"properties": {
"canReply": {
"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.",
"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"
},
"isPublic": {
"description": "Whether the thread (and therefore all its comments) is visible to all YouTube users.",
"type": "boolean"
},
"topLevelComment": {
"$ref": "Comment",
"description": "The top level comment of this thread."
},
"totalReplyCount": {
"description": "The total number of replies (not including the top level comment).",
"format": "uint32",
"type": "integer"
},
"videoId": {
"description": "The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.",
"type": "string"
}
},
"type": "object"
},
"ContentRating": {
"description": "Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 71",
"id": "ContentRating",
"properties": {
"acbRating": {
"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.",
"enum": [
"acbC",
"acbE",
"acbG",
"acbM",
"acbMa15plus",
"acbP",
"acbPg",
"acbR18plus",
"acbUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"agcomRating": {
"description": "The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).",
"enum": [
"agcomT",
"agcomUnrated",
"agcomVm14",
"agcomVm18"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"anatelRating": {
"description": "The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.",
"enum": [
"anatelA",
"anatelF",
"anatelI",
"anatelI10",
"anatelI12",
"anatelI7",
"anatelR",
"anatelUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"bbfcRating": {
"description": "The video's British Board of Film Classification (BBFC) rating.",
"enum": [
"bbfc12",
"bbfc12a",
"bbfc15",
"bbfc18",
"bbfcPg",
"bbfcR18",
"bbfcU",
"bbfcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"bfvcRating": {
"description": "The video's rating from Thailand's Board of Film and Video Censors.",
"enum": [
"bfvc13",
"bfvc15",
"bfvc18",
"bfvc20",
"bfvcB",
"bfvcE",
"bfvcG",
"bfvcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"bmukkRating": {
"description": "The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).",
"enum": [
"bmukk10",
"bmukk12",
"bmukk14",
"bmukk16",
"bmukk6",
"bmukk8",
"bmukkAa",
"bmukkUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"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.",
"enum": [
"catv14plus",
"catv18plus",
"catvC",
"catvC8",
"catvG",
"catvPg",
"catvUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"catvfrRating": {
"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.",
"enum": [
"catvfr13plus",
"catvfr16plus",
"catvfr18plus",
"catvfr8plus",
"catvfrG",
"catvfrUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"cbfcRating": {
"description": "The video's Central Board of Film Certification (CBFC - India) rating.",
"enum": [
"cbfcA",
"cbfcS",
"cbfcU",
"cbfcUA",
"cbfcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"cccRating": {
"description": "The video's Consejo de Calificación Cinematográfica (Chile) rating.",
"enum": [
"ccc14",
"ccc18",
"ccc18s",
"ccc18v",
"ccc6",
"cccTe",
"cccUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"cceRating": {
"description": "The video's rating from Portugal's Comissão de Classificação de Espect´culos.",
"enum": [
"cceM12",
"cceM14",
"cceM16",
"cceM18",
"cceM4",
"cceM6",
"cceUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"chfilmRating": {
"description": "The video's rating in Switzerland.",
"enum": [
"chfilm0",
"chfilm12",
"chfilm16",
"chfilm18",
"chfilm6",
"chfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"chvrsRating": {
"description": "The video's Canadian Home Video Rating System (CHVRS) rating.",
"enum": [
"chvrs14a",
"chvrs18a",
"chvrsE",
"chvrsG",
"chvrsPg",
"chvrsR",
"chvrsUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"cicfRating": {
"description": "The video's rating from the Commission de Contrôle des Films (Belgium).",
"enum": [
"cicfE",
"cicfKntEna",
"cicfKtEa",
"cicfUnrated"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"cnaRating": {
"description": "The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).",
"enum": [
"cna12",
"cna15",
"cna18",
"cna18plus",
"cnaAp",
"cnaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"cncRating": {
"description": "Rating system in France - Commission de classification cinematographique",
"enum": [
"cnc10",
"cnc12",
"cnc16",
"cnc18",
"cncE",
"cncInterdiction",
"cncT",
"cncUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"csaRating": {
"description": "The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content.",
"enum": [
"csa10",
"csa12",
"csa16",
"csa18",
"csaInterdiction",
"csaT",
"csaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"cscfRating": {
"description": "The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).",
"enum": [
"cscf12",
"cscf16",
"cscf18",
"cscf6",
"cscf9",
"cscfA",
"cscfAl",
"cscfUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"czfilmRating": {
"description": "The video's rating in the Czech Republic.",
"enum": [
"czfilm12",
"czfilm14",
"czfilm18",
"czfilmU",
"czfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"djctqRating": {
"description": "The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.",
"enum": [
"djctq10",
"djctq1012",
"djctq1014",
"djctq1016",
"djctq1018",
"djctq12",
"djctq1214",
"djctq1216",
"djctq1218",
"djctq14",
"djctq1416",
"djctq1418",
"djctq16",
"djctq1618",
"djctq18",
"djctqEr",
"djctqL",
"djctqL10",
"djctqL12",
"djctqL14",
"djctqL16",
"djctqL18",
"djctqUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"djctqRatingReasons": {
"description": "Reasons that explain why the video received its DJCQT (Brazil) rating.",
"items": {
"enum": [
"djctqCriminalActs",
"djctqDrugs",
"djctqExplicitSex",
"djctqExtremeViolence",
"djctqIllegalDrugs",
"djctqImpactingContent",
"djctqInappropriateLanguage",
"djctqLegalDrugs",
"djctqNudity",
"djctqSex",
"djctqSexualContent",
"djctqViolence"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"ecbmctRating": {
"description": "Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism",
"enum": [
"ecbmct13a",
"ecbmct13plus",
"ecbmct15a",
"ecbmct15plus",
"ecbmct18plus",
"ecbmct7a",
"ecbmct7plus",
"ecbmctG",
"ecbmctUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"eefilmRating": {
"description": "The video's rating in Estonia.",
"enum": [
"eefilmK12",
"eefilmK14",
"eefilmK16",
"eefilmK6",
"eefilmL",
"eefilmMs12",
"eefilmMs6",
"eefilmPere",
"eefilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"egfilmRating": {
"description": "The video's rating in Egypt.",
"enum": [
"egfilm18",
"egfilmBn",
"egfilmGn",
"egfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"eirinRating": {
"description": "The video's Eirin (映倫) rating. Eirin is the Japanese rating system.",
"enum": [
"eirinG",
"eirinPg12",
"eirinR15plus",
"eirinR18plus",
"eirinUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"fcbmRating": {
"description": "The video's rating from Malaysia's Film Censorship Board.",
"enum": [
"fcbm18",
"fcbm18pa",
"fcbm18pl",
"fcbm18sg",
"fcbm18sx",
"fcbmP13",
"fcbmPg13",
"fcbmU",
"fcbmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"fcoRating": {
"description": "The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.",
"enum": [
"fcoI",
"fcoIi",
"fcoIia",
"fcoIib",
"fcoIii",
"fcoUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"fmocRating": {
"description": "This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.",
"enum": [
"fmoc10",
"fmoc12",
"fmoc16",
"fmoc18",
"fmocE",
"fmocU",
"fmocUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"fpbRating": {
"description": "The video's rating from South Africa's Film and Publication Board.",
"enum": [
"fpb10",
"fpb1012Pg",
"fpb13",
"fpb16",
"fpb18",
"fpb79Pg",
"fpbA",
"fpbPg",
"fpbUnrated",
"fpbX18",
"fpbXx"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"fpbRatingReasons": {
"description": "Reasons that explain why the video received its FPB (South Africa) rating.",
"items": {
"enum": [
"fpbBlasphemy",
"fpbCriminalTechniques",
"fpbDrugs",
"fpbHorror",
"fpbImitativeActsTechniques",
"fpbLanguage",
"fpbNudity",
"fpbPrejudice",
"fpbSex",
"fpbSexualViolence",
"fpbViolence"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"fskRating": {
"description": "The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.",
"enum": [
"fsk0",
"fsk12",
"fsk16",
"fsk18",
"fsk6",
"fskUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"grfilmRating": {
"description": "The video's rating in Greece.",
"enum": [
"grfilmE",
"grfilmK",
"grfilmK12",
"grfilmK13",
"grfilmK15",
"grfilmK17",
"grfilmK18",
"grfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"icaaRating": {
"description": "The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.",
"enum": [
"icaa12",
"icaa13",
"icaa16",
"icaa18",
"icaa7",
"icaaApta",
"icaaUnrated",
"icaaX"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"ifcoRating": {
"description": "The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.",
"enum": [
"ifco12",
"ifco12a",
"ifco15",
"ifco15a",
"ifco16",
"ifco18",
"ifcoG",
"ifcoPg",
"ifcoUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"ilfilmRating": {
"description": "The video's rating in Israel.",
"enum": [
"ilfilm12",
"ilfilm14",
"ilfilm16",
"ilfilm18",
"ilfilmAa",
"ilfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"incaaRating": {
"description": "The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.",
"enum": [
"incaaAtp",
"incaaC",
"incaaSam13",
"incaaSam16",
"incaaSam18",
"incaaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"kfcbRating": {
"description": "The video's rating from the Kenya Film Classification Board.",
"enum": [
"kfcb16plus",
"kfcbG",
"kfcbPg",
"kfcbR",
"kfcbUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"kijkwijzerRating": {
"description": "voor de Classificatie van Audiovisuele Media (Netherlands).",
"enum": [
"kijkwijzer12",
"kijkwijzer16",
"kijkwijzer18",
"kijkwijzer6",
"kijkwijzer9",
"kijkwijzerAl",
"kijkwijzerUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"kmrbRating": {
"description": "The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.",
"enum": [
"kmrb12plus",
"kmrb15plus",
"kmrbAll",
"kmrbR",
"kmrbTeenr",
"kmrbUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"lsfRating": {
"description": "The video's rating from Indonesia's Lembaga Sensor Film.",
"enum": [
"lsf13",
"lsf17",
"lsf21",
"lsfA",
"lsfBo",
"lsfD",
"lsfR",
"lsfSu",
"lsfUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mccaaRating": {
"description": "The video's rating from Malta's Film Age-Classification Board.",
"enum": [
"mccaa12",
"mccaa12a",
"mccaa14",
"mccaa15",
"mccaa16",
"mccaa18",
"mccaaPg",
"mccaaU",
"mccaaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mccypRating": {
"description": "The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.",
"enum": [
"mccyp11",
"mccyp15",
"mccyp7",
"mccypA",
"mccypUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"mcstRating": {
"description": "The video's rating system for Vietnam - MCST",
"enum": [
"mcst0",
"mcst16plus",
"mcstC13",
"mcstC16",
"mcstC18",
"mcstGPg",
"mcstP",
"mcstUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mdaRating": {
"description": "The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).",
"enum": [
"mdaG",
"mdaM18",
"mdaNc16",
"mdaPg",
"mdaPg13",
"mdaR21",
"mdaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"medietilsynetRating": {
"description": "The video's rating from Medietilsynet, the Norwegian Media Authority.",
"enum": [
"medietilsynet11",
"medietilsynet12",
"medietilsynet15",
"medietilsynet18",
"medietilsynet6",
"medietilsynet7",
"medietilsynet9",
"medietilsynetA",
"medietilsynetUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mekuRating": {
"description": "The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).",
"enum": [
"meku12",
"meku16",
"meku18",
"meku7",
"mekuS",
"mekuUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"menaMpaaRating": {
"description": "The rating system for MENA countries, a clone of MPAA. It is needed to",
"enum": [
"menaMpaaG",
"menaMpaaPg",
"menaMpaaPg13",
"menaMpaaR",
"menaMpaaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"mibacRating": {
"description": "The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).",
"enum": [
"mibacT",
"mibacUnrated",
"mibacVap",
"mibacVm12",
"mibacVm14",
"mibacVm18"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mocRating": {
"description": "The video's Ministerio de Cultura (Colombia) rating.",
"enum": [
"moc12",
"moc15",
"moc18",
"moc7",
"mocBanned",
"mocE",
"mocT",
"mocUnrated",
"mocX"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"moctwRating": {
"description": "The video's rating from Taiwan's Ministry of Culture (文化部).",
"enum": [
"moctwG",
"moctwP",
"moctwPg",
"moctwR",
"moctwR12",
"moctwR15",
"moctwUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mpaaRating": {
"description": "The video's Motion Picture Association of America (MPAA) rating.",
"enum": [
"mpaaG",
"mpaaNc17",
"mpaaPg",
"mpaaPg13",
"mpaaR",
"mpaaUnrated",
"mpaaX"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"mpaatRating": {
"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.",
"enum": [
"mpaatGb",
"mpaatRb"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"mtrcbRating": {
"description": "The video's rating from the Movie and Television Review and Classification Board (Philippines).",
"enum": [
"mtrcbG",
"mtrcbPg",
"mtrcbR13",
"mtrcbR16",
"mtrcbR18",
"mtrcbUnrated",
"mtrcbX"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"nbcRating": {
"description": "The video's rating from the Maldives National Bureau of Classification.",
"enum": [
"nbc12plus",
"nbc15plus",
"nbc18plus",
"nbc18plusr",
"nbcG",
"nbcPg",
"nbcPu",
"nbcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"nbcplRating": {
"description": "The video's rating in Poland.",
"enum": [
"nbcpl18plus",
"nbcplI",
"nbcplIi",
"nbcplIii",
"nbcplIv",
"nbcplUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"nfrcRating": {
"description": "The video's rating from the Bulgarian National Film Center.",
"enum": [
"nfrcA",
"nfrcB",
"nfrcC",
"nfrcD",
"nfrcUnrated",
"nfrcX"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"nfvcbRating": {
"description": "The video's rating from Nigeria's National Film and Video Censors Board.",
"enum": [
"nfvcb12",
"nfvcb12a",
"nfvcb15",
"nfvcb18",
"nfvcbG",
"nfvcbPg",
"nfvcbRe",
"nfvcbUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"nkclvRating": {
"description": "The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).",
"enum": [
"nkclv12plus",
"nkclv18plus",
"nkclv7plus",
"nkclvU",
"nkclvUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"oflcRating": {
"description": "The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.",
"enum": [
"oflcG",
"oflcM",
"oflcPg",
"oflcR13",
"oflcR15",
"oflcR16",
"oflcR18",
"oflcRp13",
"oflcRp16",
"oflcRp18",
"oflcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"pefilmRating": {
"description": "The video's rating in Peru.",
"enum": [
"pefilm14",
"pefilm18",
"pefilmPg",
"pefilmPt",
"pefilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"rcnofRating": {
"description": "The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.",
"enum": [
"rcnofI",
"rcnofIi",
"rcnofIii",
"rcnofIv",
"rcnofUnrated",
"rcnofV",
"rcnofVi"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"resorteviolenciaRating": {
"description": "The video's rating in Venezuela.",
"enum": [
"resorteviolenciaA",
"resorteviolenciaB",
"resorteviolenciaC",
"resorteviolenciaD",
"resorteviolenciaE",
"resorteviolenciaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"rtcRating": {
"description": "The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.",
"enum": [
"rtcA",
"rtcAa",
"rtcB",
"rtcB15",
"rtcC",
"rtcD",
"rtcUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"rteRating": {
"description": "The video's rating from Ireland's Raidió Teilifís Éireann.",
"enum": [
"rteCh",
"rteGa",
"rteMa",
"rtePs",
"rteUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"russiaRating": {
"description": "The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.",
"enum": [
"russia0",
"russia12",
"russia16",
"russia18",
"russia6",
"russiaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"skfilmRating": {
"description": "The video's rating in Slovakia.",
"enum": [
"skfilmG",
"skfilmP2",
"skfilmP5",
"skfilmP8",
"skfilmUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"smaisRating": {
"description": "The video's rating in Iceland.",
"enum": [
"smais12",
"smais14",
"smais16",
"smais18",
"smais7",
"smaisL",
"smaisUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"smsaRating": {
"description": "The video's rating from Statens medieråd (Sweden's National Media Council).",
"enum": [
"smsa11",
"smsa15",
"smsa7",
"smsaA",
"smsaUnrated"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"tvpgRating": {
"description": "The video's TV Parental Guidelines (TVPG) rating.",
"enum": [
"pg14",
"tvpgG",
"tvpgMa",
"tvpgPg",
"tvpgUnrated",
"tvpgY",
"tvpgY7",
"tvpgY7Fv"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"ytRating": {
"description": "A rating that YouTube uses to identify age-restricted content.",
"enum": [
"ytAgeRestricted"
],
"enumDescriptions": [
""
],
"type": "string"
}
},
"type": "object"
},
"GeoPoint": {
"description": "Geographical coordinates of a point, in WGS84.",
"id": "GeoPoint",
"properties": {
"altitude": {
"description": "Altitude above the reference ellipsoid, in meters.",
"format": "double",
"type": "number"
},
"latitude": {
"description": "Latitude in degrees.",
"format": "double",
"type": "number"
},
"longitude": {
"description": "Longitude in degrees.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GuideCategory": {
"description": "A guideCategory resource identifies a category that YouTube algorithmically assigns based on a channel's content or other indicators, such as the channel's popularity. The list is similar to video categories, with the difference being that a video's uploader can assign a video category but only YouTube can assign a channel category.",
"id": "GuideCategory",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the guide category.",
"type": "string"
},
"kind": {
"default": "youtube#guideCategory",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#guideCategory\".",
"type": "string"
},
"snippet": {
"$ref": "GuideCategorySnippet",
"description": "The snippet object contains basic details about the category, such as its title."
}
},
"type": "object"
},
"GuideCategoryListResponse": {
"id": "GuideCategoryListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of categories that can be associated with YouTube channels. In this map, the category ID is the map key, and its value is the corresponding guideCategory resource.",
"items": {
"$ref": "GuideCategory"
},
"type": "array"
},
"kind": {
"default": "youtube#guideCategoryListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#guideCategoryListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"GuideCategorySnippet": {
"description": "Basic details about a guide category.",
"id": "GuideCategorySnippet",
"properties": {
"channelId": {
"default": "UCBR8-60-B28hp2BmDPdntcQ",
"type": "string"
},
"title": {
"description": "Description of the guide category.",
"type": "string"
}
},
"type": "object"
},
"I18nLanguage": {
"description": "An i18nLanguage resource identifies a UI language currently supported by YouTube.",
"id": "I18nLanguage",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the i18n language.",
"type": "string"
},
"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."
}
},
"type": "object"
},
"I18nLanguageListResponse": {
"id": "I18nLanguageListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"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.",
"items": {
"$ref": "I18nLanguage"
},
"type": "array"
},
"kind": {
"default": "youtube#i18nLanguageListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nLanguageListResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"I18nLanguageSnippet": {
"description": "Basic details about an i18n language, such as language code and human-readable name.",
"id": "I18nLanguageSnippet",
"properties": {
"hl": {
"description": "A short BCP-47 code that uniquely identifies a language.",
"type": "string"
},
"name": {
"description": "The human-readable name of the language in the language itself.",
"type": "string"
}
},
"type": "object"
},
"I18nRegion": {
"description": "A i18nRegion resource identifies a region where YouTube is available.",
"id": "I18nRegion",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the i18n region.",
"type": "string"
},
"kind": {
"default": "youtube#i18nRegion",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegion\".",
"type": "string"
},
"snippet": {
"$ref": "I18nRegionSnippet",
"description": "The snippet object contains basic details about the i18n region, such as region code and human-readable name."
}
},
"type": "object"
},
"I18nRegionListResponse": {
"id": "I18nRegionListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"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.",
"items": {
"$ref": "I18nRegion"
},
"type": "array"
},
"kind": {
"default": "youtube#i18nRegionListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#i18nRegionListResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"I18nRegionSnippet": {
"description": "Basic details about an i18n region, such as region code and human-readable name.",
"id": "I18nRegionSnippet",
"properties": {
"gl": {
"description": "The region code as a 2-letter ISO country code.",
"type": "string"
},
"name": {
"description": "The human-readable name of the region.",
"type": "string"
}
},
"type": "object"
},
"ImageSettings": {
"description": "Branding properties for images associated with the channel.",
"id": "ImageSettings",
"properties": {
"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."
},
"bannerExternalUrl": {
"description": "This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs.",
"type": "string"
},
"bannerImageUrl": {
"description": "Banner image. Desktop size (1060x175).",
"type": "string"
},
"bannerMobileExtraHdImageUrl": {
"description": "Banner image. Mobile size high resolution (1440x395).",
"type": "string"
},
"bannerMobileHdImageUrl": {
"description": "Banner image. Mobile size high resolution (1280x360).",
"type": "string"
},
"bannerMobileImageUrl": {
"description": "Banner image. Mobile size (640x175).",
"type": "string"
},
"bannerMobileLowImageUrl": {
"description": "Banner image. Mobile size low resolution (320x88).",
"type": "string"
},
"bannerMobileMediumHdImageUrl": {
"description": "Banner image. Mobile size medium/high resolution (960x263).",
"type": "string"
},
"bannerTabletExtraHdImageUrl": {
"description": "Banner image. Tablet size extra high resolution (2560x424).",
"type": "string"
},
"bannerTabletHdImageUrl": {
"description": "Banner image. Tablet size high resolution (2276x377).",
"type": "string"
},
"bannerTabletImageUrl": {
"description": "Banner image. Tablet size (1707x283).",
"type": "string"
},
"bannerTabletLowImageUrl": {
"description": "Banner image. Tablet size low resolution (1138x188).",
"type": "string"
},
"bannerTvHighImageUrl": {
"description": "Banner image. TV size high resolution (1920x1080).",
"type": "string"
},
"bannerTvImageUrl": {
"description": "Banner image. TV size extra high resolution (2120x1192).",
"type": "string"
},
"bannerTvLowImageUrl": {
"description": "Banner image. TV size low resolution (854x480).",
"type": "string"
},
"bannerTvMediumImageUrl": {
"description": "Banner image. TV size medium resolution (1280x720).",
"type": "string"
},
"largeBrandedBannerImageImapScript": {
"$ref": "LocalizedProperty",
"description": "The image map script for the large banner image."
},
"largeBrandedBannerImageUrl": {
"$ref": "LocalizedProperty",
"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."
},
"smallBrandedBannerImageImapScript": {
"$ref": "LocalizedProperty",
"description": "The image map script for the small banner image."
},
"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."
},
"trackingImageUrl": {
"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.",
"type": "string"
},
"watchIconImageUrl": {
"description": "The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.",
"type": "string"
}
},
"type": "object"
},
"IngestionInfo": {
"description": "Describes information necessary for ingesting an RTMP or an HTTP stream.",
"id": "IngestionInfo",
"properties": {
"backupIngestionAddress": {
"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.",
"type": "string"
},
"ingestionAddress": {
"description": "The primary ingestion URL that you should use to stream video to YouTube. You must stream video to this URL.\n\nDepending on which application or tool you use to encode your video stream, you may need to enter the stream URL and stream name separately or you may need to concatenate them in the following format:\n\nSTREAM_URL/STREAM_NAME",
"type": "string"
},
"streamName": {
"description": "The HTTP or RTMP stream name that YouTube assigns to the video stream.",
"type": "string"
}
},
"type": "object"
},
"InvideoBranding": {
"id": "InvideoBranding",
"properties": {
"imageBytes": {
"format": "byte",
"type": "string"
},
"imageUrl": {
"type": "string"
},
"position": {
"$ref": "InvideoPosition"
},
"targetChannelId": {
"type": "string"
},
"timing": {
"$ref": "InvideoTiming"
}
},
"type": "object"
},
"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.",
"id": "InvideoPosition",
"properties": {
"cornerPosition": {
"description": "Describes in which corner of the video the visual widget will appear.",
"enum": [
"bottomLeft",
"bottomRight",
"topLeft",
"topRight"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"type": {
"description": "Defines the position type.",
"enum": [
"corner"
],
"enumDescriptions": [
""
],
"type": "string"
}
},
"type": "object"
},
"InvideoPromotion": {
"description": "Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.",
"id": "InvideoPromotion",
"properties": {
"defaultTiming": {
"$ref": "InvideoTiming",
"description": "The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item."
},
"items": {
"description": "List of promoted items in decreasing priority.",
"items": {
"$ref": "PromotedItem"
},
"type": "array"
},
"position": {
"$ref": "InvideoPosition",
"description": "The spatial position within the video where the promoted item will be displayed."
},
"useSmartTiming": {
"description": "Indicates whether the channel's promotional campaign uses \"smart timing.\" This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.",
"type": "boolean"
}
},
"type": "object"
},
"InvideoTiming": {
"description": "Describes a temporal position of a visual widget inside a video.",
"id": "InvideoTiming",
"properties": {
"durationMs": {
"description": "Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.",
"format": "uint64",
"type": "string"
},
"offsetMs": {
"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.",
"format": "uint64",
"type": "string"
},
"type": {
"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.",
"enum": [
"offsetFromEnd",
"offsetFromStart"
],
"enumDescriptions": [
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LanguageTag": {
"id": "LanguageTag",
"properties": {
"value": {
"type": "string"
}
},
"type": "object"
},
"LiveBroadcast": {
"description": "A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.",
"id": "LiveBroadcast",
"properties": {
"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."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"description": "The ID that YouTube assigns to uniquely identify the broadcast.",
"type": "string"
},
"kind": {
"default": "youtube#liveBroadcast",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcast\".",
"type": "string"
},
"snippet": {
"$ref": "LiveBroadcastSnippet",
"description": "The snippet object contains basic details about the event, including its title, description, start time, and end time."
},
"statistics": {
"$ref": "LiveBroadcastStatistics",
"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."
},
"status": {
"$ref": "LiveBroadcastStatus",
"description": "The status object contains information about the event's status."
}
},
"type": "object"
},
"LiveBroadcastContentDetails": {
"description": "Detailed settings of a broadcast.",
"id": "LiveBroadcastContentDetails",
"properties": {
"boundStreamId": {
"description": "This value uniquely identifies the live stream bound to the broadcast.",
"type": "string"
},
"boundStreamLastUpdateTimeMs": {
"description": "The date and time that the live stream referenced by boundStreamId was last updated.",
"format": "date-time",
"type": "string"
},
"closedCaptionsType": {
"enum": [
"closedCaptionsDisabled",
"closedCaptionsEmbedded",
"closedCaptionsHttpPost"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"enableAutoStart": {
"description": "This setting indicates whether auto start is enabled for this broadcast.",
"type": "boolean"
},
"enableClosedCaptions": {
"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.",
"type": "boolean"
},
"enableContentEncryption": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"description": "This setting indicates whether YouTube should enable content encryption for the broadcast.",
"type": "boolean"
},
"enableDvr": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"description": "This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true.\n\n\n\nImportant: You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.",
"type": "boolean"
},
"enableEmbed": {
"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.",
"type": "boolean"
},
"enableLowLatency": {
"description": "Indicates whether this broadcast has low latency enabled.",
"type": "boolean"
},
"latencyPreference": {
"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.",
"enum": [
"low",
"normal",
"ultraLow"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"mesh": {
"format": "byte",
"type": "string"
},
"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."
},
"projection": {
"description": "The projection format of this broadcast. This defaults to rectangular.",
"enum": [
"360",
"mesh",
"rectangular"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"recordFromStart": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"description": "Automatically start recording after the event goes live. The default value for this property is true.\n\n\n\nImportant: You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's 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"
},
"startWithSlate": {
"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.",
"type": "boolean"
},
"stereoLayout": {
"enum": [
"left_right",
"mono",
"top_bottom"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LiveBroadcastListResponse": {
"id": "LiveBroadcastListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of broadcasts that match the request criteria.",
"items": {
"$ref": "LiveBroadcast"
},
"type": "array"
},
"kind": {
"default": "youtube#liveBroadcastListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcastListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"LiveBroadcastSnippet": {
"id": "LiveBroadcastSnippet",
"properties": {
"actualEndTime": {
"description": "The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"actualStartTime": {
"description": "The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.",
"type": "string"
},
"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"
},
"liveChatId": {
"description": "The id of the live chat for this broadcast.",
"type": "string"
},
"publishedAt": {
"description": "The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"scheduledEndTime": {
"description": "The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"scheduledStartTime": {
"annotations": {
"required": [
"youtube.liveBroadcasts.insert",
"youtube.liveBroadcasts.update"
]
},
"description": "The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"thumbnails": {
"$ref": "ThumbnailDetails",
"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."
},
"title": {
"annotations": {
"required": [
"youtube.liveBroadcasts.insert",
"youtube.liveBroadcasts.update"
]
},
"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.",
"type": "string"
}
},
"type": "object"
},
"LiveBroadcastStatistics": {
"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.",
"id": "LiveBroadcastStatistics",
"properties": {
"concurrentViewers": {
"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.",
"format": "uint64",
"type": "string"
},
"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.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"LiveBroadcastStatus": {
"id": "LiveBroadcastStatus",
"properties": {
"lifeCycleStatus": {
"description": "The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.",
"enum": [
"complete",
"created",
"live",
"liveStarting",
"ready",
"revoked",
"testStarting",
"testing"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"liveBroadcastPriority": {
"description": "Priority of the live broadcast event (internal state).",
"enum": [
"high",
"low",
"normal"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"privacyStatus": {
"annotations": {
"required": [
"youtube.liveBroadcasts.insert",
"youtube.liveBroadcasts.update"
]
},
"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": [
"private",
"public",
"unlisted",
"unlisted_new"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"recordingStatus": {
"description": "The broadcast's recording status.",
"enum": [
"notRecording",
"recorded",
"recording"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LiveChatBan": {
"description": "A liveChatBan resource represents a ban for a YouTube live chat.",
"id": "LiveChatBan",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube assigns to uniquely identify the ban.",
"type": "string"
},
"kind": {
"default": "youtube#liveChatBan",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatBan\".",
"type": "string"
},
"snippet": {
"$ref": "LiveChatBanSnippet",
"description": "The snippet object contains basic details about the ban."
}
},
"type": "object"
},
"LiveChatBanSnippet": {
"id": "LiveChatBanSnippet",
"properties": {
"banDurationSeconds": {
"description": "The duration of a ban, only filled if the ban has type TEMPORARY.",
"format": "uint64",
"type": "string"
},
"bannedUserDetails": {
"$ref": "ChannelProfileDetails"
},
"liveChatId": {
"description": "The chat this ban is pertinent to.",
"type": "string"
},
"type": {
"description": "The type of ban.",
"enum": [
"permanent",
"temporary"
],
"enumDescriptions": [
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LiveChatFanFundingEventDetails": {
"id": "LiveChatFanFundingEventDetails",
"properties": {
"amountDisplayString": {
"description": "A rendered string that displays the fund amount and currency to the user.",
"type": "string"
},
"amountMicros": {
"description": "The amount of the fund.",
"format": "uint64",
"type": "string"
},
"currency": {
"description": "The currency in which the fund was made.",
"type": "string"
},
"userComment": {
"description": "The comment added by the user to this fan funding event.",
"type": "string"
}
},
"type": "object"
},
"LiveChatMessage": {
"description": "A liveChatMessage resource represents a chat message in a YouTube Live Chat.",
"id": "LiveChatMessage",
"properties": {
"authorDetails": {
"$ref": "LiveChatMessageAuthorDetails",
"description": "The authorDetails object contains basic details about the user that posted this message."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube assigns to uniquely identify the message.",
"type": "string"
},
"kind": {
"default": "youtube#liveChatMessage",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessage\".",
"type": "string"
},
"snippet": {
"$ref": "LiveChatMessageSnippet",
"description": "The snippet object contains basic details about the message."
}
},
"type": "object"
},
"LiveChatMessageAuthorDetails": {
"id": "LiveChatMessageAuthorDetails",
"properties": {
"channelId": {
"description": "The YouTube channel ID.",
"type": "string"
},
"channelUrl": {
"description": "The channel's URL.",
"type": "string"
},
"displayName": {
"description": "The channel's display name.",
"type": "string"
},
"isChatModerator": {
"description": "Whether the author is a moderator of the live chat.",
"type": "boolean"
},
"isChatOwner": {
"description": "Whether the author is the owner of the live chat.",
"type": "boolean"
},
"isChatSponsor": {
"description": "Whether the author is a sponsor of the live chat.",
"type": "boolean"
},
"isVerified": {
"description": "Whether the author's identity has been verified by YouTube.",
"type": "boolean"
},
"profileImageUrl": {
"description": "The channels's avatar URL.",
"type": "string"
}
},
"type": "object"
},
"LiveChatMessageDeletedDetails": {
"id": "LiveChatMessageDeletedDetails",
"properties": {
"deletedMessageId": {
"type": "string"
}
},
"type": "object"
},
"LiveChatMessageListResponse": {
"id": "LiveChatMessageListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of live chat messages.",
"items": {
"$ref": "LiveChatMessage"
},
"type": "array"
},
"kind": {
"default": "youtube#liveChatMessageListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatMessageListResponse\".",
"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"
},
"offlineAt": {
"description": "The date and time when the underlying stream went offline. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"pageInfo": {
"$ref": "PageInfo"
},
"pollingIntervalMillis": {
"description": "The amount of time the client should wait before polling again.",
"format": "uint32",
"type": "integer"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"LiveChatMessageRetractedDetails": {
"id": "LiveChatMessageRetractedDetails",
"properties": {
"retractedMessageId": {
"type": "string"
}
},
"type": "object"
},
"LiveChatMessageSnippet": {
"id": "LiveChatMessageSnippet",
"properties": {
"authorChannelId": {
"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 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",
"type": "string"
},
"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"
},
"fanFundingEventDetails": {
"$ref": "LiveChatFanFundingEventDetails",
"description": "Details about the funding event, this is only set if the type is 'fanFundingEvent'."
},
"hasDisplayContent": {
"description": "Whether the message has display content that should be displayed to users.",
"type": "boolean"
},
"liveChatId": {
"type": "string"
},
"messageDeletedDetails": {
"$ref": "LiveChatMessageDeletedDetails"
},
"messageRetractedDetails": {
"$ref": "LiveChatMessageRetractedDetails"
},
"pollClosedDetails": {
"$ref": "LiveChatPollClosedDetails"
},
"pollEditedDetails": {
"$ref": "LiveChatPollEditedDetails"
},
"pollOpenedDetails": {
"$ref": "LiveChatPollOpenedDetails"
},
"pollVotedDetails": {
"$ref": "LiveChatPollVotedDetails"
},
"publishedAt": {
"description": "The date and time when the message was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"superChatDetails": {
"$ref": "LiveChatSuperChatDetails",
"description": "Details about the Super Chat event, this is only set if the type is 'superChatEvent'."
},
"superStickerDetails": {
"$ref": "LiveChatSuperStickerDetails",
"description": "Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'."
},
"textMessageDetails": {
"$ref": "LiveChatTextMessageDetails",
"description": "Details about the text message, this is only set if the type is 'textMessageEvent'."
},
"type": {
"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.",
"enum": [
"chatEndedEvent",
"fanFundingEvent",
"messageDeletedEvent",
"messageRetractedEvent",
"newSponsorEvent",
"pollClosedEvent",
"pollEditedEvent",
"pollOpenedEvent",
"pollVotedEvent",
"sponsorOnlyModeEndedEvent",
"sponsorOnlyModeStartedEvent",
"superChatEvent",
"superStickerEvent",
"textMessageEvent",
"tombstone",
"userBannedEvent"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"userBannedDetails": {
"$ref": "LiveChatUserBannedMessageDetails"
}
},
"type": "object"
},
"LiveChatModerator": {
"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.",
"id": "LiveChatModerator",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube assigns to uniquely identify the moderator.",
"type": "string"
},
"kind": {
"default": "youtube#liveChatModerator",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModerator\".",
"type": "string"
},
"snippet": {
"$ref": "LiveChatModeratorSnippet",
"description": "The snippet object contains basic details about the moderator."
}
},
"type": "object"
},
"LiveChatModeratorListResponse": {
"id": "LiveChatModeratorListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of moderators that match the request criteria.",
"items": {
"$ref": "LiveChatModerator"
},
"type": "array"
},
"kind": {
"default": "youtube#liveChatModeratorListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveChatModeratorListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"LiveChatModeratorSnippet": {
"id": "LiveChatModeratorSnippet",
"properties": {
"liveChatId": {
"description": "The ID of the live chat this moderator can act on.",
"type": "string"
},
"moderatorDetails": {
"$ref": "ChannelProfileDetails",
"description": "Details about the moderator."
}
},
"type": "object"
},
"LiveChatPollClosedDetails": {
"id": "LiveChatPollClosedDetails",
"properties": {
"pollId": {
"description": "The id of the poll that was closed.",
"type": "string"
}
},
"type": "object"
},
"LiveChatPollEditedDetails": {
"id": "LiveChatPollEditedDetails",
"properties": {
"id": {
"type": "string"
},
"items": {
"items": {
"$ref": "LiveChatPollItem"
},
"type": "array"
},
"prompt": {
"type": "string"
}
},
"type": "object"
},
"LiveChatPollItem": {
"id": "LiveChatPollItem",
"properties": {
"description": {
"description": "Plain text description of the item.",
"type": "string"
},
"itemId": {
"type": "string"
}
},
"type": "object"
},
"LiveChatPollOpenedDetails": {
"id": "LiveChatPollOpenedDetails",
"properties": {
"id": {
"type": "string"
},
"items": {
"items": {
"$ref": "LiveChatPollItem"
},
"type": "array"
},
"prompt": {
"type": "string"
}
},
"type": "object"
},
"LiveChatPollVotedDetails": {
"id": "LiveChatPollVotedDetails",
"properties": {
"itemId": {
"description": "The poll item the user chose.",
"type": "string"
},
"pollId": {
"description": "The poll the user voted on.",
"type": "string"
}
},
"type": "object"
},
"LiveChatSuperChatDetails": {
"id": "LiveChatSuperChatDetails",
"properties": {
"amountDisplayString": {
"description": "A rendered string that displays the fund amount and currency to the user.",
"type": "string"
},
"amountMicros": {
"description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75).",
"format": "uint64",
"type": "string"
},
"currency": {
"description": "The currency in which the purchase was made.",
"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"
}
},
"type": "object"
},
"LiveChatSuperStickerDetails": {
"id": "LiveChatSuperStickerDetails",
"properties": {
"amountDisplayString": {
"description": "A rendered string that displays the fund amount and currency to the user.",
"type": "string"
},
"amountMicros": {
"description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75).",
"format": "uint64",
"type": "string"
},
"currency": {
"description": "The currency in which the purchase was made.",
"type": "string"
},
"superStickerMetadata": {
"$ref": "SuperStickerMetadata",
"description": "Information about the Super Sticker."
},
"tier": {
"description": "The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"LiveChatTextMessageDetails": {
"id": "LiveChatTextMessageDetails",
"properties": {
"messageText": {
"description": "The user's message.",
"type": "string"
}
},
"type": "object"
},
"LiveChatUserBannedMessageDetails": {
"id": "LiveChatUserBannedMessageDetails",
"properties": {
"banDurationSeconds": {
"description": "The duration of the ban. This property is only present if the banType is temporary.",
"format": "uint64",
"type": "string"
},
"banType": {
"description": "The type of ban.",
"enum": [
"permanent",
"temporary"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"bannedUserDetails": {
"$ref": "ChannelProfileDetails",
"description": "The details of the user that was banned."
}
},
"type": "object"
},
"LiveStream": {
"description": "A live stream describes a live ingestion point.",
"id": "LiveStream",
"properties": {
"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."
},
"contentDetails": {
"$ref": "LiveStreamContentDetails",
"description": "The content_details object contains information about the stream, including the closed captions ingestion URL."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"annotations": {
"required": [
"youtube.liveStreams.update"
]
},
"description": "The ID that YouTube assigns to uniquely identify the stream.",
"type": "string"
},
"kind": {
"default": "youtube#liveStream",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStream\".",
"type": "string"
},
"snippet": {
"$ref": "LiveStreamSnippet",
"description": "The snippet object contains basic details about the stream, including its channel, title, and description."
},
"status": {
"$ref": "LiveStreamStatus",
"description": "The status object contains information about live stream's status."
}
},
"type": "object"
},
"LiveStreamConfigurationIssue": {
"id": "LiveStreamConfigurationIssue",
"properties": {
"description": {
"description": "The long-form description of the issue and how to resolve it.",
"type": "string"
},
"reason": {
"description": "The short-form reason for this issue.",
"type": "string"
},
"severity": {
"description": "How severe this issue is to the stream.",
"enum": [
"error",
"info",
"warning"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"type": {
"description": "The kind of error happening.",
"enum": [
"audioBitrateHigh",
"audioBitrateLow",
"audioBitrateMismatch",
"audioCodec",
"audioCodecMismatch",
"audioSampleRate",
"audioSampleRateMismatch",
"audioStereoMismatch",
"audioTooManyChannels",
"badContainer",
"bitrateHigh",
"bitrateLow",
"frameRateHigh",
"framerateMismatch",
"gopMismatch",
"gopSizeLong",
"gopSizeOver",
"gopSizeShort",
"interlacedVideo",
"multipleAudioStreams",
"multipleVideoStreams",
"noAudioStream",
"noVideoStream",
"openGop",
"resolutionMismatch",
"videoBitrateMismatch",
"videoCodec",
"videoCodecMismatch",
"videoIngestionFasterThanRealtime",
"videoIngestionStarved",
"videoInterlaceMismatch",
"videoProfileMismatch",
"videoResolutionSuboptimal",
"videoResolutionUnsupported"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LiveStreamContentDetails": {
"description": "Detailed settings of a stream.",
"id": "LiveStreamContentDetails",
"properties": {
"closedCaptionsIngestionUrl": {
"description": "The ingestion URL where the closed captions of this stream are sent.",
"type": "string"
},
"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.\n\nIf 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: \n- A non-reusable stream can only be bound to one broadcast. \n- A non-reusable stream might be deleted by an automated process after the broadcast ends. \n- 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"
}
},
"type": "object"
},
"LiveStreamHealthStatus": {
"id": "LiveStreamHealthStatus",
"properties": {
"configurationIssues": {
"description": "The configurations issues on this stream",
"items": {
"$ref": "LiveStreamConfigurationIssue"
},
"type": "array"
},
"lastUpdateTimeSeconds": {
"description": "The last time this status was updated (in seconds)",
"format": "uint64",
"type": "string"
},
"status": {
"description": "The status code of this stream",
"enum": [
"bad",
"good",
"noData",
"ok",
"revoked"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LiveStreamListResponse": {
"id": "LiveStreamListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of live streams that match the request criteria.",
"items": {
"$ref": "LiveStream"
},
"type": "array"
},
"kind": {
"default": "youtube#liveStreamListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveStreamListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"LiveStreamSnippet": {
"id": "LiveStreamSnippet",
"properties": {
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.",
"type": "string"
},
"description": {
"description": "The stream's description. The value cannot be longer than 10000 characters.",
"type": "string"
},
"isDefaultStream": {
"type": "boolean"
},
"publishedAt": {
"description": "The date and time that the stream was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"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"
}
},
"type": "object"
},
"LiveStreamStatus": {
"description": "Brief description of the live stream status.",
"id": "LiveStreamStatus",
"properties": {
"healthStatus": {
"$ref": "LiveStreamHealthStatus",
"description": "The health status of the stream."
},
"streamStatus": {
"enum": [
"active",
"created",
"error",
"inactive",
"ready"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"LocalizedProperty": {
"id": "LocalizedProperty",
"properties": {
"default": {
"type": "string"
},
"defaultLanguage": {
"$ref": "LanguageTag",
"description": "The language of the default property."
},
"localized": {
"items": {
"$ref": "LocalizedString"
},
"type": "array"
}
},
"type": "object"
},
"LocalizedString": {
"id": "LocalizedString",
"properties": {
"language": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MonitorStreamInfo": {
"description": "Settings and Info of the monitor stream",
"id": "MonitorStreamInfo",
"properties": {
"broadcastStreamDelayMs": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"description": "If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.",
"format": "uint32",
"type": "integer"
},
"embedHtml": {
"description": "HTML code that embeds a player that plays the monitor stream.",
"type": "string"
},
"enableMonitorStream": {
"annotations": {
"required": [
"youtube.liveBroadcasts.update"
]
},
"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.\n\nYou need to set this value to true if you intend to have a broadcast delay for your event.\n\nNote: This property cannot be updated once the broadcast is in the testing or live state.",
"type": "boolean"
}
},
"type": "object"
},
"Nonprofit": {
"description": "Nonprofit information.",
"id": "Nonprofit",
"properties": {
"nonprofitId": {
"$ref": "NonprofitId",
"description": "Id of the nonprofit."
},
"nonprofitLegalName": {
"description": "Legal name of the nonprofit.",
"type": "string"
}
},
"type": "object"
},
"NonprofitId": {
"id": "NonprofitId",
"properties": {
"value": {
"type": "string"
}
},
"type": "object"
},
"PageInfo": {
"description": "Paging details for lists of resources, including total number of items available and number of resources returned in a single page.",
"id": "PageInfo",
"properties": {
"resultsPerPage": {
"description": "The number of results included in the API response.",
"format": "int32",
"type": "integer"
},
"totalResults": {
"description": "The total number of results in the result set.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Playlist": {
"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.\n\nYouTube also uses playlists to identify special collections of videos for a channel, such as: \n- uploaded videos \n- favorite videos \n- positively rated (liked) videos \n- watch history \n- 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.\n\nYou 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.",
"id": "Playlist",
"properties": {
"contentDetails": {
"$ref": "PlaylistContentDetails",
"description": "The contentDetails object contains information like video count."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the playlist.",
"type": "string"
},
"kind": {
"default": "youtube#playlist",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlist\".",
"type": "string"
},
"localizations": {
"additionalProperties": {
"$ref": "PlaylistLocalization",
"description": "The language tag, using string since map_key require simple types."
},
"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."
},
"snippet": {
"$ref": "PlaylistSnippet",
"description": "The snippet object contains basic details about the playlist, such as its title and description."
},
"status": {
"$ref": "PlaylistStatus",
"description": "The status object contains status information for the playlist."
}
},
"type": "object"
},
"PlaylistContentDetails": {
"id": "PlaylistContentDetails",
"properties": {
"itemCount": {
"description": "The number of videos in the playlist.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"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.\n\nYouTube uses playlists to identify special collections of videos for a channel, such as: \n- uploaded videos \n- favorite videos \n- positively rated (liked) videos \n- watch history \n- 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.\n\nYou 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.",
"id": "PlaylistItem",
"properties": {
"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."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the playlist item.",
"type": "string"
},
"kind": {
"default": "youtube#playlistItem",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItem\".",
"type": "string"
},
"snippet": {
"$ref": "PlaylistItemSnippet",
"description": "The snippet object contains basic details about the playlist item, such as its title and position in the playlist."
},
"status": {
"$ref": "PlaylistItemStatus",
"description": "The status object contains information about the playlist item's privacy status."
}
},
"type": "object"
},
"PlaylistItemContentDetails": {
"id": "PlaylistItemContentDetails",
"properties": {
"endAt": {
"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.",
"type": "string"
},
"note": {
"description": "A user-generated note for this item.",
"type": "string"
},
"startAt": {
"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.",
"type": "string"
},
"videoId": {
"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.",
"type": "string"
},
"videoPublishedAt": {
"description": "The date and time that the video was published to YouTube. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"PlaylistItemListResponse": {
"id": "PlaylistItemListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of playlist items that match the request criteria.",
"items": {
"$ref": "PlaylistItem"
},
"type": "array"
},
"kind": {
"default": "youtube#playlistItemListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"PlaylistItemSnippet": {
"description": "Basic details about a playlist, including title, description and thumbnails.",
"id": "PlaylistItemSnippet",
"properties": {
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the user that added the item to the playlist.",
"type": "string"
},
"channelTitle": {
"description": "Channel title for the channel that the playlist item belongs to.",
"type": "string"
},
"description": {
"description": "The item's description.",
"type": "string"
},
"playlistId": {
"annotations": {
"required": [
"youtube.playlistItems.insert",
"youtube.playlistItems.update"
]
},
"description": "The ID that YouTube uses to uniquely identify the playlist that the playlist item is in.",
"type": "string"
},
"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.",
"format": "uint32",
"type": "integer"
},
"publishedAt": {
"description": "The date and time that the item was added to the playlist. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"resourceId": {
"$ref": "ResourceId",
"annotations": {
"required": [
"youtube.playlistItems.insert",
"youtube.playlistItems.update"
]
},
"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."
},
"thumbnails": {
"$ref": "ThumbnailDetails",
"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."
},
"title": {
"description": "The item's title.",
"type": "string"
}
},
"type": "object"
},
"PlaylistItemStatus": {
"description": "Information about the playlist item's privacy status.",
"id": "PlaylistItemStatus",
"properties": {
"privacyStatus": {
"description": "This resource's privacy status.",
"enum": [
"private",
"public",
"unlisted",
"unlisted_new"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"PlaylistListResponse": {
"id": "PlaylistListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of playlists that match the request criteria.",
"items": {
"$ref": "Playlist"
},
"type": "array"
},
"kind": {
"default": "youtube#playlistListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"PlaylistLocalization": {
"description": "Playlist localization setting",
"id": "PlaylistLocalization",
"properties": {
"description": {
"description": "The localized strings for playlist's description.",
"type": "string"
},
"title": {
"description": "The localized strings for playlist's title.",
"type": "string"
}
},
"type": "object"
},
"PlaylistPlayer": {
"id": "PlaylistPlayer",
"properties": {
"embedHtml": {
"description": "An \u003ciframe\u003e tag that embeds a player that will play the playlist.",
"type": "string"
}
},
"type": "object"
},
"PlaylistSnippet": {
"description": "Basic details about a playlist, including title, description and thumbnails.",
"id": "PlaylistSnippet",
"properties": {
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the channel that published the playlist.",
"type": "string"
},
"channelTitle": {
"description": "The channel title of the channel that the video belongs to.",
"type": "string"
},
"defaultLanguage": {
"description": "The language of the playlist's default title and description.",
"type": "string"
},
"description": {
"description": "The playlist's description.",
"type": "string"
},
"localized": {
"$ref": "PlaylistLocalization",
"description": "Localized title and description, read-only."
},
"publishedAt": {
"description": "The date and time that the playlist was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"tags": {
"description": "Keyword tags associated with the playlist.",
"items": {
"type": "string"
},
"type": "array"
},
"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"
]
},
"description": "The playlist's title.",
"type": "string"
}
},
"type": "object"
},
"PlaylistStatus": {
"id": "PlaylistStatus",
"properties": {
"privacyStatus": {
"description": "The playlist's privacy status.",
"enum": [
"private",
"public",
"unlisted",
"unlisted_new"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"PromotedItem": {
"description": "Describes a single promoted item.",
"id": "PromotedItem",
"properties": {
"customMessage": {
"description": "A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.",
"type": "string"
},
"id": {
"$ref": "PromotedItemId",
"description": "Identifies the promoted item."
},
"promotedByContentOwner": {
"description": "If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.",
"type": "boolean"
},
"timing": {
"$ref": "InvideoTiming",
"description": "The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing."
}
},
"type": "object"
},
"PromotedItemId": {
"description": "Describes a single promoted item id. It is a union of various possible types.",
"id": "PromotedItemId",
"properties": {
"recentlyUploadedBy": {
"description": "If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.",
"type": "string"
},
"type": {
"description": "Describes the type of the promoted item.",
"enum": [
"recentUpload",
"video",
"website"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"videoId": {
"description": "If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.",
"type": "string"
},
"websiteUrl": {
"description": "If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.",
"type": "string"
}
},
"type": "object"
},
"PropertyValue": {
"description": "A pair Property / Value.",
"id": "PropertyValue",
"properties": {
"property": {
"description": "A property.",
"type": "string"
},
"value": {
"description": "The property's value.",
"type": "string"
}
},
"type": "object"
},
"ResourceId": {
"description": "A resource id is a generic reference that points to another YouTube resource.",
"id": "ResourceId",
"properties": {
"channelId": {
"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.",
"type": "string"
},
"kind": {
"description": "The type of the API resource.",
"type": "string"
},
"playlistId": {
"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": "string"
},
"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"
}
},
"type": "object"
},
"SearchListResponse": {
"id": "SearchListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of results that match the search criteria.",
"items": {
"$ref": "SearchResult"
},
"type": "array"
},
"kind": {
"default": "youtube#searchListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"regionCode": {
"type": "string"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"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.",
"id": "SearchResult",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"$ref": "ResourceId",
"description": "The id object contains information that can be used to uniquely identify the resource that matches the search request."
},
"kind": {
"default": "youtube#searchResult",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#searchResult\".",
"type": "string"
},
"snippet": {
"$ref": "SearchResultSnippet",
"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."
}
},
"type": "object"
},
"SearchResultSnippet": {
"description": "Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.",
"id": "SearchResultSnippet",
"properties": {
"channelId": {
"description": "The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.",
"type": "string"
},
"channelTitle": {
"description": "The title of the channel that published the resource that the search result identifies.",
"type": "string"
},
"description": {
"description": "A description of the search result.",
"type": "string"
},
"liveBroadcastContent": {
"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.",
"enum": [
"live",
"none",
"upcoming"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"publishedAt": {
"description": "The creation date and time of the resource that the search result identifies. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"thumbnails": {
"$ref": "ThumbnailDetails",
"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."
},
"title": {
"description": "The title of the search result.",
"type": "string"
}
},
"type": "object"
},
"Sponsor": {
"description": "A sponsor resource represents a sponsor for a YouTube channel. A sponsor provides recurring monetary support to a creator and receives special benefits.",
"id": "Sponsor",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"kind": {
"default": "youtube#sponsor",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#sponsor\".",
"type": "string"
},
"snippet": {
"$ref": "SponsorSnippet",
"description": "The snippet object contains basic details about the sponsor."
}
},
"type": "object"
},
"SponsorListResponse": {
"id": "SponsorListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of sponsors that match the request criteria.",
"items": {
"$ref": "Sponsor"
},
"type": "array"
},
"kind": {
"default": "youtube#sponsorListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#sponsorListResponse\".",
"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"
},
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"SponsorSnippet": {
"id": "SponsorSnippet",
"properties": {
"channelId": {
"description": "The id of the channel being sponsored.",
"type": "string"
},
"cumulativeDurationMonths": {
"description": "The cumulative time a user has been a sponsor in months.",
"format": "int32",
"type": "integer"
},
"sponsorDetails": {
"$ref": "ChannelProfileDetails",
"description": "Details about the sponsor."
},
"sponsorSince": {
"description": "The date and time when the user became a sponsor. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"Subscription": {
"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",
"properties": {
"contentDetails": {
"$ref": "SubscriptionContentDetails",
"description": "The contentDetails object contains basic statistics about the subscription."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the subscription.",
"type": "string"
},
"kind": {
"default": "youtube#subscription",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscription\".",
"type": "string"
},
"snippet": {
"$ref": "SubscriptionSnippet",
"description": "The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to."
},
"subscriberSnippet": {
"$ref": "SubscriptionSubscriberSnippet",
"description": "The subscriberSnippet object contains basic details about the sbuscriber."
}
},
"type": "object"
},
"SubscriptionContentDetails": {
"description": "Details about the content to witch a subscription refers.",
"id": "SubscriptionContentDetails",
"properties": {
"activityType": {
"description": "The type of activity this subscription is for (only uploads, everything).",
"enum": [
"all",
"uploads"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"newItemCount": {
"description": "The number of new items in the subscription since its content was last read.",
"format": "uint32",
"type": "integer"
},
"totalItemCount": {
"description": "The approximate number of items that the subscription points to.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"SubscriptionListResponse": {
"id": "SubscriptionListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of subscriptions that match the request criteria.",
"items": {
"$ref": "Subscription"
},
"type": "array"
},
"kind": {
"default": "youtube#subscriptionListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#subscriptionListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"SubscriptionSnippet": {
"description": "Basic details about a subscription, including title, description and thumbnails of the subscribed item.",
"id": "SubscriptionSnippet",
"properties": {
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the subscriber's channel.",
"type": "string"
},
"channelTitle": {
"description": "Channel title for the channel that the subscription belongs to.",
"type": "string"
},
"description": {
"description": "The subscription's details.",
"type": "string"
},
"publishedAt": {
"description": "The date and time that the subscription was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"resourceId": {
"$ref": "ResourceId",
"annotations": {
"required": [
"youtube.subscriptions.insert"
]
},
"description": "The id object contains information about the channel that the user subscribed to."
},
"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."
},
"title": {
"description": "The subscription's title.",
"type": "string"
}
},
"type": "object"
},
"SubscriptionSubscriberSnippet": {
"description": "Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.",
"id": "SubscriptionSubscriberSnippet",
"properties": {
"channelId": {
"description": "The channel ID of the subscriber.",
"type": "string"
},
"description": {
"description": "The description of the subscriber.",
"type": "string"
},
"thumbnails": {
"$ref": "ThumbnailDetails",
"description": "Thumbnails for this subscriber."
},
"title": {
"description": "The title of the subscriber.",
"type": "string"
}
},
"type": "object"
},
"SuperChatEvent": {
"description": "A superChatEvent resource represents a Super Chat purchase on a YouTube channel.",
"id": "SuperChatEvent",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube assigns to uniquely identify the Super Chat event.",
"type": "string"
},
"kind": {
"default": "youtube#superChatEvent",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEvent\".",
"type": "string"
},
"snippet": {
"$ref": "SuperChatEventSnippet",
"description": "The snippet object contains basic details about the Super Chat event."
}
},
"type": "object"
},
"SuperChatEventListResponse": {
"id": "SuperChatEventListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of Super Chat purchases that match the request criteria.",
"items": {
"$ref": "SuperChatEvent"
},
"type": "array"
},
"kind": {
"default": "youtube#superChatEventListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEventListResponse\".",
"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"
},
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"SuperChatEventSnippet": {
"id": "SuperChatEventSnippet",
"properties": {
"amountMicros": {
"description": "The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.",
"format": "uint64",
"type": "string"
},
"channelId": {
"description": "Channel id where the event occurred.",
"type": "string"
},
"commentText": {
"description": "The text contents of the comment left by the user.",
"type": "string"
},
"createdAt": {
"description": "The date and time when the event occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"currency": {
"description": "The currency in which the purchase was made. ISO 4217.",
"type": "string"
},
"displayString": {
"description": "A rendered string that displays the purchase amount and currency (e.g., \"$1.00\"). The string is rendered for the given language.",
"type": "string"
},
"isSuperChatForGood": {
"description": "True if this event is a Super Chat for Good purchase.",
"type": "boolean"
},
"isSuperStickerEvent": {
"description": "True if this event is a Super Sticker event.",
"type": "boolean"
},
"messageType": {
"description": "The tier for the paid message, which is based on the amount of money spent to purchase the message.",
"format": "uint32",
"type": "integer"
},
"nonprofit": {
"$ref": "Nonprofit",
"description": "If this event is a Super Chat for Good purchase, this field will contain information about the charity the purchase is donated to."
},
"superStickerMetadata": {
"$ref": "SuperStickerMetadata",
"description": "If this event is a Super Sticker event, this field will contain metadata about the Super Sticker."
},
"supporterDetails": {
"$ref": "ChannelProfileDetails",
"description": "Details about the supporter."
}
},
"type": "object"
},
"SuperStickerMetadata": {
"id": "SuperStickerMetadata",
"properties": {
"altText": {
"description": "Internationalized alt text that describes the sticker image and any animation associated with it.",
"type": "string"
},
"altTextLanguage": {
"description": "Specifies the localization language in which the alt text is returned.",
"type": "string"
},
"stickerId": {
"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": "string"
}
},
"type": "object"
},
"Thumbnail": {
"description": "A thumbnail is an image representing a YouTube resource.",
"id": "Thumbnail",
"properties": {
"height": {
"description": "(Optional) Height of the thumbnail image.",
"format": "uint32",
"type": "integer"
},
"url": {
"description": "The thumbnail image's URL.",
"type": "string"
},
"width": {
"description": "(Optional) Width of the thumbnail image.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"ThumbnailDetails": {
"description": "Internal representation of thumbnails for a YouTube resource.",
"id": "ThumbnailDetails",
"properties": {
"default": {
"$ref": "Thumbnail",
"description": "The default image for this resource."
},
"high": {
"$ref": "Thumbnail",
"description": "The high quality image for this resource."
},
"maxres": {
"$ref": "Thumbnail",
"description": "The maximum resolution quality image for this resource."
},
"medium": {
"$ref": "Thumbnail",
"description": "The medium quality image for this resource."
},
"standard": {
"$ref": "Thumbnail",
"description": "The standard quality image for this resource."
}
},
"type": "object"
},
"ThumbnailSetResponse": {
"id": "ThumbnailSetResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of thumbnails.",
"items": {
"$ref": "ThumbnailDetails"
},
"type": "array"
},
"kind": {
"default": "youtube#thumbnailSetResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#thumbnailSetResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"TokenPagination": {
"description": "Stub token pagination template to suppress results.",
"id": "TokenPagination",
"type": "object"
},
"Video": {
"description": "A video resource represents a YouTube video.",
"id": "Video",
"properties": {
"ageGating": {
"$ref": "VideoAgeGating",
"description": "Age restriction details related to a video. This data can only be retrieved by the video owner."
},
"contentDetails": {
"$ref": "VideoContentDetails",
"description": "The contentDetails object contains information about the video content, including the length of the video and its aspect ratio."
},
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"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": {
"annotations": {
"required": [
"youtube.videos.update"
]
},
"description": "The ID that YouTube uses to uniquely identify the video.",
"type": "string"
},
"kind": {
"default": "youtube#video",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#video\".",
"type": "string"
},
"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": {
"additionalProperties": {
"$ref": "VideoLocalization",
"description": "The language tag, using string since map_key require simple types."
},
"description": "List with all localizations.",
"type": "object"
},
"monetizationDetails": {
"$ref": "VideoMonetizationDetails",
"description": "The monetizationDetails object encapsulates information about the monetization status of the video."
},
"player": {
"$ref": "VideoPlayer",
"description": "The player object contains information that you would use to play the video in an embedded player."
},
"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.\n\nThe 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."
},
"projectDetails": {
"$ref": "VideoProjectDetails",
"description": "The projectDetails object contains information about the project specific video metadata."
},
"recordingDetails": {
"$ref": "VideoRecordingDetails",
"description": "The recordingDetails object encapsulates information about the location, date and address where the video was recorded."
},
"snippet": {
"$ref": "VideoSnippet",
"description": "The snippet object contains basic details about the video, such as its title, description, and category."
},
"statistics": {
"$ref": "VideoStatistics",
"description": "The statistics object contains statistics about the video."
},
"status": {
"$ref": "VideoStatus",
"description": "The status object contains information about the video's uploading, processing, and privacy statuses."
},
"suggestions": {
"$ref": "VideoSuggestions",
"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."
},
"topicDetails": {
"$ref": "VideoTopicDetails",
"description": "The topicDetails object encapsulates information about Freebase topics associated with the video."
}
},
"type": "object"
},
"VideoAbuseReport": {
"id": "VideoAbuseReport",
"properties": {
"comments": {
"description": "Additional comments regarding the abuse report.",
"type": "string"
},
"language": {
"description": "The language that the content was viewed in.",
"type": "string"
},
"reasonId": {
"description": "The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID.",
"type": "string"
},
"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"
},
"videoId": {
"description": "The ID that YouTube uses to uniquely identify the video.",
"type": "string"
}
},
"type": "object"
},
"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.",
"id": "VideoAbuseReportReason",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID of this abuse report reason.",
"type": "string"
},
"kind": {
"default": "youtube#videoAbuseReportReason",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoAbuseReportReason\".",
"type": "string"
},
"snippet": {
"$ref": "VideoAbuseReportReasonSnippet",
"description": "The snippet object contains basic details about the abuse report reason."
}
},
"type": "object"
},
"VideoAbuseReportReasonListResponse": {
"id": "VideoAbuseReportReasonListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of valid abuse reasons that are used with video.ReportAbuse.",
"items": {
"$ref": "VideoAbuseReportReason"
},
"type": "array"
},
"kind": {
"default": "youtube#videoAbuseReportReasonListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoAbuseReportReasonListResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"VideoAbuseReportReasonSnippet": {
"description": "Basic details about a video category, such as its localized title.",
"id": "VideoAbuseReportReasonSnippet",
"properties": {
"label": {
"description": "The localized label belonging to this abuse report reason.",
"type": "string"
},
"secondaryReasons": {
"description": "The secondary reasons associated with this reason, if any are available. (There might be 0 or more.)",
"items": {
"$ref": "VideoAbuseReportSecondaryReason"
},
"type": "array"
}
},
"type": "object"
},
"VideoAbuseReportSecondaryReason": {
"id": "VideoAbuseReportSecondaryReason",
"properties": {
"id": {
"description": "The ID of this abuse report secondary reason.",
"type": "string"
},
"label": {
"description": "The localized label for this abuse report secondary reason.",
"type": "string"
}
},
"type": "object"
},
"VideoAgeGating": {
"id": "VideoAgeGating",
"properties": {
"alcoholContent": {
"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": "boolean"
},
"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": {
"description": "Video game rating, if any.",
"enum": [
"anyone",
"m15Plus",
"m16Plus",
"m17Plus"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"VideoCategory": {
"description": "A videoCategory resource identifies a category that has been or could be associated with uploaded videos.",
"id": "VideoCategory",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"id": {
"description": "The ID that YouTube uses to uniquely identify the video category.",
"type": "string"
},
"kind": {
"default": "youtube#videoCategory",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategory\".",
"type": "string"
},
"snippet": {
"$ref": "VideoCategorySnippet",
"description": "The snippet object contains basic details about the video category, including its title."
}
},
"type": "object"
},
"VideoCategoryListResponse": {
"id": "VideoCategoryListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"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.",
"items": {
"$ref": "VideoCategory"
},
"type": "array"
},
"kind": {
"default": "youtube#videoCategoryListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoCategoryListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"VideoCategorySnippet": {
"description": "Basic details about a video category, such as its localized title.",
"id": "VideoCategorySnippet",
"properties": {
"assignable": {
"type": "boolean"
},
"channelId": {
"default": "UCBR8-60-B28hp2BmDPdntcQ",
"description": "The YouTube channel that created the video category.",
"type": "string"
},
"title": {
"description": "The video category's title.",
"type": "string"
}
},
"type": "object"
},
"VideoContentDetails": {
"description": "Details about the content of a YouTube Video.",
"id": "VideoContentDetails",
"properties": {
"caption": {
"description": "The value of captions indicates whether the video has captions or not.",
"enum": [
"false",
"true"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"contentRating": {
"$ref": "ContentRating",
"description": "Specifies the ratings that the video received under various rating schemes."
},
"countryRestriction": {
"$ref": "AccessPolicy",
"description": "The countryRestriction object contains information about the countries where a video is (or is not) viewable."
},
"definition": {
"description": "The value of definition indicates whether the video is available in high definition or only in standard definition.",
"enum": [
"hd",
"sd"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"dimension": {
"description": "The value of dimension indicates whether the video is available in 3D or in 2D.",
"type": "string"
},
"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"
},
"hasCustomThumbnail": {
"description": "Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.",
"type": "boolean"
},
"licensedContent": {
"description": "The value of is_license_content indicates whether the video is licensed content.",
"type": "boolean"
},
"projection": {
"description": "Specifies the projection format of the video.",
"enum": [
"360",
"rectangular"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"regionRestriction": {
"$ref": "VideoContentDetailsRegionRestriction",
"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."
}
},
"type": "object"
},
"VideoContentDetailsRegionRestriction": {
"description": "DEPRECATED Region restriction of the video.",
"id": "VideoContentDetailsRegionRestriction",
"properties": {
"allowed": {
"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.",
"items": {
"type": "string"
},
"type": "array"
},
"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"
}
},
"type": "object"
},
"VideoFileDetails": {
"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": {
"audioStreams": {
"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"
},
"type": "array"
},
"bitrateBps": {
"description": "The uploaded video file's combined (video and audio) bitrate in bits per second.",
"format": "uint64",
"type": "string"
},
"container": {
"description": "The uploaded video file's container format.",
"type": "string"
},
"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: \n- Date only: YYYY-MM-DD \n- Naive time: YYYY-MM-DDTHH:MM:SS \n- Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM",
"type": "string"
},
"durationMs": {
"description": "The length of the uploaded video in milliseconds.",
"format": "uint64",
"type": "string"
},
"fileName": {
"description": "The uploaded file's name. This field is present whether a video file or another type of file was uploaded.",
"type": "string"
},
"fileSize": {
"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",
"type": "string"
},
"fileType": {
"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": [
"archive",
"audio",
"document",
"image",
"other",
"project",
"video"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"videoStreams": {
"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"
},
"type": "array"
}
},
"type": "object"
},
"VideoFileDetailsAudioStream": {
"description": "Information about an audio stream.",
"id": "VideoFileDetailsAudioStream",
"properties": {
"bitrateBps": {
"description": "The audio stream's bitrate, in bits per second.",
"format": "uint64",
"type": "string"
},
"channelCount": {
"description": "The number of audio channels that the stream contains.",
"format": "uint32",
"type": "integer"
},
"codec": {
"description": "The audio codec that the stream uses.",
"type": "string"
},
"vendor": {
"description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.",
"type": "string"
}
},
"type": "object"
},
"VideoFileDetailsVideoStream": {
"description": "Information about a video stream.",
"id": "VideoFileDetailsVideoStream",
"properties": {
"aspectRatio": {
"description": "The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.",
"format": "double",
"type": "number"
},
"bitrateBps": {
"description": "The video stream's bitrate, in bits per second.",
"format": "uint64",
"type": "string"
},
"codec": {
"description": "The video codec that the stream uses.",
"type": "string"
},
"frameRateFps": {
"description": "The video stream's frame rate, in frames per second.",
"format": "double",
"type": "number"
},
"heightPixels": {
"description": "The encoded video content's height in pixels.",
"format": "uint32",
"type": "integer"
},
"rotation": {
"description": "The amount that YouTube needs to rotate the original source content to properly display the video.",
"enum": [
"clockwise",
"counterClockwise",
"none",
"other",
"upsideDown"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"vendor": {
"description": "A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.",
"type": "string"
},
"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"
}
},
"type": "object"
},
"VideoGetRatingResponse": {
"id": "VideoGetRatingResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of ratings that match the request criteria.",
"items": {
"$ref": "VideoRating"
},
"type": "array"
},
"kind": {
"default": "youtube#videoGetRatingResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoGetRatingResponse\".",
"type": "string"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"VideoListResponse": {
"id": "VideoListResponse",
"properties": {
"etag": {
"description": "Etag of this resource.",
"type": "string"
},
"eventId": {
"description": "Serialized EventId of the request which produced this response.",
"type": "string"
},
"items": {
"description": "A list of videos that match the request criteria.",
"items": {
"$ref": "Video"
},
"type": "array"
},
"kind": {
"default": "youtube#videoListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoListResponse\".",
"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"
},
"pageInfo": {
"$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"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"visitorId": {
"description": "The visitorId identifies the visitor.",
"type": "string"
}
},
"type": "object"
},
"VideoLiveStreamingDetails": {
"description": "Details about the live streaming metadata.",
"id": "VideoLiveStreamingDetails",
"properties": {
"activeLiveChatId": {
"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.",
"type": "string"
},
"actualEndTime": {
"description": "The time that the broadcast actually ended. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value will not be available until the broadcast is over.",
"format": "date-time",
"type": "string"
},
"actualStartTime": {
"description": "The time that the broadcast actually started. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value will not be available until the broadcast begins.",
"format": "date-time",
"type": "string"
},
"concurrentViewers": {
"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.",
"format": "uint64",
"type": "string"
},
"scheduledEndTime": {
"description": "The time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.",
"format": "date-time",
"type": "string"
},
"scheduledStartTime": {
"description": "The time that the broadcast is scheduled to begin. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"VideoLocalization": {
"description": "Localized versions of certain video properties (e.g. title).",
"id": "VideoLocalization",
"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"
},
"VideoMonetizationDetails": {
"description": "Details about monetization of a YouTube Video.",
"id": "VideoMonetizationDetails",
"properties": {
"access": {
"$ref": "AccessPolicy",
"description": "The value of access indicates whether the video can be monetized or not."
}
},
"type": "object"
},
"VideoPlayer": {
"description": "Player to be used for a video playback.",
"id": "VideoPlayer",
"properties": {
"embedHeight": {
"format": "int64",
"type": "string"
},
"embedHtml": {
"description": "An \u003ciframe\u003e tag that embeds a player that will play the video.",
"type": "string"
},
"embedWidth": {
"description": "The embed width",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"VideoProcessingDetails": {
"description": "Describes processing status and progress and availability of some other Video resource parts.",
"id": "VideoProcessingDetails",
"properties": {
"editorSuggestionsAvailability": {
"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.",
"type": "string"
},
"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"
},
"processingFailureReason": {
"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.",
"enum": [
"other",
"streamingFailed",
"transcodeFailed",
"uploadFailed"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"processingIssuesAvailability": {
"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.",
"type": "string"
},
"processingProgress": {
"$ref": "VideoProcessingDetailsProcessingProgress",
"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."
},
"processingStatus": {
"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.",
"enum": [
"failed",
"processing",
"succeeded",
"terminated"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"tagSuggestionsAvailability": {
"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.",
"type": "string"
},
"thumbnailsAvailability": {
"description": "This value indicates whether thumbnail images have been generated for the video.",
"type": "string"
}
},
"type": "object"
},
"VideoProcessingDetailsProcessingProgress": {
"description": "Video processing progress and completion time estimate.",
"id": "VideoProcessingDetailsProcessingProgress",
"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:\n100 * parts_processed / parts_total\n\nNote 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.",
"format": "uint64",
"type": "string"
},
"partsTotal": {
"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.",
"format": "uint64",
"type": "string"
},
"timeLeftMs": {
"description": "An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"VideoProjectDetails": {
"description": "Project specific details about the content of a YouTube Video.",
"id": "VideoProjectDetails",
"properties": {
"tags": {
"description": "A list of project tags associated with the video during the upload.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"VideoRating": {
"id": "VideoRating",
"properties": {
"rating": {
"enum": [
"dislike",
"like",
"none",
"unspecified"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"videoId": {
"type": "string"
}
},
"type": "object"
},
"VideoRecordingDetails": {
"description": "Recording information associated with the video.",
"id": "VideoRecordingDetails",
"properties": {
"location": {
"$ref": "GeoPoint",
"description": "The geolocation information associated with the video."
},
"locationDescription": {
"description": "The text description of the location where the video was recorded.",
"type": "string"
},
"recordingDate": {
"description": "The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"VideoSnippet": {
"description": "Basic details about a video, including title, description, uploader, thumbnails and category.",
"id": "VideoSnippet",
"properties": {
"categoryId": {
"description": "The YouTube video category associated with the video.",
"type": "string"
},
"channelId": {
"description": "The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.",
"type": "string"
},
"channelTitle": {
"description": "Channel title for the channel that the video belongs to.",
"type": "string"
},
"defaultAudioLanguage": {
"description": "The default_audio_language property specifies the language spoken in the video's default audio track.",
"type": "string"
},
"defaultLanguage": {
"description": "The language of the videos's default snippet.",
"type": "string"
},
"description": {
"description": "The video's description.",
"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.",
"enum": [
"live",
"none",
"upcoming"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"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)"
},
"publishedAt": {
"description": "The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"tags": {
"description": "A list of keyword tags associated with the video. Tags may contain spaces.",
"items": {
"type": "string"
},
"type": "array"
},
"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."
},
"title": {
"description": "The video's title.",
"type": "string"
}
},
"type": "object"
},
"VideoStatistics": {
"description": "Statistics about the video, such as the number of times the video was viewed or liked.",
"id": "VideoStatistics",
"properties": {
"commentCount": {
"description": "The number of comments for the video.",
"format": "uint64",
"type": "string"
},
"dislikeCount": {
"description": "The number of users who have indicated that they disliked the video by giving it a negative rating.",
"format": "uint64",
"type": "string"
},
"favoriteCount": {
"description": "The number of users who currently have the video marked as a favorite video.",
"format": "uint64",
"type": "string"
},
"likeCount": {
"description": "The number of users who have indicated that they liked the video by giving it a positive rating.",
"format": "uint64",
"type": "string"
},
"viewCount": {
"description": "The number of times the video has been viewed.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"VideoStatus": {
"description": "Basic details about a video category, such as its localized title.",
"id": "VideoStatus",
"properties": {
"embeddable": {
"description": "This value indicates if the video can be embedded on another website.",
"type": "boolean"
},
"failureReason": {
"description": "This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.",
"enum": [
"codec",
"conversion",
"emptyFile",
"invalidFile",
"tooSmall",
"uploadAborted"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"license": {
"description": "The video's license.",
"enum": [
"creativeCommon",
"youtube"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"privacyStatus": {
"description": "The video's privacy status.",
"enum": [
"private",
"public",
"unlisted",
"unlisted_new"
],
"enumDescriptions": [
"",
"",
"",
""
],
"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.",
"type": "boolean"
},
"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. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
"format": "date-time",
"type": "string"
},
"rejectionReason": {
"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": [
"claim",
"copyright",
"duplicate",
"inappropriate",
"legal",
"length",
"termsOfUse",
"trademark",
"uploaderAccountClosed",
"uploaderAccountSuspended"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"uploadStatus": {
"description": "The status of the uploaded video.",
"enum": [
"deleted",
"failed",
"processed",
"rejected",
"uploaded"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"VideoSuggestions": {
"description": "Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.",
"id": "VideoSuggestions",
"properties": {
"editorSuggestions": {
"description": "A list of video editing operations that might improve the video quality or playback experience of the uploaded video.",
"items": {
"enum": [
"audioQuietAudioSwap",
"videoAutoLevels",
"videoCrop",
"videoStabilize"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"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.",
"items": {
"enum": [
"archiveFile",
"audioFile",
"docFile",
"imageFile",
"notAVideoFile",
"projectFile",
"unsupportedSpatialAudioLayout"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"processingHints": {
"description": "A list of suggestions that may improve YouTube's ability to process the video.",
"items": {
"enum": [
"hdrVideo",
"nonStreamableMov",
"sendBestQualityVideo",
"spatialAudio",
"sphericalVideo",
"vrVideo"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"processingWarnings": {
"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.",
"items": {
"enum": [
"hasEditlist",
"inconsistentResolution",
"problematicAudioCodec",
"problematicHdrLookupTable",
"problematicVideoCodec",
"unknownAudioCodec",
"unknownContainer",
"unknownVideoCodec",
"unsupportedHdrColorMetadata",
"unsupportedHdrPixelFormat",
"unsupportedSphericalProjectionType",
"unsupportedVrStereoMode"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"type": "array"
},
"tagSuggestions": {
"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.",
"items": {
"$ref": "VideoSuggestionsTagSuggestion"
},
"type": "array"
}
},
"type": "object"
},
"VideoSuggestionsTagSuggestion": {
"description": "A single tag suggestion with it's relevance information.",
"id": "VideoSuggestionsTagSuggestion",
"properties": {
"categoryRestricts": {
"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"
},
"type": "array"
},
"tag": {
"description": "The keyword tag suggested for the video.",
"type": "string"
}
},
"type": "object"
},
"VideoTopicDetails": {
"description": "Freebase topic information related to the video.",
"id": "VideoTopicDetails",
"properties": {
"relevantTopicIds": {
"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.",
"items": {
"type": "string"
},
"type": "array"
},
"topicCategories": {
"description": "A list of Wikipedia URLs that provide a high-level description of the video's content.",
"items": {
"type": "string"
},
"type": "array"
},
"topicIds": {
"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 Freebase Topic API.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"WatchSettings": {
"description": "Branding properties for the watch. All deprecated.",
"id": "WatchSettings",
"properties": {
"backgroundColor": {
"description": "The text color for the video watch page's branded area.",
"type": "string"
},
"featuredPlaylistId": {
"description": "An ID that uniquely identifies a playlist that displays next to the video player.",
"type": "string"
},
"textColor": {
"description": "The background color for the video watch page's branded area.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "youtube/v3/",
"title": "YouTube Data API",
"version": "v3"
}