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/0oYfapNieOql2WSmQxme3Jh7JQA\"", | 41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/qrYsvJ0sVCZdzpl7hbEwTmDDCNM\"", |
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 2496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2548 "id": "drive.revisions.list", | 2548 "id": "drive.revisions.list", |
2549 "parameterOrder": [ | 2549 "parameterOrder": [ |
2550 "fileId" | 2550 "fileId" |
2551 ], | 2551 ], |
2552 "parameters": { | 2552 "parameters": { |
2553 "fileId": { | 2553 "fileId": { |
2554 "description": "The ID of the file.", | 2554 "description": "The ID of the file.", |
2555 "location": "path", | 2555 "location": "path", |
2556 "required": true, | 2556 "required": true, |
2557 "type": "string" | 2557 "type": "string" |
| 2558 }, |
| 2559 "maxResults": { |
| 2560 "description": "Maximum number of revisions to retur
n.", |
| 2561 "format": "int32", |
| 2562 "location": "query", |
| 2563 "minimum": "1", |
| 2564 "type": "integer" |
| 2565 }, |
| 2566 "pageToken": { |
| 2567 "description": "Page token for revisions. To get the
next page of results, set this parameter to the value of \"nextPageToken\" from
the previous response.", |
| 2568 "location": "query", |
| 2569 "type": "string" |
2558 } | 2570 } |
2559 }, | 2571 }, |
2560 "path": "files/{fileId}/revisions", | 2572 "path": "files/{fileId}/revisions", |
2561 "response": { | 2573 "response": { |
2562 "$ref": "RevisionList" | 2574 "$ref": "RevisionList" |
2563 }, | 2575 }, |
2564 "scopes": [ | 2576 "scopes": [ |
2565 "https://www.googleapis.com/auth/drive", | 2577 "https://www.googleapis.com/auth/drive", |
2566 "https://www.googleapis.com/auth/drive.appdata", | 2578 "https://www.googleapis.com/auth/drive.appdata", |
2567 "https://www.googleapis.com/auth/drive.file", | 2579 "https://www.googleapis.com/auth/drive.file", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2637 }, | 2649 }, |
2638 "scopes": [ | 2650 "scopes": [ |
2639 "https://www.googleapis.com/auth/drive", | 2651 "https://www.googleapis.com/auth/drive", |
2640 "https://www.googleapis.com/auth/drive.appdata", | 2652 "https://www.googleapis.com/auth/drive.appdata", |
2641 "https://www.googleapis.com/auth/drive.file" | 2653 "https://www.googleapis.com/auth/drive.file" |
2642 ] | 2654 ] |
2643 } | 2655 } |
2644 } | 2656 } |
2645 } | 2657 } |
2646 }, | 2658 }, |
2647 "revision": "20160819", | 2659 "revision": "20161027", |
2648 "rootUrl": "https://www.googleapis.com/", | 2660 "rootUrl": "https://www.googleapis.com/", |
2649 "schemas": { | 2661 "schemas": { |
2650 "About": { | 2662 "About": { |
2651 "description": "An item with user information and settings.", | 2663 "description": "An item with user information and settings.", |
2652 "id": "About", | 2664 "id": "About", |
2653 "properties": { | 2665 "properties": { |
2654 "additionalRoleInfo": { | 2666 "additionalRoleInfo": { |
2655 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2667 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
2656 "items": { | 2668 "items": { |
2657 "properties": { | 2669 "properties": { |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3657 "description": "The type of file. This is always drive#file.
", | 3669 "description": "The type of file. This is always drive#file.
", |
3658 "type": "string" | 3670 "type": "string" |
3659 }, | 3671 }, |
3660 "labels": { | 3672 "labels": { |
3661 "description": "A group of labels for the file.", | 3673 "description": "A group of labels for the file.", |
3662 "properties": { | 3674 "properties": { |
3663 "hidden": { | 3675 "hidden": { |
3664 "description": "Deprecated.", | 3676 "description": "Deprecated.", |
3665 "type": "boolean" | 3677 "type": "boolean" |
3666 }, | 3678 }, |
| 3679 "modified": { |
| 3680 "description": "Whether the file has been modified b
y this user.", |
| 3681 "type": "boolean" |
| 3682 }, |
3667 "restricted": { | 3683 "restricted": { |
3668 "description": "Whether viewers and commenters are p
revented from downloading, printing, and copying this file.", | 3684 "description": "Whether viewers and commenters are p
revented from downloading, printing, and copying this file.", |
3669 "type": "boolean" | 3685 "type": "boolean" |
3670 }, | 3686 }, |
3671 "starred": { | 3687 "starred": { |
3672 "description": "Whether this file is starred by the
user.", | 3688 "description": "Whether this file is starred by the
user.", |
3673 "type": "boolean" | 3689 "type": "boolean" |
3674 }, | 3690 }, |
3675 "trashed": { | 3691 "trashed": { |
3676 "description": "Whether this file has been trashed.
This label applies to all users accessing the file; however, only owners are all
owed to see and untrash files.", | 3692 "description": "Whether this file has been trashed.
This label applies to all users accessing the file; however, only owners are all
owed to see and untrash files.", |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4271 "items": { | 4287 "items": { |
4272 "$ref": "Revision" | 4288 "$ref": "Revision" |
4273 }, | 4289 }, |
4274 "type": "array" | 4290 "type": "array" |
4275 }, | 4291 }, |
4276 "kind": { | 4292 "kind": { |
4277 "default": "drive#revisionList", | 4293 "default": "drive#revisionList", |
4278 "description": "This is always drive#revisionList.", | 4294 "description": "This is always drive#revisionList.", |
4279 "type": "string" | 4295 "type": "string" |
4280 }, | 4296 }, |
| 4297 "nextPageToken": { |
| 4298 "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.", |
| 4299 "type": "string" |
| 4300 }, |
4281 "selfLink": { | 4301 "selfLink": { |
4282 "description": "A link back to this list.", | 4302 "description": "A link back to this list.", |
4283 "type": "string" | 4303 "type": "string" |
4284 } | 4304 } |
4285 }, | 4305 }, |
4286 "type": "object" | 4306 "type": "object" |
4287 }, | 4307 }, |
4288 "User": { | 4308 "User": { |
4289 "description": "Information about a Drive user.", | 4309 "description": "Information about a Drive user.", |
4290 "id": "User", | 4310 "id": "User", |
(...skipping 30 matching lines...) Expand all Loading... |
4321 "type": "object" | 4341 "type": "object" |
4322 } | 4342 } |
4323 }, | 4343 }, |
4324 "type": "object" | 4344 "type": "object" |
4325 } | 4345 } |
4326 }, | 4346 }, |
4327 "servicePath": "drive/v2/", | 4347 "servicePath": "drive/v2/", |
4328 "title": "Drive API", | 4348 "title": "Drive API", |
4329 "version": "v2" | 4349 "version": "v2" |
4330 } | 4350 } |
OLD | NEW |