取得 Android 應用程式 APK 的詳細資訊。
HTTP請求
POST https://testing.googleapis.com/v1/applicationDetailService/getApkDetails
URL 使用gRPC 轉碼語法。
請求正文
請求正文包含FileReference
的實例。
響應體
包含指定 Android 應用程式 APK 詳細資訊的回應。
如果成功,回應正文包含具有以下結構的資料:
JSON 表示 |
---|
{
"apkDetail": {
object ( |
領域 | |
---|---|
apkDetail | Android APK 的詳細資料。 |
授權範圍
需要以下 OAuth 範圍:
-
https://www.googleapis.com/auth/cloud-platform
有關詳細信息,請參閱身份驗證概述。
Apk詳情
基於應用程式清單和 apk 存檔內容的 Android 應用程式詳細資訊。
JSON 表示 |
---|
{
"apkManifest": {
object ( |
領域 | |
---|---|
apkManifest | |
Apk清單
Android 應用程式清單。請參閱http://developer.android.com/guide/topics/manifest/manifest-intro.html
JSON 表示 |
---|
{ "packageName": string, "minSdkVersion": integer, "maxSdkVersion": integer, "targetSdkVersion": integer, "applicationLabel": string, "intentFilters": [ { object ( |
領域 | |
---|---|
packageName | 此應用程式的完整 Java 樣式包名稱,例如“com.example.foo”。 |
minSdkVersion | 應用程式運行所需的最低 API 等級。 |
maxSdkVersion | 應用程式設計運行的最高 API 等級。 |
targetSdkVersion | 指定應用程式設計運行的 API 等級。 |
applicationLabel | 應用程式的使用者可讀名稱。 |
intentFilters[] | |
usesPermission[] | 應用程式聲明使用的權限 |
versionCode | 應用程式內部使用的版本號。 |
versionName | 向使用者顯示的版本號。 |
metadata[] | 清單中定義的元資料標籤。 |
usesFeature[] | 清單中定義的功能使用標籤。 |
services[] | 包含的服務 |
意圖過濾器
這
JSON 表示 |
---|
{ "actionNames": [ string ], "categoryNames": [ string ], "mimeType": string } |
領域 | |
---|---|
actionNames[] | android:name 的值 |
categoryNames[] | android:name 的值 |
mimeType | android:mimeType 的值標籤。 |
元數據
A
JSON 表示 |
---|
{ "name": string, "value": string } |
領域 | |
---|---|
name | android:name 值 |
value | android:value 值 |
使用功能
A
JSON 表示 |
---|
{ "name": string, "isRequired": boolean } |
領域 | |
---|---|
name | android:name 值 |
isRequired | android:必填值 |
服務
這
JSON 表示 |
---|
{
"name": string,
"intentFilter": [
{
object ( |
領域 | |
---|---|
name | android:name 值 |
intentFilter[] | 服務中的意圖過濾器 |