This topic describes the differences between the earlier and latest CDN API versions.
For more information, see List of operations by function.
For more information about the earlier version of the Alibaba Cloud CDN API, see List of operations by function.
Note The earlier version of the Alibaba Cloud CDN API is no longer maintained. We recommend
that you use the latest version of the Alibaba Cloud CDN API.
Changes to the opertaions
Operation name (earlier version) | Details of change |
---|---|
DescribeDomainFlowData | Changed to DescribeDomainTrafficData. |
|
|
AddCdnDomain | The following parameters are removed:
|
ModifyCdnDomain |
|
DescribeCdnDomainDetail |
|
DescribeDomainBpsData |
|
DescribeCdnDomainLogs |
|
DeleteSpecificConfig | The FunctionName parameter is removed. |
DescribeDomainAverageResponseTime | The time format is changed from YYYY-MM-DDThh:mmZ to yyyy-MM-ddTHH:mm:ssZ. |
DescribeUserDomains |
|
DescribeDomainRegionData |
|
DescribeExtensiveDomainData |
|
DescribeDomainBpsDataByTimeStam | The time format is changed from YYYY-MM-DDThh:mmZ to yyyy-MM-ddTHH:mm:ssZ. |
|
|
|
|
|
The DomainName request parameter is changed from optional to required. |
DescribeDomainHttpsData |
|
|
The parameter value is changed from On/Off to on/off. |
SetFileCacheExpiredConfig | The Weight parameter is removed. |
SetIpBlackListConfig | You can no longer leave parameters empty. |
DeleteCacheExpiredConfig | The required parameter CacheType is removed. |
{
"RequestId": "1805F349-0A2B-41D9-B4AD-33632AFC27F1",
"DomainLogModel": {
"DomainName": "example.com",
"DomainLogDetails": {
"DomainLogDetail": [
{
"EndTime": "2015-05-23T04:00:00Z",
"LogName": "example.com_2015_05_23_1100_1200.gz",
"LogPath": "cdnlog.cn-hangzhou.oss.aliyun-inc.com/example.com/2015_05_23/example.com_2015_05_23_1100_1200.gz? OSSAccessKeyId\u003d3xmgf7Jhexxxxxx\u0026Expires\u003d143253xxxx\u0026Signature\u003d7Ly4ccKN3afzAGYyWDbxBcOxxxxx",
"LogSize": 257,
"StartTime": "2015-05-23T03:00:00Z"
}
]
}
},
"PageNumber": 1,
"TotalCount": 3,
"PageSize": 100
}
--------->
{
"RequestId": "077D0284-F041-4A41-A932-B48377FDAA25",
"DomainLogDetails": {
"DomainLogDetail": [
{
"LogInfos": {
"LogInfoDetail": [
{
"LogName": "test1.test.com_2018_03_25_180000_190000.gz",
"LogPath": "cdnlog2.aliyuncs.com/test1.test.com/2018_03_25/test1.test.com_2018_03_25_180000_190000.gz? Expires=1522659xxx&OSSAccessKeyId=test&Signature=suZFyJHoD3RzZqK%2Bcu6P4Vaxxxx",
"EndTime": "1521975600",
"StartTime": "1521972000",
"LogSize": 2645401
}
]
},
"LogCount": 20,
"PageInfos": {
"PageNumber": 1,
"PageSize": 20,
"Total": 20
},
"DomainName": "test1.test.com"
}
]
}
}
Operations remain unchanged
The following list shows the operations that remain unchanged:
- StartCdnDomain
- StopCdnDomain
- DeleteCdnDomain
- PushObjectCache
- RefreshObjectCaches
- PreloadObjectCaches
- PurgeObjectCaches
- OpenCdnService
- ModifyCdnService
- BlockObjectCaches
- DescribeUserConfigs
- DescribeCdnService
- DescribeCdnTypes
- SetDomainServerCertificate
- DescribeDomainCertificateInfo
- BatchDeleteCdnDomainConfig
- BatchStartCdnDomain
- BatchStopCdnDomain
- SetRangeConfig
- SetUserAgentAcessRestriction
- BatchSetCdnDomainConfig
- SetL2OssKeyConfig
- SetForwardSchemeConfig
- SetPathCacheExpiredConfig
- SetForceRedirectConfig
- SetReqAuthConfig
- SetErrorPageConfig
- SetIpAllowListConfig
- SetDomainGreenManagerConfig
- SetHttpErrorPageConfig
- SetCcConfig
- SetHttpsOptionConfig
- SetSourceHostConfig
- SetRemoteReqAuthConfig
- SetUserGreenManagerConfig
- SetHttpHeaderConfig
- SetRefererConfig
- SetReqHeaderConfig
- ModifyFileCacheExpiredConfig
- ModifyPathCacheExpiredConfig
- ModifyHttpHeaderConfig
- DeleteHttpHeaderConfig
Newly added operations
The following list shows the new operations supported by the latest Alibaba Cloud CDN API:
- DescribeDomainSrcHttpCodeData
- DescribeDomainAverageResponseTime
- DescribeDomainRealTimeSrcBpsData
- DescribeDomainRealTimeSrcHttpCodeData
- DescribeDomainRealTimeSrcTrafficData
- DescribeDomainRealTimeHttpCodeData
- DescribeDomainRealTimeTrafficData
- DescribeDomainSrcTrafficData
- DescribeDomainTrafficData
- BatchAddCdnDomain
- BatchStartCdnDomain
- BatchStopCdnDomain
- BatchSetCdnDomainConfig
- DescribeCdnCertificateList
- DescribeDomainCertificateInfo
- DescribeCdnDomainConfigs
- DescribeUserVipsByDomain
- DescribeCdnHttpsDomainList
- CreateRealtimeLogDelivery
- DeleteRealtimeLogDelivery
- DescribeDomainRealtimeLogDelivery
- DescribeRealtimeDeliveryAcc
- DisableRealtimeLogDelivery
- EnableRealtimeLogDelivery
- ListRealtimeLogDeliveryDomains
- ModifyRealtimeLogDelivery
- ListRealtimeLogDeliveryInfos
- ListUserCustomLogConfig
- DescribeCdnUserResourcePackage
- DescribeCdnUserResourcePackage
- DescribeUserUsageDataExportTask
- CreateUserUsageDataExportTask
- CreateUsageDetailDataExportTask
- DescribeUserUsageDetailDataExportTask
- DescribeUserUsageDetailDataExportTask
- DescribeTagResources
- DescribeUserTags
- TagResources
- UntagResources