Method: applicationDetailService.getApkDetails

Gets the details of an Android application APK.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
bundleLocation

object (FileReference)

Optional. The App Bundle to be parsed for details.

Request body

The request body contains an instance of FileReference.

Response body

Response containing the details of the specified Android application.

If successful, the response body contains data with the following structure:

JSON representation
{
  "apkDetail": {
    object (ApkDetail)
  }
}
Fields
apkDetail

object (ApkDetail)

Details of the Android App.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

ApkDetail

Android application details based on application manifest and archive contents.

JSON representation
{
  "apkManifest": {
    object (ApkManifest)
  }
}
Fields
apkManifest

object (ApkManifest)

ApkManifest

An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html

JSON representation
{
  "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)
    }
  ]
}
Fields
packageName

string

Full Java-style package name for this application, e.g. "com.example.foo".

minSdkVersion

integer

Minimum API level required for the application to run.

maxSdkVersion

integer

Maximum API level on which the application is designed to run.

targetSdkVersion

integer

Specifies the API Level on which the application is designed to run.

applicationLabel

string

User-readable name for the application.

intentFilters[]

object (IntentFilter)

usesPermission[]

string

Permissions declared to be used by the application

versionCode

string (int64 format)

Version number used internally by the app.

versionName

string

Version number shown to users.

metadata[]

object (Metadata)

Meta-data tags defined in the manifest.

usesFeature[]

object (UsesFeature)

Feature usage tags defined in the manifest.

services[]

object (Service)

Services contained in the tag.

IntentFilter

The section of an tag. https://developer.android.com/guide/topics/manifest/intent-filter-element.html

JSON representation
{
  "actionNames": [
    string
  ],
  "categoryNames": [
    string
  ],
  "mimeType": string
}
Fields
actionNames[]

string

The android:name value of the tag.

categoryNames[]

string

The android:name value of the tag.

mimeType

string

The android:mimeType value of the tag.

Metadata

A tag within a manifest. https://developer.android.com/guide/topics/manifest/meta-data-element.html

JSON representation
{
  "name": string,
  "value": string
}
Fields
name

string

The android:name value

value

string

The android:value value

UsesFeature

A tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-feature-element.html

JSON representation
{
  "name": string,
  "isRequired": boolean
}
Fields
name

string

The android:name value

isRequired

boolean

The android:required value

Service

The section of an tag. https://developer.android.com/guide/topics/manifest/service-element

JSON representation
{
  "name": string,
  "intentFilter": [
    {
      object (IntentFilter)
    }
  ]
}
Fields
name

string

The android:name value

intentFilter[]

object (IntentFilter)

Intent filters in the service