The following tables list API operations available for use in Alibaba Cloud Content Delivery Network (CDN). For more information, see OpenAPI Explorer.

Service management

API Description
OpenCdnService Activates Alibaba Cloud CDN. You must activate Alibaba Cloud CDN before you can manage domain names in Alibaba Cloud CDN.
DescribeCdnService Queries the status of the CDN service. The status information includes the current billing method, the service activation time, the next effective billing method, and the current service status.
ModifyCdnService Changes the billing method of the CDN service.

Domain management

API Description
AddCdnDomain Adds a domain name to Alibaba Cloud CDN as an accelerated domain name.
DescribeUserDomains Queries all accelerated domain names under your account and their status.
DescribeCdnDomainDetail Queries the basic information about an accelerated domain name.
ModifyCdnDomain Modifies an accelerated domain name.
StartCdnDomain Enables Alibaba Cloud CDN for an accelerated domain name. After Alibaba Cloud CDN is enabled for the accelerated domain name, the value of the DomainStatus parameter is changed to Online.
StopCdnDomain Disables Alibaba Cloud CDN for an accelerated domain name.
DeleteCdnDomain Removes a domain name from Alibaba Cloud CDN.
DescribeDomainsBySource Queries all domain names corresponding to one or more origins under your account.

Refresh and prefetch tasks

API Description
RefreshObjectCaches Refreshes files on CDN nodes.
PushObjectCache Prefetches content from one or more origin servers to all L2 CDN nodes in a specific region.
DescribeRefreshTasks Queries the status of refresh or prefetch tasks.
DescribeRefreshQuota Queries the maximum and remaining numbers of URLs and directories for object refreshing, and the maximum and remaining numbers of URLs for object prefetching.

Configuration management

API Description
DescribeDomainConfigs Queries the configurations of an accelerated domain name.
SetOptimizeConfig Enables or disables the page optimization feature for an accelerated domain name.
SetPageCompressConfig Configures the smart compression feature for an accelerated domain name.
SetIgnoreQueryStringConfig Configures the parameter filtering feature for an accelerated domain name.
SetRangeConfig Configures the object chunking feature for an accelerated domain name.
SetVideoSeekConfig Configures the video seeking feature for an accelerated domain name.
SetSourceHostConfig Specifies an origin host for an accelerated domain name.
SetForceRedirectConfig Configures the force redirect feature for an accelerated domain name.
SetRefererConfig Configures the Referer-based hotlink protection feature for an accelerated domain name.
SetFileCacheExpiredConfig Configures a cache expiration rule for specific files.
SetPathCacheExpiredConfig Configures a cache expiration rule for a specific directory.
DeleteCacheExpiredConfig Deletes a custom cache policy.
SetReqAuthConfig Configures the access authentication feature for an accelerated domain name.
SetHttpHeaderConfig Specifies a custom HTTP header for an accelerated domain name.
DeleteHttpHeaderConfig Deletes the configuration of Referer-based hotlink protection for an accelerated domain name.
SetDomainServerCertificate Configures an SSL certificate for an accelerated domain name.
SetIpBlackListConfig Configures an IP blacklist for an accelerated domain name.
SetHttpsOptionConfig Enables or disables the HTTP/2 protocol for an accelerated domain name.
BatchDeleteCdnDomainConfig Deletes specified features for one or more accelerated domain names.
DeleteSpecificConfig Deletes specific configurations of an accelerated domain name.
SetForwardSchemeConfig Configures the origin protocol policy for an accelerated domain name.
SetRemoveQueryStringConfig Configures the parameter filtering feature for an accelerated domain name.
SetCcConfig Configures the protection against HTTP flood attacks, and specifies the IP blacklist and IP whitelist for an accelerated domain name.
SetReqHeaderConfig Customizes a back-to-origin request header for an accelerated domain name.
SetIpAllowListConfig Configures an IP whitelist for an accelerated domain name.
DescribeUserConfigs Queries the features configured under your account.

Resource monitoring

API Description
DescribeDomainBpsData Queries bandwidth metrics for one or more accelerated domain names.
DescribeDomainFlowData Queries data transfer metrics for one or more accelerated domain names.
DescribeDomainSrcBpsData Queries back-to-origin bandwidth metrics for one or more accelerated domain names.
DescribeDomainSrcFlowData Queries back-to-origin data transfer metrics for one or more accelerated domain names.
DescribeDomainHitRateData Queries the byte hit rate that is measured in percentage.
DescribeDomainReqHitRateData Queries the request hit rate that is measured in percentage.
DescribeDomainHttpCodeData Queries the total number and proportions of HTTP status codes returned from an accelerated domain name. The data was collected at an interval of five minutes.
DescribeDomainsUsageByDay Queries the monitoring data of an accelerated domain name. The data was collected at an interval of one day.
DescribeTopDomainsByFlow Queries the top N domain names ranked by network traffic.
DescribeDomainPvData Queries the page view (PV) data of an accelerated domain name. The data was collected at an interval of one hour.
DescribeDomainUvData Queries the page view (PV) data of an accelerated domain name. The data was collected at an interval of one hour.
DescribeDomainRegionData Queries the visitor data classified by region for an accelerated domain name. The data was collected at an interval of one day.
DescribeDomainISPData Queries the proportions of data usage of different Internet service providers (ISPs). The data was collected at an interval of one day.
DescribeDomainTopUrlVisit Queries frequently requested URLs of an accelerated domain name on a specified day.
DescribeDomainFileSizeProportionData Queries the proportions of file sizes. The data was collected at an interval of one hour.
DescribeCdnRegionAndIsp Queries ISPs in each region.
DescribeDomainBpsDataByTimeStamp Queries the bandwidth data at a specified time for an accelerated domain.
DescribeDomainMax95BpsData Queries the 95th percentile bandwidth metrics of one or more accelerated domain names.
DescribeDomainPathData Queries the traffic and visits metrics collected at an interval of five minutes for one or all directories of an accelerated domain name. This operation is available to only selected users.
DescribeL2VipsByDomain Queries the virtual IP addresses of L2 CDN nodes for an accelerated domain name.
DescribeRangeDataByLocateAndIspService Queries the bandwidth data at a specified time for each ISP in different regions.
DescribeDomainRealTimeBpsData Queries the bandwidth data collected at an interval of one minute.
DescribeDomainRealTimeByteHitRateData Queries byte hit rates collected at an interval of one minute for an accelerated domain name.
DescribeDomainRealTimeQpsData Queries the number of queries per second collected at an interval of one minute for an accelerated domain name.
DescribeDomainRealTimeReqHitRateData Queries the request hit rates collected at an interval of one minute for an accelerated domain name.
DescribeDomainTopReferVisit Queries frequently requested web pages on a specified day and sorts the web pages.
DescribeDomainQpsData Queries the number of queries per second of an accelerated domain name.

Dynamic Route for CDN

API Description
SetDynamicConfig Configures a cache policy for a domain name accelerated by Dynamic Route for CDN (DCDN).

Log management

API Description
DescribeCdnDomainLogs Queries the address where the raw access log of an accelerated domain name can be downloaded.
DescribeCustomLogConfig Queries the detailed configuration of logging.
DescribeDomainCustomLogConfig Queries the custom log configuration of an accelerated domain name.
DescribeUserCustomLogConfig Queries all custom log configurations under your account.
ListDomainsByLogConfigId Queries all accelerated domain names associated with a custom log configuration.

Auxiliary tools

API Description
DescribeIpInfo Queries whether a specific IP address is the IP address of an Alibaba Cloud CDN node.