API Reference
/- Cloud Phones
- Local API
- Restart App
Install app on cloud phone
List Available Apps
List Team Apps
Delete Team App
Update Team App Installation Scope
Enable Team App Preinstallation
Update Team App Installation Policy
Update Team App ROOT Setting
Update Team App Target Version
Update Team App Configuration
Operate Team App in Batch
List Installed Apps
Launch App
Stop App
Uninstall App
Enable app ROOT
Configure App Accessibility Hiding
Restart App
Restart an app on a Cloud Phone.
- Preconditions: the phone must be powered on and not held by another member. Whether the app is installed is not checked — a package that is absent simply does nothing.
- Completion: the response confirms the command was dispatched to the service, not that the app restarted. Confirm with
/cloudphone/app/installedListor by observing the device.
- MoreLogin Local endpointhttp://127.0.0.1:40000/api/cloudphone/app/restart
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/app/restart \
-H 'Content-Type: application/json' \
-d '{
"id": "0",
"packageName": ""
}'Response
{ "code": 0, "msg": null, "data": true, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }