docs: update docs/dyn (#1096)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/6f0f288a-a1e8-4b2d-a85f-00b1c6150185/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/39b7149da4026765385403632db3c6f63db96b2c
Source-Link: https://github.com/googleapis/synthtool/commit/9a7d9fbb7045c34c9d3d22c1ff766eeae51f04c9
Source-Link: https://github.com/googleapis/synthtool/commit/dc9903a8c30c3662b6098f0e4a97f221d67268b2
Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58
Source-Link: https://github.com/googleapis/synthtool/commit/d5fc0bcf9ea9789c5b0e3154a9e3b29e5cea6116
Source-Link: https://github.com/googleapis/synthtool/commit/e89175cf074dccc4babb4eca66ae913696e47a71
Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c
Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279
Source-Link: https://github.com/googleapis/synthtool/commit/1f1148d3c7a7a52f0c98077f976bd9b3c948ee2b
Source-Link: https://github.com/googleapis/synthtool/commit/2c8aecedd55b0480fb4e123b6e07fa5b12953862
Source-Link: https://github.com/googleapis/synthtool/commit/3d3e94c4e02370f307a9a200b0c743c3d8d19f29
Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9
Source-Link: https://github.com/googleapis/synthtool/commit/ba9918cd22874245b55734f57470c719b577e591
Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324
Source-Link: https://github.com/googleapis/synthtool/commit/6542bd723403513626f61642fc02ddca528409aa
diff --git a/docs/dyn/youtube_v3.subscriptions.html b/docs/dyn/youtube_v3.subscriptions.html
index 2210904..b72bbc9 100644
--- a/docs/dyn/youtube_v3.subscriptions.html
+++ b/docs/dyn/youtube_v3.subscriptions.html
@@ -84,7 +84,7 @@
<code><a href="#insert">insert(part, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new resource into this collection.</p>
<p class="toc_element">
- <code><a href="#list">list(part, mySubscribers=None, channelId=None, order=None, onBehalfOfContentOwnerChannel=None, maxResults=None, forChannelId=None, pageToken=None, myRecentSubscribers=None, id=None, mine=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(part, forChannelId=None, mine=None, onBehalfOfContentOwnerChannel=None, order=None, pageToken=None, id=None, myRecentSubscribers=None, mySubscribers=None, maxResults=None, onBehalfOfContentOwner=None, channelId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -118,57 +118,56 @@
The object takes the form of:
{ # 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.
- "etag": "A String", # Etag of this resource.
- "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
- "channelId": "A String", # The channel ID of the subscriber.
- "title": "A String", # The title of the subscriber.
- "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
- "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- },
- "description": "A String", # The description of the subscriber.
- },
- "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
- "newItemCount": 42, # The number of new items in the subscription since its content was last read.
- "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
- "totalItemCount": 42, # The approximate number of items that the subscription points to.
- },
- "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
"snippet": { # Basic details about a subscription, including title, description and thumbnails of the subscribed item. # The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.
+ "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
+ "videoId": "A String", # 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.
+ "kind": "A String", # The type of the API resource.
+ "channelId": "A String", # 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.
+ "playlistId": "A String", # 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.
+ },
+ "description": "A String", # The subscription's details.
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # 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.
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ },
+ "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
+ "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
+ "title": "A String", # The subscription's title.
+ "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
+ },
+ "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
+ "description": "A String", # The description of the subscriber.
+ "title": "A String", # The title of the subscriber.
+ "channelId": "A String", # The channel ID of the subscriber.
+ "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
+ "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
@@ -184,20 +183,21 @@
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
- },
- "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
- "title": "A String", # The subscription's title.
- "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
- "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
- "description": "A String", # The subscription's details.
- "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
- "videoId": "A String", # 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.
- "playlistId": "A String", # 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.
- "kind": "A String", # The type of the API resource.
- "channelId": "A String", # 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.
+ "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
},
},
"kind": "youtube#subscription", # Identifies what kind of resource this is. Value: the fixed string "youtube#subscription".
+ "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
+ "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
+ "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
+ "newItemCount": 42, # The number of new items in the subscription since its content was last read.
+ "totalItemCount": 42, # The approximate number of items that the subscription points to.
+ },
+ "etag": "A String", # Etag of this resource.
}
x__xgafv: string, V1 error format.
@@ -209,57 +209,56 @@
An object of the form:
{ # 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.
- "etag": "A String", # Etag of this resource.
- "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
- "channelId": "A String", # The channel ID of the subscriber.
- "title": "A String", # The title of the subscriber.
- "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
- "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- },
- "description": "A String", # The description of the subscriber.
- },
- "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
- "newItemCount": 42, # The number of new items in the subscription since its content was last read.
- "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
- "totalItemCount": 42, # The approximate number of items that the subscription points to.
- },
- "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
"snippet": { # Basic details about a subscription, including title, description and thumbnails of the subscribed item. # The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.
+ "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
+ "videoId": "A String", # 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.
+ "kind": "A String", # The type of the API resource.
+ "channelId": "A String", # 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.
+ "playlistId": "A String", # 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.
+ },
+ "description": "A String", # The subscription's details.
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # 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.
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ },
+ "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
+ "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
+ "title": "A String", # The subscription's title.
+ "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
+ },
+ "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
+ "description": "A String", # The description of the subscriber.
+ "title": "A String", # The title of the subscriber.
+ "channelId": "A String", # The channel ID of the subscriber.
+ "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
+ "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
@@ -275,45 +274,46 @@
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
- },
- "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
- "title": "A String", # The subscription's title.
- "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
- "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
- "description": "A String", # The subscription's details.
- "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
- "videoId": "A String", # 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.
- "playlistId": "A String", # 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.
- "kind": "A String", # The type of the API resource.
- "channelId": "A String", # 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.
+ "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
},
},
"kind": "youtube#subscription", # Identifies what kind of resource this is. Value: the fixed string "youtube#subscription".
+ "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
+ "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
+ "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
+ "newItemCount": 42, # The number of new items in the subscription since its content was last read.
+ "totalItemCount": 42, # The approximate number of items that the subscription points to.
+ },
+ "etag": "A String", # Etag of this resource.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(part, mySubscribers=None, channelId=None, order=None, onBehalfOfContentOwnerChannel=None, maxResults=None, forChannelId=None, pageToken=None, myRecentSubscribers=None, id=None, mine=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(part, forChannelId=None, mine=None, onBehalfOfContentOwnerChannel=None, order=None, pageToken=None, id=None, myRecentSubscribers=None, mySubscribers=None, maxResults=None, onBehalfOfContentOwner=None, channelId=None, x__xgafv=None)</code>
<pre>Retrieves a list of resources, possibly filtered.
Args:
part: string, The *part* parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set *part=snippet*, the API response will also contain all of those nested properties. (required) (repeated)
- mySubscribers: boolean, Return the subscribers of the given channel owner.
- channelId: string, Return the subscriptions of the given channel owner.
+ forChannelId: string, Return the subscriptions to the subset of these channels that the authenticated user is subscribed to.
+ mine: boolean, Flag for returning the subscriptions of the authenticated user.
+ onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
order: string, The order of the returned subscriptions
Allowed values
subscriptionOrderUnspecified -
relevance - Sort by relevance.
unread - Sort by order of activity.
alphabetical - Sort alphabetically.
- onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
- maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
- forChannelId: string, Return the subscriptions to the subset of these channels that the authenticated user is subscribed to.
pageToken: string, 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.
- myRecentSubscribers: boolean, A parameter
id: string, Return the subscriptions with the given IDs for Stubby or Apiary. (repeated)
- mine: boolean, Flag for returning the subscriptions of the authenticated user.
+ myRecentSubscribers: boolean, A parameter
+ mySubscribers: boolean, Return the subscribers of the given channel owner.
+ maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
+ channelId: string, Return the subscriptions of the given channel owner.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -323,60 +323,58 @@
An object of the form:
{
- "visitorId": "A String", # The visitorId identifies the visitor.
"items": [ # A list of subscriptions that match the request criteria.
{ # 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.
- "etag": "A String", # Etag of this resource.
- "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
- "channelId": "A String", # The channel ID of the subscriber.
- "title": "A String", # The title of the subscriber.
- "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
- "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
- "height": 42, # (Optional) Height of the thumbnail image.
- "url": "A String", # The thumbnail image's URL.
- "width": 42, # (Optional) Width of the thumbnail image.
- },
- },
- "description": "A String", # The description of the subscriber.
- },
- "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
- "newItemCount": 42, # The number of new items in the subscription since its content was last read.
- "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
- "totalItemCount": 42, # The approximate number of items that the subscription points to.
- },
- "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
"snippet": { # Basic details about a subscription, including title, description and thumbnails of the subscribed item. # The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.
+ "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
+ "videoId": "A String", # 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.
+ "kind": "A String", # The type of the API resource.
+ "channelId": "A String", # 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.
+ "playlistId": "A String", # 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.
+ },
+ "description": "A String", # The subscription's details.
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # 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.
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
+ "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
+ },
+ "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
+ "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
+ "title": "A String", # The subscription's title.
+ "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
+ },
+ "subscriberSnippet": { # Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. # The subscriberSnippet object contains basic details about the subscriber.
+ "description": "A String", # The description of the subscriber.
+ "title": "A String", # The title of the subscriber.
+ "channelId": "A String", # The channel ID of the subscriber.
+ "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # Thumbnails for this subscriber.
+ "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
@@ -392,33 +390,35 @@
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
- },
- "publishedAt": "A String", # The date and time that the subscription was created. The value is specified in ISO 8601 format.
- "title": "A String", # The subscription's title.
- "channelId": "A String", # The ID that YouTube uses to uniquely identify the subscriber's channel.
- "channelTitle": "A String", # Channel title for the channel that the subscription belongs to.
- "description": "A String", # The subscription's details.
- "resourceId": { # A resource id is a generic reference that points to another YouTube resource. # The id object contains information about the channel that the user subscribed to.
- "videoId": "A String", # 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.
- "playlistId": "A String", # 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.
- "kind": "A String", # The type of the API resource.
- "channelId": "A String", # 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.
+ "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
+ "height": 42, # (Optional) Height of the thumbnail image.
+ "url": "A String", # The thumbnail image's URL.
+ "width": 42, # (Optional) Width of the thumbnail image.
+ },
},
},
"kind": "youtube#subscription", # Identifies what kind of resource this is. Value: the fixed string "youtube#subscription".
+ "id": "A String", # The ID that YouTube uses to uniquely identify the subscription.
+ "contentDetails": { # Details about the content to witch a subscription refers. # The contentDetails object contains basic statistics about the subscription.
+ "activityType": "A String", # The type of activity this subscription is for (only uploads, everything).
+ "newItemCount": 42, # The number of new items in the subscription since its content was last read.
+ "totalItemCount": 42, # The approximate number of items that the subscription points to.
+ },
+ "etag": "A String", # Etag of this resource.
},
],
- "kind": "youtube#subscriptionListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#subscriptionListResponse".
- "etag": "A String", # Etag of this resource.
- "eventId": "A String", # Serialized EventId of the request which produced this response.
- "prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
"nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
- "tokenPagination": { # Stub token pagination template to suppress results.
- },
+ "kind": "youtube#subscriptionListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#subscriptionListResponse".
+ "prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
"pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
"totalResults": 42, # The total number of results in the result set.
"resultsPerPage": 42, # The number of results included in the API response.
},
+ "eventId": "A String", # Serialized EventId of the request which produced this response.
+ "visitorId": "A String", # The visitorId identifies the visitor.
+ "tokenPagination": { # Stub token pagination template to suppress results.
+ },
+ "etag": "A String", # Etag of this resource.
}</pre>
</div>