Baidu AI Cloud
中国站

百度智能云

CDN

Query the Access ua Control

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" 
        ] 
    } 
} 
Previous
Set the Access ua Control
Next
Set the Access Authorization