| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/yt-analytics.readonly": { | 5 "https://www.googleapis.com/auth/yt-analytics.readonly": { |
| 6 "description": "View YouTube Analytics reports for your YouT
ube content" | 6 "description": "View YouTube Analytics reports for your YouT
ube content" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { | 8 "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
: { |
| 9 "description": "View monetary and non-monetary YouTube Analy
tics reports for your YouTube content" | 9 "description": "View monetary and non-monetary YouTube Analy
tics reports for your YouTube content" |
| 10 } | 10 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 "icons": { | 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, | 24 }, |
| 25 "id": "youtubereporting:v1", | 25 "id": "youtubereporting:v1", |
| 26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
| 27 "name": "youtubereporting", | 27 "name": "youtubereporting", |
| 28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", | 29 "ownerName": "Google", |
| 30 "parameters": { | 30 "parameters": { |
| 31 "upload_protocol": { | |
| 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
| 33 "location": "query", | |
| 34 "type": "string" | |
| 35 }, | |
| 36 "prettyPrint": { | |
| 37 "default": "true", | |
| 38 "description": "Returns response with indentations and line breaks."
, | |
| 39 "location": "query", | |
| 40 "type": "boolean" | |
| 41 }, | |
| 42 "uploadType": { | |
| 43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
| 44 "location": "query", | |
| 45 "type": "string" | |
| 46 }, | |
| 47 "fields": { | |
| 48 "description": "Selector specifying which fields to include in a par
tial response.", | |
| 49 "location": "query", | |
| 50 "type": "string" | |
| 51 }, | |
| 52 "$.xgafv": { | |
| 53 "description": "V1 error format.", | |
| 54 "enum": [ | |
| 55 "1", | |
| 56 "2" | |
| 57 ], | |
| 58 "enumDescriptions": [ | |
| 59 "v1 error format", | |
| 60 "v2 error format" | |
| 61 ], | |
| 62 "location": "query", | |
| 63 "type": "string" | |
| 64 }, | |
| 65 "callback": { | |
| 66 "description": "JSONP", | |
| 67 "location": "query", | |
| 68 "type": "string" | |
| 69 }, | |
| 70 "alt": { | 31 "alt": { |
| 71 "default": "json", | 32 "default": "json", |
| 72 "description": "Data format for response.", | 33 "description": "Data format for response.", |
| 73 "enum": [ | 34 "enum": [ |
| 74 "json", | 35 "json", |
| 75 "media", | 36 "media", |
| 76 "proto" | 37 "proto" |
| 77 ], | 38 ], |
| 78 "enumDescriptions": [ | 39 "enumDescriptions": [ |
| 79 "Responses with Content-Type of application/json", | 40 "Responses with Content-Type of application/json", |
| 80 "Media download with context-dependent Content-Type", | 41 "Media download with context-dependent Content-Type", |
| 81 "Responses with Content-Type of application/x-protobuf" | 42 "Responses with Content-Type of application/x-protobuf" |
| 82 ], | 43 ], |
| 83 "location": "query", | 44 "location": "query", |
| 84 "type": "string" | 45 "type": "string" |
| 85 }, | 46 }, |
| 47 "access_token": { |
| 48 "description": "OAuth access token.", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 86 "key": { | 52 "key": { |
| 87 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 53 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 88 "location": "query", | 54 "location": "query", |
| 89 "type": "string" | 55 "type": "string" |
| 90 }, | 56 }, |
| 91 "access_token": { | |
| 92 "description": "OAuth access token.", | |
| 93 "location": "query", | |
| 94 "type": "string" | |
| 95 }, | |
| 96 "quotaUser": { | 57 "quotaUser": { |
| 97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 58 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 98 "location": "query", | 59 "location": "query", |
| 99 "type": "string" | 60 "type": "string" |
| 100 }, | 61 }, |
| 101 "pp": { | 62 "pp": { |
| 102 "default": "true", | 63 "default": "true", |
| 103 "description": "Pretty-print response.", | 64 "description": "Pretty-print response.", |
| 104 "location": "query", | 65 "location": "query", |
| 105 "type": "boolean" | 66 "type": "boolean" |
| 106 }, | 67 }, |
| 68 "oauth_token": { |
| 69 "description": "OAuth 2.0 token for the current user.", |
| 70 "location": "query", |
| 71 "type": "string" |
| 72 }, |
| 107 "bearer_token": { | 73 "bearer_token": { |
| 108 "description": "OAuth bearer token.", | 74 "description": "OAuth bearer token.", |
| 109 "location": "query", | 75 "location": "query", |
| 110 "type": "string" | 76 "type": "string" |
| 111 }, | 77 }, |
| 112 "oauth_token": { | 78 "upload_protocol": { |
| 113 "description": "OAuth 2.0 token for the current user.", | 79 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 80 "location": "query", |
| 81 "type": "string" |
| 82 }, |
| 83 "prettyPrint": { |
| 84 "default": "true", |
| 85 "description": "Returns response with indentations and line breaks."
, |
| 86 "location": "query", |
| 87 "type": "boolean" |
| 88 }, |
| 89 "uploadType": { |
| 90 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
| 94 "fields": { |
| 95 "description": "Selector specifying which fields to include in a par
tial response.", |
| 96 "location": "query", |
| 97 "type": "string" |
| 98 }, |
| 99 "callback": { |
| 100 "description": "JSONP", |
| 101 "location": "query", |
| 102 "type": "string" |
| 103 }, |
| 104 "$.xgafv": { |
| 105 "description": "V1 error format.", |
| 106 "enum": [ |
| 107 "1", |
| 108 "2" |
| 109 ], |
| 110 "enumDescriptions": [ |
| 111 "v1 error format", |
| 112 "v2 error format" |
| 113 ], |
| 114 "location": "query", | 114 "location": "query", |
| 115 "type": "string" | 115 "type": "string" |
| 116 } | 116 } |
| 117 }, | 117 }, |
| 118 "protocol": "rest", | 118 "protocol": "rest", |
| 119 "resources": { | 119 "resources": { |
| 120 "media": { | 120 "jobs": { |
| 121 "methods": { | 121 "methods": { |
| 122 "download": { | 122 "create": { |
| 123 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", | 123 "description": "Creates a job and returns it.", |
| 124 "httpMethod": "GET", | 124 "httpMethod": "POST", |
| 125 "id": "youtubereporting.media.download", | 125 "id": "youtubereporting.jobs.create", |
| 126 "parameterOrder": [ | 126 "parameterOrder": [], |
| 127 "resourceName" | |
| 128 ], | |
| 129 "parameters": { | 127 "parameters": { |
| 130 "resourceName": { | 128 "onBehalfOfContentOwner": { |
| 131 "description": "Name of the media that is being down
loaded. See\nReadRequest.resource_name.", | 129 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 132 "location": "path", | 130 "location": "query", |
| 133 "pattern": "^.+$", | |
| 134 "required": true, | |
| 135 "type": "string" | 131 "type": "string" |
| 136 } | 132 } |
| 137 }, | 133 }, |
| 138 "path": "v1/media/{+resourceName}", | 134 "path": "v1/jobs", |
| 135 "request": { |
| 136 "$ref": "Job" |
| 137 }, |
| 139 "response": { | 138 "response": { |
| 140 "$ref": "Media" | 139 "$ref": "Job" |
| 141 }, | 140 }, |
| 142 "scopes": [ | 141 "scopes": [ |
| 143 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 142 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 144 "https://www.googleapis.com/auth/yt-analytics.readonly" | 143 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 145 ], | 144 ] |
| 146 "supportsMediaDownload": true | 145 }, |
| 147 } | |
| 148 } | |
| 149 }, | |
| 150 "jobs": { | |
| 151 "methods": { | |
| 152 "delete": { | 146 "delete": { |
| 153 "description": "Deletes a job.", | 147 "description": "Deletes a job.", |
| 154 "httpMethod": "DELETE", | 148 "httpMethod": "DELETE", |
| 155 "id": "youtubereporting.jobs.delete", | 149 "id": "youtubereporting.jobs.delete", |
| 156 "parameterOrder": [ | 150 "parameterOrder": [ |
| 157 "jobId" | 151 "jobId" |
| 158 ], | 152 ], |
| 159 "parameters": { | 153 "parameters": { |
| 154 "onBehalfOfContentOwner": { |
| 155 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 156 "location": "query", |
| 157 "type": "string" |
| 158 }, |
| 160 "jobId": { | 159 "jobId": { |
| 161 "description": "The ID of the job to delete.", | 160 "description": "The ID of the job to delete.", |
| 162 "location": "path", | 161 "location": "path", |
| 163 "required": true, | 162 "required": true, |
| 164 "type": "string" | 163 "type": "string" |
| 165 }, | |
| 166 "onBehalfOfContentOwner": { | |
| 167 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | |
| 168 "location": "query", | |
| 169 "type": "string" | |
| 170 } | 164 } |
| 171 }, | 165 }, |
| 172 "path": "v1/jobs/{jobId}", | 166 "path": "v1/jobs/{jobId}", |
| 173 "response": { | 167 "response": { |
| 174 "$ref": "Empty" | 168 "$ref": "Empty" |
| 175 }, | 169 }, |
| 176 "scopes": [ | 170 "scopes": [ |
| 177 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 171 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 178 "https://www.googleapis.com/auth/yt-analytics.readonly" | 172 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 179 ] | 173 ] |
| (...skipping 26 matching lines...) Expand all Loading... |
| 206 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 200 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 207 "https://www.googleapis.com/auth/yt-analytics.readonly" | 201 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 208 ] | 202 ] |
| 209 }, | 203 }, |
| 210 "list": { | 204 "list": { |
| 211 "description": "Lists jobs.", | 205 "description": "Lists jobs.", |
| 212 "httpMethod": "GET", | 206 "httpMethod": "GET", |
| 213 "id": "youtubereporting.jobs.list", | 207 "id": "youtubereporting.jobs.list", |
| 214 "parameterOrder": [], | 208 "parameterOrder": [], |
| 215 "parameters": { | 209 "parameters": { |
| 216 "onBehalfOfContentOwner": { | |
| 217 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | |
| 218 "location": "query", | |
| 219 "type": "string" | |
| 220 }, | |
| 221 "includeSystemManaged": { | 210 "includeSystemManaged": { |
| 222 "description": "If set to true, also system-managed
jobs will be returned; otherwise only\nuser-created jobs will be returned. Syste
m-managed jobs can neither be\nmodified nor deleted.", | 211 "description": "If set to true, also system-managed
jobs will be returned; otherwise only\nuser-created jobs will be returned. Syste
m-managed jobs can neither be\nmodified nor deleted.", |
| 223 "location": "query", | 212 "location": "query", |
| 224 "type": "boolean" | 213 "type": "boolean" |
| 225 }, | 214 }, |
| 226 "pageToken": { | 215 "pageToken": { |
| 227 "description": "A token identifying a page of result
s the server should return. Typically,\nthis is the value of\nListReportTypesRes
ponse.next_page_token\nreturned in response to the previous call to the `ListJob
s` method.", | 216 "description": "A token identifying a page of result
s the server should return. Typically,\nthis is the value of\nListReportTypesRes
ponse.next_page_token\nreturned in response to the previous call to the `ListJob
s` method.", |
| 228 "location": "query", | 217 "location": "query", |
| 229 "type": "string" | 218 "type": "string" |
| 230 }, | 219 }, |
| 231 "pageSize": { | 220 "pageSize": { |
| 232 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", | 221 "description": "Requested page size. Server may retu
rn fewer jobs than requested.\nIf unspecified, server will pick an appropriate d
efault.", |
| 233 "format": "int32", | 222 "format": "int32", |
| 234 "location": "query", | 223 "location": "query", |
| 235 "type": "integer" | 224 "type": "integer" |
| 236 } | 225 }, |
| 237 }, | |
| 238 "path": "v1/jobs", | |
| 239 "response": { | |
| 240 "$ref": "ListJobsResponse" | |
| 241 }, | |
| 242 "scopes": [ | |
| 243 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | |
| 244 "https://www.googleapis.com/auth/yt-analytics.readonly" | |
| 245 ] | |
| 246 }, | |
| 247 "create": { | |
| 248 "description": "Creates a job and returns it.", | |
| 249 "httpMethod": "POST", | |
| 250 "id": "youtubereporting.jobs.create", | |
| 251 "parameterOrder": [], | |
| 252 "parameters": { | |
| 253 "onBehalfOfContentOwner": { | 226 "onBehalfOfContentOwner": { |
| 254 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", | 227 "description": "The content owner's external ID on w
hich behalf the user is acting on. If\nnot set, the user is acting for himself (
his own channel).", |
| 255 "location": "query", | 228 "location": "query", |
| 256 "type": "string" | 229 "type": "string" |
| 257 } | 230 } |
| 258 }, | 231 }, |
| 259 "path": "v1/jobs", | 232 "path": "v1/jobs", |
| 260 "request": { | |
| 261 "$ref": "Job" | |
| 262 }, | |
| 263 "response": { | 233 "response": { |
| 264 "$ref": "Job" | 234 "$ref": "ListJobsResponse" |
| 265 }, | 235 }, |
| 266 "scopes": [ | 236 "scopes": [ |
| 267 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 237 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 268 "https://www.googleapis.com/auth/yt-analytics.readonly" | 238 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 269 ] | 239 ] |
| 270 } | 240 } |
| 271 }, | 241 }, |
| 272 "resources": { | 242 "resources": { |
| 273 "reports": { | 243 "reports": { |
| 274 "methods": { | 244 "methods": { |
| 275 "get": { | 245 "get": { |
| 276 "description": "Gets the metadata of a specific repo
rt.", | 246 "description": "Gets the metadata of a specific repo
rt.", |
| 277 "httpMethod": "GET", | 247 "httpMethod": "GET", |
| 278 "id": "youtubereporting.jobs.reports.get", | 248 "id": "youtubereporting.jobs.reports.get", |
| 279 "parameterOrder": [ | 249 "parameterOrder": [ |
| 280 "jobId", | 250 "jobId", |
| 281 "reportId" | 251 "reportId" |
| 282 ], | 252 ], |
| 283 "parameters": { | 253 "parameters": { |
| 284 "reportId": { | |
| 285 "description": "The ID of the report to retr
ieve.", | |
| 286 "location": "path", | |
| 287 "required": true, | |
| 288 "type": "string" | |
| 289 }, | |
| 290 "jobId": { | 254 "jobId": { |
| 291 "description": "The ID of the job.", | 255 "description": "The ID of the job.", |
| 292 "location": "path", | 256 "location": "path", |
| 293 "required": true, | 257 "required": true, |
| 294 "type": "string" | 258 "type": "string" |
| 295 }, | 259 }, |
| 296 "onBehalfOfContentOwner": { | 260 "onBehalfOfContentOwner": { |
| 297 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", | 261 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", |
| 298 "location": "query", | 262 "location": "query", |
| 299 "type": "string" | 263 "type": "string" |
| 264 }, |
| 265 "reportId": { |
| 266 "description": "The ID of the report to retr
ieve.", |
| 267 "location": "path", |
| 268 "required": true, |
| 269 "type": "string" |
| 300 } | 270 } |
| 301 }, | 271 }, |
| 302 "path": "v1/jobs/{jobId}/reports/{reportId}", | 272 "path": "v1/jobs/{jobId}/reports/{reportId}", |
| 303 "response": { | 273 "response": { |
| 304 "$ref": "Report" | 274 "$ref": "Report" |
| 305 }, | 275 }, |
| 306 "scopes": [ | 276 "scopes": [ |
| 307 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 277 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 308 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | 278 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 309 ] | 279 ] |
| 310 }, | 280 }, |
| 311 "list": { | 281 "list": { |
| 312 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", | 282 "description": "Lists reports created by a specific
job.\nReturns NOT_FOUND if the job does not exist.", |
| 313 "httpMethod": "GET", | 283 "httpMethod": "GET", |
| 314 "id": "youtubereporting.jobs.reports.list", | 284 "id": "youtubereporting.jobs.reports.list", |
| 315 "parameterOrder": [ | 285 "parameterOrder": [ |
| 316 "jobId" | 286 "jobId" |
| 317 ], | 287 ], |
| 318 "parameters": { | 288 "parameters": { |
| 319 "jobId": { | |
| 320 "description": "The ID of the job.", | |
| 321 "location": "path", | |
| 322 "required": true, | |
| 323 "type": "string" | |
| 324 }, | |
| 325 "createdAfter": { | 289 "createdAfter": { |
| 326 "description": "If set, only reports created
after the specified date/time are returned.", | 290 "description": "If set, only reports created
after the specified date/time are returned.", |
| 327 "format": "google-datetime", | 291 "format": "google-datetime", |
| 328 "location": "query", | 292 "location": "query", |
| 329 "type": "string" | 293 "type": "string" |
| 330 }, | 294 }, |
| 331 "pageToken": { | 295 "pageToken": { |
| 332 "description": "A token identifying a page o
f results the server should return. Typically,\nthis is the value of\nListReport
sResponse.next_page_token\nreturned in response to the previous call to the `Lis
tReports` method.", | 296 "description": "A token identifying a page o
f results the server should return. Typically,\nthis is the value of\nListReport
sResponse.next_page_token\nreturned in response to the previous call to the `Lis
tReports` method.", |
| 333 "location": "query", | 297 "location": "query", |
| 334 "type": "string" | 298 "type": "string" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 348 "onBehalfOfContentOwner": { | 312 "onBehalfOfContentOwner": { |
| 349 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", | 313 "description": "The content owner's external
ID on which behalf the user is acting on. If\nnot set, the user is acting for h
imself (his own channel).", |
| 350 "location": "query", | 314 "location": "query", |
| 351 "type": "string" | 315 "type": "string" |
| 352 }, | 316 }, |
| 353 "startTimeBefore": { | 317 "startTimeBefore": { |
| 354 "description": "If set, only reports whose s
tart time is smaller than the specified\ndate/time are returned.", | 318 "description": "If set, only reports whose s
tart time is smaller than the specified\ndate/time are returned.", |
| 355 "format": "google-datetime", | 319 "format": "google-datetime", |
| 356 "location": "query", | 320 "location": "query", |
| 357 "type": "string" | 321 "type": "string" |
| 322 }, |
| 323 "jobId": { |
| 324 "description": "The ID of the job.", |
| 325 "location": "path", |
| 326 "required": true, |
| 327 "type": "string" |
| 358 } | 328 } |
| 359 }, | 329 }, |
| 360 "path": "v1/jobs/{jobId}/reports", | 330 "path": "v1/jobs/{jobId}/reports", |
| 361 "response": { | 331 "response": { |
| 362 "$ref": "ListReportsResponse" | 332 "$ref": "ListReportsResponse" |
| 363 }, | 333 }, |
| 364 "scopes": [ | 334 "scopes": [ |
| 365 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", | 335 "https://www.googleapis.com/auth/yt-analytics-mo
netary.readonly", |
| 366 "https://www.googleapis.com/auth/yt-analytics.re
adonly" | 336 "https://www.googleapis.com/auth/yt-analytics.re
adonly" |
| 367 ] | 337 ] |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 "path": "v1/reportTypes", | 373 "path": "v1/reportTypes", |
| 404 "response": { | 374 "response": { |
| 405 "$ref": "ListReportTypesResponse" | 375 "$ref": "ListReportTypesResponse" |
| 406 }, | 376 }, |
| 407 "scopes": [ | 377 "scopes": [ |
| 408 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", | 378 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 409 "https://www.googleapis.com/auth/yt-analytics.readonly" | 379 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 410 ] | 380 ] |
| 411 } | 381 } |
| 412 } | 382 } |
| 383 }, |
| 384 "media": { |
| 385 "methods": { |
| 386 "download": { |
| 387 "description": "Method for media download. Download is suppo
rted\non the URI `/v1/media/{+name}?alt=media`.", |
| 388 "httpMethod": "GET", |
| 389 "id": "youtubereporting.media.download", |
| 390 "parameterOrder": [ |
| 391 "resourceName" |
| 392 ], |
| 393 "parameters": { |
| 394 "resourceName": { |
| 395 "description": "Name of the media that is being down
loaded. See\nReadRequest.resource_name.", |
| 396 "location": "path", |
| 397 "pattern": "^.+$", |
| 398 "required": true, |
| 399 "type": "string" |
| 400 } |
| 401 }, |
| 402 "path": "v1/media/{+resourceName}", |
| 403 "response": { |
| 404 "$ref": "Media" |
| 405 }, |
| 406 "scopes": [ |
| 407 "https://www.googleapis.com/auth/yt-analytics-monetary.r
eadonly", |
| 408 "https://www.googleapis.com/auth/yt-analytics.readonly" |
| 409 ], |
| 410 "supportsMediaDownload": true |
| 411 } |
| 412 } |
| 413 } | 413 } |
| 414 }, | 414 }, |
| 415 "revision": "20170726", | 415 "revision": "20170816", |
| 416 "rootUrl": "https://youtubereporting.googleapis.com/", | 416 "rootUrl": "https://youtubereporting.googleapis.com/", |
| 417 "schemas": { | 417 "schemas": { |
| 418 "ListJobsResponse": { |
| 419 "description": "Response message for ReportingService.ListJobs.", |
| 420 "id": "ListJobsResponse", |
| 421 "properties": { |
| 422 "nextPageToken": { |
| 423 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListJobsRequest.page_token\nfield in the subsequent call
to `ListJobs` method to retrieve the next\npage of results.", |
| 424 "type": "string" |
| 425 }, |
| 426 "jobs": { |
| 427 "description": "The list of jobs.", |
| 428 "items": { |
| 429 "$ref": "Job" |
| 430 }, |
| 431 "type": "array" |
| 432 } |
| 433 }, |
| 434 "type": "object" |
| 435 }, |
| 436 "Job": { |
| 437 "description": "A job creating reports of a specific type.", |
| 438 "id": "Job", |
| 439 "properties": { |
| 440 "name": { |
| 441 "description": "The name of the job (max. 100 characters).", |
| 442 "type": "string" |
| 443 }, |
| 444 "id": { |
| 445 "description": "The server-generated ID of the job (max. 40
characters).", |
| 446 "type": "string" |
| 447 }, |
| 448 "systemManaged": { |
| 449 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", |
| 450 "type": "boolean" |
| 451 }, |
| 452 "createTime": { |
| 453 "description": "The creation date/time of the job.", |
| 454 "format": "google-datetime", |
| 455 "type": "string" |
| 456 }, |
| 457 "reportTypeId": { |
| 458 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", |
| 459 "type": "string" |
| 460 }, |
| 461 "expireTime": { |
| 462 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", |
| 463 "format": "google-datetime", |
| 464 "type": "string" |
| 465 } |
| 466 }, |
| 467 "type": "object" |
| 468 }, |
| 469 "ListReportsResponse": { |
| 470 "description": "Response message for ReportingService.ListReports.", |
| 471 "id": "ListReportsResponse", |
| 472 "properties": { |
| 473 "nextPageToken": { |
| 474 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportsRequest.page_token\nfield in the subsequent ca
ll to `ListReports` method to retrieve the next\npage of results.", |
| 475 "type": "string" |
| 476 }, |
| 477 "reports": { |
| 478 "description": "The list of report types.", |
| 479 "items": { |
| 480 "$ref": "Report" |
| 481 }, |
| 482 "type": "array" |
| 483 } |
| 484 }, |
| 485 "type": "object" |
| 486 }, |
| 487 "Media": { |
| 488 "description": "Media resource.", |
| 489 "id": "Media", |
| 490 "properties": { |
| 491 "resourceName": { |
| 492 "description": "Name of the media resource.", |
| 493 "type": "string" |
| 494 } |
| 495 }, |
| 496 "type": "object" |
| 497 }, |
| 418 "ReportType": { | 498 "ReportType": { |
| 419 "description": "A report type.", | 499 "description": "A report type.", |
| 420 "id": "ReportType", | 500 "id": "ReportType", |
| 421 "properties": { | 501 "properties": { |
| 422 "systemManaged": { | 502 "systemManaged": { |
| 423 "description": "True if this a system-managed report type; o
therwise false. Reporting jobs\nfor system-managed report types are created auto
matically and can thus not\nbe used in the `CreateJob` method.", | 503 "description": "True if this a system-managed report type; o
therwise false. Reporting jobs\nfor system-managed report types are created auto
matically and can thus not\nbe used in the `CreateJob` method.", |
| 424 "type": "boolean" | 504 "type": "boolean" |
| 425 }, | 505 }, |
| 426 "id": { | 506 "id": { |
| 427 "description": "The ID of the report type (max. 100 characte
rs).", | 507 "description": "The ID of the report type (max. 100 characte
rs).", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 "Empty": { | 540 "Empty": { |
| 461 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 541 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 462 "id": "Empty", | 542 "id": "Empty", |
| 463 "properties": {}, | 543 "properties": {}, |
| 464 "type": "object" | 544 "type": "object" |
| 465 }, | 545 }, |
| 466 "Report": { | 546 "Report": { |
| 467 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", | 547 "description": "A report's metadata including the URL from which the
report itself can be\ndownloaded.", |
| 468 "id": "Report", | 548 "id": "Report", |
| 469 "properties": { | 549 "properties": { |
| 470 "createTime": { | 550 "id": { |
| 471 "description": "The date/time when this report was created."
, | 551 "description": "The server-generated ID of the report.", |
| 472 "format": "google-datetime", | |
| 473 "type": "string" | 552 "type": "string" |
| 474 }, | 553 }, |
| 475 "jobId": { | 554 "endTime": { |
| 476 "description": "The ID of the job that created this report."
, | 555 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", |
| 477 "type": "string" | 556 "format": "google-datetime", |
| 478 }, | |
| 479 "id": { | |
| 480 "description": "The server-generated ID of the report.", | |
| 481 "type": "string" | 557 "type": "string" |
| 482 }, | 558 }, |
| 483 "jobExpireTime": { | 559 "jobExpireTime": { |
| 484 "description": "The date/time when the job this report belon
gs to will expire/expired.", | 560 "description": "The date/time when the job this report belon
gs to will expire/expired.", |
| 485 "format": "google-datetime", | 561 "format": "google-datetime", |
| 486 "type": "string" | 562 "type": "string" |
| 487 }, | 563 }, |
| 488 "endTime": { | |
| 489 "description": "The end of the time period that the report i
nstance covers. The value is\nexclusive.", | |
| 490 "format": "google-datetime", | |
| 491 "type": "string" | |
| 492 }, | |
| 493 "downloadUrl": { | 564 "downloadUrl": { |
| 494 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", | 565 "description": "The URL from which the report can be downloa
ded (max. 1000 characters).", |
| 495 "type": "string" | 566 "type": "string" |
| 496 }, | 567 }, |
| 497 "startTime": { | 568 "startTime": { |
| 498 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", | 569 "description": "The start of the time period that the report
instance covers. The value is\ninclusive.", |
| 499 "format": "google-datetime", | 570 "format": "google-datetime", |
| 500 "type": "string" | 571 "type": "string" |
| 501 } | |
| 502 }, | |
| 503 "type": "object" | |
| 504 }, | |
| 505 "ListJobsResponse": { | |
| 506 "description": "Response message for ReportingService.ListJobs.", | |
| 507 "id": "ListJobsResponse", | |
| 508 "properties": { | |
| 509 "nextPageToken": { | |
| 510 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListJobsRequest.page_token\nfield in the subsequent call
to `ListJobs` method to retrieve the next\npage of results.", | |
| 511 "type": "string" | |
| 512 }, | 572 }, |
| 513 "jobs": { | 573 "createTime": { |
| 514 "description": "The list of jobs.", | 574 "description": "The date/time when this report was created."
, |
| 515 "items": { | |
| 516 "$ref": "Job" | |
| 517 }, | |
| 518 "type": "array" | |
| 519 } | |
| 520 }, | |
| 521 "type": "object" | |
| 522 }, | |
| 523 "Job": { | |
| 524 "description": "A job creating reports of a specific type.", | |
| 525 "id": "Job", | |
| 526 "properties": { | |
| 527 "reportTypeId": { | |
| 528 "description": "The type of reports this job creates. Corres
ponds to the ID of a\nReportType.", | |
| 529 "type": "string" | |
| 530 }, | |
| 531 "expireTime": { | |
| 532 "description": "The date/time when this job will expire/expi
red. After a job expired, no\nnew reports are generated.", | |
| 533 "format": "google-datetime", | 575 "format": "google-datetime", |
| 534 "type": "string" | 576 "type": "string" |
| 535 }, | 577 }, |
| 536 "name": { | 578 "jobId": { |
| 537 "description": "The name of the job (max. 100 characters).", | 579 "description": "The ID of the job that created this report."
, |
| 538 "type": "string" | |
| 539 }, | |
| 540 "systemManaged": { | |
| 541 "description": "True if this a system-managed job that canno
t be modified by the user;\notherwise false.", | |
| 542 "type": "boolean" | |
| 543 }, | |
| 544 "id": { | |
| 545 "description": "The server-generated ID of the job (max. 40
characters).", | |
| 546 "type": "string" | |
| 547 }, | |
| 548 "createTime": { | |
| 549 "description": "The creation date/time of the job.", | |
| 550 "format": "google-datetime", | |
| 551 "type": "string" | 580 "type": "string" |
| 552 } | 581 } |
| 553 }, | 582 }, |
| 554 "type": "object" | |
| 555 }, | |
| 556 "ListReportsResponse": { | |
| 557 "description": "Response message for ReportingService.ListReports.", | |
| 558 "id": "ListReportsResponse", | |
| 559 "properties": { | |
| 560 "nextPageToken": { | |
| 561 "description": "A token to retrieve next page of results.\nP
ass this value in the\nListReportsRequest.page_token\nfield in the subsequent ca
ll to `ListReports` method to retrieve the next\npage of results.", | |
| 562 "type": "string" | |
| 563 }, | |
| 564 "reports": { | |
| 565 "description": "The list of report types.", | |
| 566 "items": { | |
| 567 "$ref": "Report" | |
| 568 }, | |
| 569 "type": "array" | |
| 570 } | |
| 571 }, | |
| 572 "type": "object" | |
| 573 }, | |
| 574 "Media": { | |
| 575 "description": "Media resource.", | |
| 576 "id": "Media", | |
| 577 "properties": { | |
| 578 "resourceName": { | |
| 579 "description": "Name of the media resource.", | |
| 580 "type": "string" | |
| 581 } | |
| 582 }, | |
| 583 "type": "object" | 583 "type": "object" |
| 584 } | 584 } |
| 585 }, | 585 }, |
| 586 "servicePath": "", | 586 "servicePath": "", |
| 587 "title": "YouTube Reporting API", | 587 "title": "YouTube Reporting API", |
| 588 "version": "v1" | 588 "version": "v1" |
| 589 } | 589 } |
| OLD | NEW |