Skip to content

Commit 66d216b

Browse files
feat(youtube): update the API
#### youtube:v3 The following keys were added: - schemas.ChannelStatus.properties.isChannelMonetizationEnabled.description - schemas.ChannelStatus.properties.isChannelMonetizationEnabled.type The following keys were changed: - schemas.ContentRating.properties.djctqRatingReasons.items.enum - schemas.ContentRating.properties.djctqRatingReasons.items.enumDescriptions
1 parent 8e17ec6 commit 66d216b

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

discovery/youtube-v3.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@
41004100
}
41014101
}
41024102
},
4103-
"revision": "20250122",
4103+
"revision": "20250224",
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"
@@ -6486,7 +6490,11 @@
64866490
"djctqIllegalDrugs",
64876491
"djctqInappropriateLanguage",
64886492
"djctqCriminalActs",
6489-
"djctqImpactingContent"
6493+
"djctqImpactingContent",
6494+
"djctqFear",
6495+
"djctqMedicalProcedures",
6496+
"djctqSensitiveTopics",
6497+
"djctqFantasyViolence"
64906498
],
64916499
"enumDescriptions": [
64926500
"",
@@ -6501,7 +6509,11 @@
65016509
"Drogas Ilícitas (Illegal drugs)",
65026510
"Linguagem Imprópria (Inappropriate language)",
65036511
"Atos Criminosos (Criminal Acts)",
6504-
"Conteúdo Impactante (Impacting content)"
6512+
"Conteúdo Impactante (Impacting content)",
6513+
"Temer (Fear)",
6514+
"Procedimentos médicos (Medical Procedures)",
6515+
"Tópicos sensíveis (Sensitive Topics)",
6516+
"Fantasia Violência (Fantasy Violence)"
65056517
],
65066518
"type": "string"
65076519
},

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)