API

ProjectAndroidApk

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/android_apks create Pinned Android configuration

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.ProjectAndroidApk(nil).Create(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:ProjectAndroidApk():create({ organization_id = "example", project_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->ProjectAndroidApk()->create(["organization_id" => "example", "project_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.ProjectAndroidApk().create({ "organization_id": "example", "project_id": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.ProjectAndroidApk.create({ "organization_id" => "example", "project_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.ProjectAndroidApk().create({ organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
android object No Android
artifact_paths array No Artifact Paths
description string Yes Description
image string Yes Image
ios object No Ios
launch_command string No Launch Command
managed_binary object No Managed Binary
platform string No Platform
provider string No Provider
setup_command string No Setup Command

create

POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/android_apks

Operation ID: api_v1_verification_project_android_apks.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes

Request body

application/json

The request body is object.

multipart/form-data

Property Type Required Description
apk string (binary) Yes

Responses

200: Pinned Android configuration

application/json

Property Type Required Description
android object No
android.apk_id string Yes
android.sha256 string Yes
artifact_paths array of string No
description string Yes
image string Yes
ios object No
ios.app_id string Yes
ios.sha256 string Yes
launch_command string No
managed_binary object No
managed_binary.arch any Yes
managed_binary.base_image string Yes
managed_binary.configuration_digest string Yes
managed_binary.executable string Yes
managed_binary.format enum: deb, tar.gz Yes
managed_binary.image_content_digest string,null Yes
managed_binary.image_reference string Yes
managed_binary.installer_version any Yes
managed_binary.launch_args array of string Yes
managed_binary.max_entries any Yes
managed_binary.max_expanded_bytes any Yes
managed_binary.package_sha256 string Yes
managed_binary.package_size integer Yes
managed_binary.platform any Yes
managed_binary.preparation_id string Yes
managed_binary.readiness_timeout_seconds any Yes
managed_binary.schema_version any Yes
managed_binary.strategy enum: prepared_image, startup_extract Yes
managed_binary.version_id string Yes
managed_binary.window_title string Yes
platform enum: linux, macos No
provider enum: blaxel, namespace No
setup_command string No
201: Pinned Android configuration for a new environment

application/json

Property Type Required Description
android object No
android.apk_id string Yes
android.sha256 string Yes
artifact_paths array of string No
description string Yes
image string Yes
ios object No
ios.app_id string Yes
ios.sha256 string Yes
launch_command string No
managed_binary object No
managed_binary.arch any Yes
managed_binary.base_image string Yes
managed_binary.configuration_digest string Yes
managed_binary.executable string Yes
managed_binary.format enum: deb, tar.gz Yes
managed_binary.image_content_digest string,null Yes
managed_binary.image_reference string Yes
managed_binary.installer_version any Yes
managed_binary.launch_args array of string Yes
managed_binary.max_entries any Yes
managed_binary.max_expanded_bytes any Yes
managed_binary.package_sha256 string Yes
managed_binary.package_size integer Yes
managed_binary.platform any Yes
managed_binary.preparation_id string Yes
managed_binary.readiness_timeout_seconds any Yes
managed_binary.schema_version any Yes
managed_binary.strategy enum: prepared_image, startup_extract Yes
managed_binary.version_id string Yes
managed_binary.window_title string Yes
platform enum: linux, macos No
provider enum: blaxel, namespace No
setup_command string No
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway