REST Resource: edits.apks

  • The Apk resource provides information about an APK, including its version code and binary payload details.

  • ApkBinary represents the binary payload of an APK with SHA1 and SHA256 hashes for integrity verification.

  • Developers can manage APKs using methods to upload, list, or add externally hosted APKs.

Resource: Apk

Information about an APK. The resource for ApksService.

JSON representation
{
  "versionCode": integer,
  "binary": {
    object (ApkBinary)
  }
}
Fields
versionCode

integer

The version code of the APK, as specified in the manifest file.

binary

object (ApkBinary)

Information about the binary payload of this APK.

ApkBinary

Represents the binary payload of an APK.

JSON representation
{
  "sha1": string,
  "sha256": string
}
Fields
sha1

string

A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.

sha256

string

A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command.

Methods

addexternallyhosted

Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL.

list

Lists all current APKs of the app and edit.

upload

Uploads an APK and adds to the current edit.