Method: media.upload

Uploads media. Upload is supported on the URI /upload/v1/media/{+name}.

HTTP request

POST https://mybusiness.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 contains an instance of Media.

Response body

If successful, the response body contains data with the following structure:

Media resource.

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

Name of the media resource.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/plus.business.manage

For more information, see the OAuth 2.0 Overview.

Send feedback about...

Google My Business API
Google My Business API
Need help? Visit our support page.