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.thirdPartyLinks.methods.delete.parameters.externalChannelId.description
- resources.thirdPartyLinks.methods.delete.parameters.externalChannelId.location
- resources.thirdPartyLinks.methods.delete.parameters.externalChannelId.type
- resources.thirdPartyLinks.methods.insert.parameters.externalChannelId.description
- resources.thirdPartyLinks.methods.insert.parameters.externalChannelId.location
- resources.thirdPartyLinks.methods.insert.parameters.externalChannelId.type
- resources.thirdPartyLinks.methods.list.parameters.externalChannelId.description
- resources.thirdPartyLinks.methods.list.parameters.externalChannelId.location
- resources.thirdPartyLinks.methods.list.parameters.externalChannelId.type
- resources.thirdPartyLinks.methods.update.parameters.externalChannelId.description
- resources.thirdPartyLinks.methods.update.parameters.externalChannelId.location
- resources.thirdPartyLinks.methods.update.parameters.externalChannelId.type
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 23, 2021
1 parent e0e3806 commit af6f496
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
22 changes: 21 additions & 1 deletion discovery/youtube-v3.json
Expand Up @@ -3049,6 +3049,11 @@
"type"
],
"parameters": {
"externalChannelId": {
"description": "Channel ID to which changes should be applied, for delegation.",
"location": "query",
"type": "string"
},
"linkingToken": {
"description": "Delete the partner links with the given linking token.",
"location": "query",
Expand Down Expand Up @@ -3087,6 +3092,11 @@
"part"
],
"parameters": {
"externalChannelId": {
"description": "Channel ID to which changes should be applied, for delegation.",
"location": "query",
"type": "string"
},
"part": {
"description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.",
"location": "query",
Expand All @@ -3112,6 +3122,11 @@
"part"
],
"parameters": {
"externalChannelId": {
"description": "Channel ID to which changes should be applied, for delegation.",
"location": "query",
"type": "string"
},
"linkingToken": {
"description": "Get a third party link with the given linking token.",
"location": "query",
Expand Down Expand Up @@ -3152,6 +3167,11 @@
"part"
],
"parameters": {
"externalChannelId": {
"description": "Channel ID to which changes should be applied, for delegation.",
"location": "query",
"type": "string"
},
"part": {
"description": "The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.",
"location": "query",
Expand Down Expand Up @@ -3769,7 +3789,7 @@
}
}
},
"revision": "20210912",
"revision": "20210920",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
Expand Down
24 changes: 24 additions & 0 deletions src/apis/youtube/v3.ts
Expand Up @@ -14501,6 +14501,8 @@ export namespace youtube_v3 {
*
* // Do the magic
* const res = await youtube.thirdPartyLinks.delete({
* // Channel ID to which changes should be applied, for delegation.
* externalChannelId: 'placeholder-value',
* // Delete the partner links with the given linking token.
* linkingToken: 'placeholder-value',
* // Do not use. Required for compatibility.
Expand Down Expand Up @@ -14627,6 +14629,8 @@ export namespace youtube_v3 {
*
* // Do the magic
* const res = await youtube.thirdPartyLinks.insert({
* // Channel ID to which changes should be applied, for delegation.
* externalChannelId: 'placeholder-value',
* // The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
* part: 'placeholder-value',
*
Expand Down Expand Up @@ -14772,6 +14776,8 @@ export namespace youtube_v3 {
*
* // Do the magic
* const res = await youtube.thirdPartyLinks.list({
* // Channel ID to which changes should be applied, for delegation.
* externalChannelId: 'placeholder-value',
* // Get a third party link with the given linking token.
* linkingToken: 'placeholder-value',
* // The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet.
Expand Down Expand Up @@ -14909,6 +14915,8 @@ export namespace youtube_v3 {
*
* // Do the magic
* const res = await youtube.thirdPartyLinks.update({
* // Channel ID to which changes should be applied, for delegation.
* externalChannelId: 'placeholder-value',
* // The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
* part: 'placeholder-value',
*
Expand Down Expand Up @@ -15030,6 +15038,10 @@ export namespace youtube_v3 {

export interface Params$Resource$Thirdpartylinks$Delete
extends StandardParameters {
/**
* Channel ID to which changes should be applied, for delegation.
*/
externalChannelId?: string;
/**
* Delete the partner links with the given linking token.
*/
Expand All @@ -15045,6 +15057,10 @@ export namespace youtube_v3 {
}
export interface Params$Resource$Thirdpartylinks$Insert
extends StandardParameters {
/**
* Channel ID to which changes should be applied, for delegation.
*/
externalChannelId?: string;
/**
* The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
*/
Expand All @@ -15057,6 +15073,10 @@ export namespace youtube_v3 {
}
export interface Params$Resource$Thirdpartylinks$List
extends StandardParameters {
/**
* Channel ID to which changes should be applied, for delegation.
*/
externalChannelId?: string;
/**
* Get a third party link with the given linking token.
*/
Expand All @@ -15072,6 +15092,10 @@ export namespace youtube_v3 {
}
export interface Params$Resource$Thirdpartylinks$Update
extends StandardParameters {
/**
* Channel ID to which changes should be applied, for delegation.
*/
externalChannelId?: string;
/**
* The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
*/
Expand Down

0 comments on commit af6f496

Please sign in to comment.