Install an app from the team app library onto a Cloud Phone.
- Preconditions: the phone must be powered on and not held by another member. The app must already exist in the team library or the public catalogue — identify it either by
appVersionId, or bypackageNameplusversionCode. The app must also be available for installation on this phone, otherwise installation fails. - Rate limit: at most one install per phone per second; a faster second call is rejected.
- Completion: accepted, not complete. The response only confirms the request was queued. Poll
/cloudphone/app/installedListto see whether the app arrived. - Retry: safe to retry after checking the installed list, subject to the one-per-second limit.
Documented business errors: 33005, 33014, 33714. See Error Codes for what each code means. Any operation can additionally return the common codes.
- MoreLogin Local endpointhttp://127.0.0.1:40000/api/cloudphone/app/install
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/app/install \
-H 'Content-Type: application/json' \
-d '{
"appVersionId": "1672940217990530",
"id": "1673823102599682"
}'Response
{ "code": 0, "msg": null, "data": true, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }