Skip to content

Commit

Permalink
feat(youtube): update the api
Browse files Browse the repository at this point in the history
#### youtube:v3

The following keys were added:
- resources.playlistImages.methods.insert.mediaUpload (Total Keys: 6)
- resources.playlistImages.methods.insert.supportsMediaUpload (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent b8084ae commit 477bd54
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/dyn/youtube_v3.playlistImages.html
Expand Up @@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
<code><a href="#delete">delete(id=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a resource.</p>
<p class="toc_element">
<code><a href="#insert">insert(body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=None, x__xgafv=None)</a></code></p>
<code><a href="#insert">insert(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=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(maxResults=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, parent=None, part=None, x__xgafv=None)</a></code></p>
Expand Down Expand Up @@ -113,7 +113,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="insert">insert(body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=None, x__xgafv=None)</code>
<code class="details" id="insert">insert(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, part=None, x__xgafv=None)</code>
<pre>Inserts a new resource into this collection.

Args:
Expand All @@ -131,6 +131,8 @@ <h3>Method Details</h3>
},
}

media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request&#x27;s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
onBehalfOfContentOwnerChannel: 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.
part: string, The *part* parameter specifies the properties that the API response will include. (repeated)
Expand Down
23 changes: 21 additions & 2 deletions googleapiclient/discovery_cache/documents/youtube.v3.json
Expand Up @@ -2203,6 +2203,24 @@
"flatPath": "youtube/v3/playlistImages",
"httpMethod": "POST",
"id": "youtube.playlistImages.insert",
"mediaUpload": {
"accept": [
"image/jpeg",
"image/png",
"application/octet-stream"
],
"maxSize": "2097152",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/youtube/v3/playlistImages"
},
"simple": {
"multipart": true,
"path": "/upload/youtube/v3/playlistImages"
}
}
},
"parameterOrder": [],
"parameters": {
"onBehalfOfContentOwner": {
Expand Down Expand Up @@ -2233,7 +2251,8 @@
"https://www.googleapis.com/auth/youtube",
"https://www.googleapis.com/auth/youtube.force-ssl",
"https://www.googleapis.com/auth/youtubepartner"
]
],
"supportsMediaUpload": true
},
"list": {
"description": "Retrieves a list of resources, possibly filtered.",
Expand Down Expand Up @@ -3999,7 +4018,7 @@
}
}
},
"revision": "20240213",
"revision": "20240225",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
Expand Down

0 comments on commit 477bd54

Please sign in to comment.