API Reference
/- Cloud Phones
- Open API
- Request File Download URL
Request File Upload URL
Upload File
Get File Upload Result
Get File Download Result
Configure Keybox
Request File Download URL
Download a file from a Cloud Phone.
- Preconditions: the phone must be powered on and not held by another member.
- Effect: the service scans the parent directory first and only then starts the transfer, so a missing path fails here rather than on the status poll. It must match a regular file, not a directory.
- Completion: accepted, not complete. The response returns
downId; poll/cloudphone/download/resultuntil the status is succeeded, failed or cancelled. The status endpoint re-checks that the phone is still powered on and still yours. - Retry: not idempotent — each call rescans and issues a new
downId.
Documented business errors: 33300, 33301, 33507. See Error Codes for what each code means. Any operation can additionally return the common codes.
Security
Authorization
- MoreLogin open api endpointhttps://api.morelogin.com/cloudphone/download
curl -i -X POST \
https://api.morelogin.com/cloudphone/download \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filePath": "/sdcard/Download/report.csv",
"id": "1661515884160372"
}'Response
{ "code": 0, "msg": "", "data": { "id": "1661515884160372", "downId": "1661515884160999" }, "requestId": "7dcf166a597842139af5ce12d25fe0f8" }