Method: edits.images.upload

  • This API uploads an image of a specified language and image type and adds it to an edit.

  • It uses a POST request with specific URIs for media upload and metadata-only requests.

  • Path parameters include the package name, edit ID, language, and image type.

  • The request body contains an instance of ImagesUploadRequestBody, and the response body contains data representing the uploaded image.

  • The API requires the https://www.googleapis.com/auth/androidpublisher OAuth scope for authorization.

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

Response for uploading an image.

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

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