The following tables list API operations available for use in Alibaba Cloud Content Delivery Network (CDN).

Service management

API operation 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 your Alibaba Cloud 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 Alibaba Cloud CDN.

Domain name management

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

Refresh and prefetch tasks

API operation Description
RefreshObjectCaches Refreshes files on CDN nodes.
PushObjectCache Prefetches content from one or more origin servers to all L2 CDN nodes in a specified accelerated region.
DescribeRefreshTasks Queries the status of refresh or prefetch tasks that belong to an accelerated domain name.
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 operation Description
SetOptimizeConfig Enables or disables the HTML optimization feature for an accelerated domain name.
SetPageCompressConfig Configures the intelligent compression feature for an accelerated domain name.
SetIgnoreQueryStringConfig Configures the parameter filtering feature for an accelerated domain name.
SetSourceHostConfig Specifies an origin host for an accelerated domain name.
SetForceRedirectConfig Configures the URL redirect feature for an accelerated domain name.
SetRefererConfig Configures the referer-based hotlink protection feature for an accelerated domain name.
SetPathCacheExpiredConfig Configures a cache expiration rule for a specified directory.
DeleteCacheExpiredConfig Deletes a custom caching policy.
SetReqAuthConfig Configures the authentication feature for an accelerated domain name.
SetHttpHeaderConfig Specifies a custom HTTP header 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.
SetCcConfig Configures protection against HTTP flood attacks, and configures an IP blacklist and an IP whitelist for an accelerated domain name.
SetReqHeaderConfig Customizes a header for requests before they are redirected to the origin server for an accelerated domain name.

Resource monitoring

API operation Description
DescribeDomainBpsData Queries bandwidth monitoring data for one or more accelerated domain names.
DescribeDomainFlowData Queries traffic monitoring data for one or more accelerated domain names.
DescribeDomainSrcBpsData Queries bandwidth monitoring data of requests that are redirected to origin servers for one or more accelerated domain names.
DescribeDomainSrcFlowData Queries traffic monitoring data of requests that are redirected to origin servers for one or more accelerated domain names.
DescribeDomainHitRateData Queries the byte hit ratio that is measured in percentage.
DescribeDomainReqHitRateData Queries the request hit ratio that is measured in percentage.
DescribeDomainHttpCodeData Queries the total number and proportions of HTTP status codes returned from an accelerated domain name. The data is collected every 5 minutes.
DescribeDomainsUsageByDay Queries the monitoring data of an accelerated domain name. The data is collected every 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 is collected every hour.
DescribeDomainUvData Queries the page view (PV) data of an accelerated domain name. The data is collected every hour.
DescribeDomainRegionData Queries the visitor data classified by region for one or more accelerated domain names. The data is collected every day.
DescribeDomainISPData Queries the proportions of data usage of different Internet service providers (ISPs). The data is collected every day.
DescribeDomainTopUrlVisit Queries frequently requested URLs of an accelerated domain name on a specified day.
DescribeDomainFileSizeProportionData Queries the proportions of file sizes. The data is collected every 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 values of one or more accelerated domain names.
DescribeDomainPathData Queries monitoring data of network traffic and visits for an accelerated domain name. The data is collected every 5 minutes. 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 that is collected every minute.
DescribeDomainQpsData Queries the number of queries per second for one or more accelerated domain names.

Log management

API operation Description
DescribeCdnDomainLogs Queries the address where you can download the raw access log data of a specific domain name.

Auxiliary tools

API operation Description
DescribeIpInfo Checks whether a specified IP address belongs to a CDN node.