Query Domain Name Speed Limit
Last Updated:2020-09-17
This interface is used to query the domain name speed limit.(Single link speed limit).
Method | Path | Description |
---|---|---|
GET | /v2/domain/{domain}/config?trafficLimit | Query rate limit for single link query |
domain: Need to query the accelerated domain name of CDN.
Response body
Parameter | Optional | Type |
---|---|---|
trafficLimit | Required | trafficLimit |
The trafficLimit type is the same as setting the domain name speed limit documentation.
Response example
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 26 Jul 2016 05:02:53 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Content-Length: 142
{
"trafficLimit":{
"enable":true,
"limitRate":10485760,
"limitStartHour":10,
"limitEndHour":19,
"limitRateAfter":0,
"trafficLimitArg":"rate",
"trafficLimitUnit":"m"
}
}