Skip to content

Commit 1e702f0

Browse files
feat(youtube): update the API
#### youtube:v3 The following keys were added: - schemas.ChannelStatus.properties.isChannelMonetizationEnabled.description - schemas.ChannelStatus.properties.isChannelMonetizationEnabled.type
1 parent a9253cd commit 1e702f0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

discovery/youtube-v3.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@
41004100
}
41014101
}
41024102
},
4103-
"revision": "20250122",
4103+
"revision": "20250128",
41044104
"rootUrl": "https://youtube.googleapis.com/",
41054105
"schemas": {
41064106
"AbuseReport": {
@@ -5528,6 +5528,10 @@
55285528
"description": "JSON template for the status part of a channel.",
55295529
"id": "ChannelStatus",
55305530
"properties": {
5531+
"isChannelMonetizationEnabled": {
5532+
"description": "Whether the channel is considered ypp monetization enabled. See go/yppornot for more details.",
5533+
"type": "boolean"
5534+
},
55315535
"isLinked": {
55325536
"description": "If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.",
55335537
"type": "boolean"

src/apis/youtube/v3.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,10 @@ export namespace youtube_v3 {
11121112
* JSON template for the status part of a channel.
11131113
*/
11141114
export interface Schema$ChannelStatus {
1115+
/**
1116+
* Whether the channel is considered ypp monetization enabled. See go/yppornot for more details.
1117+
*/
1118+
isChannelMonetizationEnabled?: boolean | null;
11151119
/**
11161120
* If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.
11171121
*/

0 commit comments

Comments
 (0)