| 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": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", | 38 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", |
| 39 "discoveryVersion": "v1", | 39 "discoveryVersion": "v1", |
| 40 "documentationLink": "https://developers.google.com/drive/", | 40 "documentationLink": "https://developers.google.com/drive/", |
| 41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/U-tMitOEVkWDRWQuebp1LsAKVr0\"", | 41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/kTa7OeRKGY82wdzASfvor19zWXs\"", |
| 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 1790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1842 "location": "path", | 1842 "location": "path", |
| 1843 "required": true, | 1843 "required": true, |
| 1844 "type": "string" | 1844 "type": "string" |
| 1845 }, | 1845 }, |
| 1846 "permissionId": { | 1846 "permissionId": { |
| 1847 "description": "The ID for the permission.", | 1847 "description": "The ID for the permission.", |
| 1848 "location": "path", | 1848 "location": "path", |
| 1849 "required": true, | 1849 "required": true, |
| 1850 "type": "string" | 1850 "type": "string" |
| 1851 }, | 1851 }, |
| 1852 "removeExpiration": { |
| 1853 "default": "false", |
| 1854 "description": "Whether to remove the expiration dat
e.", |
| 1855 "location": "query", |
| 1856 "type": "boolean" |
| 1857 }, |
| 1852 "transferOwnership": { | 1858 "transferOwnership": { |
| 1853 "default": "false", | 1859 "default": "false", |
| 1854 "description": "Whether changing a role to 'owner' d
owngrades the current owners to writers. Does nothing if the specified role is n
ot 'owner'.", | 1860 "description": "Whether changing a role to 'owner' d
owngrades the current owners to writers. Does nothing if the specified role is n
ot 'owner'.", |
| 1855 "location": "query", | 1861 "location": "query", |
| 1856 "type": "boolean" | 1862 "type": "boolean" |
| 1857 } | 1863 } |
| 1858 }, | 1864 }, |
| 1859 "path": "files/{fileId}/permissions/{permissionId}", | 1865 "path": "files/{fileId}/permissions/{permissionId}", |
| 1860 "request": { | 1866 "request": { |
| 1861 "$ref": "Permission" | 1867 "$ref": "Permission" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1882 "location": "path", | 1888 "location": "path", |
| 1883 "required": true, | 1889 "required": true, |
| 1884 "type": "string" | 1890 "type": "string" |
| 1885 }, | 1891 }, |
| 1886 "permissionId": { | 1892 "permissionId": { |
| 1887 "description": "The ID for the permission.", | 1893 "description": "The ID for the permission.", |
| 1888 "location": "path", | 1894 "location": "path", |
| 1889 "required": true, | 1895 "required": true, |
| 1890 "type": "string" | 1896 "type": "string" |
| 1891 }, | 1897 }, |
| 1898 "removeExpiration": { |
| 1899 "default": "false", |
| 1900 "description": "Whether to remove the expiration dat
e.", |
| 1901 "location": "query", |
| 1902 "type": "boolean" |
| 1903 }, |
| 1892 "transferOwnership": { | 1904 "transferOwnership": { |
| 1893 "default": "false", | 1905 "default": "false", |
| 1894 "description": "Whether changing a role to 'owner' d
owngrades the current owners to writers. Does nothing if the specified role is n
ot 'owner'.", | 1906 "description": "Whether changing a role to 'owner' d
owngrades the current owners to writers. Does nothing if the specified role is n
ot 'owner'.", |
| 1895 "location": "query", | 1907 "location": "query", |
| 1896 "type": "boolean" | 1908 "type": "boolean" |
| 1897 } | 1909 } |
| 1898 }, | 1910 }, |
| 1899 "path": "files/{fileId}/permissions/{permissionId}", | 1911 "path": "files/{fileId}/permissions/{permissionId}", |
| 1900 "request": { | 1912 "request": { |
| 1901 "$ref": "Permission" | 1913 "$ref": "Permission" |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2625 }, | 2637 }, |
| 2626 "scopes": [ | 2638 "scopes": [ |
| 2627 "https://www.googleapis.com/auth/drive", | 2639 "https://www.googleapis.com/auth/drive", |
| 2628 "https://www.googleapis.com/auth/drive.appdata", | 2640 "https://www.googleapis.com/auth/drive.appdata", |
| 2629 "https://www.googleapis.com/auth/drive.file" | 2641 "https://www.googleapis.com/auth/drive.file" |
| 2630 ] | 2642 ] |
| 2631 } | 2643 } |
| 2632 } | 2644 } |
| 2633 } | 2645 } |
| 2634 }, | 2646 }, |
| 2635 "revision": "20160506", | 2647 "revision": "20160526", |
| 2636 "rootUrl": "https://www.googleapis.com/", | 2648 "rootUrl": "https://www.googleapis.com/", |
| 2637 "schemas": { | 2649 "schemas": { |
| 2638 "About": { | 2650 "About": { |
| 2639 "description": "An item with user information and settings.", | 2651 "description": "An item with user information and settings.", |
| 2640 "id": "About", | 2652 "id": "About", |
| 2641 "properties": { | 2653 "properties": { |
| 2642 "additionalRoleInfo": { | 2654 "additionalRoleInfo": { |
| 2643 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2655 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
| 2644 "items": { | 2656 "items": { |
| 2645 "properties": { | 2657 "properties": { |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3996 "type": "string" | 4008 "type": "string" |
| 3997 }, | 4009 }, |
| 3998 "emailAddress": { | 4010 "emailAddress": { |
| 3999 "description": "The email address of the user or group this
permission refers to. This is an output-only field which is present when the per
mission type is user or group.", | 4011 "description": "The email address of the user or group this
permission refers to. This is an output-only field which is present when the per
mission type is user or group.", |
| 4000 "type": "string" | 4012 "type": "string" |
| 4001 }, | 4013 }, |
| 4002 "etag": { | 4014 "etag": { |
| 4003 "description": "The ETag of the permission.", | 4015 "description": "The ETag of the permission.", |
| 4004 "type": "string" | 4016 "type": "string" |
| 4005 }, | 4017 }, |
| 4018 "expirationDate": { |
| 4019 "description": "The time at which this permission will expir
e (RFC 3339 date-time).", |
| 4020 "format": "date-time", |
| 4021 "type": "string" |
| 4022 }, |
| 4006 "id": { | 4023 "id": { |
| 4007 "description": "The ID of the user this permission refers to
, and identical to the permissionId in the About and Files resources. When makin
g a drive.permissions.insert request, exactly one of the id or value fields must
be specified.", | 4024 "description": "The ID of the user this permission refers to
, and identical to the permissionId in the About and Files resources. When makin
g a drive.permissions.insert request, exactly one of the id or value fields must
be specified.", |
| 4008 "type": "string" | 4025 "type": "string" |
| 4009 }, | 4026 }, |
| 4010 "kind": { | 4027 "kind": { |
| 4011 "default": "drive#permission", | 4028 "default": "drive#permission", |
| 4012 "description": "This is always drive#permission.", | 4029 "description": "This is always drive#permission.", |
| 4013 "type": "string" | 4030 "type": "string" |
| 4014 }, | 4031 }, |
| 4015 "name": { | 4032 "name": { |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4304 "type": "object" | 4321 "type": "object" |
| 4305 } | 4322 } |
| 4306 }, | 4323 }, |
| 4307 "type": "object" | 4324 "type": "object" |
| 4308 } | 4325 } |
| 4309 }, | 4326 }, |
| 4310 "servicePath": "drive/v2/", | 4327 "servicePath": "drive/v2/", |
| 4311 "title": "Drive API", | 4328 "title": "Drive API", |
| 4312 "version": "v2" | 4329 "version": "v2" |
| 4313 } | 4330 } |
| OLD | NEW |