Method: compatibility.devices.products.otas.create

Creates a new OTA deployment group.

HTTP request

POST https://androidpartner.googleapis.com/v1/compatibility/{parent=devices/*/products/*}/otas

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent name of the resource, ex. "devices/0A8598B6/products/8C7D015F/otas"

Request body

The request body contains data with the following structure:

JSON representation
{
  "productId": string,
  "buildPrefix": string,
  "buildType": enum (BuildType)
}
Fields
productId

string

The APFE product id

buildPrefix

string

The desired build prefix

buildType

enum (BuildType)

The type of build

Response body

If successful, the response body contains a newly created instance of OtaDeploymentGroup.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

BuildType

Build Type

Enums
UNKNOWN_BUILD_TYPE Unknown build type
RELEASE Release Keys
TEST Test Keys
DEV Dev keys