OLD | NEW |
---|---|
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 Loading... | |
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": "Programmatic access to YouTube features.", | 30 "description": "Programmatic access to YouTube features.", |
31 "discoveryVersion": "v1", | 31 "discoveryVersion": "v1", |
32 "documentationLink": "https://developers.google.com/youtube/v3", | 32 "documentationLink": "https://developers.google.com/youtube/v3", |
33 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Ru_OFZL_9JBTrnQ2wlhRmAO3y_k\"", | 33 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dDzLANLY4y_3rdEpUNli-dPof40\"", |
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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1323 }, | 1323 }, |
1324 "path": "liveBroadcasts/bind", | 1324 "path": "liveBroadcasts/bind", |
1325 "response": { | 1325 "response": { |
1326 "$ref": "LiveBroadcast" | 1326 "$ref": "LiveBroadcast" |
1327 }, | 1327 }, |
1328 "scopes": [ | 1328 "scopes": [ |
1329 "https://www.googleapis.com/auth/youtube", | 1329 "https://www.googleapis.com/auth/youtube", |
1330 "https://www.googleapis.com/auth/youtube.force-ssl" | 1330 "https://www.googleapis.com/auth/youtube.force-ssl" |
1331 ] | 1331 ] |
1332 }, | 1332 }, |
1333 "bind_direct": { | |
1334 "description": "Binds a YouTube broadcast to a stream or rem oves an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than on e broadcast.", | |
1335 "httpMethod": "POST", | |
1336 "id": "youtube.liveBroadcasts.bind_direct", | |
1337 "parameterOrder": [ | |
1338 "id", | |
1339 "part" | |
1340 ], | |
1341 "parameters": { | |
1342 "id": { | |
1343 "description": "The id parameter specifies the uniqu e ID of the broadcast that is being bound to a video stream.", | |
1344 "location": "query", | |
1345 "required": true, | |
1346 "type": "string" | |
1347 }, | |
1348 "onBehalfOfContentOwner": { | |
1349 "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.", | |
1350 "location": "query", | |
1351 "type": "string" | |
1352 }, | |
1353 "onBehalfOfContentOwnerChannel": { | |
1354 "description": "This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for Y ouTube content partners.\n\nThe onBehalfOfContentOwnerChannel parameter specifie s the YouTube channel ID of the channel to which a video is being added. This pa rameter is required when a request specifies a value for the onBehalfOfContentOw ner parameter, and it can only be used in conjunction with that parameter. In ad dition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must b e linked to the content owner that the onBehalfOfContentOwner parameter specifie s.\n\nThis parameter is intended for YouTube content partners that own and manag e many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel." , | |
1355 "location": "query", | |
1356 "type": "string" | |
1357 }, | |
1358 "part": { | |
1359 "description": "The part parameter specifies a comma -separated list of one or more liveBroadcast resource properties that the API re sponse will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.", | |
1360 "location": "query", | |
1361 "required": true, | |
1362 "type": "string" | |
1363 }, | |
1364 "streamId": { | |
1365 "description": "The streamId parameter specifies the unique ID of the video stream that is being bound to a broadcast. If this param eter is omitted, the API will remove any existing binding between the broadcast and a video stream.", | |
1366 "location": "query", | |
1367 "type": "string" | |
1368 } | |
1369 }, | |
1370 "path": "liveBroadcasts/bind/direct", | |
1371 "response": { | |
1372 "$ref": "LiveBroadcast" | |
1373 }, | |
1374 "scopes": [ | |
1375 "https://www.googleapis.com/auth/youtube", | |
1376 "https://www.googleapis.com/auth/youtube.force-ssl" | |
1377 ] | |
1378 }, | |
1333 "control": { | 1379 "control": { |
1334 "description": "Controls the settings for a slate that can b e displayed in the broadcast stream.", | 1380 "description": "Controls the settings for a slate that can b e displayed in the broadcast stream.", |
1335 "httpMethod": "POST", | 1381 "httpMethod": "POST", |
1336 "id": "youtube.liveBroadcasts.control", | 1382 "id": "youtube.liveBroadcasts.control", |
1337 "parameterOrder": [ | 1383 "parameterOrder": [ |
1338 "id", | 1384 "id", |
1339 "part" | 1385 "part" |
1340 ], | 1386 ], |
1341 "parameters": { | 1387 "parameters": { |
1342 "displaySlate": { | 1388 "displaySlate": { |
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3110 "path": "watermarks/unset", | 3156 "path": "watermarks/unset", |
3111 "scopes": [ | 3157 "scopes": [ |
3112 "https://www.googleapis.com/auth/youtube", | 3158 "https://www.googleapis.com/auth/youtube", |
3113 "https://www.googleapis.com/auth/youtube.force-ssl", | 3159 "https://www.googleapis.com/auth/youtube.force-ssl", |
3114 "https://www.googleapis.com/auth/youtubepartner" | 3160 "https://www.googleapis.com/auth/youtubepartner" |
3115 ] | 3161 ] |
3116 } | 3162 } |
3117 } | 3163 } |
3118 } | 3164 } |
3119 }, | 3165 }, |
3120 "revision": "20150529", | 3166 "revision": "20150706", |
3121 "rootUrl": "https://www.googleapis.com/", | 3167 "rootUrl": "https://www.googleapis.com/", |
3122 "schemas": { | 3168 "schemas": { |
3123 "AccessPolicy": { | 3169 "AccessPolicy": { |
3124 "description": "Rights management policy for YouTube resources.", | 3170 "description": "Rights management policy for YouTube resources.", |
3125 "id": "AccessPolicy", | 3171 "id": "AccessPolicy", |
3126 "properties": { | 3172 "properties": { |
3127 "allowed": { | 3173 "allowed": { |
3128 "description": "The value of allowed indicates whether the a ccess to the policy is allowed or denied by default.", | 3174 "description": "The value of allowed indicates whether the a ccess to the policy is allowed or denied by default.", |
3129 "type": "boolean" | 3175 "type": "boolean" |
3130 }, | 3176 }, |
(...skipping 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5522 "", | 5568 "", |
5523 "", | 5569 "", |
5524 "", | 5570 "", |
5525 "" | 5571 "" |
5526 ], | 5572 ], |
5527 "type": "string" | 5573 "type": "string" |
5528 }, | 5574 }, |
5529 "lsfRating": { | 5575 "lsfRating": { |
5530 "description": "Rating system for Indonesia - Lembaga Sensor Film", | 5576 "description": "Rating system for Indonesia - Lembaga Sensor Film", |
5531 "enum": [ | 5577 "enum": [ |
5578 "lsf13", | |
5579 "lsf17", | |
5580 "lsf21", | |
5532 "lsfA", | 5581 "lsfA", |
5533 "lsfBo", | 5582 "lsfBo", |
5534 "lsfD", | 5583 "lsfD", |
5535 "lsfR", | 5584 "lsfR", |
5536 "lsfSu", | 5585 "lsfSu", |
5537 "lsfUnrated" | 5586 "lsfUnrated" |
5538 ], | 5587 ], |
5539 "enumDescriptions": [ | 5588 "enumDescriptions": [ |
5540 "", | 5589 "", |
5541 "", | 5590 "", |
5542 "", | 5591 "", |
5543 "", | 5592 "", |
5544 "", | 5593 "", |
5594 "", | |
5595 "", | |
5596 "", | |
5545 "" | 5597 "" |
5546 ], | 5598 ], |
5547 "type": "string" | 5599 "type": "string" |
5548 }, | 5600 }, |
5549 "mccaaRating": { | 5601 "mccaaRating": { |
5550 "description": "Rating system for Malta - Film Age-Classific ation Board", | 5602 "description": "Rating system for Malta - Film Age-Classific ation Board", |
5551 "enum": [ | 5603 "enum": [ |
5552 "mccaa12", | 5604 "mccaa12", |
5553 "mccaa12a", | 5605 "mccaa12a", |
5554 "mccaa14", | 5606 "mccaa14", |
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7019 "enumDescriptions": [ | 7071 "enumDescriptions": [ |
7020 "", | 7072 "", |
7021 "", | 7073 "", |
7022 "" | 7074 "" |
7023 ], | 7075 ], |
7024 "type": "string" | 7076 "type": "string" |
7025 }, | 7077 }, |
7026 "type": { | 7078 "type": { |
7027 "description": "The kind of error happening.", | 7079 "description": "The kind of error happening.", |
7028 "enum": [ | 7080 "enum": [ |
7029 "audioBitrate", | |
wibling
2015/08/04 13:47:20
Strictly speaking I would say this is breaking.
kustermann
2015/08/04 13:51:49
We don't generate dart enums or constants for it A
Søren Gjesse
2015/08/04 14:12:58
As mentioned above enums are only used to generate
| |
7030 "audioBitrateHigh", | 7081 "audioBitrateHigh", |
7031 "audioBitrateLow", | 7082 "audioBitrateLow", |
7083 "audioBitrateMismatch", | |
7032 "audioCodec", | 7084 "audioCodec", |
7033 "audioCodecMismatch", | 7085 "audioCodecMismatch", |
7034 "audioSampleRate", | 7086 "audioSampleRate", |
7035 "audioSampleRateMismatch", | 7087 "audioSampleRateMismatch", |
7036 "audioStereoMismatch", | 7088 "audioStereoMismatch", |
7037 "audioTooManyChannel", | 7089 "audioTooManyChannels", |
7038 "badContainer", | 7090 "badContainer", |
7039 "bitrateHigh", | 7091 "bitrateHigh", |
7040 "bitrateLow", | 7092 "bitrateLow", |
7041 "framerateHigh", | 7093 "frameRateHigh", |
7042 "framerateMismatch", | 7094 "framerateMismatch", |
7043 "gopMismatch", | 7095 "gopMismatch", |
7044 "gopSizeLong", | 7096 "gopSizeLong", |
7045 "gopSizeOver", | 7097 "gopSizeOver", |
7046 "gopSizeShort", | 7098 "gopSizeShort", |
7047 "interlaceVideo", | 7099 "interlacedVideo", |
7048 "multipleAudioStreams", | 7100 "multipleAudioStreams", |
7049 "multipleVideoStreams", | 7101 "multipleVideoStreams", |
7050 "noAudioStream", | 7102 "noAudioStream", |
7051 "noVideoStream", | 7103 "noVideoStream", |
7052 "openGop", | 7104 "openGop", |
7053 "resolutionMismatch", | 7105 "resolutionMismatch", |
7054 "videoBitrateMismatch", | 7106 "videoBitrateMismatch", |
7055 "videoCodec", | 7107 "videoCodec", |
7056 "videoCodecMismatch", | 7108 "videoCodecMismatch", |
7057 "videoIngestionStarved", | 7109 "videoIngestionStarved", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7118 "LiveStreamHealthStatus": { | 7170 "LiveStreamHealthStatus": { |
7119 "id": "LiveStreamHealthStatus", | 7171 "id": "LiveStreamHealthStatus", |
7120 "properties": { | 7172 "properties": { |
7121 "configurationIssues": { | 7173 "configurationIssues": { |
7122 "description": "The configurations issues on this stream", | 7174 "description": "The configurations issues on this stream", |
7123 "items": { | 7175 "items": { |
7124 "$ref": "LiveStreamConfigurationIssue" | 7176 "$ref": "LiveStreamConfigurationIssue" |
7125 }, | 7177 }, |
7126 "type": "array" | 7178 "type": "array" |
7127 }, | 7179 }, |
7128 "lastUpdateTimeS": { | 7180 "lastUpdateTimeSeconds": { |
7129 "description": "The last time this status was updated (in se conds)", | 7181 "description": "The last time this status was updated (in se conds)", |
7130 "format": "uint64", | 7182 "format": "uint64", |
7131 "type": "string" | 7183 "type": "string" |
7132 }, | 7184 }, |
7133 "status": { | 7185 "status": { |
7134 "description": "The status code of this stream", | 7186 "description": "The status code of this stream", |
7135 "enum": [ | 7187 "enum": [ |
7136 "bad", | 7188 "bad", |
7137 "good", | 7189 "good", |
7138 "noData", | 7190 "noData", |
(...skipping 2270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9409 "type": "string" | 9461 "type": "string" |
9410 } | 9462 } |
9411 }, | 9463 }, |
9412 "type": "object" | 9464 "type": "object" |
9413 } | 9465 } |
9414 }, | 9466 }, |
9415 "servicePath": "youtube/v3/", | 9467 "servicePath": "youtube/v3/", |
9416 "title": "YouTube Data API", | 9468 "title": "YouTube Data API", |
9417 "version": "v3" | 9469 "version": "v3" |
9418 } | 9470 } |
OLD | NEW |