Multi Click
Interface Address:
text
/papi/container/input/multiClickRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID; see API Rules |
| X-Signature | string | Yes | Base64-encoded HMAC-SHA256 signature |
| X-Timestamp | string | Yes | Unix timestamp in milliseconds (13 digits) |
| X-Nonce | string | Yes | Random string of 10–32 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ctrId | string | Yes | Cloud phone ID |
| x | integer | Yes | Tap X coordinate in pixels, ≥ 0 |
| y | integer | Yes | Tap Y coordinate in pixels, ≥ 0 |
| times | integer | No | Number of taps, 1–100; defaults to 2 |
| interval | integer | No | Interval in milliseconds, 0–10000; defaults to 100 |
Request Example:
json
{
"ctrId": "1820d3f652769ea325b3424b5b5c8da2d6d13451ee7b5b658ca6a71063bc73ed",
"x": 300,
"y": 300,
"times": 2,
"interval": 100
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code; see Error Codes |
| data | object | Operation result |
| ├─ success | boolean | Whether the operation succeeded |
| ├─ taskId | string | Operation task ID |
| ├─ data | object | Additional 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": ""
}