Upload Qrcode Image
Upload a QR code image to the specified cloud phone container.
Interface Address:
text
/papi/container/operate/uploadQrcodeImageRequest Method:
text
POSTContent-Type:
text
multipart/form-dataHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID, see API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10–32 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrId | string | Yes | Container ID |
| file | binary | Yes | QR code image file |
Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Container operation result |
| ├─ success | boolean | Whether the operation succeeded |
| ├─ taskId | string | Operation task ID |
| ├─ data | object | Operation data |
| ├─ msg | string | Operation message |
| ├─ ctrId | string | Container ID |
| ├─ ctrAlias | string | Container alias |
| ├─ ctrSlot | integer | Cloud phone slot |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"success": false,
"taskId": "",
"data": {},
"msg": "",
"ctrId": "",
"ctrAlias": "",
"ctrSlot": 0
},
"msg": ""
}