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 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
31 }, | 31 }, |
32 "basePath": "/drive/v3/", | 32 "basePath": "/drive/v3/", |
33 "baseUrl": "https://www.googleapis.com/drive/v3/", | 33 "baseUrl": "https://www.googleapis.com/drive/v3/", |
34 "batchPath": "batch", | 34 "batchPath": "batch", |
35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", | 35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", |
36 "discoveryVersion": "v1", | 36 "discoveryVersion": "v1", |
37 "documentationLink": "https://developers.google.com/drive/", | 37 "documentationLink": "https://developers.google.com/drive/", |
38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/dH_NyTvzIUzDO8yngfbY4Xtk-Ho\"", | 38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/gZ2y1eNuuFyHfp4owNVOqJZxLuw\"", |
39 "icons": { | 39 "icons": { |
40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 40 "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" | 41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
42 }, | 42 }, |
43 "id": "drive:v3", | 43 "id": "drive:v3", |
44 "kind": "discovery#restDescription", | 44 "kind": "discovery#restDescription", |
45 "name": "drive", | 45 "name": "drive", |
46 "ownerDomain": "google.com", | 46 "ownerDomain": "google.com", |
47 "ownerName": "Google", | 47 "ownerName": "Google", |
48 "parameters": { | 48 "parameters": { |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 "location": "path", | 1026 "location": "path", |
1027 "required": true, | 1027 "required": true, |
1028 "type": "string" | 1028 "type": "string" |
1029 }, | 1029 }, |
1030 "permissionId": { | 1030 "permissionId": { |
1031 "description": "The ID of the permission.", | 1031 "description": "The ID of the permission.", |
1032 "location": "path", | 1032 "location": "path", |
1033 "required": true, | 1033 "required": true, |
1034 "type": "string" | 1034 "type": "string" |
1035 }, | 1035 }, |
| 1036 "removeExpiration": { |
| 1037 "default": "false", |
| 1038 "description": "Whether to remove the expiration dat
e.", |
| 1039 "location": "query", |
| 1040 "type": "boolean" |
| 1041 }, |
1036 "transferOwnership": { | 1042 "transferOwnership": { |
1037 "default": "false", | 1043 "default": "false", |
1038 "description": "Whether to transfer ownership to the
specified user and downgrade the current owner to a writer. This parameter is r
equired as an acknowledgement of the side effect.", | 1044 "description": "Whether to transfer ownership to the
specified user and downgrade the current owner to a writer. This parameter is r
equired as an acknowledgement of the side effect.", |
1039 "location": "query", | 1045 "location": "query", |
1040 "type": "boolean" | 1046 "type": "boolean" |
1041 } | 1047 } |
1042 }, | 1048 }, |
1043 "path": "files/{fileId}/permissions/{permissionId}", | 1049 "path": "files/{fileId}/permissions/{permissionId}", |
1044 "request": { | 1050 "request": { |
1045 "$ref": "Permission" | 1051 "$ref": "Permission" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1399 }, | 1405 }, |
1400 "scopes": [ | 1406 "scopes": [ |
1401 "https://www.googleapis.com/auth/drive", | 1407 "https://www.googleapis.com/auth/drive", |
1402 "https://www.googleapis.com/auth/drive.appdata", | 1408 "https://www.googleapis.com/auth/drive.appdata", |
1403 "https://www.googleapis.com/auth/drive.file" | 1409 "https://www.googleapis.com/auth/drive.file" |
1404 ] | 1410 ] |
1405 } | 1411 } |
1406 } | 1412 } |
1407 } | 1413 } |
1408 }, | 1414 }, |
1409 "revision": "20160506", | 1415 "revision": "20160526", |
1410 "rootUrl": "https://www.googleapis.com/", | 1416 "rootUrl": "https://www.googleapis.com/", |
1411 "schemas": { | 1417 "schemas": { |
1412 "About": { | 1418 "About": { |
1413 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", | 1419 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", |
1414 "id": "About", | 1420 "id": "About", |
1415 "properties": { | 1421 "properties": { |
1416 "appInstalled": { | 1422 "appInstalled": { |
1417 "description": "Whether the user has installed the requestin
g app.", | 1423 "description": "Whether the user has installed the requestin
g app.", |
1418 "type": "boolean" | 1424 "type": "boolean" |
1419 }, | 1425 }, |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2146 "type": "string" | 2152 "type": "string" |
2147 }, | 2153 }, |
2148 "domain": { | 2154 "domain": { |
2149 "description": "The domain to which this permission refers."
, | 2155 "description": "The domain to which this permission refers."
, |
2150 "type": "string" | 2156 "type": "string" |
2151 }, | 2157 }, |
2152 "emailAddress": { | 2158 "emailAddress": { |
2153 "description": "The email address of the user or group to wh
ich this permission refers.", | 2159 "description": "The email address of the user or group to wh
ich this permission refers.", |
2154 "type": "string" | 2160 "type": "string" |
2155 }, | 2161 }, |
| 2162 "expirationTime": { |
| 2163 "description": "The time at which this permission will expir
e (RFC 3339 date-time).", |
| 2164 "format": "date-time", |
| 2165 "type": "string" |
| 2166 }, |
2156 "id": { | 2167 "id": { |
2157 "description": "The ID of this permission. This is a unique
identifier for the grantee, and is published in User resources as permissionId."
, | 2168 "description": "The ID of this permission. This is a unique
identifier for the grantee, and is published in User resources as permissionId."
, |
2158 "type": "string" | 2169 "type": "string" |
2159 }, | 2170 }, |
2160 "kind": { | 2171 "kind": { |
2161 "default": "drive#permission", | 2172 "default": "drive#permission", |
2162 "description": "This is always drive#permission.", | 2173 "description": "This is always drive#permission.", |
2163 "type": "string" | 2174 "type": "string" |
2164 }, | 2175 }, |
2165 "photoLink": { | 2176 "photoLink": { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2402 "type": "string" | 2413 "type": "string" |
2403 } | 2414 } |
2404 }, | 2415 }, |
2405 "type": "object" | 2416 "type": "object" |
2406 } | 2417 } |
2407 }, | 2418 }, |
2408 "servicePath": "drive/v3/", | 2419 "servicePath": "drive/v3/", |
2409 "title": "Drive API", | 2420 "title": "Drive API", |
2410 "version": "v3" | 2421 "version": "v3" |
2411 } | 2422 } |
OLD | NEW |