百度智能云

All Product Document

          CDN

          Query IP Access Frequency Limit

          This interface is used to query settings of “IP access limit "

          Method Path Description
          GET /v2/domain/{domain}/config?accessLimit Query the settings of “IP access limit”

          domain: CDN accelerated domain name

          Response body

          Parameter Type Description
          accessLimit AccessLimit Control IP access limit

          Response code (Http Status Code)

          HTTP Status Code Description
          200 Success

          Request example

          GET /v2/domain/myself.baidu.com/config?accessLimit HTTP/1.1 
          Host: cdn.baidubce.com 
          Content-Type: application/json

          Response example

          HTTP/1.1 200 OK 
          Content-Type: application/json; charset=utf-8 
          Transfer-Encoding: chunked 
          
          { 
              "accessLimit":{ 
                  "enabled":true, 
                  "limit":200 
              } 
          } 
          Previous
          Set the IP Access Frequency Limit
          Next
          Set the Access Referer Control