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

Service management

Operation Description
OpenCdnService Activates the CDN service. Before you manage domains in CDN, you must activate the CDN service.
DescribeCdnService Queries the status of the CDN service.
ModifyCdnService Changes the billing method for the CDN service.

Domain management

Operation Description
AddCdnDomain Adds a CDN domain.
DescribeUserDomains Queries all CDN domains and their statuses under your account.
DescribeCdnDomainDetail Queries the basic information about a specified CDN domain.
ModifyCdnDomain Modifies a specified CDN domain.
StartCdnDomain Enables a specified disabled CDN domain, and sets the corresponding DomainStatus parameter to online.
StopCdnDomain Disables a specified CDN domain.
DeleteCdnDomain Deletes a specified CDN domain.
DescribeDomainsBySource Queries all domain names corresponding to one or more origin servers under your account.

Refresh and preload

Operation Description
RefreshObjectCaches Refreshes the specified file content cached on all CDN nodes.
PushObjectCache Preloads the content from one or more origin servers to all L2 cache nodes in a specified region.
DescribeRefreshTasks Queries the status information for refresh or preload tasks on all CDN nodes.
DescribeRefreshQuota Queries the maximum number and remaining number of URLs and directories for refresh and URLs for preload.

Configurations

Operation Description
DescribeDomainConfigs Queries the configurations of a specified CDN domain.
SetOptimizeConfig Enables or disables the page optimization feature for a specified CDN domain.
SetPageCompressConfig Enables or disables the smart compression feature for a specified CDN domain.
SetIgnoreQueryStringConfig Configures the parameter filtering feature for a specified CDN domain to retain specific parameters from URLs.
SetRangeConfig Enables or disables HTTP range requests for a specified CDN domain.
SetVideoSeekConfig Enables or disables the video seeking feature for a specified CDN domain.
SetSourceHostConfig Specifies an origin host for a specified CDN domain.
SetErrorPageConfig Configures the redirection of 404 error pages for a specified CDN domain.
SetForceRedirectConfig Configures the forced redirection feature for a specified CDN domain.
SetRefererConfig Configures the Referer-based hotlink protection feature for a specified CDN domain.
SetFileCacheExpiredConfig Configures a cache expiration rule of specified files.
SetPathCacheExpiredConfig Configures a cache expiration rule of a specified directory.
ModifyFileCacheExpiredConfig Modifies the cache expiration rule of specified files.
ModifyPathCacheExpiredConfig Modifies the cache expiration rule of a specified directory.
DeleteCacheExpiredConfig Deletes a custom caching policy for a specified CDN domain.
SetReqAuthConfig Configures the access authentication for a specified CDN domain name.
SetHttpHeaderConfig Specifies a custom HTTP header for a specified CDN domain name.
ModifyHttpHeaderConfig Modifies a specified custom HTTP header.
DeleteHttpHeaderConfig Deletes the Referer-based hotlink protection configuration for a specified CDN domain name.
SetDomainServerCertificate Enables the HTTPS Certificate feature and modifies the corresponding HTTP settings, or disables the feature.
SetIpBlackListConfig Configures an IP blacklist for a specified CDN domain.
SetHttpsOptionConfig Enables or disables the HTTP/2 protocol for a specified CDN domain.
BatchDeleteCdnDomainConfig Deletes specified features for one or more CDN domains.
DeleteSpecificConfig Deletes one or more features for a specified CDN domain.
SetDomainGreenManagerConfig Enables or disables the content moderation feature for a specified CDN domain.
SetForwardSchemeConfig Configures the origin protocol policy for a specified CDN domain.
SetHttpErrorPageConfig Configures the URL redirection policy for a specified error page.
SetRemoveQueryStringConfig Configures the parameter filtering feature for a specified CDN domain to remove specific parameters from URLs.
SetCcConfig Configures the protection against HTTP flood attacks, and specifies the IP blacklist and IP whitelist for a specified CDN domain.
SetReqHeaderConfig Customizes a back-to-origin request header for a specified CDN domain.
SetUserGreenManagerConfig Configures the content moderation feature, including the sampling proportion and quota.
SetIpAllowListConfig Configures an IP whitelist for a specified CDN domain.
DescribeUserConfigs Queries the features configured for your account.

Resource monitoring

Operation Description
DescribeDomainBpsData Queries bandwidth metrics for one or more CDN domains.
DescribeDomainFlowData Queries data transfer metrics for one or more CDN domains.
DescribeDomainSrcBpsData Queries back-to-origin bandwidth metrics for one or more CDN domains.
DescribeDomainSrcFlowData Queries back-to-origin data transfer metrics for one or more CDN domains.
DescribeDomainHitRateData Queries the byte hit rate for one or all CDN domains under your account.
DescribeDomainReqHitRateData Queries the request hit rate for one or all CDN domains under your account.
DescribeDomainHttpCodeData Queries the HTTP status code proportion metrics collected at the minimum intervals of five minutes for one or more CDN domains.
DescribeDomainsUsageByDay Queries the metrics collected on a daily basis for one or all CDN domains under your account.
DescribeTopDomainsByFlow Queries the CDN domain names ranked by network traffic under your account.
DescribeDomainPvData Queries page view (PV) statistics collected at the minimum intervals of one hour for one or all CDN domains under your account.
DescribeDomainUvData Queries unique visitor (UV) statistics collected at the minimum intervals of one hour for one or all CDN domains under your account.
DescribeDomainRegionData Queries the statistics of visits by region collected on a daily basis for one or all CDN domains under your account.
DescribeDomainISPData Queries the statistics of visits by Internet service providers (ISPs) collected on a daily basis for one or all CDN domains under your account.
DescribeDomainTopUrlVisit Queries frequently referenced URLs within the specified 24 hours for one or all CDN domains under your account.
DescribeDomainFileSizeProportionData Queries the file size proportion statistics collected at the minimum intervals of one hour for one or all CDN domains under your account.
DescribeCdnRegionAndIsp Queries regions and ISPs for the CDN service.
DescribeDomainBpsDataByTimeStamp Queries time-specific bandwidth data collected according to different regions and ISPs for a specified CDN domain.
DescribeDomainMax95BpsData Queries the 95th percentile bandwidth metrics of one or more CDN domains.
DescribeDomainPathData Queries the traffic and visits metrics collected at five-minute intervals for one or all directories of a specified CDN domain. This operation is only available to users in an IP whitelist.
DescribeL2VipsByDomain Queries the IP addresses of VIP users on L2 cache nodes for a specified CDN domain.
DescribeRangeDataByLocateAndIspService Queries time range-specific bandwidth data collected according to different regions and ISPs for a specified CDN domain.
DescribeDomainRealTimeBpsData Queries the bandwidth statistics collected at one-minute intervals for one or more CDN domains.
DescribeDomainRealTimeByteHitRateData Queries the byte hit rate statistics collected at one-minute intervals for a specified CDN domain.
DescribeDomainRealTimeQpsData Queries the queries per second (QPS) statistics collected at one-minute intervals for a specified CDN domain.
DescribeDomainRealTimeReqHitRateData Queries the request hit rate statistics collected at one-minute intervals for a specified CDN domain.
DescribeDomainTopReferVisit Queries frequently referenced URLs ranked within the specified 24 hours for one or all CDN domains under your account.
DescribeDomainQpsData Queries QPS statistics collected in a specified time range for one or all CDN domains under your account.

Dynamic Route for CDN

Operation Description
SetDynamicConfig Configures a caching policy for a specified Dynamic Route for CDN (DCDN) domain.

Logs

Operation Description
DescribeCdnDomainLogs Queries the raw access log information for a specific CDN domain, including the corresponding log path.
DescribeCustomLogConfig Queries the custom log configuration according to the specified ConfigId parameter.
DescribeDomainCustomLogConfig Queries the custom log configuration of a specified CDN domain.
DescribeUserCustomLogConfig Queries all custom log configurations under your account.
ListDomainsByLogConfigId Queries all CDN domains associated with a custom log configuration.
ModifyDomainCustomLogConfig Modifies the custom log configuration for a specified CDN domain.
ModifyUserCustomLogConfig Modifies all custom log configurations under your account.

Tools

Operation Description
DescribeIpInfo Checks whether the specified IP address is the IP address assigned to an Alibaba Cloud CDN node.