Method: systemapks.variants.get
HTTP 请求
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}
网址采用 gRPC 转码语法。
路径参数
参数 |
packageName |
string
应用的软件包名称。
|
versionCode |
string (int64 format)
app bundle 的版本代码。
|
variantId |
integer (uint32 format)
之前创建的系统 APK 变体的 ID。
|
响应正文
如果成功,则响应正文包含一个 Variant
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidpublisher
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-17。
[null,null,["最后更新时间 (UTC):2024-12-17。"],[[["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"]]