| 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/ysNuCiEZIzJDxkzFbOLJ8vUET5Q\"", | 41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/0oYfapNieOql2WSmQxme3Jh7JQA\"", |
| 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 2585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2637 }, | 2637 }, |
| 2638 "scopes": [ | 2638 "scopes": [ |
| 2639 "https://www.googleapis.com/auth/drive", | 2639 "https://www.googleapis.com/auth/drive", |
| 2640 "https://www.googleapis.com/auth/drive.appdata", | 2640 "https://www.googleapis.com/auth/drive.appdata", |
| 2641 "https://www.googleapis.com/auth/drive.file" | 2641 "https://www.googleapis.com/auth/drive.file" |
| 2642 ] | 2642 ] |
| 2643 } | 2643 } |
| 2644 } | 2644 } |
| 2645 } | 2645 } |
| 2646 }, | 2646 }, |
| 2647 "revision": "20160801", | 2647 "revision": "20160819", |
| 2648 "rootUrl": "https://www.googleapis.com/", | 2648 "rootUrl": "https://www.googleapis.com/", |
| 2649 "schemas": { | 2649 "schemas": { |
| 2650 "About": { | 2650 "About": { |
| 2651 "description": "An item with user information and settings.", | 2651 "description": "An item with user information and settings.", |
| 2652 "id": "About", | 2652 "id": "About", |
| 2653 "properties": { | 2653 "properties": { |
| 2654 "additionalRoleInfo": { | 2654 "additionalRoleInfo": { |
| 2655 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", | 2655 "description": "Information about supported additional roles
per file type. The most specific type takes precedence.", |
| 2656 "items": { | 2656 "items": { |
| 2657 "properties": { | 2657 "properties": { |
| (...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4014 "etag": { | 4014 "etag": { |
| 4015 "description": "The ETag of the permission.", | 4015 "description": "The ETag of the permission.", |
| 4016 "type": "string" | 4016 "type": "string" |
| 4017 }, | 4017 }, |
| 4018 "expirationDate": { | 4018 "expirationDate": { |
| 4019 "description": "The time at which this permission will expir
e (RFC 3339 date-time).", | 4019 "description": "The time at which this permission will expir
e (RFC 3339 date-time).", |
| 4020 "format": "date-time", | 4020 "format": "date-time", |
| 4021 "type": "string" | 4021 "type": "string" |
| 4022 }, | 4022 }, |
| 4023 "id": { | 4023 "id": { |
| 4024 "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.", | 4024 "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 unless the permission type anyone, in which case both id and value
are ignored.", |
| 4025 "type": "string" | 4025 "type": "string" |
| 4026 }, | 4026 }, |
| 4027 "kind": { | 4027 "kind": { |
| 4028 "default": "drive#permission", | 4028 "default": "drive#permission", |
| 4029 "description": "This is always drive#permission.", | 4029 "description": "This is always drive#permission.", |
| 4030 "type": "string" | 4030 "type": "string" |
| 4031 }, | 4031 }, |
| 4032 "name": { | 4032 "name": { |
| 4033 "description": "The name for this permission.", | 4033 "description": "The name for this permission.", |
| 4034 "type": "string" | 4034 "type": "string" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 4053 "type": { | 4053 "type": { |
| 4054 "annotations": { | 4054 "annotations": { |
| 4055 "required": [ | 4055 "required": [ |
| 4056 "drive.permissions.insert" | 4056 "drive.permissions.insert" |
| 4057 ] | 4057 ] |
| 4058 }, | 4058 }, |
| 4059 "description": "The account type. Allowed values are: \n- u
ser \n- group \n- domain \n- anyone", | 4059 "description": "The account type. Allowed values are: \n- u
ser \n- group \n- domain \n- anyone", |
| 4060 "type": "string" | 4060 "type": "string" |
| 4061 }, | 4061 }, |
| 4062 "value": { | 4062 "value": { |
| 4063 "description": "The email address or domain name for the ent
ity. This is used during inserts and is not populated in responses. When making
a drive.permissions.insert request, exactly one of the id or value fields must b
e specified.", | 4063 "description": "The email address or domain name for the ent
ity. This is used during inserts and is not populated in responses. When making
a drive.permissions.insert request, exactly one of the id or value fields must b
e specified unless the permission type anyone, in which case both id and value a
re ignored.", |
| 4064 "type": "string" | 4064 "type": "string" |
| 4065 }, | 4065 }, |
| 4066 "withLink": { | 4066 "withLink": { |
| 4067 "description": "Whether the link is required for this permis
sion.", | 4067 "description": "Whether the link is required for this permis
sion.", |
| 4068 "type": "boolean" | 4068 "type": "boolean" |
| 4069 } | 4069 } |
| 4070 }, | 4070 }, |
| 4071 "type": "object" | 4071 "type": "object" |
| 4072 }, | 4072 }, |
| 4073 "PermissionId": { | 4073 "PermissionId": { |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4321 "type": "object" | 4321 "type": "object" |
| 4322 } | 4322 } |
| 4323 }, | 4323 }, |
| 4324 "type": "object" | 4324 "type": "object" |
| 4325 } | 4325 } |
| 4326 }, | 4326 }, |
| 4327 "servicePath": "drive/v2/", | 4327 "servicePath": "drive/v2/", |
| 4328 "title": "Drive API", | 4328 "title": "Drive API", |
| 4329 "version": "v2" | 4329 "version": "v2" |
| 4330 } | 4330 } |
| OLD | NEW |