Skip to content

Commit 1b6c277

Browse files
feat(youtube)!: update the API
BREAKING CHANGE: This release has breaking changes. #### youtube:v3 The following keys were deleted: - resources.activities.methods.list.parameters.mine.deprecated - schemas.LiveChatGiftDetails.properties.jewelsCount.description - schemas.LiveChatGiftDetails.properties.jewelsCount.format - schemas.LiveChatGiftDetails.properties.jewelsCount.type The following keys were added: - resources.activities.methods.list.parameters.home.deprecated - resources.tests.methods.insert.parameters.onBehalfOfContentOwnerChannel.location - resources.tests.methods.insert.parameters.onBehalfOfContentOwnerChannel.type - schemas.LiveChatGiftDetails.properties.jewelsAmount.description - schemas.LiveChatGiftDetails.properties.jewelsAmount.format - schemas.LiveChatGiftDetails.properties.jewelsAmount.type
1 parent dd560af commit 1b6c277

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

discovery/youtube-v3.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
"type": "string"
173173
},
174174
"home": {
175+
"deprecated": true,
175176
"location": "query",
176177
"type": "boolean"
177178
},
@@ -185,7 +186,6 @@
185186
"type": "integer"
186187
},
187188
"mine": {
188-
"deprecated": true,
189189
"location": "query",
190190
"type": "boolean"
191191
},
@@ -3305,6 +3305,10 @@
33053305
"location": "query",
33063306
"type": "string"
33073307
},
3308+
"onBehalfOfContentOwnerChannel": {
3309+
"location": "query",
3310+
"type": "string"
3311+
},
33083312
"part": {
33093313
"location": "query",
33103314
"repeated": true,
@@ -4172,7 +4176,7 @@
41724176
}
41734177
}
41744178
},
4175-
"revision": "20260205",
4179+
"revision": "20260430",
41764180
"rootUrl": "https://youtube.googleapis.com/",
41774181
"schemas": {
41784182
"AbuseReport": {
@@ -8832,8 +8836,8 @@
88328836
"description": "Whether the gift involves a visual effect.",
88338837
"type": "boolean"
88348838
},
8835-
"jewelsCount": {
8836-
"description": "The cost of the gift in jewels.",
8839+
"jewelsAmount": {
8840+
"description": "The value of the gift in jewels.",
88378841
"format": "int32",
88388842
"type": "integer"
88398843
},

src/apis/youtube/v3.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,9 +2376,9 @@ export namespace youtube_v3 {
23762376
*/
23772377
hasVisualEffect?: boolean | null;
23782378
/**
2379-
* The cost of the gift in jewels.
2379+
* The value of the gift in jewels.
23802380
*/
2381-
jewelsCount?: number | null;
2381+
jewelsAmount?: number | null;
23822382
/**
23832383
* The BCP-47 language code of the gift.
23842384
*/
@@ -16093,6 +16093,8 @@ export namespace youtube_v3 {
1609316093
* const res = await youtube.tests.insert({
1609416094
* externalChannelId: 'placeholder-value',
1609516095
*
16096+
* onBehalfOfContentOwnerChannel: 'placeholder-value',
16097+
*
1609616098
* part: 'placeholder-value',
1609716099
*
1609816100
* // Request body metadata
@@ -16216,6 +16218,10 @@ export namespace youtube_v3 {
1621616218
*
1621716219
*/
1621816220
externalChannelId?: string;
16221+
/**
16222+
*
16223+
*/
16224+
onBehalfOfContentOwnerChannel?: string;
1621916225
/**
1622016226
*
1622116227
*/

0 commit comments

Comments
 (0)