API Reference
/- Cloud Phones
- Open API
/
Get File Download Result
Poll the status of a file download from a Cloud Phone.
- Preconditions: the phone must be powered on and not held by another member. Pass the
downIdreturned by the download request. - Values: a different scale from uploads —
10running,20succeeded,30failed,40cancelled.downUrlis only populated once the download has succeeded. - Note: “file does not exist” is reported by the download request itself, which scans the parent directory first, not by this endpoint.
Security
Authorization
- MoreLogin open api endpointhttps://api.morelogin.com/cloudphone/download/result
curl -i -X POST \
https://api.morelogin.com/cloudphone/download/result \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"downId": "1661515884160999",
"id": "1661515884160372"
}'Response
{ "code": 0, "msg": null, "data": { "status": 20, "downId": "1661515884160999", "downUrl": "https://get.morelogin.com/..." }, "requestId": "17d9dbfd958e4f40a51897520138d3ff" }