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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/ywcS2vLVzyjPM4YAkH956j93jq0\"", | 30 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/pEd9TCfj5tWwFV7wXjZclHrYeuc\"", |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 "type": "string" | 79 "type": "string" |
80 }, | 80 }, |
81 "userIp": { | 81 "userIp": { |
82 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | 82 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
83 "location": "query", | 83 "location": "query", |
84 "type": "string" | 84 "type": "string" |
85 } | 85 } |
86 }, | 86 }, |
87 "protocol": "rest", | 87 "protocol": "rest", |
88 "resources": { | 88 "resources": { |
89 "batchReportDefinitions": { | |
90 "methods": { | |
91 "list": { | |
92 "description": "Retrieves a list of available batch report d
efinitions.", | |
93 "httpMethod": "GET", | |
94 "id": "youtubeAnalytics.batchReportDefinitions.list", | |
95 "parameterOrder": [ | |
96 "onBehalfOfContentOwner" | |
97 ], | |
98 "parameters": { | |
99 "onBehalfOfContentOwner": { | |
100 "description": "The onBehalfOfContentOwner parameter
identifies the content owner that the user is acting on behalf of.", | |
101 "location": "query", | |
102 "required": true, | |
103 "type": "string" | |
104 } | |
105 }, | |
106 "path": "batchReportDefinitions", | |
107 "response": { | |
108 "$ref": "BatchReportDefinitionList" | |
109 }, | |
110 "scopes": [ | |
111 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | |
112 "https://www.googleapis.com/auth/yt-analytics.readonly" | |
113 ] | |
114 } | |
115 } | |
116 }, | |
117 "batchReports": { | |
118 "methods": { | |
119 "list": { | |
120 "description": "Retrieves a list of processed batch reports.
", | |
121 "httpMethod": "GET", | |
122 "id": "youtubeAnalytics.batchReports.list", | |
123 "parameterOrder": [ | |
124 "batchReportDefinitionId", | |
125 "onBehalfOfContentOwner" | |
126 ], | |
127 "parameters": { | |
128 "batchReportDefinitionId": { | |
129 "description": "The batchReportDefinitionId paramete
r specifies the ID of the batch reportort definition for which you are retrievin
g reports.", | |
130 "location": "query", | |
131 "required": true, | |
132 "type": "string" | |
133 }, | |
134 "onBehalfOfContentOwner": { | |
135 "description": "The onBehalfOfContentOwner parameter
identifies the content owner that the user is acting on behalf of.", | |
136 "location": "query", | |
137 "required": true, | |
138 "type": "string" | |
139 } | |
140 }, | |
141 "path": "batchReports", | |
142 "response": { | |
143 "$ref": "BatchReportList" | |
144 }, | |
145 "scopes": [ | |
146 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | |
147 "https://www.googleapis.com/auth/yt-analytics.readonly" | |
148 ] | |
149 } | |
150 } | |
151 }, | |
152 "groupItems": { | 89 "groupItems": { |
153 "methods": { | 90 "methods": { |
154 "delete": { | 91 "delete": { |
155 "description": "Removes an item from a group.", | 92 "description": "Removes an item from a group.", |
156 "httpMethod": "DELETE", | 93 "httpMethod": "DELETE", |
157 "id": "youtubeAnalytics.groupItems.delete", | 94 "id": "youtubeAnalytics.groupItems.delete", |
158 "parameterOrder": [ | 95 "parameterOrder": [ |
159 "id" | 96 "id" |
160 ], | 97 ], |
161 "parameters": { | 98 "parameters": { |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 "scopes": [ | 369 "scopes": [ |
433 "https://www.googleapis.com/auth/youtube", | 370 "https://www.googleapis.com/auth/youtube", |
434 "https://www.googleapis.com/auth/youtube.readonly", | 371 "https://www.googleapis.com/auth/youtube.readonly", |
435 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 372 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
436 "https://www.googleapis.com/auth/yt-analytics.readonly" | 373 "https://www.googleapis.com/auth/yt-analytics.readonly" |
437 ] | 374 ] |
438 } | 375 } |
439 } | 376 } |
440 } | 377 } |
441 }, | 378 }, |
442 "revision": "20161105", | 379 "revision": "20161211", |
443 "rootUrl": "https://www.googleapis.com/", | 380 "rootUrl": "https://www.googleapis.com/", |
444 "schemas": { | 381 "schemas": { |
445 "BatchReport": { | |
446 "description": "Contains single batchReport resource.", | |
447 "id": "BatchReport", | |
448 "properties": { | |
449 "id": { | |
450 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report.", | |
451 "type": "string" | |
452 }, | |
453 "kind": { | |
454 "default": "youtubeAnalytics#batchReport", | |
455 "description": "This value specifies the type of data of thi
s item. For batch report the kind property value is youtubeAnalytics#batchReport
.", | |
456 "type": "string" | |
457 }, | |
458 "outputs": { | |
459 "description": "Report outputs.", | |
460 "items": { | |
461 "properties": { | |
462 "downloadUrl": { | |
463 "description": "Cloud storage URL to download th
is report. This URL is valid for 30 minutes.", | |
464 "type": "string" | |
465 }, | |
466 "format": { | |
467 "description": "Format of the output.", | |
468 "type": "string" | |
469 }, | |
470 "type": { | |
471 "default": "cloudStorageOutput", | |
472 "description": "Type of the output.", | |
473 "type": "string" | |
474 } | |
475 }, | |
476 "type": "object" | |
477 }, | |
478 "type": "array" | |
479 }, | |
480 "reportId": { | |
481 "description": "The ID of the the report definition.", | |
482 "type": "string" | |
483 }, | |
484 "timeSpan": { | |
485 "description": "Period included in the report. For reports c
ontaining all entities endTime is not set. Both startTime and endTime are inclus
ive.", | |
486 "properties": { | |
487 "endTime": { | |
488 "description": "End of the period included in the re
port. Inclusive. For reports containing all entities endTime is not set.", | |
489 "format": "date-time", | |
490 "type": "string" | |
491 }, | |
492 "startTime": { | |
493 "description": "Start of the period included in the
report. Inclusive.", | |
494 "format": "date-time", | |
495 "type": "string" | |
496 } | |
497 }, | |
498 "type": "object" | |
499 }, | |
500 "timeUpdated": { | |
501 "description": "The time when the report was updated.", | |
502 "format": "date-time", | |
503 "type": "string" | |
504 } | |
505 }, | |
506 "type": "object" | |
507 }, | |
508 "BatchReportDefinition": { | |
509 "description": "Contains single batchReportDefinition resource.", | |
510 "id": "BatchReportDefinition", | |
511 "properties": { | |
512 "id": { | |
513 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report definition.", | |
514 "type": "string" | |
515 }, | |
516 "kind": { | |
517 "default": "youtubeAnalytics#batchReportDefinition", | |
518 "description": "This value specifies the type of data of thi
s item. For batch report definition the kind property value is youtubeAnalytics#
batchReportDefinition.", | |
519 "type": "string" | |
520 }, | |
521 "name": { | |
522 "description": "Name of the report definition.", | |
523 "type": "string" | |
524 }, | |
525 "status": { | |
526 "description": "Status of the report definition.", | |
527 "type": "string" | |
528 }, | |
529 "type": { | |
530 "description": "Type of the report definition.", | |
531 "type": "string" | |
532 } | |
533 }, | |
534 "type": "object" | |
535 }, | |
536 "BatchReportDefinitionList": { | |
537 "description": "A paginated list of batchReportDefinition resources
returned in response to a youtubeAnalytics.batchReportDefinitions.list request."
, | |
538 "id": "BatchReportDefinitionList", | |
539 "properties": { | |
540 "items": { | |
541 "description": "A list of batchReportDefinition resources th
at match the request criteria.", | |
542 "items": { | |
543 "$ref": "BatchReportDefinition" | |
544 }, | |
545 "type": "array" | |
546 }, | |
547 "kind": { | |
548 "default": "youtubeAnalytics#batchReportDefinitionList", | |
549 "description": "This value specifies the type of data includ
ed in the API response. For the list method, the kind property value is youtubeA
nalytics#batchReportDefinitionList.", | |
550 "type": "string" | |
551 } | |
552 }, | |
553 "type": "object" | |
554 }, | |
555 "BatchReportList": { | |
556 "description": "A paginated list of batchReport resources returned i
n response to a youtubeAnalytics.batchReport.list request.", | |
557 "id": "BatchReportList", | |
558 "properties": { | |
559 "items": { | |
560 "description": "A list of batchReport resources that match t
he request criteria.", | |
561 "items": { | |
562 "$ref": "BatchReport" | |
563 }, | |
564 "type": "array" | |
565 }, | |
566 "kind": { | |
567 "default": "youtubeAnalytics#batchReportList", | |
568 "description": "This value specifies the type of data includ
ed in the API response. For the list method, the kind property value is youtubeA
nalytics#batchReportList.", | |
569 "type": "string" | |
570 } | |
571 }, | |
572 "type": "object" | |
573 }, | |
574 "Group": { | 382 "Group": { |
575 "id": "Group", | 383 "id": "Group", |
576 "properties": { | 384 "properties": { |
577 "contentDetails": { | 385 "contentDetails": { |
578 "properties": { | 386 "properties": { |
579 "itemCount": { | 387 "itemCount": { |
580 "format": "uint64", | 388 "format": "uint64", |
581 "type": "string" | 389 "type": "string" |
582 }, | 390 }, |
583 "itemType": { | 391 "itemType": { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 "type": "array" | 533 "type": "array" |
726 } | 534 } |
727 }, | 535 }, |
728 "type": "object" | 536 "type": "object" |
729 } | 537 } |
730 }, | 538 }, |
731 "servicePath": "youtube/analytics/v1/", | 539 "servicePath": "youtube/analytics/v1/", |
732 "title": "YouTube Analytics API", | 540 "title": "YouTube Analytics API", |
733 "version": "v1" | 541 "version": "v1" |
734 } | 542 } |
OLD | NEW |