API Reference
/- Cloud Phones
- Open API
/
Get File Upload Result
Poll the status of a file upload to a Cloud Phone.
- Preconditions: the phone must belong to your team. This is the least restricted file endpoint — it does not require the phone to be powered on or claimed by you.
- 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, so it is not cheap. Poll at a modest interval rather than in a tight loop.
Security
Authorization
- MoreLogin open api endpointhttps://api.morelogin.com/cloudphone/uploadFileResult
curl -i -X POST \
https://api.morelogin.com/cloudphone/uploadFileResult \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "1661515884160372",
"fileId": "1661515884160372"
}'Response
{ "code": 0, "msg": null, "data": { "id": "1661515884160372", "fileId": "1661515884160111", "status": 1 }, "requestId": "1d4f3ea968664593860b94b35d4ebf5e" }