Method: edits.images.upload

Uploads an image of the specified language and image type, and adds to the edit.

HTTP request

  • Upload URI, for media upload requests:
    POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
  • Metadata URI, for metadata-only requests:
    POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

editId

string

Identifier of the edit.

language

string

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.

imageType

enum (AppImageType)

Type of the Image.

Request body

The request body contains an instance of ImagesUploadRequestBody.

Response body

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

Response for uploading an image.

JSON representation
{
  "image": {
    object (Image)
  }
}
Fields
image

object (Image)

The uploaded image.

Authorization Scopes

Requires the following OAuth scope:

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

ImagesUploadRequestBody

The request body of an image upload.

JSON representation
{
  "image": {
    object (Image)
  }
}
Fields
image

object (Image)

This field is ignored.