OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { | 5 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
6 "description": "View YouTube Analytics monetary reports for
your YouTube content" | 6 "description": "View YouTube Analytics monetary reports for
your YouTube content" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/yt-analytics.readonly": { | 8 "https://www.googleapis.com/auth/yt-analytics.readonly": { |
9 "description": "View YouTube Analytics reports for your YouT
ube content" | 9 "description": "View YouTube Analytics reports for your YouT
ube content" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/youtube/analytics/v1/", | 14 "basePath": "/youtube/analytics/v1/", |
15 "baseUrl": "https://www.googleapis.com/youtube/analytics/v1/", | 15 "baseUrl": "https://www.googleapis.com/youtube/analytics/v1/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "YouTube Analytics", | 17 "canonicalName": "YouTube Analytics", |
18 "description": "Retrieve your YouTube Analytics reports.", | 18 "description": "Retrieve your YouTube Analytics reports.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "http://developers.google.com/youtube/analytics/", | 20 "documentationLink": "http://developers.google.com/youtube/analytics/", |
21 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/nlDKGR94Mbaj_YAIBNSZijmIvJQ\"", | 21 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/eGqJquL_sNm8tPEGcWYyPXL72uM\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "http://www.google.com/images/icons/product/youtube-16.png", | 23 "x16": "https://www.google.com/images/icons/product/youtube-16.png", |
24 "x32": "http://www.google.com/images/icons/product/youtube-32.png" | 24 "x32": "https://www.google.com/images/icons/product/youtube-32.png" |
25 }, | 25 }, |
26 "id": "youtubeAnalytics:v1", | 26 "id": "youtubeAnalytics:v1", |
27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
28 "name": "youtubeAnalytics", | 28 "name": "youtubeAnalytics", |
29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 30 "ownerName": "Google", |
31 "parameters": { | 31 "parameters": { |
32 "alt": { | 32 "alt": { |
33 "default": "json", | 33 "default": "json", |
34 "description": "Data format for the response.", | 34 "description": "Data format for the response.", |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "$ref": "ResultTable" | 218 "$ref": "ResultTable" |
219 }, | 219 }, |
220 "scopes": [ | 220 "scopes": [ |
221 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 221 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
222 "https://www.googleapis.com/auth/yt-analytics.readonly" | 222 "https://www.googleapis.com/auth/yt-analytics.readonly" |
223 ] | 223 ] |
224 } | 224 } |
225 } | 225 } |
226 } | 226 } |
227 }, | 227 }, |
228 "revision": "20140724", | 228 "revision": "20141124", |
229 "rootUrl": "https://www.googleapis.com/", | 229 "rootUrl": "https://www.googleapis.com/", |
230 "schemas": { | 230 "schemas": { |
231 "BatchReportDefinitionList": { | 231 "BatchReport": { |
232 "description": "A paginated list of batchReportDefinition resources
returned in response to a youtubeAnalytics.batchReportDefinitions.list request."
, | 232 "description": "Contains single batchReport resource.", |
233 "id": "BatchReportDefinitionList", | 233 "id": "BatchReport", |
234 "properties": { | 234 "properties": { |
235 "items": { | 235 "id": { |
236 "description": "A list of batchReportDefinition resources th
at match the request criteria.", | 236 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report.", |
237 "items": { | 237 "type": "string" |
238 "$ref": "BatchReportDefinitionTemplate" | |
239 }, | |
240 "type": "array" | |
241 }, | 238 }, |
242 "kind": { | 239 "kind": { |
243 "default": "youtubeAnalytics#batchReportDefinitionList", | 240 "default": "youtubeAnalytics#batchReport", |
244 "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.", | 241 "description": "This value specifies the type of data of thi
s item. For batch report the kind property value is youtubeAnalytics#batchReport
.", |
245 "type": "string" | 242 "type": "string" |
246 } | 243 }, |
247 }, | 244 "outputs": { |
248 "type": "object" | 245 "description": "Report outputs.", |
249 }, | |
250 "BatchReportDefinitionTemplate": { | |
251 "description": "Contains single batchReportDefinition resource.", | |
252 "id": "BatchReportDefinitionTemplate", | |
253 "properties": { | |
254 "defaultOutput": { | |
255 "description": "Default report definition's output.", | |
256 "items": { | 246 "items": { |
257 "properties": { | 247 "properties": { |
| 248 "downloadUrl": { |
| 249 "description": "Cloud storage URL to download th
is report. This URL is valid for 30 minutes.", |
| 250 "type": "string" |
| 251 }, |
258 "format": { | 252 "format": { |
259 "description": "Format of the output.", | 253 "description": "Format of the output.", |
260 "type": "string" | 254 "type": "string" |
261 }, | 255 }, |
262 "type": { | 256 "type": { |
263 "default": "cloudStorageOutput", | 257 "default": "cloudStorageOutput", |
264 "description": "Type of the output.", | 258 "description": "Type of the output.", |
265 "type": "string" | 259 "type": "string" |
266 } | 260 } |
267 }, | 261 }, |
268 "type": "object" | 262 "type": "object" |
269 }, | 263 }, |
270 "type": "array" | 264 "type": "array" |
271 }, | 265 }, |
| 266 "reportId": { |
| 267 "description": "The ID of the the report definition.", |
| 268 "type": "string" |
| 269 }, |
| 270 "timeSpan": { |
| 271 "description": "Period included in the report. For reports c
ontaining all entities endTime is not set. Both startTime and endTime are inclus
ive.", |
| 272 "properties": { |
| 273 "endTime": { |
| 274 "description": "End of the period included in the re
port. Inclusive. For reports containing all entities endTime is not set.", |
| 275 "format": "date-time", |
| 276 "type": "string" |
| 277 }, |
| 278 "startTime": { |
| 279 "description": "Start of the period included in the
report. Inclusive.", |
| 280 "format": "date-time", |
| 281 "type": "string" |
| 282 } |
| 283 }, |
| 284 "type": "object" |
| 285 }, |
| 286 "timeUpdated": { |
| 287 "description": "The time when the report was updated.", |
| 288 "format": "date-time", |
| 289 "type": "string" |
| 290 } |
| 291 }, |
| 292 "type": "object" |
| 293 }, |
| 294 "BatchReportDefinition": { |
| 295 "description": "Contains single batchReportDefinition resource.", |
| 296 "id": "BatchReportDefinition", |
| 297 "properties": { |
272 "id": { | 298 "id": { |
273 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report definition.", | 299 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report definition.", |
274 "type": "string" | 300 "type": "string" |
275 }, | 301 }, |
| 302 "kind": { |
| 303 "default": "youtubeAnalytics#batchReportDefinition", |
| 304 "description": "This value specifies the type of data of thi
s item. For batch report definition the kind property value is youtubeAnalytics#
batchReportDefinition.", |
| 305 "type": "string" |
| 306 }, |
276 "name": { | 307 "name": { |
277 "description": "Name of the report definition.", | 308 "description": "Name of the report definition.", |
278 "type": "string" | 309 "type": "string" |
279 }, | 310 }, |
280 "status": { | 311 "status": { |
281 "description": "Status of the report definition.", | 312 "description": "Status of the report definition.", |
282 "type": "string" | 313 "type": "string" |
283 }, | 314 }, |
284 "type": { | 315 "type": { |
285 "description": "Type of the report definition.", | 316 "description": "Type of the report definition.", |
286 "type": "string" | 317 "type": "string" |
287 } | 318 } |
288 }, | 319 }, |
289 "type": "object" | 320 "type": "object" |
290 }, | 321 }, |
| 322 "BatchReportDefinitionList": { |
| 323 "description": "A paginated list of batchReportDefinition resources
returned in response to a youtubeAnalytics.batchReportDefinitions.list request."
, |
| 324 "id": "BatchReportDefinitionList", |
| 325 "properties": { |
| 326 "items": { |
| 327 "description": "A list of batchReportDefinition resources th
at match the request criteria.", |
| 328 "items": { |
| 329 "$ref": "BatchReportDefinition" |
| 330 }, |
| 331 "type": "array" |
| 332 }, |
| 333 "kind": { |
| 334 "default": "youtubeAnalytics#batchReportDefinitionList", |
| 335 "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.", |
| 336 "type": "string" |
| 337 } |
| 338 }, |
| 339 "type": "object" |
| 340 }, |
291 "BatchReportList": { | 341 "BatchReportList": { |
292 "description": "A paginated list of batchReport resources returned i
n response to a youtubeAnalytics.batchReport.list request.", | 342 "description": "A paginated list of batchReport resources returned i
n response to a youtubeAnalytics.batchReport.list request.", |
293 "id": "BatchReportList", | 343 "id": "BatchReportList", |
294 "properties": { | 344 "properties": { |
295 "items": { | 345 "items": { |
296 "description": "A list of batchReport resources that match t
he request criteria.", | 346 "description": "A list of batchReport resources that match t
he request criteria.", |
297 "items": { | 347 "items": { |
298 "$ref": "BatchReportTemplate" | 348 "$ref": "BatchReport" |
299 }, | 349 }, |
300 "type": "array" | 350 "type": "array" |
301 }, | 351 }, |
302 "kind": { | 352 "kind": { |
303 "default": "youtubeAnalytics#batchReportList", | 353 "default": "youtubeAnalytics#batchReportList", |
304 "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.", | 354 "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.", |
305 "type": "string" | 355 "type": "string" |
306 } | 356 } |
307 }, | 357 }, |
308 "type": "object" | |
309 }, | |
310 "BatchReportTemplate": { | |
311 "description": "Contains single batchReport resource.", | |
312 "id": "BatchReportTemplate", | |
313 "properties": { | |
314 "id": { | |
315 "description": "The ID that YouTube assigns and uses to uniq
uely identify the report.", | |
316 "type": "string" | |
317 }, | |
318 "outputs": { | |
319 "description": "Report outputs.", | |
320 "items": { | |
321 "properties": { | |
322 "downloadUrl": { | |
323 "description": "Cloud storage URL to download th
is report. This URL is valid for 30 minutes.", | |
324 "type": "string" | |
325 }, | |
326 "format": { | |
327 "description": "Format of the output.", | |
328 "type": "string" | |
329 }, | |
330 "type": { | |
331 "default": "cloudStorageOutput", | |
332 "description": "Type of the output.", | |
333 "type": "string" | |
334 } | |
335 }, | |
336 "type": "object" | |
337 }, | |
338 "type": "array" | |
339 }, | |
340 "report_id": { | |
341 "description": "The ID of the the report definition.", | |
342 "type": "string" | |
343 }, | |
344 "timeSpan": { | |
345 "description": "Period included in the report. For reports c
ontaining all entities endTime is not set. Both startTime and endTime are inclus
ive.", | |
346 "properties": { | |
347 "endTime": { | |
348 "description": "End of the period included in the re
port. Inclusive. For reports containing all entities endTime is not set.", | |
349 "format": "date-time", | |
350 "type": "string" | |
351 }, | |
352 "startTime": { | |
353 "description": "Start of the period included in the
report. Inclusive.", | |
354 "format": "date-time", | |
355 "type": "string" | |
356 } | |
357 }, | |
358 "type": "object" | |
359 }, | |
360 "timeUpdated": { | |
361 "description": "The time when the report was updated.", | |
362 "format": "date-time", | |
363 "type": "string" | |
364 } | |
365 }, | |
366 "type": "object" | 358 "type": "object" |
367 }, | 359 }, |
368 "ResultTable": { | 360 "ResultTable": { |
369 "description": "Contains a single result table. The table is returne
d as an array of rows that contain the values for the cells of the table. Depend
ing on the metric or dimension, the cell can contain a string (video ID, country
code) or a number (number of views or number of likes).", | 361 "description": "Contains a single result table. The table is returne
d as an array of rows that contain the values for the cells of the table. Depend
ing on the metric or dimension, the cell can contain a string (video ID, country
code) or a number (number of views or number of likes).", |
370 "id": "ResultTable", | 362 "id": "ResultTable", |
371 "properties": { | 363 "properties": { |
372 "columnHeaders": { | 364 "columnHeaders": { |
373 "description": "This value specifies information about the d
ata returned in the rows fields. Each item in the columnHeaders list identifies
a field returned in the rows value, which contains a list of comma-delimited dat
a. The columnHeaders list will begin with the dimensions specified in the API re
quest, which will be followed by the metrics specified in the API request. The o
rder of both dimensions and metrics will match the ordering in the API request.
For example, if the API request contains the parameters dimensions=ageGroup,gend
er&metrics=viewerPercentage, the API response will return columns in this order:
ageGroup,gender,viewerPercentage.", | 365 "description": "This value specifies information about the d
ata returned in the rows fields. Each item in the columnHeaders list identifies
a field returned in the rows value, which contains a list of comma-delimited dat
a. The columnHeaders list will begin with the dimensions specified in the API re
quest, which will be followed by the metrics specified in the API request. The o
rder of both dimensions and metrics will match the ordering in the API request.
For example, if the API request contains the parameters dimensions=ageGroup,gend
er&metrics=viewerPercentage, the API response will return columns in this order:
ageGroup,gender,viewerPercentage.", |
374 "items": { | 366 "items": { |
375 "properties": { | 367 "properties": { |
(...skipping 30 matching lines...) Expand all Loading... |
406 "type": "array" | 398 "type": "array" |
407 } | 399 } |
408 }, | 400 }, |
409 "type": "object" | 401 "type": "object" |
410 } | 402 } |
411 }, | 403 }, |
412 "servicePath": "youtube/analytics/v1/", | 404 "servicePath": "youtube/analytics/v1/", |
413 "title": "YouTube Analytics API", | 405 "title": "YouTube Analytics API", |
414 "version": "v1" | 406 "version": "v1" |
415 } | 407 } |
OLD | NEW |