Method: applicationDetailService.getApkDetails

取得 Android 應用程式 APK 的詳細資訊。

HTTP請求

POST https://testing.googleapis.com/v1/applicationDetailService/getApkDetails

URL 使用gRPC 轉碼語法。

請求正文

請求正文包含FileReference的實例。

響應體

包含指定 Android 應用程式 APK 詳細資訊的回應。

如果成功,回應正文包含具有以下結構的資料:

JSON 表示
{
  "apkDetail": {
    object (ApkDetail)
  }
}
領域
apkDetail

object ( ApkDetail )

Android APK 的詳細資料。

授權範圍

需要以下 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

有關詳細信息,請參閱身份驗證概述

Apk詳情

基於應用程式清單和 apk 存檔內容的 Android 應用程式詳細資訊。

JSON 表示
{
  "apkManifest": {
    object (ApkManifest)
  }
}
領域
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 (IntentFilter)
    }
  ],
  "usesPermission": [
    string
  ],
  "versionCode": string,
  "versionName": string,
  "metadata": [
    {
      object (Metadata)
    }
  ],
  "usesFeature": [
    {
      object (UsesFeature)
    }
  ],
  "services": [
    {
      object (Service)
    }
  ]
}
領域
packageName

string

此應用程式的完整 Java 樣式包名稱,例如“com.example.foo”。

minSdkVersion

integer

應用程式運行所需的最低 API 等級。

maxSdkVersion

integer

應用程式設計運行的最高 API 等級。

targetSdkVersion

integer

指定應用程式設計運行的 API 等級。

applicationLabel

string

應用程式的使用者可讀名稱。

intentFilters[]

object ( IntentFilter )

usesPermission[]

string

應用程式聲明使用的權限

versionCode

string ( int64 format)

應用程式內部使用的版本號。

versionName

string

向使用者顯示的版本號。

metadata[]

object ( Metadata )

清單中定義的元資料標籤。

usesFeature[]

object ( UsesFeature )

清單中定義的功能使用標籤。

services[]

object ( Service )

包含的服務標籤。

意圖過濾器

的一部分標籤。 https://developer.android.com/guide/topics/manifest/intent-filter-element.html

JSON 表示
{
  "actionNames": [
    string
  ],
  "categoryNames": [
    string
  ],
  "mimeType": string
}
領域
actionNames[]

string

android:name 的值標籤。

categoryNames[]

string

android:name 的值標籤。

mimeType

string

android:mimeType 的值標籤。

元數據

A清單中的標籤。 https://developer.android.com/guide/topics/manifest/meta-data-element.html

JSON 表示
{
  "name": string,
  "value": string
}
領域
name

string

android:name 值

value

string

android:value 值

使用功能

A清單中的標籤。 https://developer.android.com/guide/topics/manifest/uses-feature-element.html

JSON 表示
{
  "name": string,
  "isRequired": boolean
}
領域
name

string

android:name 值

isRequired

boolean

android:必填值

服務

的一部分標籤。 https://developer.android.com/guide/topics/manifest/service-element

JSON 表示
{
  "name": string,
  "intentFilter": [
    {
      object (IntentFilter)
    }
  ]
}
領域
name

string

android:name 值

intentFilter[]

object ( IntentFilter )

服務中的意圖過濾器