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.readonly": { | 8 "https://www.googleapis.com/auth/youtube.readonly": { |
9 "description": "View your YouTube account" | 9 "description": "View your YouTube account" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/youtubepartner": { | 11 "https://www.googleapis.com/auth/youtubepartner": { |
12 "description": "View and manage your assets and associated c
ontent on YouTube" | 12 "description": "View and manage your assets and associated c
ontent on YouTube" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { | 14 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
15 "description": "View YouTube Analytics monetary reports for
your YouTube content" | 15 "description": "View YouTube Analytics monetary reports for
your YouTube content" |
16 }, | 16 }, |
17 "https://www.googleapis.com/auth/yt-analytics.readonly": { | 17 "https://www.googleapis.com/auth/yt-analytics.readonly": { |
18 "description": "View YouTube Analytics reports for your YouT
ube content" | 18 "description": "View YouTube Analytics reports for your YouT
ube content" |
19 } | 19 } |
20 } | 20 } |
21 } | 21 } |
22 }, | 22 }, |
23 "basePath": "/youtube/analytics/v1/", | 23 "basePath": "/youtube/analytics/v1/", |
24 "baseUrl": "https://www.googleapis.com/youtube/analytics/v1/", | 24 "baseUrl": "https://www.googleapis.com/youtube/analytics/v1/", |
25 "batchPath": "batch", | 25 "batchPath": "batch", |
26 "canonicalName": "YouTube Analytics", | 26 "canonicalName": "YouTube Analytics", |
27 "description": "Retrieve your YouTube Analytics reports.", | 27 "description": "Retrieve your YouTube Analytics reports.", |
28 "discoveryVersion": "v1", | 28 "discoveryVersion": "v1", |
29 "documentationLink": "http://developers.google.com/youtube/analytics/", | 29 "documentationLink": "http://developers.google.com/youtube/analytics/", |
30 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Zoj2QNc62Iq34KyKgNb23b-JnD8\"", | 30 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lfXuvexGjLWvv2bGYOX_MVmrKM4\"", |
31 "icons": { | 31 "icons": { |
32 "x16": "https://www.google.com/images/icons/product/youtube-16.png", | 32 "x16": "https://www.google.com/images/icons/product/youtube-16.png", |
33 "x32": "https://www.google.com/images/icons/product/youtube-32.png" | 33 "x32": "https://www.google.com/images/icons/product/youtube-32.png" |
34 }, | 34 }, |
35 "id": "youtubeAnalytics:v1", | 35 "id": "youtubeAnalytics:v1", |
36 "kind": "discovery#restDescription", | 36 "kind": "discovery#restDescription", |
37 "name": "youtubeAnalytics", | 37 "name": "youtubeAnalytics", |
38 "ownerDomain": "google.com", | 38 "ownerDomain": "google.com", |
39 "ownerName": "Google", | 39 "ownerName": "Google", |
40 "parameters": { | 40 "parameters": { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 "description": "Retrieve your YouTube Analytics reports.", | 347 "description": "Retrieve your YouTube Analytics reports.", |
348 "httpMethod": "GET", | 348 "httpMethod": "GET", |
349 "id": "youtubeAnalytics.reports.query", | 349 "id": "youtubeAnalytics.reports.query", |
350 "parameterOrder": [ | 350 "parameterOrder": [ |
351 "ids", | 351 "ids", |
352 "start-date", | 352 "start-date", |
353 "end-date", | 353 "end-date", |
354 "metrics" | 354 "metrics" |
355 ], | 355 ], |
356 "parameters": { | 356 "parameters": { |
| 357 "currency": { |
| 358 "description": "The currency to which financial metr
ics should be converted. The default is US Dollar (USD). If the result contains
no financial metrics, this flag will be ignored. Responds with an error if the s
pecified currency is not recognized.", |
| 359 "location": "query", |
| 360 "pattern": "[A-Z]{3}", |
| 361 "type": "string" |
| 362 }, |
357 "dimensions": { | 363 "dimensions": { |
358 "description": "A comma-separated list of YouTube An
alytics dimensions, such as views or ageGroup,gender. See the Available Reports
document for a list of the reports that you can retrieve and the dimensions used
for those reports. Also see the Dimensions document for definitions of those di
mensions.", | 364 "description": "A comma-separated list of YouTube An
alytics dimensions, such as views or ageGroup,gender. See the Available Reports
document for a list of the reports that you can retrieve and the dimensions used
for those reports. Also see the Dimensions document for definitions of those di
mensions.", |
359 "location": "query", | 365 "location": "query", |
360 "pattern": "[0-9a-zA-Z,]+", | 366 "pattern": "[0-9a-zA-Z,]+", |
361 "type": "string" | 367 "type": "string" |
362 }, | 368 }, |
363 "end-date": { | 369 "end-date": { |
364 "description": "The end date for fetching YouTube An
alytics data. The value should be in YYYY-MM-DD format.", | 370 "description": "The end date for fetching YouTube An
alytics data. The value should be in YYYY-MM-DD format.", |
365 "location": "query", | 371 "location": "query", |
366 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", | 372 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 "$ref": "ResultTable" | 425 "$ref": "ResultTable" |
420 }, | 426 }, |
421 "scopes": [ | 427 "scopes": [ |
422 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 428 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
423 "https://www.googleapis.com/auth/yt-analytics.readonly" | 429 "https://www.googleapis.com/auth/yt-analytics.readonly" |
424 ] | 430 ] |
425 } | 431 } |
426 } | 432 } |
427 } | 433 } |
428 }, | 434 }, |
429 "revision": "20150227", | 435 "revision": "20150304", |
430 "rootUrl": "https://www.googleapis.com/", | 436 "rootUrl": "https://www.googleapis.com/", |
431 "schemas": { | 437 "schemas": { |
432 "BatchReport": { | 438 "BatchReport": { |
433 "description": "Contains single batchReport resource.", | 439 "description": "Contains single batchReport resource.", |
434 "id": "BatchReport", | 440 "id": "BatchReport", |
435 "properties": { | 441 "properties": { |
436 "id": { | 442 "id": { |
437 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report.", | 443 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report.", |
438 "type": "string" | 444 "type": "string" |
439 }, | 445 }, |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 "type": "array" | 715 "type": "array" |
710 } | 716 } |
711 }, | 717 }, |
712 "type": "object" | 718 "type": "object" |
713 } | 719 } |
714 }, | 720 }, |
715 "servicePath": "youtube/analytics/v1/", | 721 "servicePath": "youtube/analytics/v1/", |
716 "title": "YouTube Analytics API", | 722 "title": "YouTube Analytics API", |
717 "version": "v1" | 723 "version": "v1" |
718 } | 724 } |
OLD | NEW |