Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: discovery/googleapis/youtubereporting__v1.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: discovery/googleapis/youtubereporting__v1.json
diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json
index 38d0ff692a5a9f66a26cafde2e25d99232b7529c..9f82b2134e43cebc27760ef037152166bbc6875d 100644
--- a/discovery/googleapis/youtubereporting__v1.json
+++ b/discovery/googleapis/youtubereporting__v1.json
@@ -2,11 +2,11 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/yt-analytics.readonly": {
- "description": "View YouTube Analytics reports for your YouTube content"
- },
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly": {
"description": "View monetary and non-monetary YouTube Analytics reports for your YouTube content"
+ },
+ "https://www.googleapis.com/auth/yt-analytics.readonly": {
+ "description": "View YouTube Analytics reports for your YouTube content"
}
}
}
@@ -28,6 +28,32 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -41,11 +67,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -62,13 +83,13 @@
"location": "query",
"type": "string"
},
- "key": {
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "key": {
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
@@ -92,27 +113,6 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
@@ -178,66 +178,66 @@
"https://www.googleapis.com/auth/yt-analytics.readonly"
]
},
- "list": {
- "description": "Lists jobs.",
+ "get": {
+ "description": "Gets a job.",
"httpMethod": "GET",
- "id": "youtubereporting.jobs.list",
- "parameterOrder": [],
+ "id": "youtubereporting.jobs.get",
+ "parameterOrder": [
+ "jobId"
+ ],
"parameters": {
- "pageToken": {
- "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListJobs` method.",
- "location": "query",
+ "jobId": {
+ "description": "The ID of the job to retrieve.",
+ "location": "path",
+ "required": true,
"type": "string"
},
- "includeSystemManaged": {
- "description": "If set to true, also system-managed jobs will be returned; otherwise only\nuser-created jobs will be returned. System-managed jobs can neither be\nmodified nor deleted.",
- "location": "query",
- "type": "boolean"
- },
- "pageSize": {
- "description": "Requested page size. Server may return fewer jobs than requested.\nIf unspecified, server will pick an appropriate default.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
"onBehalfOfContentOwner": {
"description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
"location": "query",
"type": "string"
}
},
- "path": "v1/jobs",
+ "path": "v1/jobs/{jobId}",
"response": {
- "$ref": "ListJobsResponse"
+ "$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly"
]
},
- "get": {
- "description": "Gets a job.",
+ "list": {
+ "description": "Lists jobs.",
"httpMethod": "GET",
- "id": "youtubereporting.jobs.get",
- "parameterOrder": [
- "jobId"
- ],
+ "id": "youtubereporting.jobs.list",
+ "parameterOrder": [],
"parameters": {
- "jobId": {
- "description": "The ID of the job to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"onBehalfOfContentOwner": {
"description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
"location": "query",
"type": "string"
+ },
+ "includeSystemManaged": {
+ "description": "If set to true, also system-managed jobs will be returned; otherwise only\nuser-created jobs will be returned. System-managed jobs can neither be\nmodified nor deleted.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListJobs` method.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer jobs than requested.\nIf unspecified, server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
}
},
- "path": "v1/jobs/{jobId}",
+ "path": "v1/jobs",
"response": {
- "$ref": "Job"
+ "$ref": "ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
@@ -272,6 +272,42 @@
"resources": {
"reports": {
"methods": {
+ "get": {
+ "description": "Gets the metadata of a specific report.",
+ "httpMethod": "GET",
+ "id": "youtubereporting.jobs.reports.get",
+ "parameterOrder": [
+ "jobId",
+ "reportId"
+ ],
+ "parameters": {
+ "reportId": {
+ "description": "The ID of the report to retrieve.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "jobId": {
+ "description": "The ID of the job.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "onBehalfOfContentOwner": {
+ "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/jobs/{jobId}/reports/{reportId}",
+ "response": {
+ "$ref": "Report"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
+ "https://www.googleapis.com/auth/yt-analytics.readonly"
+ ]
+ },
"list": {
"description": "Lists reports created by a specific job.\nReturns NOT_FOUND if the job does not exist.",
"httpMethod": "GET",
@@ -280,12 +316,6 @@
"jobId"
],
"parameters": {
- "startTimeBefore": {
- "description": "If set, only reports whose start time is smaller than the specified\ndate/time are returned.",
- "format": "google-datetime",
- "location": "query",
- "type": "string"
- },
"jobId": {
"description": "The ID of the job.",
"location": "path",
@@ -319,47 +349,17 @@
"description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
"location": "query",
"type": "string"
- }
- },
- "path": "v1/jobs/{jobId}/reports",
- "response": {
- "$ref": "ListReportsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
- "https://www.googleapis.com/auth/yt-analytics.readonly"
- ]
- },
- "get": {
- "description": "Gets the metadata of a specific report.",
- "httpMethod": "GET",
- "id": "youtubereporting.jobs.reports.get",
- "parameterOrder": [
- "jobId",
- "reportId"
- ],
- "parameters": {
- "jobId": {
- "description": "The ID of the job.",
- "location": "path",
- "required": true,
- "type": "string"
},
- "onBehalfOfContentOwner": {
- "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).",
+ "startTimeBefore": {
+ "description": "If set, only reports whose start time is smaller than the specified\ndate/time are returned.",
+ "format": "google-datetime",
"location": "query",
"type": "string"
- },
- "reportId": {
- "description": "The ID of the report to retrieve.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
- "path": "v1/jobs/{jobId}/reports/{reportId}",
+ "path": "v1/jobs/{jobId}/reports",
"response": {
- "$ref": "Report"
+ "$ref": "ListReportsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
@@ -378,16 +378,16 @@
"id": "youtubereporting.reportTypes.list",
"parameterOrder": [],
"parameters": {
- "pageToken": {
- "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.",
- "location": "query",
- "type": "string"
- },
"includeSystemManaged": {
"description": "If set to true, also system-managed report types will be returned;\notherwise only the report types that can be used to create new reporting\njobs will be returned.",
"location": "query",
"type": "boolean"
},
+ "pageToken": {
+ "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.",
+ "location": "query",
+ "type": "string"
+ },
"pageSize": {
"description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.",
"format": "int32",
@@ -412,57 +412,66 @@
}
}
},
- "revision": "20170611",
+ "revision": "20170709",
"rootUrl": "https://youtubereporting.googleapis.com/",
"schemas": {
- "Media": {
- "description": "Media resource.",
- "id": "Media",
- "properties": {
- "resourceName": {
- "description": "Name of the media resource.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ReportType": {
- "description": "A report type.",
- "id": "ReportType",
+ "Job": {
+ "description": "A job creating reports of a specific type.",
+ "id": "Job",
"properties": {
- "id": {
- "description": "The ID of the report type (max. 100 characters).",
+ "createTime": {
+ "description": "The creation date/time of the job.",
+ "format": "google-datetime",
"type": "string"
},
- "systemManaged": {
- "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
- "type": "boolean"
+ "reportTypeId": {
+ "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
+ "type": "string"
},
- "deprecateTime": {
- "description": "The date/time when this report type was/will be deprecated.",
+ "expireTime": {
+ "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
"format": "google-datetime",
"type": "string"
},
"name": {
- "description": "The name of the report type (max. 100 characters).",
+ "description": "The name of the job (max. 100 characters).",
+ "type": "string"
+ },
+ "systemManaged": {
+ "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "The server-generated ID of the job (max. 40 characters).",
"type": "string"
}
},
"type": "object"
},
- "ListReportTypesResponse": {
- "description": "Response message for ReportingService.ListReportTypes.",
- "id": "ListReportTypesResponse",
+ "ListReportsResponse": {
+ "description": "Response message for ReportingService.ListReports.",
+ "id": "ListReportsResponse",
"properties": {
- "reportTypes": {
+ "nextPageToken": {
+ "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.",
+ "type": "string"
+ },
+ "reports": {
"description": "The list of report types.",
"items": {
- "$ref": "ReportType"
+ "$ref": "Report"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
+ }
+ },
+ "type": "object"
+ },
+ "Media": {
+ "description": "Media resource.",
+ "id": "Media",
+ "properties": {
+ "resourceName": {
+ "description": "Name of the media resource.",
"type": "string"
}
},
@@ -480,13 +489,13 @@
"description": "The server-generated ID of the report.",
"type": "string"
},
- "jobExpireTime": {
- "description": "The date/time when the job this report belongs to will expire/expired.",
+ "endTime": {
+ "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
"format": "google-datetime",
"type": "string"
},
- "endTime": {
- "description": "The end of the time period that the report instance covers. The value is\nexclusive.",
+ "jobExpireTime": {
+ "description": "The date/time when the job this report belongs to will expire/expired.",
"format": "google-datetime",
"type": "string"
},
@@ -513,69 +522,60 @@
"properties": {},
"type": "object"
},
- "ListJobsResponse": {
- "description": "Response message for ReportingService.ListJobs.",
- "id": "ListJobsResponse",
+ "ListReportTypesResponse": {
+ "description": "Response message for ReportingService.ListReportTypes.",
+ "id": "ListReportTypesResponse",
"properties": {
- "jobs": {
- "description": "The list of jobs.",
+ "reportTypes": {
+ "description": "The list of report types.",
"items": {
- "$ref": "Job"
+ "$ref": "ReportType"
},
"type": "array"
},
"nextPageToken": {
- "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.",
+ "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.",
"type": "string"
}
},
"type": "object"
},
- "Job": {
- "description": "A job creating reports of a specific type.",
- "id": "Job",
+ "ReportType": {
+ "description": "A report type.",
+ "id": "ReportType",
"properties": {
- "id": {
- "description": "The server-generated ID of the job (max. 40 characters).",
- "type": "string"
- },
"systemManaged": {
- "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.",
+ "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.",
"type": "boolean"
},
- "createTime": {
- "description": "The creation date/time of the job.",
- "format": "google-datetime",
- "type": "string"
- },
- "reportTypeId": {
- "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.",
+ "id": {
+ "description": "The ID of the report type (max. 100 characters).",
"type": "string"
},
- "expireTime": {
- "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.",
+ "deprecateTime": {
+ "description": "The date/time when this report type was/will be deprecated.",
"format": "google-datetime",
"type": "string"
},
"name": {
- "description": "The name of the job (max. 100 characters).",
+ "description": "The name of the report type (max. 100 characters).",
"type": "string"
}
},
"type": "object"
},
- "ListReportsResponse": {
- "description": "Response message for ReportingService.ListReports.",
- "id": "ListReportsResponse",
+ "ListJobsResponse": {
+ "description": "Response message for ReportingService.ListJobs.",
+ "id": "ListJobsResponse",
"properties": {
"nextPageToken": {
- "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.",
+ "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.",
"type": "string"
},
- "reports": {
- "description": "The list of report types.",
+ "jobs": {
+ "description": "The list of jobs.",
"items": {
- "$ref": "Report"
+ "$ref": "Job"
},
"type": "array"
}
« no previous file with comments | « discovery/googleapis/youtubeAnalytics__v1.json ('k') | discovery/googleapis_beta/adexchangebuyer2__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698