The CMS account that the user authenticates with must be linked to the specified YouTube content owner. 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. This parameter is intended for YouTube content partners that own and manage many different YouTube channels.
The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. Acceptable values are 0 to 50, inclusive. The maxResults parameter specifies the maximum number of items that should be returned in the result set. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language. If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values.
The parameter value must be a language code included in the list returned by the i18nLanguages.list method. The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user. This parameter can only be used in a properly authorized request. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided. Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. Note: This parameter is intended exclusively for YouTube content partners. In a channel resource, the id property specifies the channel's YouTube channel ID. The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username. Request YouTube channels associated with that category.
YouTube guide category and could be used to The following list contains the part names that you can include in the parameter value:įilters (specify exactly one of the following parameters) As such, if you set part=contentDetails, the API response will also contain all of those nested properties. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. If the parameter identifies a property that contains child properties, the child properties will be included in the response. The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. All of the parameters listed are query parameters. The following table lists the parameters that this query supports. In addition, any token that uses that scope must be revoked when the MCN decides to accept or reject the channel or within two weeks of the date that the token was issued. Common use cases Request HTTP request GET AuthorizationĪ request that retrieves the auditDetails part for a channel resource must provide an authorization token that contains the scope. Quota impact: A call to this method has a quota cost of 1 unit. Returns a collection of zero or more channel resources that match the request criteria. Has been updated to reflect a YouTube policy change that affects the way that subscriber counts Statistics.subscriberCount property value