Skip to content

Request File Upload URL

Request

Upload temporary files through this interface, and the system will automatically delete them after 7 days

Security
Authorization
Bodyapplication/json
idinteger

Cloud phone ID

fileNamestring

Upload file name

POST
/cloudphone/uploadUrl
curl -i -X POST \
  https://api.MoreLogin.com/cloudphone/uploadUrl \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fileName": "example.jpg",
    "id": 0
  }'

Responses

Headers
any
Bodyapplication/json
codeintegerrequired

Return result code 0:Normal Other codes are exceptions.

msgstringrequired

error message

dataobjectrequired
requestIdstringrequired
Response
{ "code": 0, "msg": "string", "data": { "presignedUrl": "string" }, "requestId": "string" }