The overseas CDN (Content Delivery Network) delivers origin server content to the acceleration nodes all over the world, shortening the delay for users to view the content, improving the response speed and website availability for users to access the website and solving the problems of small network bandwidth, large user visits and uneven outlet distribution. You can flexibly operate the CDN service through the Restful API interface provided in this documentation.
If it is the first time for you to call APIs of Baidu AI Cloud products, you may watch the API Getting Started Video Guide to quickly possess the method to call API.
CDN APIProvide the following interface types
|Interface type||Contain interface description|
|Domain Name Operation Interface||The domain name operation interface supports the following operations:：
Query domain name lists. Create, enable, disable and delete accelerated domain names.
|Domain Name Configuration Interface||The operations supported by the domain name configuration interface includes：
Query details of the accelerated domain name, update the origin address of the accelerated domain name, query and set SEO switch property, query and set cache expiration rules,
cached parameter filtration rules, Referer access control, IP access control, rate limit, HTTPS acceleration, access authentication and protocol follow origin feature settings.
|Statistics Interface||The statistics interface includes the following query data:
pv/qps, bandwidth & traffic, origin traffic, byte hit rate, status code statistics, TopN data query, domain name uv requests and average rate record.
|Cache Management Interface||The cache management interface supports the following operations:
Purge cache, query purge status, preload cache, query preloading status, and query user’s current quota.
|Dynamic Acceleration Interface||The dynamic acceleration interface supports the following operations:：
Enable or disable the dynamic acceleration service, query the list of dynamic acceleration domain name and configure the rules for dynamic acceleration of domain name.
|Log Interface||This interface is used to get the log download address of a certain domain name within a specified time period.|
|Tool Interface||This interface contains IP detection, and is used to verify whether the designated IP belongs to CDN service node of Baidu Kaifang Cloud.|
- domain: The domain name accelerated by the user.
- cache: Data objects cached under domain.
- origin: CDN origin server.