Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Install app on a lease

Installs an Android app (APK) on an ANDROID lease.

Installs an Android app (APK) on an ANDROID lease.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease:installApp
  • Scope sandboxes:exec
  • Effect write — a successful call changes state.
  • Collection leases

#Request

FieldTypeWhat it is
namestringThe name of the lease. Required.
apk_pathstringThe APK's path in the lease (write it with WriteLeaseFile first). Required.
grant_permissionsboolGrant every runtime permission the app declares.

#Response

FieldTypeWhat it is
package_namestringThe installed package name.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease:installApp" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"apk_path":"…"}'