| 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 }, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 }, | 34 }, |
| 35 "basePath": "/drive/v2/", | 35 "basePath": "/drive/v2/", |
| 36 "baseUrl": "https://www.googleapis.com/drive/v2/", | 36 "baseUrl": "https://www.googleapis.com/drive/v2/", |
| 37 "batchPath": "batch", | 37 "batchPath": "batch", |
| 38 "description": "The API to interact with Drive.", | 38 "description": "The API to interact with Drive.", |
| 39 "discoveryVersion": "v1", | 39 "discoveryVersion": "v1", |
| 40 "documentationLink": "https://developers.google.com/drive/", | 40 "documentationLink": "https://developers.google.com/drive/", |
| 41 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/xj17OdsD26zYiecunhsD3S_RWA0\"", | 41 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/0hYcJ5XBuBZeTLqo6WNhl_6SW0A\"", |
| 42 "icons": { | 42 "icons": { |
| 43 "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", |
| 44 "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" |
| 45 }, | 45 }, |
| 46 "id": "drive:v2", | 46 "id": "drive:v2", |
| 47 "kind": "discovery#restDescription", | 47 "kind": "discovery#restDescription", |
| 48 "name": "drive", | 48 "name": "drive", |
| 49 "ownerDomain": "google.com", | 49 "ownerDomain": "google.com", |
| 50 "ownerName": "Google", | 50 "ownerName": "Google", |
| 51 "parameters": { | 51 "parameters": { |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 }, | 846 }, |
| 847 "emptyTrash": { | 847 "emptyTrash": { |
| 848 "description": "Permanently deletes all of the user's trashe
d files.", | 848 "description": "Permanently deletes all of the user's trashe
d files.", |
| 849 "httpMethod": "DELETE", | 849 "httpMethod": "DELETE", |
| 850 "id": "drive.files.emptyTrash", | 850 "id": "drive.files.emptyTrash", |
| 851 "path": "files/trash", | 851 "path": "files/trash", |
| 852 "scopes": [ | 852 "scopes": [ |
| 853 "https://www.googleapis.com/auth/drive" | 853 "https://www.googleapis.com/auth/drive" |
| 854 ] | 854 ] |
| 855 }, | 855 }, |
| 856 "export": { |
| 857 "description": "Exports a Google Doc to the requested MIME t
ype and returns the exported content.", |
| 858 "httpMethod": "GET", |
| 859 "id": "drive.files.export", |
| 860 "parameterOrder": [ |
| 861 "fileId", |
| 862 "mimeType" |
| 863 ], |
| 864 "parameters": { |
| 865 "fileId": { |
| 866 "description": "The ID of the file.", |
| 867 "location": "path", |
| 868 "required": true, |
| 869 "type": "string" |
| 870 }, |
| 871 "mimeType": { |
| 872 "description": "The MIME type of the format requeste
d for this export.", |
| 873 "location": "query", |
| 874 "required": true, |
| 875 "type": "string" |
| 876 } |
| 877 }, |
| 878 "path": "files/{fileId}/export", |
| 879 "scopes": [ |
| 880 "https://www.googleapis.com/auth/drive", |
| 881 "https://www.googleapis.com/auth/drive.file", |
| 882 "https://www.googleapis.com/auth/drive.readonly" |
| 883 ], |
| 884 "supportsMediaDownload": true |
| 885 }, |
| 856 "generateIds": { | 886 "generateIds": { |
| 857 "description": "Generates a set of file IDs which can be pro
vided in insert requests.", | 887 "description": "Generates a set of file IDs which can be pro
vided in insert requests.", |
| 858 "httpMethod": "GET", | 888 "httpMethod": "GET", |
| 859 "id": "drive.files.generateIds", | 889 "id": "drive.files.generateIds", |
| 860 "parameters": { | 890 "parameters": { |
| 861 "maxResults": { | 891 "maxResults": { |
| 862 "default": "10", | 892 "default": "10", |
| 863 "description": "Maximum number of IDs to return.", | 893 "description": "Maximum number of IDs to return.", |
| 864 "format": "int32", | 894 "format": "int32", |
| 865 "location": "query", | 895 "location": "query", |
| (...skipping 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2597 }, | 2627 }, |
| 2598 "scopes": [ | 2628 "scopes": [ |
| 2599 "https://www.googleapis.com/auth/drive", | 2629 "https://www.googleapis.com/auth/drive", |
| 2600 "https://www.googleapis.com/auth/drive.appdata", | 2630 "https://www.googleapis.com/auth/drive.appdata", |
| 2601 "https://www.googleapis.com/auth/drive.file" | 2631 "https://www.googleapis.com/auth/drive.file" |
| 2602 ] | 2632 ] |
| 2603 } | 2633 } |
| 2604 } | 2634 } |
| 2605 } | 2635 } |
| 2606 }, | 2636 }, |
| 2607 "revision": "20160126", | 2637 "revision": "20160303", |
| 2608 "rootUrl": "https://www.googleapis.com/", | 2638 "rootUrl": "https://www.googleapis.com/", |
| 2609 "schemas": { | 2639 "schemas": { |
| 2610 "About": { | 2640 "About": { |
| 2611 "description": "An item with user information and settings.", | 2641 "description": "An item with user information and settings.", |
| 2612 "id": "About", | 2642 "id": "About", |
| 2613 "properties": { | 2643 "properties": { |
| 2614 "additionalRoleInfo": { | 2644 "additionalRoleInfo": { |
| 2615 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2645 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
| 2616 "items": { | 2646 "items": { |
| 2617 "properties": { | 2647 "properties": { |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3397 "type": "string" | 3427 "type": "string" |
| 3398 }, | 3428 }, |
| 3399 "appDataContents": { | 3429 "appDataContents": { |
| 3400 "description": "Whether this file is in the Application Data
folder.", | 3430 "description": "Whether this file is in the Application Data
folder.", |
| 3401 "type": "boolean" | 3431 "type": "boolean" |
| 3402 }, | 3432 }, |
| 3403 "canComment": { | 3433 "canComment": { |
| 3404 "description": "Whether the current user can comment on the
file.", | 3434 "description": "Whether the current user can comment on the
file.", |
| 3405 "type": "boolean" | 3435 "type": "boolean" |
| 3406 }, | 3436 }, |
| 3437 "canReadRevisions": { |
| 3438 "description": "Whether the current user has read access to
the Revisions resource of the file.", |
| 3439 "type": "boolean" |
| 3440 }, |
| 3407 "copyable": { | 3441 "copyable": { |
| 3408 "description": "Whether the file can be copied by the curren
t user.", | 3442 "description": "Whether the file can be copied by the curren
t user.", |
| 3409 "type": "boolean" | 3443 "type": "boolean" |
| 3410 }, | 3444 }, |
| 3411 "createdDate": { | 3445 "createdDate": { |
| 3412 "description": "Create time for this file (formatted RFC 333
9 timestamp).", | 3446 "description": "Create time for this file (formatted RFC 333
9 timestamp).", |
| 3413 "format": "date-time", | 3447 "format": "date-time", |
| 3414 "type": "string" | 3448 "type": "string" |
| 3415 }, | 3449 }, |
| 3416 "defaultOpenWithLink": { | 3450 "defaultOpenWithLink": { |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4268 "type": "object" | 4302 "type": "object" |
| 4269 } | 4303 } |
| 4270 }, | 4304 }, |
| 4271 "type": "object" | 4305 "type": "object" |
| 4272 } | 4306 } |
| 4273 }, | 4307 }, |
| 4274 "servicePath": "drive/v2/", | 4308 "servicePath": "drive/v2/", |
| 4275 "title": "Drive API", | 4309 "title": "Drive API", |
| 4276 "version": "v2" | 4310 "version": "v2" |
| 4277 } | 4311 } |
| OLD | NEW |