Install / Uninstall Apps
FreshInstall Application
URL: https://openapi.geelark.com/open/v1/app/installMethod: POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| envId | Yes | string | Cloud phone ID |
| appVersionId | Yes | string | App version ID (from available apps list) |
Start Application
URL: https://openapi.geelark.com/open/v1/app/startMethod: POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| envId | Yes | string | Cloud phone ID |
| packageName | Yes | string | App package name |
Stop Application
URL: https://openapi.geelark.com/open/v1/app/stopMethod: POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| envId | Yes | string | Cloud phone ID |
| packageName | Yes | string | App package name |
Uninstall Application
URL: https://openapi.geelark.com/open/v1/app/uninstallMethod: POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| envId | Yes | string | Cloud phone ID |
| appVersionId | No | string | App version ID |
| packageName | No | string | Package name (alternative to appVersionId) |
Upload Application
URL: https://openapi.geelark.com/open/v1/app/uploadMethod: POST
Upload a custom APK file.
| Parameter | Required | Type | Description |
|---|---|---|---|
| fileUrl | Yes | string | APK file URL |
| fileName | Yes | string | File name |
Query Upload Status
URL: https://openapi.geelark.com/open/v1/app/upload/status
| Parameter | Required | Type | Description |
|---|---|---|---|
| taskId | Yes | string | Upload task ID |
Error Codes
| Code | Description |
|---|---|
| 42001 | Cloud phone does not exist |
| 42002 | Cloud phone is not running |
| 42003 | App is being installed |
| 42004 | Installing lower version not allowed |
| 42005 | App is not installed |
| 42006 | App does not exist |