Skip to content

Lấy URL tải lên tệp

Request

Tải lên các tệp tạm thời thông qua giao diện này, và hệ thống sẽ tự động xóa chúng sau 7 ngày.

Bodyapplication/json
idinteger

ID điện thoại đám mây

fileNamestring

Tên tệp tải lên

POST
/cloudphone/uploadUrl
curl -i -X POST \
  /cloudphone/uploadUrl \
  -H 'Content-Type: application/json' \
  -d '{
    "fileName": "example.jpg",
    "id": 0
  }'

Responses

Headers
any
Bodyapplication/json
codeintegerrequired

Mã trả về 0: Bình thường. Các mã khác là ngoại lệ.

msgstringrequired

thông báo lỗi

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