API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.


For Files Resource details, see the resource representation page.

Method REST URI * Description
get GET  /files/id Gets a file's metadata by ID. To download a file's content, send an authorized HTTP GET request to the file's downloadUrl.
insert POST  /files Inserts a file, and any settable metadata or blob content sent with the request.
patch PATCH  /files/id Updates file metadata and/or content. This method supports patch semantics.
update PUT  /files/id Updates file metadata and/or content.

* Relative to the base URI: https://www.googleapis.com/drive/v1