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 and documents in y
our Google Drive" | 6 "description": "View and manage the files and documents in y
our Google Drive" |
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 14 matching lines...) Loading... |
25 } | 25 } |
26 } | 26 } |
27 } | 27 } |
28 }, | 28 }, |
29 "basePath": "/drive/v2/", | 29 "basePath": "/drive/v2/", |
30 "baseUrl": "https://www.googleapis.com/drive/v2/", | 30 "baseUrl": "https://www.googleapis.com/drive/v2/", |
31 "batchPath": "batch", | 31 "batchPath": "batch", |
32 "description": "The API to interact with Drive.", | 32 "description": "The API to interact with Drive.", |
33 "discoveryVersion": "v1", | 33 "discoveryVersion": "v1", |
34 "documentationLink": "https://developers.google.com/drive/", | 34 "documentationLink": "https://developers.google.com/drive/", |
35 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/9I9Zl6d27F88N6e-Q2Opsw4M-bY\"", | 35 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/-2NkK8k7_hT4MS2pNsIOEUlM2A0\"", |
36 "icons": { | 36 "icons": { |
37 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 37 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", |
38 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" | 38 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
39 }, | 39 }, |
40 "id": "drive:v2", | 40 "id": "drive:v2", |
41 "kind": "discovery#restDescription", | 41 "kind": "discovery#restDescription", |
42 "name": "drive", | 42 "name": "drive", |
43 "ownerDomain": "google.com", | 43 "ownerDomain": "google.com", |
44 "ownerName": "Google", | 44 "ownerName": "Google", |
45 "parameters": { | 45 "parameters": { |
(...skipping 2376 matching lines...) Loading... |
2422 }, | 2422 }, |
2423 "scopes": [ | 2423 "scopes": [ |
2424 "https://www.googleapis.com/auth/drive", | 2424 "https://www.googleapis.com/auth/drive", |
2425 "https://www.googleapis.com/auth/drive.appdata", | 2425 "https://www.googleapis.com/auth/drive.appdata", |
2426 "https://www.googleapis.com/auth/drive.file" | 2426 "https://www.googleapis.com/auth/drive.file" |
2427 ] | 2427 ] |
2428 } | 2428 } |
2429 } | 2429 } |
2430 } | 2430 } |
2431 }, | 2431 }, |
2432 "revision": "20140902", | 2432 "revision": "20140916", |
2433 "rootUrl": "https://www.googleapis.com/", | 2433 "rootUrl": "https://www.googleapis.com/", |
2434 "schemas": { | 2434 "schemas": { |
2435 "About": { | 2435 "About": { |
2436 "description": "An item with user information and settings.", | 2436 "description": "An item with user information and settings.", |
2437 "id": "About", | 2437 "id": "About", |
2438 "properties": { | 2438 "properties": { |
2439 "additionalRoleInfo": { | 2439 "additionalRoleInfo": { |
2440 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2440 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
2441 "items": { | 2441 "items": { |
2442 "properties": { | 2442 "properties": { |
(...skipping 1128 matching lines...) Loading... |
3571 }, | 3571 }, |
3572 "userPermission": { | 3572 "userPermission": { |
3573 "$ref": "Permission", | 3573 "$ref": "Permission", |
3574 "description": "The permissions for the authenticated user o
n this file." | 3574 "description": "The permissions for the authenticated user o
n this file." |
3575 }, | 3575 }, |
3576 "version": { | 3576 "version": { |
3577 "description": "A monotonically increasing version number fo
r the file. This reflects every change made to the file on the server, even thos
e not visible to the requesting user.", | 3577 "description": "A monotonically increasing version number fo
r the file. This reflects every change made to the file on the server, even thos
e not visible to the requesting user.", |
3578 "format": "int64", | 3578 "format": "int64", |
3579 "type": "string" | 3579 "type": "string" |
3580 }, | 3580 }, |
| 3581 "videoMediaMetadata": { |
| 3582 "description": "Metadata about video media. This will only b
e present for video types.", |
| 3583 "properties": { |
| 3584 "durationMillis": { |
| 3585 "description": "The duration of the video in millise
conds.", |
| 3586 "format": "int64", |
| 3587 "type": "string" |
| 3588 }, |
| 3589 "height": { |
| 3590 "description": "The height of the video in pixels.", |
| 3591 "format": "int32", |
| 3592 "type": "integer" |
| 3593 }, |
| 3594 "width": { |
| 3595 "description": "The width of the video in pixels.", |
| 3596 "format": "int32", |
| 3597 "type": "integer" |
| 3598 } |
| 3599 }, |
| 3600 "type": "object" |
| 3601 }, |
3581 "webContentLink": { | 3602 "webContentLink": { |
3582 "description": "A link for downloading the content of the fi
le in a browser using cookie based authentication. In cases where the content is
shared publicly, the content can be downloaded without any credentials.", | 3603 "description": "A link for downloading the content of the fi
le in a browser using cookie based authentication. In cases where the content is
shared publicly, the content can be downloaded without any credentials.", |
3583 "type": "string" | 3604 "type": "string" |
3584 }, | 3605 }, |
3585 "webViewLink": { | 3606 "webViewLink": { |
3586 "description": "A link only available on public folders for
viewing their static web assets (HTML, CSS, JS, etc) via Google Drive's Website
Hosting.", | 3607 "description": "A link only available on public folders for
viewing their static web assets (HTML, CSS, JS, etc) via Google Drive's Website
Hosting.", |
3587 "type": "string" | 3608 "type": "string" |
3588 }, | 3609 }, |
3589 "writersCanShare": { | 3610 "writersCanShare": { |
3590 "description": "Whether writers can share the document with
other users.", | 3611 "description": "Whether writers can share the document with
other users.", |
(...skipping 110 matching lines...) Loading... |
3701 }, | 3722 }, |
3702 "authKey": { | 3723 "authKey": { |
3703 "description": "The authkey parameter required for this perm
ission.", | 3724 "description": "The authkey parameter required for this perm
ission.", |
3704 "type": "string" | 3725 "type": "string" |
3705 }, | 3726 }, |
3706 "domain": { | 3727 "domain": { |
3707 "description": "The domain name of the entity this permissio
n refers to. This is an output-only field which is present when the permission t
ype is user, group or domain.", | 3728 "description": "The domain name of the entity this permissio
n refers to. This is an output-only field which is present when the permission t
ype is user, group or domain.", |
3708 "type": "string" | 3729 "type": "string" |
3709 }, | 3730 }, |
3710 "emailAddress": { | 3731 "emailAddress": { |
3711 "description": "The email address of the user this permissio
n refers to. This is an output-only field which is present when the permission t
ype is user and the given user's Google+ profile privacy settings allow exposing
their email address.", | 3732 "description": "The email address of the user this permissio
n refers to. This is an output-only field which is present when the permission t
ype is user.", |
3712 "type": "string" | 3733 "type": "string" |
3713 }, | 3734 }, |
3714 "etag": { | 3735 "etag": { |
3715 "description": "The ETag of the permission.", | 3736 "description": "The ETag of the permission.", |
3716 "type": "string" | 3737 "type": "string" |
3717 }, | 3738 }, |
3718 "id": { | 3739 "id": { |
3719 "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.", | 3740 "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.", |
3720 "type": "string" | 3741 "type": "string" |
3721 }, | 3742 }, |
(...skipping 294 matching lines...) Loading... |
4016 "type": "object" | 4037 "type": "object" |
4017 } | 4038 } |
4018 }, | 4039 }, |
4019 "type": "object" | 4040 "type": "object" |
4020 } | 4041 } |
4021 }, | 4042 }, |
4022 "servicePath": "drive/v2/", | 4043 "servicePath": "drive/v2/", |
4023 "title": "Drive API", | 4044 "title": "Drive API", |
4024 "version": "v2" | 4045 "version": "v2" |
4025 } | 4046 } |
OLD | NEW |