API Reference
/- Cloud Phones
- Local API
/
Get File Upload Status
Poll the status of a file upload to a Cloud Phone.
- Values:
0uploading,1succeeded,2failed. - Empty result: when the
fileIdcannot be found the call still succeeds butdatais null. Treat that as “not visible yet or no longer present”, not as a failure. - Cost: the lookup scans the device file list; poll at a modest interval.
- Surface note: same implementation as
/cloudphone/uploadFileResulton the Open API.
- MoreLogin Local endpointhttp://127.0.0.1:40000/api/cloudphone/upload/file/result
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/upload/file/result \
-H 'Content-Type: application/json' \
-d '{
"id": "1666625111121936",
"fileId": "10069434"
}'Response
{ "code": 0, "msg": null, "data": { "id": "1666625111121936", "fileId": "10069435", "status": 0 }, "requestId": "e5d69c5e2d364106a0715dab1d9a03d3" }