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": "\"tbys6C40o18GZwyMen5GMkdK-3s/aTsDjhJX4jyEgcQh1bdOjEtV2EI\"", | 41 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/5vvnUnaYZD7vqEjmjYVCOzuEk5s\"", |
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 "https://www.googleapis.com/auth/drive", | 227 "https://www.googleapis.com/auth/drive", |
228 "https://www.googleapis.com/auth/drive.appdata", | 228 "https://www.googleapis.com/auth/drive.appdata", |
229 "https://www.googleapis.com/auth/drive.apps.readonly", | 229 "https://www.googleapis.com/auth/drive.apps.readonly", |
230 "https://www.googleapis.com/auth/drive.file", | 230 "https://www.googleapis.com/auth/drive.file", |
231 "https://www.googleapis.com/auth/drive.metadata", | 231 "https://www.googleapis.com/auth/drive.metadata", |
232 "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", | 233 "https://www.googleapis.com/auth/drive.photos.readonly", |
234 "https://www.googleapis.com/auth/drive.readonly" | 234 "https://www.googleapis.com/auth/drive.readonly" |
235 ] | 235 ] |
236 }, | 236 }, |
| 237 "getStartPageToken": { |
| 238 "description": "Gets the starting pageToken for listing futu
re changes.", |
| 239 "httpMethod": "GET", |
| 240 "id": "drive.changes.getStartPageToken", |
| 241 "path": "changes/startPageToken", |
| 242 "response": { |
| 243 "$ref": "StartPageToken" |
| 244 }, |
| 245 "scopes": [ |
| 246 "https://www.googleapis.com/auth/drive", |
| 247 "https://www.googleapis.com/auth/drive.appdata", |
| 248 "https://www.googleapis.com/auth/drive.apps.readonly", |
| 249 "https://www.googleapis.com/auth/drive.file", |
| 250 "https://www.googleapis.com/auth/drive.metadata", |
| 251 "https://www.googleapis.com/auth/drive.metadata.readonly
", |
| 252 "https://www.googleapis.com/auth/drive.photos.readonly", |
| 253 "https://www.googleapis.com/auth/drive.readonly" |
| 254 ] |
| 255 }, |
237 "list": { | 256 "list": { |
238 "description": "Lists the changes for a user.", | 257 "description": "Lists the changes for a user.", |
239 "httpMethod": "GET", | 258 "httpMethod": "GET", |
240 "id": "drive.changes.list", | 259 "id": "drive.changes.list", |
241 "parameters": { | 260 "parameters": { |
242 "includeDeleted": { | 261 "includeDeleted": { |
243 "default": "true", | 262 "default": "true", |
244 "description": "Whether to include deleted items.", | 263 "description": "Whether to include deleted items.", |
245 "location": "query", | 264 "location": "query", |
246 "type": "boolean" | 265 "type": "boolean" |
247 }, | 266 }, |
248 "includeSubscribed": { | 267 "includeSubscribed": { |
249 "default": "true", | 268 "default": "true", |
250 "description": "Whether to include public files the
user has opened and shared files. When set to false, the list only includes owne
d files plus any shared or public files the user has explicitly added to a folde
r they own.", | 269 "description": "Whether to include public files the
user has opened and shared files. When set to false, the list only includes owne
d files plus any shared or public files the user has explicitly added to a folde
r they own.", |
251 "location": "query", | 270 "location": "query", |
252 "type": "boolean" | 271 "type": "boolean" |
253 }, | 272 }, |
254 "maxResults": { | 273 "maxResults": { |
255 "default": "100", | 274 "default": "100", |
256 "description": "Maximum number of changes to return.
", | 275 "description": "Maximum number of changes to return.
", |
257 "format": "int32", | 276 "format": "int32", |
258 "location": "query", | 277 "location": "query", |
259 "minimum": "1", | 278 "minimum": "1", |
260 "type": "integer" | 279 "type": "integer" |
261 }, | 280 }, |
262 "pageToken": { | 281 "pageToken": { |
263 "description": "Page token for changes.", | 282 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response or to the response from the getStartPageToken metho
d.", |
264 "location": "query", | 283 "location": "query", |
265 "type": "string" | 284 "type": "string" |
266 }, | 285 }, |
267 "spaces": { | 286 "spaces": { |
268 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", | 287 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", |
269 "location": "query", | 288 "location": "query", |
270 "type": "string" | 289 "type": "string" |
271 }, | 290 }, |
272 "startChangeId": { | 291 "startChangeId": { |
273 "description": "Change ID to start listing changes f
rom.", | 292 "description": "Change ID to start listing changes f
rom.", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 }, | 330 }, |
312 "maxResults": { | 331 "maxResults": { |
313 "default": "100", | 332 "default": "100", |
314 "description": "Maximum number of changes to return.
", | 333 "description": "Maximum number of changes to return.
", |
315 "format": "int32", | 334 "format": "int32", |
316 "location": "query", | 335 "location": "query", |
317 "minimum": "1", | 336 "minimum": "1", |
318 "type": "integer" | 337 "type": "integer" |
319 }, | 338 }, |
320 "pageToken": { | 339 "pageToken": { |
321 "description": "Page token for changes.", | 340 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response or to the response from the getStartPageToken metho
d.", |
322 "location": "query", | 341 "location": "query", |
323 "type": "string" | 342 "type": "string" |
324 }, | 343 }, |
325 "spaces": { | 344 "spaces": { |
326 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", | 345 "description": "A comma-separated list of spaces to
query. Supported values are 'drive', 'appDataFolder' and 'photos'.", |
327 "location": "query", | 346 "location": "query", |
328 "type": "string" | 347 "type": "string" |
329 }, | 348 }, |
330 "startChangeId": { | 349 "startChangeId": { |
331 "description": "Change ID to start listing changes f
rom.", | 350 "description": "Change ID to start listing changes f
rom.", |
(...skipping 2319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2651 }, | 2670 }, |
2652 "scopes": [ | 2671 "scopes": [ |
2653 "https://www.googleapis.com/auth/drive", | 2672 "https://www.googleapis.com/auth/drive", |
2654 "https://www.googleapis.com/auth/drive.appdata", | 2673 "https://www.googleapis.com/auth/drive.appdata", |
2655 "https://www.googleapis.com/auth/drive.file" | 2674 "https://www.googleapis.com/auth/drive.file" |
2656 ] | 2675 ] |
2657 } | 2676 } |
2658 } | 2677 } |
2659 } | 2678 } |
2660 }, | 2679 }, |
2661 "revision": "20170113", | 2680 "revision": "20170207", |
2662 "rootUrl": "https://www.googleapis.com/", | 2681 "rootUrl": "https://www.googleapis.com/", |
2663 "schemas": { | 2682 "schemas": { |
2664 "About": { | 2683 "About": { |
2665 "description": "An item with user information and settings.", | 2684 "description": "An item with user information and settings.", |
2666 "id": "About", | 2685 "id": "About", |
2667 "properties": { | 2686 "properties": { |
2668 "additionalRoleInfo": { | 2687 "additionalRoleInfo": { |
2669 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2688 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
2670 "items": { | 2689 "items": { |
2671 "properties": { | 2690 "properties": { |
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4309 "description": "The page token for the next page of revision
s. This field will be absent if the end of the revisions list has been reached.
If the token is rejected for any reason, it should be discarded and pagination s
hould be restarted from the first page of results.", | 4328 "description": "The page token for the next page of revision
s. This field will be absent if the end of the revisions list has been reached.
If the token is rejected for any reason, it should be discarded and pagination s
hould be restarted from the first page of results.", |
4310 "type": "string" | 4329 "type": "string" |
4311 }, | 4330 }, |
4312 "selfLink": { | 4331 "selfLink": { |
4313 "description": "A link back to this list.", | 4332 "description": "A link back to this list.", |
4314 "type": "string" | 4333 "type": "string" |
4315 } | 4334 } |
4316 }, | 4335 }, |
4317 "type": "object" | 4336 "type": "object" |
4318 }, | 4337 }, |
| 4338 "StartPageToken": { |
| 4339 "id": "StartPageToken", |
| 4340 "properties": { |
| 4341 "kind": { |
| 4342 "default": "drive#startPageToken", |
| 4343 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"drive#startPageToken\".", |
| 4344 "type": "string" |
| 4345 }, |
| 4346 "startPageToken": { |
| 4347 "description": "The starting page token for listing changes.
", |
| 4348 "type": "string" |
| 4349 } |
| 4350 }, |
| 4351 "type": "object" |
| 4352 }, |
4319 "User": { | 4353 "User": { |
4320 "description": "Information about a Drive user.", | 4354 "description": "Information about a Drive user.", |
4321 "id": "User", | 4355 "id": "User", |
4322 "properties": { | 4356 "properties": { |
4323 "displayName": { | 4357 "displayName": { |
4324 "description": "A plain text displayable name for this user.
", | 4358 "description": "A plain text displayable name for this user.
", |
4325 "type": "string" | 4359 "type": "string" |
4326 }, | 4360 }, |
4327 "emailAddress": { | 4361 "emailAddress": { |
4328 "description": "The email address of the user.", | 4362 "description": "The email address of the user.", |
(...skipping 23 matching lines...) Expand all Loading... |
4352 "type": "object" | 4386 "type": "object" |
4353 } | 4387 } |
4354 }, | 4388 }, |
4355 "type": "object" | 4389 "type": "object" |
4356 } | 4390 } |
4357 }, | 4391 }, |
4358 "servicePath": "drive/v2/", | 4392 "servicePath": "drive/v2/", |
4359 "title": "Drive API", | 4393 "title": "Drive API", |
4360 "version": "v2" | 4394 "version": "v2" |
4361 } | 4395 } |
OLD | NEW |