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

Side by Side Diff: discovery/googleapis/youtube__v3.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/youtube": { 5 "https://www.googleapis.com/auth/youtube": {
6 "description": "Manage your YouTube account" 6 "description": "Manage your YouTube account"
7 }, 7 },
8 "https://www.googleapis.com/auth/youtube.force-ssl": { 8 "https://www.googleapis.com/auth/youtube.force-ssl": {
9 "description": "Manage your YouTube account" 9 "description": "Manage your YouTube account"
10 }, 10 },
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 } 24 }
25 }, 25 },
26 "basePath": "/youtube/v3/", 26 "basePath": "/youtube/v3/",
27 "baseUrl": "https://www.googleapis.com/youtube/v3/", 27 "baseUrl": "https://www.googleapis.com/youtube/v3/",
28 "batchPath": "batch", 28 "batchPath": "batch",
29 "canonicalName": "YouTube", 29 "canonicalName": "YouTube",
30 "description": "Supports core YouTube features, such as uploading videos, cr eating and managing playlists, searching for content, and much more.", 30 "description": "Supports core YouTube features, such as uploading videos, cr eating and managing playlists, searching for content, and much more.",
31 "discoveryVersion": "v1", 31 "discoveryVersion": "v1",
32 "documentationLink": "https://developers.google.com/youtube/v3", 32 "documentationLink": "https://developers.google.com/youtube/v3",
33 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/pZJ6FrWelp1JEEvc4KJivkB6dHw\"", 33 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/A3ttvUq-FH-9G6uAbfXxwyLfegU\"",
34 "icons": { 34 "icons": {
35 "x16": "https://www.google.com/images/icons/product/youtube-16.png", 35 "x16": "https://www.google.com/images/icons/product/youtube-16.png",
36 "x32": "https://www.google.com/images/icons/product/youtube-32.png" 36 "x32": "https://www.google.com/images/icons/product/youtube-32.png"
37 }, 37 },
38 "id": "youtube:v3", 38 "id": "youtube:v3",
39 "kind": "discovery#restDescription", 39 "kind": "discovery#restDescription",
40 "name": "youtube", 40 "name": "youtube",
41 "ownerDomain": "google.com", 41 "ownerDomain": "google.com",
42 "ownerName": "Google", 42 "ownerName": "Google",
43 "parameters": { 43 "parameters": {
(...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
2094 "id": "youtube.playlistItems.delete", 2094 "id": "youtube.playlistItems.delete",
2095 "parameterOrder": [ 2095 "parameterOrder": [
2096 "id" 2096 "id"
2097 ], 2097 ],
2098 "parameters": { 2098 "parameters": {
2099 "id": { 2099 "id": {
2100 "description": "The id parameter specifies the YouTu be playlist item ID for the playlist item that is being deleted. In a playlistIt em resource, the id property specifies the playlist item's ID.", 2100 "description": "The id parameter specifies the YouTu be playlist item ID for the playlist item that is being deleted. In a playlistIt em resource, the id property specifies the playlist item's ID.",
2101 "location": "query", 2101 "location": "query",
2102 "required": true, 2102 "required": true,
2103 "type": "string" 2103 "type": "string"
2104 },
2105 "onBehalfOfContentOwner": {
2106 "description": "Note: This parameter is intended exc lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i ndicates that the request's authorization credentials identify a YouTube CMS use r who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage man y different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authen tication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
2107 "location": "query",
2108 "type": "string"
2104 } 2109 }
2105 }, 2110 },
2106 "path": "playlistItems", 2111 "path": "playlistItems",
2107 "scopes": [ 2112 "scopes": [
2108 "https://www.googleapis.com/auth/youtube", 2113 "https://www.googleapis.com/auth/youtube",
2109 "https://www.googleapis.com/auth/youtube.force-ssl", 2114 "https://www.googleapis.com/auth/youtube.force-ssl",
2110 "https://www.googleapis.com/auth/youtubepartner" 2115 "https://www.googleapis.com/auth/youtubepartner"
2111 ] 2116 ]
2112 }, 2117 },
2113 "insert": { 2118 "insert": {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
2205 "supportsSubscription": true 2210 "supportsSubscription": true
2206 }, 2211 },
2207 "update": { 2212 "update": {
2208 "description": "Modifies a playlist item. For example, you c ould update the item's position in the playlist.", 2213 "description": "Modifies a playlist item. For example, you c ould update the item's position in the playlist.",
2209 "httpMethod": "PUT", 2214 "httpMethod": "PUT",
2210 "id": "youtube.playlistItems.update", 2215 "id": "youtube.playlistItems.update",
2211 "parameterOrder": [ 2216 "parameterOrder": [
2212 "part" 2217 "part"
2213 ], 2218 ],
2214 "parameters": { 2219 "parameters": {
2220 "onBehalfOfContentOwner": {
2221 "description": "Note: This parameter is intended exc lusively for YouTube content partners.\n\nThe onBehalfOfContentOwner parameter i ndicates that the request's authorization credentials identify a YouTube CMS use r who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage man y different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authen tication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
2222 "location": "query",
2223 "type": "string"
2224 },
2215 "part": { 2225 "part": {
2216 "description": "The part parameter serves two purpos es in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.\n\nNote that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlis t. If your request is updating a playlist item that sets these values, and the r equest's part parameter value includes the contentDetails part, the playlist ite m's start and end times will be updated to whatever value the request body speci fies. If the request body does not specify values, the existing start and end ti mes will be removed and replaced with the default settings.", 2226 "description": "The part parameter serves two purpos es in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.\n\nNote that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlis t. If your request is updating a playlist item that sets these values, and the r equest's part parameter value includes the contentDetails part, the playlist ite m's start and end times will be updated to whatever value the request body speci fies. If the request body does not specify values, the existing start and end ti mes will be removed and replaced with the default settings.",
2217 "location": "query", 2227 "location": "query",
2218 "required": true, 2228 "required": true,
2219 "type": "string" 2229 "type": "string"
2220 } 2230 }
2221 }, 2231 },
2222 "path": "playlistItems", 2232 "path": "playlistItems",
2223 "request": { 2233 "request": {
2224 "$ref": "PlaylistItem" 2234 "$ref": "PlaylistItem"
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
3217 "id": { 3227 "id": {
3218 "description": "The id parameter specifies a comma-s eparated list of the YouTube video ID(s) for the resource(s) that are being retr ieved. In a video resource, the id property specifies the video's ID.", 3228 "description": "The id parameter specifies a comma-s eparated list of the YouTube video ID(s) for the resource(s) that are being retr ieved. In a video resource, the id property specifies the video's ID.",
3219 "location": "query", 3229 "location": "query",
3220 "type": "string" 3230 "type": "string"
3221 }, 3231 },
3222 "locale": { 3232 "locale": {
3223 "description": "DEPRECATED", 3233 "description": "DEPRECATED",
3224 "location": "query", 3234 "location": "query",
3225 "type": "string" 3235 "type": "string"
3226 }, 3236 },
3237 "maxHeight": {
3238 "description": "The maxHeight parameter specifies a maximum height of the embedded player. If maxWidth is provided, maxHeight may no t be reached in order to not violate the width request.",
3239 "format": "uint32",
3240 "location": "query",
3241 "maximum": "8192",
3242 "minimum": "72",
3243 "type": "integer"
3244 },
3227 "maxResults": { 3245 "maxResults": {
3228 "default": "5", 3246 "default": "5",
3229 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.\n\nNote: T his parameter is supported for use in conjunction with the myRating parameter, b ut it is not supported for use in conjunction with the id parameter.", 3247 "description": "The maxResults parameter specifies t he maximum number of items that should be returned in the result set.\n\nNote: T his parameter is supported for use in conjunction with the myRating parameter, b ut it is not supported for use in conjunction with the id parameter.",
3230 "format": "uint32", 3248 "format": "uint32",
3231 "location": "query", 3249 "location": "query",
3232 "maximum": "50", 3250 "maximum": "50",
3233 "minimum": "1", 3251 "minimum": "1",
3234 "type": "integer" 3252 "type": "integer"
3235 }, 3253 },
3254 "maxWidth": {
3255 "description": "The maxWidth parameter specifies a m aximum width of the embedded player. If maxHeight is provided, maxWidth may not be reached in order to not violate the height request.",
3256 "format": "uint32",
3257 "location": "query",
3258 "maximum": "8192",
3259 "minimum": "72",
3260 "type": "integer"
3261 },
3236 "myRating": { 3262 "myRating": {
3237 "description": "Set this parameter's value to like o r dislike to instruct the API to only return videos liked or disliked by the aut henticated user.", 3263 "description": "Set this parameter's value to like o r dislike to instruct the API to only return videos liked or disliked by the aut henticated user.",
3238 "enum": [ 3264 "enum": [
3239 "dislike", 3265 "dislike",
3240 "like" 3266 "like"
3241 ], 3267 ],
3242 "enumDescriptions": [ 3268 "enumDescriptions": [
3243 "Returns only videos disliked by the authenticat ed user.", 3269 "Returns only videos disliked by the authenticat ed user.",
3244 "Returns only video liked by the authenticated u ser." 3270 "Returns only video liked by the authenticated u ser."
3245 ], 3271 ],
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
3455 "path": "watermarks/unset", 3481 "path": "watermarks/unset",
3456 "scopes": [ 3482 "scopes": [
3457 "https://www.googleapis.com/auth/youtube", 3483 "https://www.googleapis.com/auth/youtube",
3458 "https://www.googleapis.com/auth/youtube.force-ssl", 3484 "https://www.googleapis.com/auth/youtube.force-ssl",
3459 "https://www.googleapis.com/auth/youtubepartner" 3485 "https://www.googleapis.com/auth/youtubepartner"
3460 ] 3486 ]
3461 } 3487 }
3462 } 3488 }
3463 } 3489 }
3464 }, 3490 },
3465 "revision": "20160805", 3491 "revision": "20161017",
3466 "rootUrl": "https://www.googleapis.com/", 3492 "rootUrl": "https://www.googleapis.com/",
3467 "schemas": { 3493 "schemas": {
3468 "AccessPolicy": { 3494 "AccessPolicy": {
3469 "description": "Rights management policy for YouTube resources.", 3495 "description": "Rights management policy for YouTube resources.",
3470 "id": "AccessPolicy", 3496 "id": "AccessPolicy",
3471 "properties": { 3497 "properties": {
3472 "allowed": { 3498 "allowed": {
3473 "description": "The value of allowed indicates whether the a ccess to the policy is allowed or denied by default.", 3499 "description": "The value of allowed indicates whether the a ccess to the policy is allowed or denied by default.",
3474 "type": "boolean" 3500 "type": "boolean"
3475 }, 3501 },
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
4285 "$ref": "WatchSettings", 4311 "$ref": "WatchSettings",
4286 "description": "Branding properties for the watch page." 4312 "description": "Branding properties for the watch page."
4287 } 4313 }
4288 }, 4314 },
4289 "type": "object" 4315 "type": "object"
4290 }, 4316 },
4291 "ChannelContentDetails": { 4317 "ChannelContentDetails": {
4292 "description": "Details about the content of a channel.", 4318 "description": "Details about the content of a channel.",
4293 "id": "ChannelContentDetails", 4319 "id": "ChannelContentDetails",
4294 "properties": { 4320 "properties": {
4295 "googlePlusUserId": {
4296 "description": "The googlePlusUserId object identifies the G oogle+ profile ID associated with this channel.",
4297 "type": "string"
4298 },
4299 "relatedPlaylists": { 4321 "relatedPlaylists": {
4300 "properties": { 4322 "properties": {
4301 "favorites": { 4323 "favorites": {
4302 "description": "The ID of the playlist that contains the channel\"s favorite videos. Use the playlistItems.insert and playlistItem s.delete to add or remove items from that list.", 4324 "description": "The ID of the playlist that contains the channel\"s favorite videos. Use the playlistItems.insert and playlistItem s.delete to add or remove items from that list.",
4303 "type": "string" 4325 "type": "string"
4304 }, 4326 },
4305 "likes": { 4327 "likes": {
4306 "description": "The ID of the playlist that contains the channel\"s liked videos. Use the playlistItems.insert and playlistItems. delete to add or remove items from that list.", 4328 "description": "The ID of the playlist that contains the channel\"s liked videos. Use the playlistItems.insert and playlistItems. delete to add or remove items from that list.",
4307 "type": "string" 4329 "type": "string"
4308 }, 4330 },
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
4937 "type": "any" 4959 "type": "any"
4938 }, 4960 },
4939 "authorChannelUrl": { 4961 "authorChannelUrl": {
4940 "description": "Link to the author's YouTube channel, if any .", 4962 "description": "Link to the author's YouTube channel, if any .",
4941 "type": "string" 4963 "type": "string"
4942 }, 4964 },
4943 "authorDisplayName": { 4965 "authorDisplayName": {
4944 "description": "The name of the user who posted the comment. ", 4966 "description": "The name of the user who posted the comment. ",
4945 "type": "string" 4967 "type": "string"
4946 }, 4968 },
4947 "authorGoogleplusProfileUrl": {
4948 "description": "Link to the author's Google+ profile, if any .",
4949 "type": "string"
4950 },
4951 "authorProfileImageUrl": { 4969 "authorProfileImageUrl": {
4952 "description": "The URL for the avatar of the user who poste d the comment.", 4970 "description": "The URL for the avatar of the user who poste d the comment.",
4953 "type": "string" 4971 "type": "string"
4954 }, 4972 },
4955 "canRate": { 4973 "canRate": {
4956 "description": "Whether the current viewer can rate this com ment.", 4974 "description": "Whether the current viewer can rate this com ment.",
4957 "type": "boolean" 4975 "type": "boolean"
4958 }, 4976 },
4959 "channelId": { 4977 "channelId": {
4960 "description": "The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.", 4978 "description": "The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.",
(...skipping 4775 matching lines...) Expand 10 before | Expand all | Expand 10 after
9736 "type": "string" 9754 "type": "string"
9737 }, 9755 },
9738 "dimension": { 9756 "dimension": {
9739 "description": "The value of dimension indicates whether the video is available in 3D or in 2D.", 9757 "description": "The value of dimension indicates whether the video is available in 3D or in 2D.",
9740 "type": "string" 9758 "type": "string"
9741 }, 9759 },
9742 "duration": { 9760 "duration": {
9743 "description": "The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that t he value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letter s are both integers that specify the number of minutes (or seconds) of the video . For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.", 9761 "description": "The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that t he value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letter s are both integers that specify the number of minutes (or seconds) of the video . For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.",
9744 "type": "string" 9762 "type": "string"
9745 }, 9763 },
9764 "hasCustomThumbnail": {
9765 "description": "Indicates whether the video uploader has pro vided a custom thumbnail image for the video. This property is only visible to t he video uploader.",
9766 "type": "boolean"
9767 },
9746 "licensedContent": { 9768 "licensedContent": {
9747 "description": "The value of is_license_content indicates wh ether the video is licensed content.", 9769 "description": "The value of is_license_content indicates wh ether the video is licensed content.",
9748 "type": "boolean" 9770 "type": "boolean"
9749 }, 9771 },
9750 "projection": { 9772 "projection": {
9751 "description": "Specifies the projection format of the video .", 9773 "description": "Specifies the projection format of the video .",
9752 "enum": [ 9774 "enum": [
9753 "360", 9775 "360",
9754 "rectangular" 9776 "rectangular"
9755 ], 9777 ],
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
9840 "", 9862 "",
9841 "", 9863 "",
9842 "", 9864 "",
9843 "", 9865 "",
9844 "", 9866 "",
9845 "", 9867 "",
9846 "" 9868 ""
9847 ], 9869 ],
9848 "type": "string" 9870 "type": "string"
9849 }, 9871 },
9850 "recordingLocation": {
9851 "$ref": "GeoPoint",
9852 "description": "Geographic coordinates that identify the pla ce where the uploaded video was recorded. Coordinates are defined using WGS 84."
9853 },
9854 "videoStreams": { 9872 "videoStreams": {
9855 "description": "A list of video streams contained in the upl oaded video file. Each item in the list contains detailed metadata about a video stream.", 9873 "description": "A list of video streams contained in the upl oaded video file. Each item in the list contains detailed metadata about a video stream.",
9856 "items": { 9874 "items": {
9857 "$ref": "VideoFileDetailsVideoStream" 9875 "$ref": "VideoFileDetailsVideoStream"
9858 }, 9876 },
9859 "type": "array" 9877 "type": "array"
9860 } 9878 }
9861 }, 9879 },
9862 "type": "object" 9880 "type": "object"
9863 }, 9881 },
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
10077 "$ref": "AccessPolicy", 10095 "$ref": "AccessPolicy",
10078 "description": "The value of access indicates whether the vi deo can be monetized or not." 10096 "description": "The value of access indicates whether the vi deo can be monetized or not."
10079 } 10097 }
10080 }, 10098 },
10081 "type": "object" 10099 "type": "object"
10082 }, 10100 },
10083 "VideoPlayer": { 10101 "VideoPlayer": {
10084 "description": "Player to be used for a video playback.", 10102 "description": "Player to be used for a video playback.",
10085 "id": "VideoPlayer", 10103 "id": "VideoPlayer",
10086 "properties": { 10104 "properties": {
10105 "embedHeight": {
10106 "format": "int64",
10107 "type": "string"
10108 },
10087 "embedHtml": { 10109 "embedHtml": {
10088 "description": "An <iframe> tag that embeds a player that wi ll play the video.", 10110 "description": "An <iframe> tag that embeds a player that wi ll play the video.",
10089 "type": "string" 10111 "type": "string"
10112 },
10113 "embedWidth": {
10114 "description": "The embed width",
10115 "format": "int64",
10116 "type": "string"
10090 } 10117 }
10091 }, 10118 },
10092 "type": "object" 10119 "type": "object"
10093 }, 10120 },
10094 "VideoProcessingDetails": { 10121 "VideoProcessingDetails": {
10095 "description": "Describes processing status and progress and availab ility of some other Video resource parts.", 10122 "description": "Describes processing status and progress and availab ility of some other Video resource parts.",
10096 "id": "VideoProcessingDetails", 10123 "id": "VideoProcessingDetails",
10097 "properties": { 10124 "properties": {
10098 "editorSuggestionsAvailability": { 10125 "editorSuggestionsAvailability": {
10099 "description": "This value indicates whether video editing s uggestions, which might improve video quality or the playback experience, are av ailable for the video. You can retrieve these suggestions by requesting the sugg estions part in your videos.list() request.", 10126 "description": "This value indicates whether video editing s uggestions, which might improve video quality or the playback experience, are av ailable for the video. You can retrieve these suggestions by requesting the sugg estions part in your videos.list() request.",
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
10599 "type": "string" 10626 "type": "string"
10600 } 10627 }
10601 }, 10628 },
10602 "type": "object" 10629 "type": "object"
10603 } 10630 }
10604 }, 10631 },
10605 "servicePath": "youtube/v3/", 10632 "servicePath": "youtube/v3/",
10606 "title": "YouTube Data API", 10633 "title": "YouTube Data API",
10607 "version": "v3" 10634 "version": "v3"
10608 } 10635 }
OLDNEW
« no previous file with comments | « discovery/googleapis/youtubeAnalytics__v1.json ('k') | discovery/googleapis_beta/adexchangebuyer2__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698