Method: systemapks.variants.get
Returns a previously created system APK variant.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Package name of the app.
|
versionCode |
string (int64 format)
The version code of the App Bundle.
|
variantId |
integer (uint32 format)
The ID of a previously created system APK variant.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Variant
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["Retrieves a previously created system APK variant for a specific app, version code, and variant ID."],["Requires providing the package name, version code, and variant ID as path parameters in the request URL."],["An empty request body is necessary, and the response provides details of the specified system APK variant."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization."]]],["This document outlines the process of retrieving a previously created system APK variant. A `GET` request is sent to the specified URL, including the `packageName`, `versionCode`, and `variantId` as path parameters. The request body must be empty. A successful response returns a `Variant` object. The process requires authorization using the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The URL used follows the gRPC Transcoding syntax.\n"]]