The Google Drive API allows clients to access resources from Google Drive.
- REST Resource: v2.about
- REST Resource: v2.apps
- REST Resource: v2.changes
- REST Resource: v2.channels
- REST Resource: v2.children
- REST Resource: v2.comments
- REST Resource: v2.drives
- REST Resource: v2.files
- REST Resource: v2.parents
- REST Resource: v2.permissions
- REST Resource: v2.properties
- REST Resource: v2.replies
- REST Resource: v2.revisions
Service: googleapis.com/drive/v2
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://www.googleapis.com
REST Resource: v2.about
Methods | |
---|---|
get |
GET /drive/v2/about Gets the information about the current user along with Drive API settings |
REST Resource: v2.apps
Methods | |
---|---|
get |
GET /drive/v2/apps/{appId} Gets a specific app. |
list |
GET /drive/v2/apps Lists a user's installed apps. |
REST Resource: v2.changes
Methods | |
---|---|
get |
GET /drive/v2/changes/{changeId} Deprecated: Use changes.getStartPageToken and changes.list to retrieve recent changes. |
getStartPageToken |
GET /drive/v2/changes/startPageToken Gets the starting pageToken for listing future changes. |
list |
GET /drive/v2/changes Lists the changes for a user or shared drive. |
watch |
POST /drive/v2/changes/watch Subscribe to changes for a user. |
REST Resource: v2.channels
Methods | |
---|---|
stop |
POST /drive/v2/channels/stop Stops watching resources through this channel. |
REST Resource: v2.children
Methods | |
---|---|
delete |
DELETE /drive/v2/files/{folderId}/children/{childId} Removes a child from a folder. |
|