Skip to content

Commit 1440c2b

Browse files
yoshi-automationsofisl
authored andcommitted
feat(youtube): update the API
#### youtube:v3 The following keys were added: - resources.videoTrainability.methods.get.description - resources.videoTrainability.methods.get.flatPath - resources.videoTrainability.methods.get.httpMethod - resources.videoTrainability.methods.get.id - resources.videoTrainability.methods.get.parameterOrder - resources.videoTrainability.methods.get.parameters.id.description - resources.videoTrainability.methods.get.parameters.id.location - resources.videoTrainability.methods.get.parameters.id.type - resources.videoTrainability.methods.get.path - resources.videoTrainability.methods.get.response.$ref - resources.videoTrainability.methods.get.scopes - schemas.ChannelToStoreLinkDetails.properties.merchantAffiliateProgramDetails.$ref - schemas.ChannelToStoreLinkDetails.properties.merchantAffiliateProgramDetails.description - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.description - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.id - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.properties.status.description - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.properties.status.enum - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.properties.status.enumDescriptions - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.properties.status.type - schemas.ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails.type - schemas.InvideoBranding.properties.position.deprecated - schemas.TestItem.properties.etag.description - schemas.TestItem.properties.etag.type - schemas.VideoStatus.properties.containsSyntheticMedia.description - schemas.VideoStatus.properties.containsSyntheticMedia.type - schemas.VideoTrainability.description - schemas.VideoTrainability.id - schemas.VideoTrainability.properties.etag.description - schemas.VideoTrainability.properties.etag.type - schemas.VideoTrainability.properties.kind.default - schemas.VideoTrainability.properties.kind.description - schemas.VideoTrainability.properties.kind.type - schemas.VideoTrainability.properties.permitted.description - schemas.VideoTrainability.properties.permitted.items.type - schemas.VideoTrainability.properties.permitted.type - schemas.VideoTrainability.properties.videoId.description - schemas.VideoTrainability.properties.videoId.type - schemas.VideoTrainability.type The following keys were changed: - resources.liveChatMessages.methods.list.parameters.maxResults.description - schemas.InvideoBranding.description - schemas.PlaylistItemListResponse.properties.kind.description - schemas.VideoLiveStreamingDetails.properties.scheduledEndTime.description - schemas.VideoSuggestionsTagSuggestion.description
1 parent fd82ccc commit 1440c2b

File tree

2 files changed

+252
-11
lines changed

2 files changed

+252
-11
lines changed

discovery/youtube-v3.json

+97-6
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@
17571757
},
17581758
"maxResults": {
17591759
"default": "500",
1760-
"description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.",
1760+
"description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.",
17611761
"format": "uint32",
17621762
"location": "query",
17631763
"maximum": "2000",
@@ -3610,6 +3610,34 @@
36103610
}
36113611
}
36123612
},
3613+
"videoTrainability": {
3614+
"methods": {
3615+
"get": {
3616+
"description": "Returns the trainability status of a video.",
3617+
"flatPath": "youtube/v3/videoTrainability",
3618+
"httpMethod": "GET",
3619+
"id": "youtube.videoTrainability.get",
3620+
"parameterOrder": [],
3621+
"parameters": {
3622+
"id": {
3623+
"description": "The ID of the video to retrieve.",
3624+
"location": "query",
3625+
"type": "string"
3626+
}
3627+
},
3628+
"path": "youtube/v3/videoTrainability",
3629+
"response": {
3630+
"$ref": "VideoTrainability"
3631+
},
3632+
"scopes": [
3633+
"https://www.googleapis.com/auth/youtube",
3634+
"https://www.googleapis.com/auth/youtube.force-ssl",
3635+
"https://www.googleapis.com/auth/youtube.readonly",
3636+
"https://www.googleapis.com/auth/youtubepartner"
3637+
]
3638+
}
3639+
}
3640+
},
36133641
"videos": {
36143642
"methods": {
36153643
"delete": {
@@ -4072,7 +4100,7 @@
40724100
}
40734101
}
40744102
},
4075-
"revision": "20240926",
4103+
"revision": "20250122",
40764104
"rootUrl": "https://youtube.googleapis.com/",
40774105
"schemas": {
40784106
"AbuseReport": {
@@ -5551,6 +5579,10 @@
55515579
"$ref": "ChannelToStoreLinkDetailsBillingDetails",
55525580
"description": "Information specific to billing (read-only)."
55535581
},
5582+
"merchantAffiliateProgramDetails": {
5583+
"$ref": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails",
5584+
"description": "Information specific to merchant affiliate program (read-only)."
5585+
},
55545586
"merchantId": {
55555587
"description": "Google Merchant Center id of the store.",
55565588
"format": "uint64",
@@ -5590,6 +5622,29 @@
55905622
},
55915623
"type": "object"
55925624
},
5625+
"ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails": {
5626+
"description": "Information specific to merchant affiliate program.",
5627+
"id": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails",
5628+
"properties": {
5629+
"status": {
5630+
"description": "The current merchant affiliate program status.",
5631+
"enum": [
5632+
"merchantAffiliateProgramStatusUnspecified",
5633+
"merchantAffiliateProgramStatusEligible",
5634+
"merchantAffiliateProgramStatusActive",
5635+
"merchantAffiliateProgramStatusPaused"
5636+
],
5637+
"enumDescriptions": [
5638+
"Unspecified status.",
5639+
"Merchant is eligible for the merchant affiliate program.",
5640+
"Merchant affiliate program is active.",
5641+
"Merchant affiliate program is paused."
5642+
],
5643+
"type": "string"
5644+
}
5645+
},
5646+
"type": "object"
5647+
},
55935648
"ChannelTopicDetails": {
55945649
"description": "Freebase topic information related to the channel.",
55955650
"id": "ChannelTopicDetails",
@@ -8057,7 +8112,7 @@
80578112
"type": "object"
80588113
},
80598114
"InvideoBranding": {
8060-
"description": "LINT.IfChange Describes an invideo branding.",
8115+
"description": "Describes an invideo branding.",
80618116
"id": "InvideoBranding",
80628117
"properties": {
80638118
"imageBytes": {
@@ -8071,6 +8126,7 @@
80718126
},
80728127
"position": {
80738128
"$ref": "InvideoPosition",
8129+
"deprecated": true,
80748130
"description": "The spatial position within the video where the branding watermark will be displayed."
80758131
},
80768132
"targetChannelId": {
@@ -10014,7 +10070,7 @@
1001410070
},
1001510071
"kind": {
1001610072
"default": "youtube#playlistItemListResponse",
10017-
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\". Etag of this resource.",
10073+
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\".",
1001810074
"type": "string"
1001910075
},
1002010076
"nextPageToken": {
@@ -10762,6 +10818,10 @@
1076210818
"TestItem": {
1076310819
"id": "TestItem",
1076410820
"properties": {
10821+
"etag": {
10822+
"description": "Etag for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag.",
10823+
"type": "string"
10824+
},
1076510825
"featuredPart": {
1076610826
"type": "boolean"
1076710827
},
@@ -11639,7 +11699,7 @@
1163911699
"type": "string"
1164011700
},
1164111701
"scheduledEndTime": {
11642-
"description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely.",
11702+
"description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.",
1164311703
"format": "date-time",
1164411704
"type": "string"
1164511705
},
@@ -11952,6 +12012,10 @@
1195212012
"description": "Basic details about a video category, such as its localized title. Next Id: 19",
1195312013
"id": "VideoStatus",
1195412014
"properties": {
12015+
"containsSyntheticMedia": {
12016+
"description": "Indicates if the video contains altered or synthetic media.",
12017+
"type": "boolean"
12018+
},
1195512019
"embeddable": {
1195612020
"description": "This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update",
1195712021
"type": "boolean"
@@ -12183,7 +12247,7 @@
1218312247
"type": "object"
1218412248
},
1218512249
"VideoSuggestionsTagSuggestion": {
12186-
"description": "A single tag suggestion with it's relevance information.",
12250+
"description": "A single tag suggestion with its relevance information.",
1218712251
"id": "VideoSuggestionsTagSuggestion",
1218812252
"properties": {
1218912253
"categoryRestricts": {
@@ -12228,6 +12292,33 @@
1222812292
},
1222912293
"type": "object"
1223012294
},
12295+
"VideoTrainability": {
12296+
"description": "Specifies who is allowed to train on the video.",
12297+
"id": "VideoTrainability",
12298+
"properties": {
12299+
"etag": {
12300+
"description": "Etag of this resource.",
12301+
"type": "string"
12302+
},
12303+
"kind": {
12304+
"default": "youtube#videoTrainability",
12305+
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#videoTrainability\".",
12306+
"type": "string"
12307+
},
12308+
"permitted": {
12309+
"description": "Specifies who is allowed to train on the video. Valid values are: - a single string \"all\" - a single string \"none\" - a list of allowed parties",
12310+
"items": {
12311+
"type": "string"
12312+
},
12313+
"type": "array"
12314+
},
12315+
"videoId": {
12316+
"description": "The ID of the video.",
12317+
"type": "string"
12318+
}
12319+
},
12320+
"type": "object"
12321+
},
1223112322
"WatchSettings": {
1223212323
"description": "Branding properties for the watch. All deprecated.",
1223312324
"id": "WatchSettings",

0 commit comments

Comments
 (0)