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 16 matching lines...) Expand all Loading... |
27 "description": "View the files in your Google Drive" | 27 "description": "View the files in your Google Drive" |
28 }, | 28 }, |
29 "https://www.googleapis.com/auth/drive.scripts": { | 29 "https://www.googleapis.com/auth/drive.scripts": { |
30 "description": "Modify your Google Apps Script scripts' beha
vior" | 30 "description": "Modify your Google Apps Script scripts' beha
vior" |
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/drive/v2", |
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": "\"YWOzh2SDasdU84ArJnpYek-OMdg/qmWmGL8KMF_u3tBIUB8jIslHffs\"", | 41 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/DCrAVU-W3UzljIhuRMkT-kOc_P8\"", |
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 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 }, | 1216 }, |
1217 "maxResults": { | 1217 "maxResults": { |
1218 "default": "100", | 1218 "default": "100", |
1219 "description": "The maximum number of files to retur
n per page. Partial or empty result pages are possible even before the end of th
e files list has been reached.", | 1219 "description": "The maximum number of files to retur
n per page. Partial or empty result pages are possible even before the end of th
e files list has been reached.", |
1220 "format": "int32", | 1220 "format": "int32", |
1221 "location": "query", | 1221 "location": "query", |
1222 "minimum": "0", | 1222 "minimum": "0", |
1223 "type": "integer" | 1223 "type": "integer" |
1224 }, | 1224 }, |
1225 "orderBy": { | 1225 "orderBy": { |
1226 "description": "A comma-separated list of sort keys.
Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate
', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', a
nd 'title'. Each key sorts ascending by default, but may be reversed with the 'd
esc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please no
te that there is a current limitation for users with approximately one million f
iles in which the requested sort order is ignored.", | 1226 "description": "A comma-separated list of sort keys.
Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate
', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', '
title', and 'title_natural'. Each key sorts ascending by default, but may be rev
ersed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc
,title. Please note that there is a current limitation for users with approximat
ely one million files in which the requested sort order is ignored.", |
1227 "location": "query", | 1227 "location": "query", |
1228 "type": "string" | 1228 "type": "string" |
1229 }, | 1229 }, |
1230 "pageToken": { | 1230 "pageToken": { |
1231 "description": "Page token for files.", | 1231 "description": "Page token for files.", |
1232 "location": "query", | 1232 "location": "query", |
1233 "type": "string" | 1233 "type": "string" |
1234 }, | 1234 }, |
1235 "projection": { | 1235 "projection": { |
1236 "description": "This parameter is deprecated and has
no function.", | 1236 "description": "This parameter is deprecated and has
no function.", |
(...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3012 "response": { | 3012 "response": { |
3013 "$ref": "TeamDrive" | 3013 "$ref": "TeamDrive" |
3014 }, | 3014 }, |
3015 "scopes": [ | 3015 "scopes": [ |
3016 "https://www.googleapis.com/auth/drive" | 3016 "https://www.googleapis.com/auth/drive" |
3017 ] | 3017 ] |
3018 } | 3018 } |
3019 } | 3019 } |
3020 } | 3020 } |
3021 }, | 3021 }, |
3022 "revision": "20170811", | 3022 "revision": "20170825", |
3023 "rootUrl": "https://www.googleapis.com/", | 3023 "rootUrl": "https://www.googleapis.com/", |
3024 "schemas": { | 3024 "schemas": { |
3025 "About": { | 3025 "About": { |
3026 "description": "An item with user information and settings.", | 3026 "description": "An item with user information and settings.", |
3027 "id": "About", | 3027 "id": "About", |
3028 "properties": { | 3028 "properties": { |
3029 "additionalRoleInfo": { | 3029 "additionalRoleInfo": { |
3030 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 3030 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
3031 "items": { | 3031 "items": { |
3032 "properties": { | 3032 "properties": { |
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4246 }, | 4246 }, |
4247 "type": "array" | 4247 "type": "array" |
4248 }, | 4248 }, |
4249 "parents": { | 4249 "parents": { |
4250 "description": "Collection of parent folders which contain t
his file.\nSetting this field will put the file in all of the provided folders.
On insert, if no folders are provided, the file will be placed in the default ro
ot folder.", | 4250 "description": "Collection of parent folders which contain t
his file.\nSetting this field will put the file in all of the provided folders.
On insert, if no folders are provided, the file will be placed in the default ro
ot folder.", |
4251 "items": { | 4251 "items": { |
4252 "$ref": "ParentReference" | 4252 "$ref": "ParentReference" |
4253 }, | 4253 }, |
4254 "type": "array" | 4254 "type": "array" |
4255 }, | 4255 }, |
| 4256 "permissionIds": { |
| 4257 "description": "List of permission IDs for users with access
to this file.", |
| 4258 "items": { |
| 4259 "type": "string" |
| 4260 }, |
| 4261 "type": "array" |
| 4262 }, |
4256 "permissions": { | 4263 "permissions": { |
4257 "description": "The list of permissions for users with acces
s to this file. Not populated for Team Drive files.", | 4264 "description": "The list of permissions for users with acces
s to this file. Not populated for Team Drive files.", |
4258 "items": { | 4265 "items": { |
4259 "$ref": "Permission" | 4266 "$ref": "Permission" |
4260 }, | 4267 }, |
4261 "type": "array" | 4268 "type": "array" |
4262 }, | 4269 }, |
4263 "properties": { | 4270 "properties": { |
4264 "description": "The list of properties.", | 4271 "description": "The list of properties.", |
4265 "items": { | 4272 "items": { |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5042 "type": "object" | 5049 "type": "object" |
5043 } | 5050 } |
5044 }, | 5051 }, |
5045 "type": "object" | 5052 "type": "object" |
5046 } | 5053 } |
5047 }, | 5054 }, |
5048 "servicePath": "drive/v2/", | 5055 "servicePath": "drive/v2/", |
5049 "title": "Drive API", | 5056 "title": "Drive API", |
5050 "version": "v2" | 5057 "version": "v2" |
5051 } | 5058 } |
OLD | NEW |