Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: discovery/googleapis/youtube__v3.json

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/youtubeAnalytics__v1.json ('k') | discovery/googleapis/youtubereporting__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/youtube__v3.json
diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json
index 9f6d9dbed792aefd59f8c3256b86e7462e90f309..28dd2fbee172cd2bc222d652ad2191826382f804 100644
--- a/discovery/googleapis/youtube__v3.json
+++ b/discovery/googleapis/youtube__v3.json
@@ -30,7 +30,7 @@
"description": "Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/youtube/v3",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/4auVy5GLotTS3CICB9zLFhVaxUM\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/f81k8b4sv9uLeywfoj2KpL2xcPg\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/youtube-16.png",
"x32": "https://www.google.com/images/icons/product/youtube-32.png"
@@ -2933,6 +2933,54 @@
}
}
},
+ "superChatEvents": {
+ "methods": {
+ "list": {
+ "description": "Lists Super Chat events for a channel.",
+ "httpMethod": "GET",
+ "id": "youtube.superChatEvents.list",
+ "parameterOrder": [
+ "part"
+ ],
+ "parameters": {
+ "hl": {
+ "description": "The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.\n\nIf localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "5",
+ "description": "The maxResults parameter specifies the maximum number of items that should be returned in the result set.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "50",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.",
+ "location": "query",
+ "type": "string"
+ },
+ "part": {
+ "description": "The part parameter specifies the superChatEvent resource parts that the API response will include. Supported values are id and snippet.",
+ "location": "query",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "superChatEvents",
+ "response": {
+ "$ref": "SuperChatEventListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/youtube",
+ "https://www.googleapis.com/auth/youtube.force-ssl",
+ "https://www.googleapis.com/auth/youtube.readonly"
+ ]
+ }
+ }
+ },
"thumbnails": {
"methods": {
"set": {
@@ -3488,7 +3536,7 @@
}
}
},
- "revision": "20161202",
+ "revision": "20170130",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AccessPolicy": {
@@ -4878,6 +4926,13 @@
"description": "Freebase topic information related to the channel.",
"id": "ChannelTopicDetails",
"properties": {
+ "topicCategories": {
+ "description": "A list of Wikipedia URLs that describe the channel's content.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"topicIds": {
"description": "A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.",
"items": {
@@ -7851,7 +7906,7 @@
"id": "LiveChatMessageSnippet",
"properties": {
"authorChannelId": {
- "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action",
+ "description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase",
"type": "string"
},
"displayMessage": {
@@ -7892,6 +7947,10 @@
"format": "date-time",
"type": "string"
},
+ "superChatDetails": {
+ "$ref": "LiveChatSuperChatDetails",
+ "description": "Details about the Super Chat event, this is only set if the type is 'superChatEvent'."
+ },
"textMessageDetails": {
"$ref": "LiveChatTextMessageDetails",
"description": "Details about the text message, this is only set if the type is 'textMessageEvent'."
@@ -7910,6 +7969,7 @@
"pollVotedEvent",
"sponsorOnlyModeEndedEvent",
"sponsorOnlyModeStartedEvent",
+ "superChatEvent",
"textMessageEvent",
"tombstone",
"userBannedEvent"
@@ -7928,6 +7988,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -8093,6 +8154,34 @@
},
"type": "object"
},
+ "LiveChatSuperChatDetails": {
+ "id": "LiveChatSuperChatDetails",
+ "properties": {
+ "amountDisplayString": {
+ "description": "A rendered string that displays the fund amount and currency to the user.",
+ "type": "string"
+ },
+ "amountMicros": {
+ "description": "The amount purchased by the user, in micros (1,750,000 micros = 1.75).",
+ "format": "uint64",
+ "type": "string"
+ },
+ "currency": {
+ "description": "The currency in which the purchase was made.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The tier in which the amount belongs to. Lower amounts belong to lower tiers. Starts at 1.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "userComment": {
+ "description": "The comment added by the user to this Super Chat event.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"LiveChatTextMessageDetails": {
"id": "LiveChatTextMessageDetails",
"properties": {
@@ -9347,6 +9436,111 @@
},
"type": "object"
},
+ "SuperChatEvent": {
+ "description": "A superChatEvent resource represents a Super Chat purchase on a YouTube channel.",
+ "id": "SuperChatEvent",
+ "properties": {
+ "etag": {
+ "description": "Etag of this resource.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The ID that YouTube assigns to uniquely identify the Super Chat event.",
+ "type": "string"
+ },
+ "kind": {
+ "default": "youtube#superChatEvent",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEvent\".",
+ "type": "string"
+ },
+ "snippet": {
+ "$ref": "SuperChatEventSnippet",
+ "description": "The snippet object contains basic details about the Super Chat event."
+ }
+ },
+ "type": "object"
+ },
+ "SuperChatEventListResponse": {
+ "id": "SuperChatEventListResponse",
+ "properties": {
+ "etag": {
+ "description": "Etag of this resource.",
+ "type": "string"
+ },
+ "eventId": {
+ "description": "Serialized EventId of the request which produced this response.",
+ "type": "string"
+ },
+ "items": {
+ "description": "A list of Super Chat purchases that match the request criteria.",
+ "items": {
+ "$ref": "SuperChatEvent"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "youtube#superChatEventListResponse",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#superChatEventListResponse\".",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
+ "type": "string"
+ },
+ "pageInfo": {
+ "$ref": "PageInfo"
+ },
+ "tokenPagination": {
+ "$ref": "TokenPagination"
+ },
+ "visitorId": {
+ "description": "The visitorId identifies the visitor.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SuperChatEventSnippet": {
+ "id": "SuperChatEventSnippet",
+ "properties": {
+ "amountMicros": {
+ "description": "The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "channelId": {
+ "description": "Channel id where the event occurred.",
+ "type": "string"
+ },
+ "commentText": {
+ "description": "The text contents of the comment left by the user.",
+ "type": "string"
+ },
+ "createdAt": {
+ "description": "The date and time when the event occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "currency": {
+ "description": "The currency in which the purchase was made. ISO 4217.",
+ "type": "string"
+ },
+ "displayString": {
+ "description": "A rendered string that displays the purchase amount and currency (e.g., \"$1.00\"). The string is rendered for the given language.",
+ "type": "string"
+ },
+ "messageType": {
+ "description": "The tier for the paid message, which is based on the amount of money spent to purchase the message.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "supporterDetails": {
+ "$ref": "ChannelProfileDetails",
+ "description": "Details about the supporter."
+ }
+ },
+ "type": "object"
+ },
"Thumbnail": {
"description": "A thumbnail is an image representing a YouTube resource.",
"id": "Thumbnail",
@@ -10537,7 +10731,8 @@
"docFile",
"imageFile",
"notAVideoFile",
- "projectFile"
+ "projectFile",
+ "unsupportedSpatialAudioLayout"
],
"enumDescriptions": [
"",
@@ -10545,6 +10740,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -10556,14 +10752,16 @@
"items": {
"enum": [
"nonStreamableMov",
- "procsesingHintSpatialAudio",
- "procsesingHintSphericalVideo",
- "sendBestQualityVideo"
+ "sendBestQualityVideo",
+ "spatialAudio",
+ "sphericalVideo",
+ "vrVideo"
],
"enumDescriptions": [
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -10580,7 +10778,9 @@
"problematicVideoCodec",
"unknownAudioCodec",
"unknownContainer",
- "unknownVideoCodec"
+ "unknownVideoCodec",
+ "unsupportedSphericalProjectionType",
+ "unsupportedVrStereoMode"
],
"enumDescriptions": [
"",
@@ -10589,6 +10789,8 @@
"",
"",
"",
+ "",
+ "",
""
],
"type": "string"
@@ -10634,6 +10836,13 @@
},
"type": "array"
},
+ "topicCategories": {
+ "description": "A list of Wikipedia URLs that provide a high-level description of the video's content.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"topicIds": {
"description": "A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the Freebase Topic API.",
"items": {
« no previous file with comments | « discovery/googleapis/youtubeAnalytics__v1.json ('k') | discovery/googleapis/youtubereporting__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698