- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- TrackConfig
- TrackType
- FormFactor
- Try it!
Creates a new track.
HTTP request
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
Required. Package name of the app. |
editId |
Required. Identifier of the edit. |
Request body
The request body contains an instance of TrackConfig
.
Response body
If successful, the response body contains a newly created instance of Track
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
TrackConfig
Configurations of the new track.
JSON representation |
---|
{ "track": string, "type": enum ( |
Fields | |
---|---|
track |
Required. Identifier of the new track. For default tracks, this field consists of the track alias only. Form factor tracks have a special prefix as an identifier, for example |
type |
Required. Type of the new track. Currently, the only supported value is closedTesting. |
formFactor |
Required. Form factor of the new track. Defaults to the default track. |
TrackType
Available types for the new track.
Enums | |
---|---|
TRACK_TYPE_UNSPECIFIED |
Fallback value, do not use. |
CLOSED_TESTING |
Closed testing track. |
FormFactor
Available form factors for the new track.
Enums | |
---|---|
FORM_FACTOR_UNSPECIFIED |
Fallback value, do not use. |
DEFAULT |
Default track. |
WEAR |
Wear form factor track. |
AUTOMOTIVE |
Automotive form factor track. |