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 monetary and non-monetary YouTube Analy
tics reports for your YouTube content" | 15 "description": "View monetary and non-monetary YouTube Analy
tics 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": "Retrieves your YouTube Analytics data.", | 27 "description": "Retrieves your YouTube Analytics data.", |
28 "discoveryVersion": "v1", | 28 "discoveryVersion": "v1", |
29 "documentationLink": "http://developers.google.com/youtube/analytics/", | 29 "documentationLink": "http://developers.google.com/youtube/analytics/", |
30 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/rhD6HTsK20KRKuHGMegrfF1N7ZI\"", | 30 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/59_GgXLAkkTFvQgZJWHwB-kkCLk\"", |
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 "location": "query", | 320 "location": "query", |
321 "type": "string" | 321 "type": "string" |
322 }, | 322 }, |
323 "ids": { | 323 "ids": { |
324 "description": "Identifies the YouTube channel or co
ntent owner for which you are retrieving YouTube Analytics data.\n- To request d
ata for a YouTube user, set the ids parameter value to channel==CHANNEL_ID, wher
e CHANNEL_ID specifies the unique YouTube channel ID.\n- To request data for a Y
ouTube CMS content owner, set the ids parameter value to contentOwner==OWNER_NAM
E, where OWNER_NAME is the CMS name of the content owner.", | 324 "description": "Identifies the YouTube channel or co
ntent owner for which you are retrieving YouTube Analytics data.\n- To request d
ata for a YouTube user, set the ids parameter value to channel==CHANNEL_ID, wher
e CHANNEL_ID specifies the unique YouTube channel ID.\n- To request data for a Y
ouTube CMS content owner, set the ids parameter value to contentOwner==OWNER_NAM
E, where OWNER_NAME is the CMS name of the content owner.", |
325 "location": "query", | 325 "location": "query", |
326 "pattern": "[a-zA-Z]+==[a-zA-Z0-9_+-]+", | 326 "pattern": "[a-zA-Z]+==[a-zA-Z0-9_+-]+", |
327 "required": true, | 327 "required": true, |
328 "type": "string" | 328 "type": "string" |
329 }, | 329 }, |
| 330 "include-historical-channel-data": { |
| 331 "description": "If set to true historical data (i.e.
channel data from before the linking of the channel to the content owner) will
be retrieved.", |
| 332 "location": "query", |
| 333 "type": "boolean" |
| 334 }, |
330 "max-results": { | 335 "max-results": { |
331 "description": "The maximum number of rows to includ
e in the response.", | 336 "description": "The maximum number of rows to includ
e in the response.", |
332 "format": "int32", | 337 "format": "int32", |
333 "location": "query", | 338 "location": "query", |
334 "minimum": "1", | 339 "minimum": "1", |
335 "type": "integer" | 340 "type": "integer" |
336 }, | 341 }, |
337 "metrics": { | 342 "metrics": { |
338 "description": "A comma-separated list of YouTube An
alytics metrics, such as views or likes,dislikes. See the Available Reports docu
ment for a list of the reports that you can retrieve and the metrics available i
n each report, and see the Metrics document for definitions of those metrics.", | 343 "description": "A comma-separated list of YouTube An
alytics metrics, such as views or likes,dislikes. See the Available Reports docu
ment for a list of the reports that you can retrieve and the metrics available i
n each report, and see the Metrics document for definitions of those metrics.", |
339 "location": "query", | 344 "location": "query", |
(...skipping 29 matching lines...) Expand all Loading... |
369 "scopes": [ | 374 "scopes": [ |
370 "https://www.googleapis.com/auth/youtube", | 375 "https://www.googleapis.com/auth/youtube", |
371 "https://www.googleapis.com/auth/youtube.readonly", | 376 "https://www.googleapis.com/auth/youtube.readonly", |
372 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 377 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
373 "https://www.googleapis.com/auth/yt-analytics.readonly" | 378 "https://www.googleapis.com/auth/yt-analytics.readonly" |
374 ] | 379 ] |
375 } | 380 } |
376 } | 381 } |
377 } | 382 } |
378 }, | 383 }, |
379 "revision": "20170118", | 384 "revision": "20170208", |
380 "rootUrl": "https://www.googleapis.com/", | 385 "rootUrl": "https://www.googleapis.com/", |
381 "schemas": { | 386 "schemas": { |
382 "Group": { | 387 "Group": { |
383 "id": "Group", | 388 "id": "Group", |
384 "properties": { | 389 "properties": { |
385 "contentDetails": { | 390 "contentDetails": { |
386 "properties": { | 391 "properties": { |
387 "itemCount": { | 392 "itemCount": { |
388 "format": "uint64", | 393 "format": "uint64", |
389 "type": "string" | 394 "type": "string" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 "type": "array" | 538 "type": "array" |
534 } | 539 } |
535 }, | 540 }, |
536 "type": "object" | 541 "type": "object" |
537 } | 542 } |
538 }, | 543 }, |
539 "servicePath": "youtube/analytics/v1/", | 544 "servicePath": "youtube/analytics/v1/", |
540 "title": "YouTube Analytics API", | 545 "title": "YouTube Analytics API", |
541 "version": "v1" | 546 "version": "v1" |
542 } | 547 } |
OLD | NEW |