Method: media.download

Downloads media. Download is supported on the URI /v1/media/{+name}?alt=media.

HTTP request

GET https://androidpartner.googleapis.com/v1/media/{resourceName=**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Name of the media that is being downloaded. See ReadRequest.resource_name.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Media.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidPartner

For more information, see the OAuth 2.0 Overview.