| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/drive": { | 5 "https://www.googleapis.com/auth/drive": { |
| 6 "description": "View and manage the files in your Google Dri
ve" | 6 "description": "View and manage the files in your Google Dri
ve" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/drive.appdata": { | 8 "https://www.googleapis.com/auth/drive.appdata": { |
| 9 "description": "View and manage its own configuration data i
n your Google Drive" | 9 "description": "View and manage its own configuration data i
n your Google Drive" |
| 10 }, | 10 }, |
| 11 "https://www.googleapis.com/auth/drive.apps.readonly": { | 11 "https://www.googleapis.com/auth/drive.apps.readonly": { |
| 12 "description": "View your Google Drive apps" | 12 "description": "View your Google Drive apps" |
| 13 }, | 13 }, |
| 14 "https://www.googleapis.com/auth/drive.file": { | 14 "https://www.googleapis.com/auth/drive.file": { |
| 15 "description": "View and manage Google Drive files and folde
rs that you have opened or created with this app" | 15 "description": "View and manage Google Drive files and folde
rs that you have opened or created with this app" |
| 16 }, | 16 }, |
| 17 "https://www.googleapis.com/auth/drive.metadata": { | 17 "https://www.googleapis.com/auth/drive.metadata": { |
| 18 "description": "View and manage metadata of files in your Go
ogle Drive" | 18 "description": "View and manage metadata of files in your Go
ogle Drive" |
| 19 }, | 19 }, |
| 20 "https://www.googleapis.com/auth/drive.metadata.readonly": { | 20 "https://www.googleapis.com/auth/drive.metadata.readonly": { |
| 21 "description": "View metadata for files in your Google Drive
" | 21 "description": "View metadata for files in your Google Drive
" |
| 22 }, | 22 }, |
| 23 "https://www.googleapis.com/auth/drive.photos.readonly": { |
| 24 "description": "View the photos, videos and albums in your G
oogle Photos" |
| 25 }, |
| 23 "https://www.googleapis.com/auth/drive.readonly": { | 26 "https://www.googleapis.com/auth/drive.readonly": { |
| 24 "description": "View the files in your Google Drive" | 27 "description": "View the files in your Google Drive" |
| 25 }, | 28 }, |
| 26 "https://www.googleapis.com/auth/drive.scripts": { | 29 "https://www.googleapis.com/auth/drive.scripts": { |
| 27 "description": "Modify your Google Apps Script scripts' beha
vior" | 30 "description": "Modify your Google Apps Script scripts' beha
vior" |
| 28 } | 31 } |
| 29 } | 32 } |
| 30 } | 33 } |
| 31 }, | 34 }, |
| 32 "basePath": "/drive/v2/", | 35 "basePath": "/drive/v2/", |
| 33 "baseUrl": "https://www.googleapis.com/drive/v2/", | 36 "baseUrl": "https://www.googleapis.com/drive/v2/", |
| 34 "batchPath": "batch", | 37 "batchPath": "batch", |
| 35 "description": "The API to interact with Drive.", | 38 "description": "The API to interact with Drive.", |
| 36 "discoveryVersion": "v1", | 39 "discoveryVersion": "v1", |
| 37 "documentationLink": "https://developers.google.com/drive/", | 40 "documentationLink": "https://developers.google.com/drive/", |
| 38 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2GklHAwx5ffZUxuQnPgLyVNUl4I\"", | 41 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bAPHf5F8Rbt2-sbWbBvk_7rc12E\"", |
| 39 "icons": { | 42 "icons": { |
| 40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 43 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", |
| 41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" | 44 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
| 42 }, | 45 }, |
| 43 "id": "drive:v2", | 46 "id": "drive:v2", |
| 44 "kind": "discovery#restDescription", | 47 "kind": "discovery#restDescription", |
| 45 "name": "drive", | 48 "name": "drive", |
| 46 "ownerDomain": "google.com", | 49 "ownerDomain": "google.com", |
| 47 "ownerName": "Google", | 50 "ownerName": "Google", |
| 48 "parameters": { | 51 "parameters": { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 "path": "about", | 125 "path": "about", |
| 123 "response": { | 126 "response": { |
| 124 "$ref": "About" | 127 "$ref": "About" |
| 125 }, | 128 }, |
| 126 "scopes": [ | 129 "scopes": [ |
| 127 "https://www.googleapis.com/auth/drive", | 130 "https://www.googleapis.com/auth/drive", |
| 128 "https://www.googleapis.com/auth/drive.appdata", | 131 "https://www.googleapis.com/auth/drive.appdata", |
| 129 "https://www.googleapis.com/auth/drive.file", | 132 "https://www.googleapis.com/auth/drive.file", |
| 130 "https://www.googleapis.com/auth/drive.metadata", | 133 "https://www.googleapis.com/auth/drive.metadata", |
| 131 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 134 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 135 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 132 "https://www.googleapis.com/auth/drive.readonly" | 136 "https://www.googleapis.com/auth/drive.readonly" |
| 133 ] | 137 ] |
| 134 } | 138 } |
| 135 } | 139 } |
| 136 }, | 140 }, |
| 137 "apps": { | 141 "apps": { |
| 138 "methods": { | 142 "methods": { |
| 139 "get": { | 143 "get": { |
| 140 "description": "Gets a specific app.", | 144 "description": "Gets a specific app.", |
| 141 "httpMethod": "GET", | 145 "httpMethod": "GET", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 "response": { | 223 "response": { |
| 220 "$ref": "Change" | 224 "$ref": "Change" |
| 221 }, | 225 }, |
| 222 "scopes": [ | 226 "scopes": [ |
| 223 "https://www.googleapis.com/auth/drive", | 227 "https://www.googleapis.com/auth/drive", |
| 224 "https://www.googleapis.com/auth/drive.appdata", | 228 "https://www.googleapis.com/auth/drive.appdata", |
| 225 "https://www.googleapis.com/auth/drive.apps.readonly", | 229 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 226 "https://www.googleapis.com/auth/drive.file", | 230 "https://www.googleapis.com/auth/drive.file", |
| 227 "https://www.googleapis.com/auth/drive.metadata", | 231 "https://www.googleapis.com/auth/drive.metadata", |
| 228 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 232 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 233 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 229 "https://www.googleapis.com/auth/drive.readonly" | 234 "https://www.googleapis.com/auth/drive.readonly" |
| 230 ] | 235 ] |
| 231 }, | 236 }, |
| 232 "list": { | 237 "list": { |
| 233 "description": "Lists the changes for a user.", | 238 "description": "Lists the changes for a user.", |
| 234 "httpMethod": "GET", | 239 "httpMethod": "GET", |
| 235 "id": "drive.changes.list", | 240 "id": "drive.changes.list", |
| 236 "parameters": { | 241 "parameters": { |
| 237 "includeDeleted": { | 242 "includeDeleted": { |
| 238 "default": "true", | 243 "default": "true", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 253 "location": "query", | 258 "location": "query", |
| 254 "minimum": "1", | 259 "minimum": "1", |
| 255 "type": "integer" | 260 "type": "integer" |
| 256 }, | 261 }, |
| 257 "pageToken": { | 262 "pageToken": { |
| 258 "description": "Page token for changes.", | 263 "description": "Page token for changes.", |
| 259 "location": "query", | 264 "location": "query", |
| 260 "type": "string" | 265 "type": "string" |
| 261 }, | 266 }, |
| 262 "spaces": { | 267 "spaces": { |
| 263 "description": "A comma-separated list of spaces to
query. Supported values are 'drive' and 'appDataFolder'.", | 268 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", |
| 264 "location": "query", | 269 "location": "query", |
| 265 "type": "string" | 270 "type": "string" |
| 266 }, | 271 }, |
| 267 "startChangeId": { | 272 "startChangeId": { |
| 268 "description": "Change ID to start listing changes f
rom.", | 273 "description": "Change ID to start listing changes f
rom.", |
| 269 "format": "int64", | 274 "format": "int64", |
| 270 "location": "query", | 275 "location": "query", |
| 271 "type": "string" | 276 "type": "string" |
| 272 } | 277 } |
| 273 }, | 278 }, |
| 274 "path": "changes", | 279 "path": "changes", |
| 275 "response": { | 280 "response": { |
| 276 "$ref": "ChangeList" | 281 "$ref": "ChangeList" |
| 277 }, | 282 }, |
| 278 "scopes": [ | 283 "scopes": [ |
| 279 "https://www.googleapis.com/auth/drive", | 284 "https://www.googleapis.com/auth/drive", |
| 280 "https://www.googleapis.com/auth/drive.appdata", | 285 "https://www.googleapis.com/auth/drive.appdata", |
| 281 "https://www.googleapis.com/auth/drive.apps.readonly", | 286 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 282 "https://www.googleapis.com/auth/drive.file", | 287 "https://www.googleapis.com/auth/drive.file", |
| 283 "https://www.googleapis.com/auth/drive.metadata", | 288 "https://www.googleapis.com/auth/drive.metadata", |
| 284 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 289 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 290 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 285 "https://www.googleapis.com/auth/drive.readonly" | 291 "https://www.googleapis.com/auth/drive.readonly" |
| 286 ], | 292 ], |
| 287 "supportsSubscription": true | 293 "supportsSubscription": true |
| 288 }, | 294 }, |
| 289 "watch": { | 295 "watch": { |
| 290 "description": "Subscribe to changes for a user.", | 296 "description": "Subscribe to changes for a user.", |
| 291 "httpMethod": "POST", | 297 "httpMethod": "POST", |
| 292 "id": "drive.changes.watch", | 298 "id": "drive.changes.watch", |
| 293 "parameters": { | 299 "parameters": { |
| 294 "includeDeleted": { | 300 "includeDeleted": { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 310 "location": "query", | 316 "location": "query", |
| 311 "minimum": "1", | 317 "minimum": "1", |
| 312 "type": "integer" | 318 "type": "integer" |
| 313 }, | 319 }, |
| 314 "pageToken": { | 320 "pageToken": { |
| 315 "description": "Page token for changes.", | 321 "description": "Page token for changes.", |
| 316 "location": "query", | 322 "location": "query", |
| 317 "type": "string" | 323 "type": "string" |
| 318 }, | 324 }, |
| 319 "spaces": { | 325 "spaces": { |
| 320 "description": "A comma-separated list of spaces to
query. Supported values are 'drive' and 'appDataFolder'.", | 326 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", |
| 321 "location": "query", | 327 "location": "query", |
| 322 "type": "string" | 328 "type": "string" |
| 323 }, | 329 }, |
| 324 "startChangeId": { | 330 "startChangeId": { |
| 325 "description": "Change ID to start listing changes f
rom.", | 331 "description": "Change ID to start listing changes f
rom.", |
| 326 "format": "int64", | 332 "format": "int64", |
| 327 "location": "query", | 333 "location": "query", |
| 328 "type": "string" | 334 "type": "string" |
| 329 } | 335 } |
| 330 }, | 336 }, |
| 331 "path": "changes/watch", | 337 "path": "changes/watch", |
| 332 "request": { | 338 "request": { |
| 333 "$ref": "Channel", | 339 "$ref": "Channel", |
| 334 "parameterName": "resource" | 340 "parameterName": "resource" |
| 335 }, | 341 }, |
| 336 "response": { | 342 "response": { |
| 337 "$ref": "Channel" | 343 "$ref": "Channel" |
| 338 }, | 344 }, |
| 339 "scopes": [ | 345 "scopes": [ |
| 340 "https://www.googleapis.com/auth/drive", | 346 "https://www.googleapis.com/auth/drive", |
| 341 "https://www.googleapis.com/auth/drive.appdata", | 347 "https://www.googleapis.com/auth/drive.appdata", |
| 342 "https://www.googleapis.com/auth/drive.apps.readonly", | 348 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 343 "https://www.googleapis.com/auth/drive.file", | 349 "https://www.googleapis.com/auth/drive.file", |
| 344 "https://www.googleapis.com/auth/drive.metadata", | 350 "https://www.googleapis.com/auth/drive.metadata", |
| 345 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 351 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 352 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 346 "https://www.googleapis.com/auth/drive.readonly" | 353 "https://www.googleapis.com/auth/drive.readonly" |
| 347 ], | 354 ], |
| 348 "supportsSubscription": true | 355 "supportsSubscription": true |
| 349 } | 356 } |
| 350 } | 357 } |
| 351 }, | 358 }, |
| 352 "channels": { | 359 "channels": { |
| 353 "methods": { | 360 "methods": { |
| 354 "stop": { | 361 "stop": { |
| 355 "description": "Stop watching resources through this channel
", | 362 "description": "Stop watching resources through this channel
", |
| 356 "httpMethod": "POST", | 363 "httpMethod": "POST", |
| 357 "id": "drive.channels.stop", | 364 "id": "drive.channels.stop", |
| 358 "path": "channels/stop", | 365 "path": "channels/stop", |
| 359 "request": { | 366 "request": { |
| 360 "$ref": "Channel", | 367 "$ref": "Channel", |
| 361 "parameterName": "resource" | 368 "parameterName": "resource" |
| 362 }, | 369 }, |
| 363 "scopes": [ | 370 "scopes": [ |
| 364 "https://www.googleapis.com/auth/drive", | 371 "https://www.googleapis.com/auth/drive", |
| 365 "https://www.googleapis.com/auth/drive.appdata", | 372 "https://www.googleapis.com/auth/drive.appdata", |
| 366 "https://www.googleapis.com/auth/drive.apps.readonly", | 373 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 367 "https://www.googleapis.com/auth/drive.file", | 374 "https://www.googleapis.com/auth/drive.file", |
| 368 "https://www.googleapis.com/auth/drive.metadata", | 375 "https://www.googleapis.com/auth/drive.metadata", |
| 369 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 376 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 377 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 370 "https://www.googleapis.com/auth/drive.readonly" | 378 "https://www.googleapis.com/auth/drive.readonly" |
| 371 ] | 379 ] |
| 372 } | 380 } |
| 373 } | 381 } |
| 374 }, | 382 }, |
| 375 "children": { | 383 "children": { |
| 376 "methods": { | 384 "methods": { |
| 377 "delete": { | 385 "delete": { |
| 378 "description": "Removes a child from a folder.", | 386 "description": "Removes a child from a folder.", |
| 379 "httpMethod": "DELETE", | 387 "httpMethod": "DELETE", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 "path": "files/{folderId}/children/{childId}", | 435 "path": "files/{folderId}/children/{childId}", |
| 428 "response": { | 436 "response": { |
| 429 "$ref": "ChildReference" | 437 "$ref": "ChildReference" |
| 430 }, | 438 }, |
| 431 "scopes": [ | 439 "scopes": [ |
| 432 "https://www.googleapis.com/auth/drive", | 440 "https://www.googleapis.com/auth/drive", |
| 433 "https://www.googleapis.com/auth/drive.appdata", | 441 "https://www.googleapis.com/auth/drive.appdata", |
| 434 "https://www.googleapis.com/auth/drive.file", | 442 "https://www.googleapis.com/auth/drive.file", |
| 435 "https://www.googleapis.com/auth/drive.metadata", | 443 "https://www.googleapis.com/auth/drive.metadata", |
| 436 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 444 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 445 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 437 "https://www.googleapis.com/auth/drive.readonly" | 446 "https://www.googleapis.com/auth/drive.readonly" |
| 438 ] | 447 ] |
| 439 }, | 448 }, |
| 440 "insert": { | 449 "insert": { |
| 441 "description": "Inserts a file into a folder.", | 450 "description": "Inserts a file into a folder.", |
| 442 "httpMethod": "POST", | 451 "httpMethod": "POST", |
| 443 "id": "drive.children.insert", | 452 "id": "drive.children.insert", |
| 444 "parameterOrder": [ | 453 "parameterOrder": [ |
| 445 "folderId" | 454 "folderId" |
| 446 ], | 455 ], |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 "path": "files/{folderId}/children", | 510 "path": "files/{folderId}/children", |
| 502 "response": { | 511 "response": { |
| 503 "$ref": "ChildList" | 512 "$ref": "ChildList" |
| 504 }, | 513 }, |
| 505 "scopes": [ | 514 "scopes": [ |
| 506 "https://www.googleapis.com/auth/drive", | 515 "https://www.googleapis.com/auth/drive", |
| 507 "https://www.googleapis.com/auth/drive.appdata", | 516 "https://www.googleapis.com/auth/drive.appdata", |
| 508 "https://www.googleapis.com/auth/drive.file", | 517 "https://www.googleapis.com/auth/drive.file", |
| 509 "https://www.googleapis.com/auth/drive.metadata", | 518 "https://www.googleapis.com/auth/drive.metadata", |
| 510 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 519 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 520 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 511 "https://www.googleapis.com/auth/drive.readonly" | 521 "https://www.googleapis.com/auth/drive.readonly" |
| 512 ] | 522 ] |
| 513 } | 523 } |
| 514 } | 524 } |
| 515 }, | 525 }, |
| 516 "comments": { | 526 "comments": { |
| 517 "methods": { | 527 "methods": { |
| 518 "delete": { | 528 "delete": { |
| 519 "description": "Deletes a comment.", | 529 "description": "Deletes a comment.", |
| 520 "httpMethod": "DELETE", | 530 "httpMethod": "DELETE", |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 "request": { | 806 "request": { |
| 797 "$ref": "File" | 807 "$ref": "File" |
| 798 }, | 808 }, |
| 799 "response": { | 809 "response": { |
| 800 "$ref": "File" | 810 "$ref": "File" |
| 801 }, | 811 }, |
| 802 "scopes": [ | 812 "scopes": [ |
| 803 "https://www.googleapis.com/auth/drive", | 813 "https://www.googleapis.com/auth/drive", |
| 804 "https://www.googleapis.com/auth/drive.appdata", | 814 "https://www.googleapis.com/auth/drive.appdata", |
| 805 "https://www.googleapis.com/auth/drive.apps.readonly", | 815 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 806 "https://www.googleapis.com/auth/drive.file" | 816 "https://www.googleapis.com/auth/drive.file", |
| 817 "https://www.googleapis.com/auth/drive.photos.readonly" |
| 807 ] | 818 ] |
| 808 }, | 819 }, |
| 809 "delete": { | 820 "delete": { |
| 810 "description": "Permanently deletes a file by ID. Skips the
trash. The currently authenticated user must own the file.", | 821 "description": "Permanently deletes a file by ID. Skips the
trash. The currently authenticated user must own the file.", |
| 811 "httpMethod": "DELETE", | 822 "httpMethod": "DELETE", |
| 812 "id": "drive.files.delete", | 823 "id": "drive.files.delete", |
| 813 "parameterOrder": [ | 824 "parameterOrder": [ |
| 814 "fileId" | 825 "fileId" |
| 815 ], | 826 ], |
| 816 "parameters": { | 827 "parameters": { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 "response": { | 897 "response": { |
| 887 "$ref": "File" | 898 "$ref": "File" |
| 888 }, | 899 }, |
| 889 "scopes": [ | 900 "scopes": [ |
| 890 "https://www.googleapis.com/auth/drive", | 901 "https://www.googleapis.com/auth/drive", |
| 891 "https://www.googleapis.com/auth/drive.appdata", | 902 "https://www.googleapis.com/auth/drive.appdata", |
| 892 "https://www.googleapis.com/auth/drive.apps.readonly", | 903 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 893 "https://www.googleapis.com/auth/drive.file", | 904 "https://www.googleapis.com/auth/drive.file", |
| 894 "https://www.googleapis.com/auth/drive.metadata", | 905 "https://www.googleapis.com/auth/drive.metadata", |
| 895 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 906 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 907 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 896 "https://www.googleapis.com/auth/drive.readonly" | 908 "https://www.googleapis.com/auth/drive.readonly" |
| 897 ], | 909 ], |
| 898 "supportsMediaDownload": true, | 910 "supportsMediaDownload": true, |
| 899 "supportsSubscription": true | 911 "supportsSubscription": true |
| 900 }, | 912 }, |
| 901 "insert": { | 913 "insert": { |
| 902 "description": "Insert a new file.", | 914 "description": "Insert a new file.", |
| 903 "httpMethod": "POST", | 915 "httpMethod": "POST", |
| 904 "id": "drive.files.insert", | 916 "id": "drive.files.insert", |
| 905 "mediaUpload": { | 917 "mediaUpload": { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1032 ], | 1044 ], |
| 1033 "location": "query", | 1045 "location": "query", |
| 1034 "type": "string" | 1046 "type": "string" |
| 1035 }, | 1047 }, |
| 1036 "q": { | 1048 "q": { |
| 1037 "description": "Query string for searching files.", | 1049 "description": "Query string for searching files.", |
| 1038 "location": "query", | 1050 "location": "query", |
| 1039 "type": "string" | 1051 "type": "string" |
| 1040 }, | 1052 }, |
| 1041 "spaces": { | 1053 "spaces": { |
| 1042 "description": "A comma-separated list of spaces to
query. Supported values are 'drive' and 'appDataFolder'.", | 1054 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", |
| 1043 "location": "query", | 1055 "location": "query", |
| 1044 "type": "string" | 1056 "type": "string" |
| 1045 } | 1057 } |
| 1046 }, | 1058 }, |
| 1047 "path": "files", | 1059 "path": "files", |
| 1048 "response": { | 1060 "response": { |
| 1049 "$ref": "FileList" | 1061 "$ref": "FileList" |
| 1050 }, | 1062 }, |
| 1051 "scopes": [ | 1063 "scopes": [ |
| 1052 "https://www.googleapis.com/auth/drive", | 1064 "https://www.googleapis.com/auth/drive", |
| 1053 "https://www.googleapis.com/auth/drive.appdata", | 1065 "https://www.googleapis.com/auth/drive.appdata", |
| 1054 "https://www.googleapis.com/auth/drive.apps.readonly", | 1066 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 1055 "https://www.googleapis.com/auth/drive.file", | 1067 "https://www.googleapis.com/auth/drive.file", |
| 1056 "https://www.googleapis.com/auth/drive.metadata", | 1068 "https://www.googleapis.com/auth/drive.metadata", |
| 1057 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1069 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1070 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1058 "https://www.googleapis.com/auth/drive.readonly" | 1071 "https://www.googleapis.com/auth/drive.readonly" |
| 1059 ] | 1072 ] |
| 1060 }, | 1073 }, |
| 1061 "patch": { | 1074 "patch": { |
| 1062 "description": "Updates file metadata and/or content. This m
ethod supports patch semantics.", | 1075 "description": "Updates file metadata and/or content. This m
ethod supports patch semantics.", |
| 1063 "httpMethod": "PATCH", | 1076 "httpMethod": "PATCH", |
| 1064 "id": "drive.files.patch", | 1077 "id": "drive.files.patch", |
| 1065 "parameterOrder": [ | 1078 "parameterOrder": [ |
| 1066 "fileId" | 1079 "fileId" |
| 1067 ], | 1080 ], |
| 1068 "parameters": { | 1081 "parameters": { |
| 1069 "addParents": { | 1082 "addParents": { |
| 1070 "description": "Comma-separated list of parent IDs t
o add.", | 1083 "description": "Comma-separated list of parent IDs t
o add.", |
| 1071 "location": "query", | 1084 "location": "query", |
| 1072 "type": "string" | 1085 "type": "string" |
| 1073 }, | 1086 }, |
| 1074 "convert": { | 1087 "convert": { |
| 1075 "default": "false", | 1088 "default": "false", |
| 1076 "description": "Whether to convert this file to the
corresponding Google Docs format.", | 1089 "description": "Whether to convert this file to the
corresponding Google Docs format.", |
| 1077 "location": "query", | 1090 "location": "query", |
| 1078 "type": "boolean" | 1091 "type": "boolean" |
| 1079 }, | 1092 }, |
| 1080 "fileId": { | 1093 "fileId": { |
| 1081 "description": "The ID of the file to update.", | 1094 "description": "The ID of the file to update.", |
| 1082 "location": "path", | 1095 "location": "path", |
| 1083 "required": true, | 1096 "required": true, |
| 1084 "type": "string" | 1097 "type": "string" |
| 1085 }, | 1098 }, |
| 1099 "modifiedDateBehavior": { |
| 1100 "description": "How the modifiedDate field should be
updated. This overrides setModifiedDate.", |
| 1101 "enum": [ |
| 1102 "fromBody", |
| 1103 "fromBodyIfNeeded", |
| 1104 "fromBodyOrNow", |
| 1105 "noChange", |
| 1106 "now", |
| 1107 "nowIfNeeded" |
| 1108 ], |
| 1109 "enumDescriptions": [ |
| 1110 "Set modifiedDate to the value provided in the b
ody of the request. No change if no value was provided.", |
| 1111 "Set modifiedDate to the value provided in the b
ody of the request depending on other contents of the update.", |
| 1112 "Set modifiedDate to the value provided in the b
ody of the request, or to the current time if no value was provided.", |
| 1113 "Maintain the previous value of modifiedDate.", |
| 1114 "Set modifiedDate to the current time.", |
| 1115 "Set modifiedDate to the current time depending
on contents of the update." |
| 1116 ], |
| 1117 "location": "query", |
| 1118 "type": "string" |
| 1119 }, |
| 1086 "newRevision": { | 1120 "newRevision": { |
| 1087 "default": "true", | 1121 "default": "true", |
| 1088 "description": "Whether a blob upload should create
a new revision. If false, the blob data in the current head revision is replaced
. If true or not set, a new blob is created as head revision, and previous unpin
ned revisions are preserved for a short period of time. Pinned revisions are sto
red indefinitely, using additional storage quota, up to a maximum of 200 revisio
ns.", | 1122 "description": "Whether a blob upload should create
a new revision. If false, the blob data in the current head revision is replaced
. If true or not set, a new blob is created as head revision, and previous unpin
ned revisions are preserved for a short period of time. Pinned revisions are sto
red indefinitely, using additional storage quota, up to a maximum of 200 revisio
ns.", |
| 1089 "location": "query", | 1123 "location": "query", |
| 1090 "type": "boolean" | 1124 "type": "boolean" |
| 1091 }, | 1125 }, |
| 1092 "ocr": { | 1126 "ocr": { |
| 1093 "default": "false", | 1127 "default": "false", |
| 1094 "description": "Whether to attempt OCR on .jpg, .png
, .gif, or .pdf uploads.", | 1128 "description": "Whether to attempt OCR on .jpg, .png
, .gif, or .pdf uploads.", |
| 1095 "location": "query", | 1129 "location": "query", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 }, | 1211 }, |
| 1178 "scopes": [ | 1212 "scopes": [ |
| 1179 "https://www.googleapis.com/auth/drive", | 1213 "https://www.googleapis.com/auth/drive", |
| 1180 "https://www.googleapis.com/auth/drive.appdata", | 1214 "https://www.googleapis.com/auth/drive.appdata", |
| 1181 "https://www.googleapis.com/auth/drive.apps.readonly", | 1215 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 1182 "https://www.googleapis.com/auth/drive.file", | 1216 "https://www.googleapis.com/auth/drive.file", |
| 1183 "https://www.googleapis.com/auth/drive.metadata" | 1217 "https://www.googleapis.com/auth/drive.metadata" |
| 1184 ] | 1218 ] |
| 1185 }, | 1219 }, |
| 1186 "trash": { | 1220 "trash": { |
| 1187 "description": "Moves a file to the trash.", | 1221 "description": "Moves a file to the trash. The currently aut
henticated user must own the file.", |
| 1188 "httpMethod": "POST", | 1222 "httpMethod": "POST", |
| 1189 "id": "drive.files.trash", | 1223 "id": "drive.files.trash", |
| 1190 "parameterOrder": [ | 1224 "parameterOrder": [ |
| 1191 "fileId" | 1225 "fileId" |
| 1192 ], | 1226 ], |
| 1193 "parameters": { | 1227 "parameters": { |
| 1194 "fileId": { | 1228 "fileId": { |
| 1195 "description": "The ID of the file to trash.", | 1229 "description": "The ID of the file to trash.", |
| 1196 "location": "path", | 1230 "location": "path", |
| 1197 "required": true, | 1231 "required": true, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1269 "description": "Whether to convert this file to the
corresponding Google Docs format.", | 1303 "description": "Whether to convert this file to the
corresponding Google Docs format.", |
| 1270 "location": "query", | 1304 "location": "query", |
| 1271 "type": "boolean" | 1305 "type": "boolean" |
| 1272 }, | 1306 }, |
| 1273 "fileId": { | 1307 "fileId": { |
| 1274 "description": "The ID of the file to update.", | 1308 "description": "The ID of the file to update.", |
| 1275 "location": "path", | 1309 "location": "path", |
| 1276 "required": true, | 1310 "required": true, |
| 1277 "type": "string" | 1311 "type": "string" |
| 1278 }, | 1312 }, |
| 1313 "modifiedDateBehavior": { |
| 1314 "description": "How the modifiedDate field should be
updated. This overrides setModifiedDate.", |
| 1315 "enum": [ |
| 1316 "fromBody", |
| 1317 "fromBodyIfNeeded", |
| 1318 "fromBodyOrNow", |
| 1319 "noChange", |
| 1320 "now", |
| 1321 "nowIfNeeded" |
| 1322 ], |
| 1323 "enumDescriptions": [ |
| 1324 "Set modifiedDate to the value provided in the b
ody of the request. No change if no value was provided.", |
| 1325 "Set modifiedDate to the value provided in the b
ody of the request depending on other contents of the update.", |
| 1326 "Set modifiedDate to the value provided in the b
ody of the request, or to the current time if no value was provided.", |
| 1327 "Maintain the previous value of modifiedDate.", |
| 1328 "Set modifiedDate to the current time.", |
| 1329 "Set modifiedDate to the current time depending
on contents of the update." |
| 1330 ], |
| 1331 "location": "query", |
| 1332 "type": "string" |
| 1333 }, |
| 1279 "newRevision": { | 1334 "newRevision": { |
| 1280 "default": "true", | 1335 "default": "true", |
| 1281 "description": "Whether a blob upload should create
a new revision. If false, the blob data in the current head revision is replaced
. If true or not set, a new blob is created as head revision, and previous unpin
ned revisions are preserved for a short period of time. Pinned revisions are sto
red indefinitely, using additional storage quota, up to a maximum of 200 revisio
ns.", | 1336 "description": "Whether a blob upload should create
a new revision. If false, the blob data in the current head revision is replaced
. If true or not set, a new blob is created as head revision, and previous unpin
ned revisions are preserved for a short period of time. Pinned revisions are sto
red indefinitely, using additional storage quota, up to a maximum of 200 revisio
ns.", |
| 1282 "location": "query", | 1337 "location": "query", |
| 1283 "type": "boolean" | 1338 "type": "boolean" |
| 1284 }, | 1339 }, |
| 1285 "ocr": { | 1340 "ocr": { |
| 1286 "default": "false", | 1341 "default": "false", |
| 1287 "description": "Whether to attempt OCR on .jpg, .png
, .gif, or .pdf uploads.", | 1342 "description": "Whether to attempt OCR on .jpg, .png
, .gif, or .pdf uploads.", |
| 1288 "location": "query", | 1343 "location": "query", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 "response": { | 1458 "response": { |
| 1404 "$ref": "Channel" | 1459 "$ref": "Channel" |
| 1405 }, | 1460 }, |
| 1406 "scopes": [ | 1461 "scopes": [ |
| 1407 "https://www.googleapis.com/auth/drive", | 1462 "https://www.googleapis.com/auth/drive", |
| 1408 "https://www.googleapis.com/auth/drive.appdata", | 1463 "https://www.googleapis.com/auth/drive.appdata", |
| 1409 "https://www.googleapis.com/auth/drive.apps.readonly", | 1464 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 1410 "https://www.googleapis.com/auth/drive.file", | 1465 "https://www.googleapis.com/auth/drive.file", |
| 1411 "https://www.googleapis.com/auth/drive.metadata", | 1466 "https://www.googleapis.com/auth/drive.metadata", |
| 1412 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1467 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1468 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1413 "https://www.googleapis.com/auth/drive.readonly" | 1469 "https://www.googleapis.com/auth/drive.readonly" |
| 1414 ], | 1470 ], |
| 1415 "supportsMediaDownload": true, | 1471 "supportsMediaDownload": true, |
| 1416 "supportsSubscription": true | 1472 "supportsSubscription": true |
| 1417 } | 1473 } |
| 1418 } | 1474 } |
| 1419 }, | 1475 }, |
| 1420 "parents": { | 1476 "parents": { |
| 1421 "methods": { | 1477 "methods": { |
| 1422 "delete": { | 1478 "delete": { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1472 "path": "files/{fileId}/parents/{parentId}", | 1528 "path": "files/{fileId}/parents/{parentId}", |
| 1473 "response": { | 1529 "response": { |
| 1474 "$ref": "ParentReference" | 1530 "$ref": "ParentReference" |
| 1475 }, | 1531 }, |
| 1476 "scopes": [ | 1532 "scopes": [ |
| 1477 "https://www.googleapis.com/auth/drive", | 1533 "https://www.googleapis.com/auth/drive", |
| 1478 "https://www.googleapis.com/auth/drive.appdata", | 1534 "https://www.googleapis.com/auth/drive.appdata", |
| 1479 "https://www.googleapis.com/auth/drive.file", | 1535 "https://www.googleapis.com/auth/drive.file", |
| 1480 "https://www.googleapis.com/auth/drive.metadata", | 1536 "https://www.googleapis.com/auth/drive.metadata", |
| 1481 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1537 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1538 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1482 "https://www.googleapis.com/auth/drive.readonly" | 1539 "https://www.googleapis.com/auth/drive.readonly" |
| 1483 ] | 1540 ] |
| 1484 }, | 1541 }, |
| 1485 "insert": { | 1542 "insert": { |
| 1486 "description": "Adds a parent folder for a file.", | 1543 "description": "Adds a parent folder for a file.", |
| 1487 "httpMethod": "POST", | 1544 "httpMethod": "POST", |
| 1488 "id": "drive.parents.insert", | 1545 "id": "drive.parents.insert", |
| 1489 "parameterOrder": [ | 1546 "parameterOrder": [ |
| 1490 "fileId" | 1547 "fileId" |
| 1491 ], | 1548 ], |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1528 "path": "files/{fileId}/parents", | 1585 "path": "files/{fileId}/parents", |
| 1529 "response": { | 1586 "response": { |
| 1530 "$ref": "ParentList" | 1587 "$ref": "ParentList" |
| 1531 }, | 1588 }, |
| 1532 "scopes": [ | 1589 "scopes": [ |
| 1533 "https://www.googleapis.com/auth/drive", | 1590 "https://www.googleapis.com/auth/drive", |
| 1534 "https://www.googleapis.com/auth/drive.appdata", | 1591 "https://www.googleapis.com/auth/drive.appdata", |
| 1535 "https://www.googleapis.com/auth/drive.file", | 1592 "https://www.googleapis.com/auth/drive.file", |
| 1536 "https://www.googleapis.com/auth/drive.metadata", | 1593 "https://www.googleapis.com/auth/drive.metadata", |
| 1537 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1594 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1595 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1538 "https://www.googleapis.com/auth/drive.readonly" | 1596 "https://www.googleapis.com/auth/drive.readonly" |
| 1539 ] | 1597 ] |
| 1540 } | 1598 } |
| 1541 } | 1599 } |
| 1542 }, | 1600 }, |
| 1543 "permissions": { | 1601 "permissions": { |
| 1544 "methods": { | 1602 "methods": { |
| 1545 "delete": { | 1603 "delete": { |
| 1546 "description": "Deletes a permission from a file.", | 1604 "description": "Deletes a permission from a file.", |
| 1547 "httpMethod": "DELETE", | 1605 "httpMethod": "DELETE", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1594 }, | 1652 }, |
| 1595 "path": "files/{fileId}/permissions/{permissionId}", | 1653 "path": "files/{fileId}/permissions/{permissionId}", |
| 1596 "response": { | 1654 "response": { |
| 1597 "$ref": "Permission" | 1655 "$ref": "Permission" |
| 1598 }, | 1656 }, |
| 1599 "scopes": [ | 1657 "scopes": [ |
| 1600 "https://www.googleapis.com/auth/drive", | 1658 "https://www.googleapis.com/auth/drive", |
| 1601 "https://www.googleapis.com/auth/drive.file", | 1659 "https://www.googleapis.com/auth/drive.file", |
| 1602 "https://www.googleapis.com/auth/drive.metadata", | 1660 "https://www.googleapis.com/auth/drive.metadata", |
| 1603 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1661 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1662 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1604 "https://www.googleapis.com/auth/drive.readonly" | 1663 "https://www.googleapis.com/auth/drive.readonly" |
| 1605 ] | 1664 ] |
| 1606 }, | 1665 }, |
| 1607 "getIdForEmail": { | 1666 "getIdForEmail": { |
| 1608 "description": "Returns the permission ID for an email addre
ss.", | 1667 "description": "Returns the permission ID for an email addre
ss.", |
| 1609 "httpMethod": "GET", | 1668 "httpMethod": "GET", |
| 1610 "id": "drive.permissions.getIdForEmail", | 1669 "id": "drive.permissions.getIdForEmail", |
| 1611 "parameterOrder": [ | 1670 "parameterOrder": [ |
| 1612 "email" | 1671 "email" |
| 1613 ], | 1672 ], |
| 1614 "parameters": { | 1673 "parameters": { |
| 1615 "email": { | 1674 "email": { |
| 1616 "description": "The email address for which to retur
n a permission ID", | 1675 "description": "The email address for which to retur
n a permission ID", |
| 1617 "location": "path", | 1676 "location": "path", |
| 1618 "required": true, | 1677 "required": true, |
| 1619 "type": "string" | 1678 "type": "string" |
| 1620 } | 1679 } |
| 1621 }, | 1680 }, |
| 1622 "path": "permissionIds/{email}", | 1681 "path": "permissionIds/{email}", |
| 1623 "response": { | 1682 "response": { |
| 1624 "$ref": "PermissionId" | 1683 "$ref": "PermissionId" |
| 1625 }, | 1684 }, |
| 1626 "scopes": [ | 1685 "scopes": [ |
| 1627 "https://www.googleapis.com/auth/drive", | 1686 "https://www.googleapis.com/auth/drive", |
| 1628 "https://www.googleapis.com/auth/drive.appdata", | 1687 "https://www.googleapis.com/auth/drive.appdata", |
| 1629 "https://www.googleapis.com/auth/drive.apps.readonly", | 1688 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 1630 "https://www.googleapis.com/auth/drive.file", | 1689 "https://www.googleapis.com/auth/drive.file", |
| 1631 "https://www.googleapis.com/auth/drive.metadata", | 1690 "https://www.googleapis.com/auth/drive.metadata", |
| 1632 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1691 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1692 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1633 "https://www.googleapis.com/auth/drive.readonly" | 1693 "https://www.googleapis.com/auth/drive.readonly" |
| 1634 ] | 1694 ] |
| 1635 }, | 1695 }, |
| 1636 "insert": { | 1696 "insert": { |
| 1637 "description": "Inserts a permission for a file.", | 1697 "description": "Inserts a permission for a file.", |
| 1638 "httpMethod": "POST", | 1698 "httpMethod": "POST", |
| 1639 "id": "drive.permissions.insert", | 1699 "id": "drive.permissions.insert", |
| 1640 "parameterOrder": [ | 1700 "parameterOrder": [ |
| 1641 "fileId" | 1701 "fileId" |
| 1642 ], | 1702 ], |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 }, | 1748 }, |
| 1689 "path": "files/{fileId}/permissions", | 1749 "path": "files/{fileId}/permissions", |
| 1690 "response": { | 1750 "response": { |
| 1691 "$ref": "PermissionList" | 1751 "$ref": "PermissionList" |
| 1692 }, | 1752 }, |
| 1693 "scopes": [ | 1753 "scopes": [ |
| 1694 "https://www.googleapis.com/auth/drive", | 1754 "https://www.googleapis.com/auth/drive", |
| 1695 "https://www.googleapis.com/auth/drive.file", | 1755 "https://www.googleapis.com/auth/drive.file", |
| 1696 "https://www.googleapis.com/auth/drive.metadata", | 1756 "https://www.googleapis.com/auth/drive.metadata", |
| 1697 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1757 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1758 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1698 "https://www.googleapis.com/auth/drive.readonly" | 1759 "https://www.googleapis.com/auth/drive.readonly" |
| 1699 ] | 1760 ] |
| 1700 }, | 1761 }, |
| 1701 "patch": { | 1762 "patch": { |
| 1702 "description": "Updates a permission. This method supports p
atch semantics.", | 1763 "description": "Updates a permission. This method supports p
atch semantics.", |
| 1703 "httpMethod": "PATCH", | 1764 "httpMethod": "PATCH", |
| 1704 "id": "drive.permissions.patch", | 1765 "id": "drive.permissions.patch", |
| 1705 "parameterOrder": [ | 1766 "parameterOrder": [ |
| 1706 "fileId", | 1767 "fileId", |
| 1707 "permissionId" | 1768 "permissionId" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 "path": "files/{fileId}/properties/{propertyKey}", | 1910 "path": "files/{fileId}/properties/{propertyKey}", |
| 1850 "response": { | 1911 "response": { |
| 1851 "$ref": "Property" | 1912 "$ref": "Property" |
| 1852 }, | 1913 }, |
| 1853 "scopes": [ | 1914 "scopes": [ |
| 1854 "https://www.googleapis.com/auth/drive", | 1915 "https://www.googleapis.com/auth/drive", |
| 1855 "https://www.googleapis.com/auth/drive.appdata", | 1916 "https://www.googleapis.com/auth/drive.appdata", |
| 1856 "https://www.googleapis.com/auth/drive.file", | 1917 "https://www.googleapis.com/auth/drive.file", |
| 1857 "https://www.googleapis.com/auth/drive.metadata", | 1918 "https://www.googleapis.com/auth/drive.metadata", |
| 1858 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1919 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1920 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1859 "https://www.googleapis.com/auth/drive.readonly" | 1921 "https://www.googleapis.com/auth/drive.readonly" |
| 1860 ] | 1922 ] |
| 1861 }, | 1923 }, |
| 1862 "insert": { | 1924 "insert": { |
| 1863 "description": "Adds a property to a file.", | 1925 "description": "Adds a property to a file.", |
| 1864 "httpMethod": "POST", | 1926 "httpMethod": "POST", |
| 1865 "id": "drive.properties.insert", | 1927 "id": "drive.properties.insert", |
| 1866 "parameterOrder": [ | 1928 "parameterOrder": [ |
| 1867 "fileId" | 1929 "fileId" |
| 1868 ], | 1930 ], |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1906 "path": "files/{fileId}/properties", | 1968 "path": "files/{fileId}/properties", |
| 1907 "response": { | 1969 "response": { |
| 1908 "$ref": "PropertyList" | 1970 "$ref": "PropertyList" |
| 1909 }, | 1971 }, |
| 1910 "scopes": [ | 1972 "scopes": [ |
| 1911 "https://www.googleapis.com/auth/drive", | 1973 "https://www.googleapis.com/auth/drive", |
| 1912 "https://www.googleapis.com/auth/drive.appdata", | 1974 "https://www.googleapis.com/auth/drive.appdata", |
| 1913 "https://www.googleapis.com/auth/drive.file", | 1975 "https://www.googleapis.com/auth/drive.file", |
| 1914 "https://www.googleapis.com/auth/drive.metadata", | 1976 "https://www.googleapis.com/auth/drive.metadata", |
| 1915 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 1977 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 1978 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 1916 "https://www.googleapis.com/auth/drive.readonly" | 1979 "https://www.googleapis.com/auth/drive.readonly" |
| 1917 ] | 1980 ] |
| 1918 }, | 1981 }, |
| 1919 "patch": { | 1982 "patch": { |
| 1920 "description": "Updates a property. This method supports pat
ch semantics.", | 1983 "description": "Updates a property. This method supports pat
ch semantics.", |
| 1921 "httpMethod": "PATCH", | 1984 "httpMethod": "PATCH", |
| 1922 "id": "drive.properties.patch", | 1985 "id": "drive.properties.patch", |
| 1923 "parameterOrder": [ | 1986 "parameterOrder": [ |
| 1924 "fileId", | 1987 "fileId", |
| 1925 "propertyKey" | 1988 "propertyKey" |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2387 "path": "files/{fileId}/revisions/{revisionId}", | 2450 "path": "files/{fileId}/revisions/{revisionId}", |
| 2388 "response": { | 2451 "response": { |
| 2389 "$ref": "Revision" | 2452 "$ref": "Revision" |
| 2390 }, | 2453 }, |
| 2391 "scopes": [ | 2454 "scopes": [ |
| 2392 "https://www.googleapis.com/auth/drive", | 2455 "https://www.googleapis.com/auth/drive", |
| 2393 "https://www.googleapis.com/auth/drive.appdata", | 2456 "https://www.googleapis.com/auth/drive.appdata", |
| 2394 "https://www.googleapis.com/auth/drive.file", | 2457 "https://www.googleapis.com/auth/drive.file", |
| 2395 "https://www.googleapis.com/auth/drive.metadata", | 2458 "https://www.googleapis.com/auth/drive.metadata", |
| 2396 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 2459 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 2460 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 2397 "https://www.googleapis.com/auth/drive.readonly" | 2461 "https://www.googleapis.com/auth/drive.readonly" |
| 2398 ] | 2462 ] |
| 2399 }, | 2463 }, |
| 2400 "list": { | 2464 "list": { |
| 2401 "description": "Lists a file's revisions.", | 2465 "description": "Lists a file's revisions.", |
| 2402 "httpMethod": "GET", | 2466 "httpMethod": "GET", |
| 2403 "id": "drive.revisions.list", | 2467 "id": "drive.revisions.list", |
| 2404 "parameterOrder": [ | 2468 "parameterOrder": [ |
| 2405 "fileId" | 2469 "fileId" |
| 2406 ], | 2470 ], |
| 2407 "parameters": { | 2471 "parameters": { |
| 2408 "fileId": { | 2472 "fileId": { |
| 2409 "description": "The ID of the file.", | 2473 "description": "The ID of the file.", |
| 2410 "location": "path", | 2474 "location": "path", |
| 2411 "required": true, | 2475 "required": true, |
| 2412 "type": "string" | 2476 "type": "string" |
| 2413 } | 2477 } |
| 2414 }, | 2478 }, |
| 2415 "path": "files/{fileId}/revisions", | 2479 "path": "files/{fileId}/revisions", |
| 2416 "response": { | 2480 "response": { |
| 2417 "$ref": "RevisionList" | 2481 "$ref": "RevisionList" |
| 2418 }, | 2482 }, |
| 2419 "scopes": [ | 2483 "scopes": [ |
| 2420 "https://www.googleapis.com/auth/drive", | 2484 "https://www.googleapis.com/auth/drive", |
| 2421 "https://www.googleapis.com/auth/drive.appdata", | 2485 "https://www.googleapis.com/auth/drive.appdata", |
| 2422 "https://www.googleapis.com/auth/drive.file", | 2486 "https://www.googleapis.com/auth/drive.file", |
| 2423 "https://www.googleapis.com/auth/drive.metadata", | 2487 "https://www.googleapis.com/auth/drive.metadata", |
| 2424 "https://www.googleapis.com/auth/drive.metadata.readonly
", | 2488 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 2489 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 2425 "https://www.googleapis.com/auth/drive.readonly" | 2490 "https://www.googleapis.com/auth/drive.readonly" |
| 2426 ] | 2491 ] |
| 2427 }, | 2492 }, |
| 2428 "patch": { | 2493 "patch": { |
| 2429 "description": "Updates a revision. This method supports pat
ch semantics.", | 2494 "description": "Updates a revision. This method supports pat
ch semantics.", |
| 2430 "httpMethod": "PATCH", | 2495 "httpMethod": "PATCH", |
| 2431 "id": "drive.revisions.patch", | 2496 "id": "drive.revisions.patch", |
| 2432 "parameterOrder": [ | 2497 "parameterOrder": [ |
| 2433 "fileId", | 2498 "fileId", |
| 2434 "revisionId" | 2499 "revisionId" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2491 }, | 2556 }, |
| 2492 "scopes": [ | 2557 "scopes": [ |
| 2493 "https://www.googleapis.com/auth/drive", | 2558 "https://www.googleapis.com/auth/drive", |
| 2494 "https://www.googleapis.com/auth/drive.appdata", | 2559 "https://www.googleapis.com/auth/drive.appdata", |
| 2495 "https://www.googleapis.com/auth/drive.file" | 2560 "https://www.googleapis.com/auth/drive.file" |
| 2496 ] | 2561 ] |
| 2497 } | 2562 } |
| 2498 } | 2563 } |
| 2499 } | 2564 } |
| 2500 }, | 2565 }, |
| 2501 "revision": "20150618", | 2566 "revision": "20150716", |
| 2502 "rootUrl": "https://www.googleapis.com/", | 2567 "rootUrl": "https://www.googleapis.com/", |
| 2503 "schemas": { | 2568 "schemas": { |
| 2504 "About": { | 2569 "About": { |
| 2505 "description": "An item with user information and settings.", | 2570 "description": "An item with user information and settings.", |
| 2506 "id": "About", | 2571 "id": "About", |
| 2507 "properties": { | 2572 "properties": { |
| 2508 "additionalRoleInfo": { | 2573 "additionalRoleInfo": { |
| 2509 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2574 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
| 2510 "items": { | 2575 "items": { |
| 2511 "properties": { | 2576 "properties": { |
| (...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3631 "sharedWithMeDate": { | 3696 "sharedWithMeDate": { |
| 3632 "description": "Time at which this file was shared with the
user (formatted RFC 3339 timestamp).", | 3697 "description": "Time at which this file was shared with the
user (formatted RFC 3339 timestamp).", |
| 3633 "format": "date-time", | 3698 "format": "date-time", |
| 3634 "type": "string" | 3699 "type": "string" |
| 3635 }, | 3700 }, |
| 3636 "sharingUser": { | 3701 "sharingUser": { |
| 3637 "$ref": "User", | 3702 "$ref": "User", |
| 3638 "description": "User that shared the item with the current u
ser, if available." | 3703 "description": "User that shared the item with the current u
ser, if available." |
| 3639 }, | 3704 }, |
| 3640 "spaces": { | 3705 "spaces": { |
| 3641 "description": "The list of spaces which contain the file. S
upported values are 'drive' and 'appDataFolder'.", | 3706 "description": "The list of spaces which contain the file. S
upported values are 'drive', 'appDataFolder' and 'photos'.", |
| 3642 "items": { | 3707 "items": { |
| 3643 "type": "string" | 3708 "type": "string" |
| 3644 }, | 3709 }, |
| 3645 "type": "array" | 3710 "type": "array" |
| 3646 }, | 3711 }, |
| 3647 "thumbnail": { | 3712 "thumbnail": { |
| 3648 "description": "Thumbnail for the file. Only accepted on upl
oad and for files that are not already thumbnailed by Google.", | 3713 "description": "Thumbnail for the file. Only accepted on upl
oad and for files that are not already thumbnailed by Google.", |
| 3649 "properties": { | 3714 "properties": { |
| 3650 "image": { | 3715 "image": { |
| 3651 "description": "The URL-safe Base64 encoded bytes of
the thumbnail image. It should conform to RFC 4648 section 5.", | 3716 "description": "The URL-safe Base64 encoded bytes of
the thumbnail image. It should conform to RFC 4648 section 5.", |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4135 "type": "object" | 4200 "type": "object" |
| 4136 } | 4201 } |
| 4137 }, | 4202 }, |
| 4138 "type": "object" | 4203 "type": "object" |
| 4139 } | 4204 } |
| 4140 }, | 4205 }, |
| 4141 "servicePath": "drive/v2/", | 4206 "servicePath": "drive/v2/", |
| 4142 "title": "Drive API", | 4207 "title": "Drive API", |
| 4143 "version": "v2" | 4208 "version": "v2" |
| 4144 } | 4209 } |
| OLD | NEW |