Query the Access ua Control
Last Updated:2020-09-17
Query domain name access ua control interface.
| Method | Path | Description |
|---|---|---|
| GET | /v2/domain/{domain}/config?uaAcl | Query ua access configuration |
domain:Modify the configured CDN acceleration domain name.
Request body
NULL
Response body
| Parameter | Optional | Type | Description |
|---|---|---|---|
| uaAcl | Required | uaAcl | Access IP configuration rules |
The uaAcl types are as follows:
| Parameter | Optional | Type | Description |
|---|---|---|---|
| blackList | Optional | list |
ua blacklist, the length of a single ua is 1-200 characters. |
| whiteList | Optional | list |
ua whitelist, the length of a single ua is 1-200 characters. |
blackList and whiteList cannot exist at the same time. Can’t be none.
Response code (Http Status Code)
| HTTP Status Code | Description |
|---|---|
| 200 | Success |
| 400 | Update failures, parameter errors, etc. |
Response example
{
"uaAcl": {
"whiteList": [
"MQQBrowser\/5.3\/Mozilla\/5.0",
"Mozilla\/5.0 (Linux; Android 7.0"
]
}
} 