diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/cdn | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/cdn')
| -rw-r--r-- | data/zh_cn/cdn/2018-05-10/api-docs.php | 35145 |
1 files changed, 15840 insertions, 19305 deletions
diff --git a/data/zh_cn/cdn/2018-05-10/api-docs.php b/data/zh_cn/cdn/2018-05-10/api-docs.php index f9cf900..5ed353e 100644 --- a/data/zh_cn/cdn/2018-05-10/api-docs.php +++ b/data/zh_cn/cdn/2018-05-10/api-docs.php @@ -1,381 +1,162 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Cdn', - 'version' => '2018-05-10', - ], + 'info' => ['style' => 'RPC', 'product' => 'Cdn', 'version' => '2018-05-10'], 'directories' => [ [ - 'id' => 159131, - 'title' => '域名管理', - 'type' => 'directory', 'children' => [ [ - 'id' => 159132, - 'title' => '添加/删除域名', + 'children' => ['AddCdnDomain', 'BatchAddCdnDomain', 'DeleteCdnDomain', 'DescribeCdnDeletedDomains'], 'type' => 'directory', - 'children' => [ - 'AddCdnDomain', - 'BatchAddCdnDomain', - 'DeleteCdnDomain', - 'DescribeCdnDeletedDomains', - ], + 'title' => '添加/删除域名', + 'id' => 18147, ], [ - 'id' => 159137, - 'title' => '域名归属校验', + 'children' => ['VerifyDomainOwner', 'DescribeVerifyContent', 'DescribeDomainVerifyData'], 'type' => 'directory', - 'children' => [ - 'VerifyDomainOwner', - 'DescribeVerifyContent', - 'DescribeDomainVerifyData', - ], + 'title' => '域名归属校验', + 'id' => 18152, ], [ - 'id' => 159140, - 'title' => '停用/启用加速域名', + 'children' => ['StartCdnDomain', 'BatchStartCdnDomain', 'StopCdnDomain', 'BatchStopCdnDomain'], 'type' => 'directory', - 'children' => [ - 'StartCdnDomain', - 'BatchStartCdnDomain', - 'StopCdnDomain', - 'BatchStopCdnDomain', - ], + 'title' => '停用/启用加速域名', + 'id' => 18156, ], [ - 'id' => 159145, - 'title' => '域名配置', + 'children' => ['DescribeUserDomains', 'DescribeDomainCname', 'DescribeDomainsBySource', 'DescribeCdnUserDomainsByFunc', 'DescribeCdnDomainDetail', 'DescribeCdnDomainConfigs', 'BatchSetCdnDomainConfig', 'BatchDeleteCdnDomainConfig', 'BatchUpdateCdnDomain', 'DeleteSpecificConfig', 'ModifyCdnDomainSchdmByProperty', 'ModifyCdnDomain'], 'type' => 'directory', - 'children' => [ - 'DescribeUserDomains', - 'DescribeDomainCname', - 'DescribeDomainsBySource', - 'DescribeCdnUserDomainsByFunc', - 'DescribeCdnDomainDetail', - 'DescribeCdnDomainConfigs', - 'BatchSetCdnDomainConfig', - 'BatchDeleteCdnDomainConfig', - 'BatchUpdateCdnDomain', - 'DeleteSpecificConfig', - 'ModifyCdnDomainSchdmByProperty', - 'ModifyCdnDomain', - ], - ], - [ - 'id' => 159157, - 'title' => '域名模拟环境配置', - 'type' => 'directory', - 'children' => [ - 'DescribeCdnDomainStagingConfig', - 'SetCdnDomainStagingConfig', - 'RollbackStagingConfig', - 'PublishStagingConfigToProduction', - 'DeleteSpecificStagingConfig', - ], + 'title' => '域名配置', + 'id' => 18161, ], [ - 'id' => 159163, - 'title' => '安全配置', + 'children' => ['DescribeCdnDomainStagingConfig', 'SetCdnDomainStagingConfig', 'RollbackStagingConfig', 'PublishStagingConfigToProduction', 'DeleteSpecificStagingConfig'], 'type' => 'directory', - 'children' => [ - 'SetWaitingRoomConfig', - 'DescribeCdnUserConfigs', - 'DescribeCdnWafDomain', - 'DescribeBlockedRegions', - ], + 'title' => '域名模拟环境配置', + 'id' => 18174, ], ], + 'type' => 'directory', + 'title' => '域名管理', + 'id' => 18146, ], [ - 'id' => 159185, - 'title' => '刷新预热', + 'children' => ['RefreshObjectCacheByCacheTag', 'DescribeRefreshQuota', 'PushObjectCache', 'RefreshObjectCaches', 'DescribeRefreshTasks', 'DescribeRefreshTaskById', 'DescribePreloadDetailById', 'DescribeCdnUserQuota'], 'type' => 'directory', - 'children' => [ - 'RefreshObjectCacheByCacheTag', - 'DescribeRefreshQuota', - 'PushObjectCache', - 'RefreshObjectCaches', - 'DescribeRefreshTasks', - 'DescribeRefreshTaskById', - 'DescribePreloadDetailById', - 'DescribeCdnUserQuota', - ], + 'title' => '刷新预热', + 'id' => 18204, ], [ - 'id' => 159074, - 'title' => '监控查询', - 'type' => 'directory', 'children' => [ [ - 'id' => 159075, - 'title' => '资源监控', - 'type' => 'directory', 'children' => [ [ - 'id' => 171915, - 'title' => '访问数据', + 'children' => ['DescribeDomainPathData', 'DescribeDomainQpsData', 'DescribeDomainQpsDataByLayer', 'DescribeDomainBpsData', 'DescribeDomainBpsDataByLayer', 'DescribeDomainBpsDataByTimeStamp', 'DescribeDomainTrafficData', 'DescribeDomainHttpCodeData', 'DescribeDomainHttpCodeDataByLayer', 'DescribeDomainHitRateData', 'DescribeDomainReqHitRateData', 'DescribeDomainsUsageByDay', 'DescribeDomainDetailDataByLayer', 'DescribeRangeDataByLocateAndIspService'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainPathData', - 'DescribeDomainQpsData', - 'DescribeDomainQpsDataByLayer', - 'DescribeDomainBpsData', - 'DescribeDomainBpsDataByLayer', - 'DescribeDomainBpsDataByTimeStamp', - 'DescribeDomainTrafficData', - 'DescribeDomainHttpCodeData', - 'DescribeDomainHttpCodeDataByLayer', - 'DescribeDomainHitRateData', - 'DescribeDomainReqHitRateData', - 'DescribeDomainsUsageByDay', - 'DescribeDomainDetailDataByLayer', - 'DescribeRangeDataByLocateAndIspService', - ], + 'title' => '访问数据', + 'id' => 18098, ], [ - 'id' => 171916, - 'title' => '回源数据', + 'children' => ['DescribeDomainSrcBpsData', 'DescribeDomainSrcHttpCodeData', 'DescribeDomainSrcTrafficData', 'DescribeDomainSrcQpsData'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainSrcBpsData', - 'DescribeDomainSrcHttpCodeData', - 'DescribeDomainSrcTrafficData', - 'DescribeDomainSrcQpsData', - ], + 'title' => '回源数据', + 'id' => 18113, ], ], + 'type' => 'directory', + 'title' => '资源监控', + 'id' => 18097, ], [ - 'id' => 159094, - 'title' => '实时监控', - 'type' => 'directory', 'children' => [ [ - 'id' => 171917, - 'title' => '访问数据', + 'children' => ['DescribeDomainRealTimeTrafficData', 'DescribeDomainRealTimeBpsData', 'DescribeDomainRealTimeHttpCodeData', 'DescribeDomainRealTimeQpsData', 'DescribeDomainRealTimeReqHitRateData', 'DescribeDomainRealTimeByteHitRateData'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainRealTimeTrafficData', - 'DescribeDomainRealTimeBpsData', - 'DescribeDomainRealTimeHttpCodeData', - 'DescribeDomainRealTimeQpsData', - 'DescribeDomainRealTimeReqHitRateData', - 'DescribeDomainRealTimeByteHitRateData', - ], + 'title' => '访问数据', + 'id' => 18119, ], [ - 'id' => 171918, - 'title' => '回源数据', + 'children' => ['DescribeDomainRealTimeSrcBpsData', 'DescribeDomainRealTimeSrcHttpCodeData', 'DescribeDomainRealTimeSrcTrafficData'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainRealTimeSrcBpsData', - 'DescribeDomainRealTimeSrcHttpCodeData', - 'DescribeDomainRealTimeSrcTrafficData', - ], + 'title' => '回源数据', + 'id' => 18126, ], ], + 'type' => 'directory', + 'title' => '实时监控', + 'id' => 18118, ], [ - 'id' => 159128, - 'title' => '边缘脚本监控', + 'children' => ['DescribeEsExecuteData', 'DescribeEsExceptionData'], 'type' => 'directory', - 'children' => [ - 'DescribeEsExecuteData', - 'DescribeEsExceptionData', - ], + 'title' => '边缘脚本监控', + 'id' => 18130, ], ], - ], - [ - 'id' => 159116, - 'title' => '用量查询', 'type' => 'directory', - 'children' => [ - 'DescribeCdnUserBillHistory', - 'DescribeCdnUserBillType', - 'DescribeCdnUserBillPrediction', - 'CreateUserUsageDataExportTask', - 'DescribeUserUsageDataExportTask', - 'DeleteUserUsageDataExportTask', - 'CreateUsageDetailDataExportTask', - 'DescribeUserUsageDetailDataExportTask', - 'DeleteUsageDetailDataExportTask', - 'DescribeDomainMax95BpsData', - 'DescribeDomainUsageData', - 'DescribeCdnUserResourcePackage', - ], + 'title' => '监控查询', + 'id' => 18096, ], [ - 'id' => 159168, - 'title' => '日志管理', + 'children' => ['DescribeCdnUserBillHistory', 'DescribeCdnUserBillType', 'DescribeCdnUserBillPrediction', 'CreateUserUsageDataExportTask', 'DescribeUserUsageDataExportTask', 'DeleteUserUsageDataExportTask', 'DeleteUsageDetailDataExportTask', 'DescribeDomainMax95BpsData', 'DescribeCdnUserResourcePackage'], 'type' => 'directory', - 'children' => [ - [ - 'id' => 159169, - 'title' => '实时日志', - 'type' => 'directory', - 'children' => [ - 'DeleteRealTimeLogLogstore', - 'CreateRealTimeLogDelivery', - 'ModifyRealtimeLogDelivery', - 'DeleteRealtimeLogDelivery', - 'DisableRealtimeLogDelivery', - 'EnableRealtimeLogDelivery', - 'ListRealtimeLogDelivery', - 'DescribeDomainRealtimeLogDelivery', - 'DescribeRealtimeDeliveryAcc', - 'ListRealtimeLogDeliveryInfos', - 'ListRealtimeLogDeliveryDomains', - ], - ], - [ - 'id' => 159179, - 'title' => '离线日志', - 'type' => 'directory', - 'children' => [ - 'DescribeDomainCustomLogConfig', - 'DescribeCustomLogConfig', - 'DescribeCdnDomainLogs', - 'ListDomainsByLogConfigId', - 'ListUserCustomLogConfig', - ], - ], - ], + 'title' => '用量查询', + 'id' => 18133, ], [ - 'id' => 159191, - 'title' => '服务管理', + 'children' => ['DescribeCdnDomainByCertificate', 'DescribeDomainCertificateInfo', 'DescribeCdnCertificateDetail', 'DescribeCdnCertificateList', 'DescribeCdnSSLCertificateList', 'DescribeCdnHttpsDomainList', 'DescribeCertificateInfoByID', 'DescribeCdnCertificateDetailById', 'DescribeUserCertificateExpireCount', 'CreateCdnCertificateSigningRequest', 'SetCdnDomainCSRCertificate', 'SetCdnDomainSMCertificate', 'DescribeCdnSMCertificateList', 'DescribeCdnSMCertificateDetail', 'SetCdnDomainSSLCertificate'], 'type' => 'directory', - 'children' => [ - 'OpenCdnService', - 'DescribeCdnRegionAndIsp', - 'DescribeCdnOrderCommodityCode', - 'DescribeCdnService', - ], - ], - [ - 'id' => 159194, 'title' => '证书管理', - 'type' => 'directory', - 'children' => [ - 'DescribeCdnDomainByCertificate', - 'DescribeDomainCertificateInfo', - 'DescribeCdnCertificateDetail', - 'DescribeCdnCertificateList', - 'DescribeCdnSSLCertificateList', - 'DescribeCdnHttpsDomainList', - 'DescribeCertificateInfoByID', - 'DescribeCdnCertificateDetailById', - 'DescribeUserCertificateExpireCount', - 'CreateCdnCertificateSigningRequest', - 'SetCdnDomainCSRCertificate', - 'SetCdnDomainSMCertificate', - 'DescribeCdnSMCertificateList', - 'DescribeCdnSMCertificateDetail', - 'SetCdnDomainSSLCertificate', - ], + 'id' => 18218, ], [ - 'id' => 159209, - 'title' => '标签管理', + 'children' => ['DescribeTagResources', 'DescribeUserTags'], 'type' => 'directory', - 'children' => [ - 'TagResources', - 'DescribeTagResources', - 'DescribeUserTags', - 'UntagResources', - 'ListTagResources', - ], + 'title' => '标签管理', + 'id' => 18234, ], [ - 'id' => 159214, - 'title' => '运营报表', + 'children' => ['CreateCdnSubTask', 'DescribeCdnSubList', 'UpdateCdnSubTask', 'DeleteCdnSubTask', 'DescribeCdnReport', 'DescribeCdnReportList', 'CreateCdnDeliverTask', 'DescribeCdnDeliverList', 'UpdateCdnDeliverTask', 'DeleteCdnDeliverTask'], 'type' => 'directory', - 'children' => [ - 'CreateCdnSubTask', - 'DescribeCdnSubList', - 'UpdateCdnSubTask', - 'DeleteCdnSubTask', - 'DescribeCdnReport', - 'DescribeCdnReportList', - 'CreateCdnDeliverTask', - 'DescribeCdnDeliverList', - 'UpdateCdnDeliverTask', - 'DeleteCdnDeliverTask', - ], + 'title' => '运营报表', + 'id' => 18240, ], [ - 'id' => 169776, - 'title' => '辅助工具', + 'children' => ['DescribeIpInfo', 'DescribeStagingIp', 'DescribeL2VipsByDomain', 'DescribeUserVipsByDomain', 'DescribeIpStatus', 'AddFCTrigger', 'UpdateFCTrigger', 'DescribeFCTrigger', 'DeleteFCTrigger', 'ListFCTrigger'], 'type' => 'directory', - 'children' => [ - 'DescribeIpInfo', - 'DescribeStagingIp', - 'DescribeL2VipsByDomain', - 'DescribeUserVipsByDomain', - 'DescribeIpStatus', - 'AddFCTrigger', - 'UpdateFCTrigger', - 'DescribeFCTrigger', - 'DeleteFCTrigger', - 'ListFCTrigger', - ], + 'title' => '辅助工具', + 'id' => 18253, ], [ - 'id' => 159234, - 'title' => '安全信息查询', + 'children' => ['DescribeDomainCcActivityLog'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainCcActivityLog', - ], + 'title' => '安全信息查询', + 'id' => 18251, ], [ - 'id' => 170411, - 'title' => '旧版已下线', - 'type' => 'directory', 'children' => [ [ - 'id' => 159104, - 'title' => '统计分析', + 'children' => ['DescribeDomainPvData', 'DescribeDomainUvData', 'DescribeDomainTopUrlVisit', 'DescribeDomainTopClientIpVisit', 'DescribeDomainTopReferVisit', 'DescribeDomainSrcTopUrlVisit', 'DescribeTopDomainsByFlow', 'DescribeDomainRegionData', 'DescribeDomainISPData', 'DescribeDomainAverageResponseTime'], 'type' => 'directory', - 'children' => [ - 'DescribeDomainPvData', - 'DescribeDomainUvData', - 'DescribeDomainTopUrlVisit', - 'DescribeDomainTopClientIpVisit', - 'DescribeDomainTopReferVisit', - 'DescribeDomainSrcTopUrlVisit', - 'DescribeTopDomainsByFlow', - 'DescribeDomainRegionData', - 'DescribeDomainISPData', - 'DescribeDomainAverageResponseTime', - ], + 'title' => '统计分析', + 'id' => 18265, ], 'DescribeDomainRealTimeDetailData', 'DescribeDomainMultiUsageData', 'DescribeUserConfigs', 'SetReqHeaderConfig', ], + 'type' => 'directory', + 'title' => '旧版已下线', + 'id' => 18264, ], [ - 'id' => 182313, - 'title' => '其他', - 'type' => 'directory', 'children' => [ - 'ModifyCdnService', - 'DescribeUserCdnStatus', - 'DescribeCdnTypes', - 'ModifyCdnDomainOwner', - 'DescribeCdnConditionIPBInfo', - 'DescribeCdnSecFuncInfo', - 'CheckCdnDomainExist', - 'CheckCdnDomainICP', - 'BatchDescribeCdnIpInfo', - 'DescribeCdnFullDomainsBlockIPHistory', - 'SetCdnFullDomainsBlockIP', - 'DescribeCdnFullDomainsBlockIPConfig', + 'BatchDescribeCdnIpInfo', 'CheckCdnDomainExist', 'CheckCdnDomainICP', 'CreateRealTimeLogDelivery', 'CreateUsageDetailDataExportTask', 'DeleteRealTimeLogLogstore', 'DeleteRealtimeLogDelivery', 'DescribeBlockedRegions', 'DescribeCdnConditionIPBInfo', 'DescribeCdnDiagnoseReport', 'DescribeCdnDomainLogs', 'DescribeCdnFullDomainsBlockIPConfig', 'DescribeCdnFullDomainsBlockIPHistory', 'DescribeCdnOrderCommodityCode', 'DescribeCdnRegionAndIsp', 'DescribeCdnSecFuncInfo', 'DescribeCdnService', 'DescribeCdnTaskList', 'DescribeCdnTypes', 'DescribeCdnUserConfigs', + 'DescribeCdnWafDomain', 'DescribeCustomLogConfig', 'DescribeDomainCustomLogConfig', 'DescribeDomainRealtimeLogDelivery', 'DescribeDomainUsageData', 'DescribeRealtimeDeliveryAcc', 'DescribeUserCdnStatus', 'DescribeUserUsageDetailDataExportTask', 'DisableRealtimeLogDelivery', 'EnableRealtimeLogDelivery', 'GenerateCdnDiagnose', 'ListDomainsByLogConfigId', 'ListRealtimeLogDelivery', 'ListRealtimeLogDeliveryDomains', 'ListRealtimeLogDeliveryInfos', 'ListTagResources', 'ListUserCustomLogConfig', 'ModifyCdnDomainOwner', 'ModifyCdnService', 'ModifyRealtimeLogDelivery', + 'OpenCdnService', 'SetCdnFullDomainsBlockIP', 'SetWaitingRoomConfig', 'TagResources', 'UntagResources', ], + 'title' => '其他', + 'type' => 'directory', ], ], 'components' => [ @@ -384,14 +165,8 @@ 'apis' => [ 'AddCdnDomain' => [ 'summary' => '调用AddCdnDomain添加加速域名。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -401,9 +176,7 @@ 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '111676', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -418,100 +191,58 @@ .'- **video**:视音频点播。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'download' => '大文件下载', - 'web' => '图片小文件', - 'video' => '音视频点播', - ], + 'enumValueTitles' => ['download' => '大文件下载', 'web' => '图片小文件', 'video' => '音视频点播'], 'example' => 'web', - 'enum' => [ - 'unitcell', - 'web', - 'download', - 'liveStream', - 'video', - 'app', - 'mixed_download', - ], + 'enum' => ['unitcell', 'web', 'download', 'liveStream', 'video', 'app', 'mixed_download'], ], ], [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要接入CDN的加速域名。'."\n" - ."\n" - .'支持泛域名,以英文句号(.)开头,例如.example.com。', - 'type' => 'string', - 'required' => true, - 'example' => '.example.com', - ], + 'schema' => ['description' => '需要接入CDN的加速域名。'."\n" + ."\n" + .'支持泛域名,以英文句号(.)开头,例如.example.com。', 'type' => 'string', 'required' => true, 'example' => '.example.com'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。'."\n" - ."\n" - .'不传该参数时,系统自动补全为默认资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyuji4b6r4**', - ], + 'schema' => ['description' => '资源组ID。'."\n" + ."\n" + .'不传该参数时,系统自动补全为默认资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyuji4b6r4**'], ], [ 'name' => 'Sources', 'in' => 'query', - 'schema' => [ - 'description' => '回源地址列表。', - 'type' => 'string', - 'required' => true, - 'example' => '['."\n" - .' {'."\n" - .' "content": "192.0.2.0",'."\n" - .' "type": "ipaddr",'."\n" - .' "priority": "20",'."\n" - .' "port": 80,'."\n" - .' "weight": "15"'."\n" - .' }'."\n" - .']', - ], + 'schema' => ['description' => '回源地址列表。', 'type' => 'string', 'required' => true, 'example' => '['."\n" + .' {'."\n" + .' "content": "192.0.2.0",'."\n" + .' "type": "ipaddr",'."\n" + .' "priority": "20",'."\n" + .' "port": 80,'."\n" + .' "weight": "15"'."\n" + .' }'."\n" + .']'], ], [ 'name' => 'CheckUrl', 'in' => 'query', - 'schema' => [ - 'description' => '健康检测URL。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com/test.html', - ], + 'schema' => ['description' => '健康检测URL。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com/test.html'], ], [ 'name' => 'Scope', 'in' => 'query', - 'schema' => [ - 'description' => '加速区域。取值:'."\n" - ."\n" - .'- **domestic**(默认值):仅中国内地。'."\n" - ."\n" - .'- **overseas**:全球(不包含中国内地)。'."\n" - ."\n" - .'- **global**:全球。', - 'type' => 'string', - 'required' => false, - 'example' => 'domestic', - ], + 'schema' => ['description' => '加速区域。取值:'."\n" + ."\n" + .'- **domestic**(默认值):仅中国内地。'."\n" + ."\n" + .'- **overseas**:全球(不包含中国内地)。'."\n" + ."\n" + .'- **global**:全球。', 'type' => 'string', 'required' => false, 'example' => 'domestic'], ], [ 'name' => 'TopLevelDomain', 'in' => 'query', - 'schema' => [ - 'description' => '顶级接入域。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '顶级接入域。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'Tag', @@ -523,20 +254,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'env', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'value', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'env'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value'], ], 'required' => false, + 'description' => '', ], 'required' => false, 'maxItems' => 21, @@ -549,200 +271,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'Specified DomainName is malformed.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter cdnType that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'InvalidCdnType.Malformed', - 'errorMessage' => 'Specified CdnType is malformed.', - ], - [ - 'errorCode' => 'InvalidSources.Malformed', - 'errorMessage' => 'Specified Sources is malformed.', - ], - [ - 'errorCode' => 'InvalidSourceType.Malformed', - 'errorMessage' => 'Specified CdnType is malformed.', - ], - [ - 'errorCode' => 'InvalidSource.Priority.Malformed', - 'errorMessage' => 'The specified Source Priority is invalid.', - ], - [ - 'errorCode' => 'InvalidTypeAndContent.MissMatch', - 'errorMessage' => 'The specified source type does not match the specified source content.', - ], - [ - 'errorCode' => 'InvalidScope.Malformed', - 'errorMessage' => 'Specified Scope is malformed.', - ], - [ - 'errorCode' => 'SourceIp.Exceed', - 'errorMessage' => 'The Certificate you provided is malformed', - ], - [ - 'errorCode' => 'InvalidCertificate', - 'errorMessage' => 'The Certificate you provided is malformed', - ], - [ - 'errorCode' => 'InvalidCertificate.TooLong', - 'errorMessage' => 'The Certificate you provided is over the max length', - ], - [ - 'errorCode' => 'InnerAddDomainDenied', - 'errorMessage' => 'Your account has not bind aoneId, can not add domain.', - ], - [ - 'errorCode' => 'CheckSourceHealthFailed', - 'errorMessage' => 'sources ip or source domain check health failed,please input right source.', - ], - [ - 'errorCode' => 'ExtensiveAndAllBothExist', - 'errorMessage' => 'Extensive domain and the domain begins with all. can not exist at the same time.', - ], - [ - 'errorCode' => 'CdnTypeNotSupportExtensiveDomain', - 'errorMessage' => 'Extensive domain not supported for this cdn type.', - ], - [ - 'errorCode' => 'ExtensiveAndSpecificDomainConflict', - 'errorMessage' => 'The number of wildcard domain names exceeds the limit.', - ], - [ - 'errorCode' => 'InvalidResourceGroupId.Malformed', - 'errorMessage' => 'Specified ResourceGroupId is malformed.', - ], - [ - 'errorCode' => 'DomainReserved', - 'errorMessage' => 'The root domain of your domain is reserved by another account. Submit a ticket to contact customer support.', - ], - [ - 'errorCode' => 'InvalidDomainNameLevel', - 'errorMessage' => 'Domain name suffixed with alicdn.com only support third level.', - ], - [ - 'errorCode' => 'InvalidTopLevelDomain.Malformed', - 'errorMessage' => 'Specified TopLevelDomain is malformed.', - ], - [ - 'errorCode' => 'TopLevelDomain.NotFound', - 'errorMessage' => 'TopLevelDomain is not exist.', - ], - [ - 'errorCode' => 'EntityNotExists.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'EntityNotExist.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'InvalidStatus.ResourceGroup', - 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', - ], - [ - 'errorCode' => 'NotInternationRealIdentity', - 'errorMessage' => 'You need to do real name authentication when you use Chinese mainland resources.', - ], - [ - 'errorCode' => 'Abs.CheckUrl.Malformed', - 'errorMessage' => 'The CheckUrl you provided is malformed.', - ], - [ - 'errorCode' => 'RecordCheckNotAvailable', - 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', - ], - [ - 'errorCode' => 'IcpBlack', - 'errorMessage' => 'The domain is on the ICP blacklist.', - ], - [ - 'errorCode' => 'IspBlack', - 'errorMessage' => 'The domain is on the ISP blacklist.', - ], - [ - 'errorCode' => 'DomainOwnerVerifyFail', - 'errorMessage' => 'Owner verification of the root domain failed.', - ], - [ - 'errorCode' => 'TopLevelDomain.Mismatch', - 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', - ], - [ - 'errorCode' => 'DomainInBlacklist', - 'errorMessage' => 'The domain is in the blacklist.', - ], - [ - 'errorCode' => 'InvalidTagKey', - 'errorMessage' => 'The specified TagKey is invalid.', - ], - [ - 'errorCode' => 'InvalidTagValue', - 'errorMessage' => 'The specified TagValue is invalid.', - ], - [ - 'errorCode' => 'InvalidTagKey.Repeated', - 'errorMessage' => 'The specified TagKey is duplicated.', - ], - [ - 'errorCode' => 'InvalidTag', - 'errorMessage' => 'The specified Tag is Invalid.', - ], - [ - 'errorCode' => 'InvalidTagKey.OverLimit', - 'errorMessage' => 'The number of Tag can not over limit 20.', - ], - [ - 'errorCode' => 'SourceInBlacklist', - 'errorMessage' => 'Source is in the blacklist.', - ], - [ - 'errorCode' => 'ReservedTagKey', - 'errorMessage' => 'The tag key is used internally as a reserved field and is not allowed to be used.', - ], - [ - 'errorCode' => 'DomainOverLimit', - 'errorMessage' => 'The maximum number of domains is exceeded.', - ], - [ - 'errorCode' => 'DomainInRiskList', - 'errorMessage' => 'The domain you added may be at risk. If you have any questions, please submit a ticket.', - ], - [ - 'errorCode' => 'RegionNoResource', - 'errorMessage' => 'Resource allocation failed. Please submit a work order to contact customer service.', - ], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'Specified DomainName is malformed.', 'description' => '域名格式错误或批量新增不支持泛域名。'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter cdnType that is mandatory for processing this request is not supplied.', 'description' => '参数cdnType为必填。'], + ['errorCode' => 'InvalidCdnType.Malformed', 'errorMessage' => 'Specified CdnType is malformed.', 'description' => '参数CdnType不支持该参数值, 取值:web:图片及小文件分发;download:大文件下载加速;video:视音频点播加速;'], + ['errorCode' => 'InvalidSources.Malformed', 'errorMessage' => 'Specified Sources is malformed.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidSourceType.Malformed', 'errorMessage' => 'Specified CdnType is malformed.', 'description' => 'CdnType格式错误。'], + ['errorCode' => 'InvalidSource.Priority.Malformed', 'errorMessage' => 'The specified Source Priority is invalid.', 'description' => ''], + ['errorCode' => 'InvalidTypeAndContent.MissMatch', 'errorMessage' => 'The specified source type does not match the specified source content.', 'description' => ''], + ['errorCode' => 'InvalidScope.Malformed', 'errorMessage' => 'Specified Scope is malformed.', 'description' => 'Scope格式错误。'], + ['errorCode' => 'SourceIp.Exceed', 'errorMessage' => 'The Certificate you provided is malformed', 'description' => '证书格式不正确。'], + ['errorCode' => 'InvalidCertificate', 'errorMessage' => 'The Certificate you provided is malformed', 'description' => '证书格式不正确。'], + ['errorCode' => 'InvalidCertificate.TooLong', 'errorMessage' => 'The Certificate you provided is over the max length', 'description' => '证书和私钥长度超出限制。'], + ['errorCode' => 'InnerAddDomainDenied', 'errorMessage' => 'Your account has not bind aoneId, can not add domain.', 'description' => '您的账户没有绑定aoneId,不能添加域名。'], + ['errorCode' => 'CheckSourceHealthFailed', 'errorMessage' => 'sources ip or source domain check health failed,please input right source.', 'description' => '源IP或源域检查错误, 请输入正确的源。'], + ['errorCode' => 'ExtensiveAndAllBothExist', 'errorMessage' => 'Extensive domain and the domain begins with all. can not exist at the same time.', 'description' => '泛域名与all.开头域名不能同时存在。'], + ['errorCode' => 'CdnTypeNotSupportExtensiveDomain', 'errorMessage' => 'Extensive domain not supported for this cdn type.', 'description' => '泛域名不支持该业务类型,目前泛域名只支持图片小文件加速,大文件下载加速,视频点播加速,请知悉。'], + ['errorCode' => 'ExtensiveAndSpecificDomainConflict', 'errorMessage' => 'The number of wildcard domain names exceeds the limit.', 'description' => ''], + ['errorCode' => 'InvalidResourceGroupId.Malformed', 'errorMessage' => 'Specified ResourceGroupId is malformed.', 'description' => '参数ResourceGroupId格式错误。'], + ['errorCode' => 'DomainReserved', 'errorMessage' => 'The root domain of your domain is reserved by another account. Submit a ticket to contact customer support.', 'description' => ''], + ['errorCode' => 'InvalidDomainNameLevel', 'errorMessage' => 'Domain name suffixed with alicdn.com only support third level.', 'description' => 'alicdn.com(针对泛域名)最多支持三级域名。'], + ['errorCode' => 'InvalidTopLevelDomain.Malformed', 'errorMessage' => 'Specified TopLevelDomain is malformed.', 'description' => '参数TopLevelDomain错误。'], + ['errorCode' => 'TopLevelDomain.NotFound', 'errorMessage' => 'TopLevelDomain is not exist.', 'description' => 'TopLevelDomain不存在。'], + ['errorCode' => 'EntityNotExists.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '资源组不存在。'], + ['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '该资源组不存在。'], + ['errorCode' => 'InvalidStatus.ResourceGroup', 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', 'description' => '资源组当前状态不允许进行此操作。'], + ['errorCode' => 'NotInternationRealIdentity', 'errorMessage' => 'You need to do real name authentication when you use Chinese mainland resources.', 'description' => '根据中华人民共和国法律规定,在中国境内购买使用信息服务的用户需要进行实名登记。'], + ['errorCode' => 'Abs.CheckUrl.Malformed', 'errorMessage' => 'The CheckUrl you provided is malformed.', 'description' => ''], + ['errorCode' => 'RecordCheckNotAvailable', 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', 'description' => ''], + ['errorCode' => 'IcpBlack', 'errorMessage' => 'The domain is on the ICP blacklist.', 'description' => ''], + ['errorCode' => 'IspBlack', 'errorMessage' => 'The domain is on the ISP blacklist.', 'description' => ''], + ['errorCode' => 'DomainOwnerVerifyFail', 'errorMessage' => 'Owner verification of the root domain failed.', 'description' => '当您首次将新域名添加至阿里云CDN时,需按要求做域名归属权验证,当您按要求配置DNS解析或文件验证后,才能正常成功添加域名。 '], + ['errorCode' => 'TopLevelDomain.Mismatch', 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', 'description' => '顶级接入域和域名类型不匹配。'], + ['errorCode' => 'DomainInBlacklist', 'errorMessage' => 'The domain is in the blacklist.', 'description' => '该域名在黑名单中。'], + ['errorCode' => 'InvalidTagKey', 'errorMessage' => 'The specified TagKey is invalid.', 'description' => '参数TagKey无效。'], + ['errorCode' => 'InvalidTagValue', 'errorMessage' => 'The specified TagValue is invalid.', 'description' => ''], + ['errorCode' => 'InvalidTagKey.Repeated', 'errorMessage' => 'The specified TagKey is duplicated.', 'description' => ''], + ['errorCode' => 'InvalidTag', 'errorMessage' => 'The specified Tag is Invalid.', 'description' => ''], + ['errorCode' => 'InvalidTagKey.OverLimit', 'errorMessage' => 'The number of Tag can not over limit 20.', 'description' => ''], + ['errorCode' => 'SourceInBlacklist', 'errorMessage' => 'Source is in the blacklist.', 'description' => '源站在黑名单中。'], + ['errorCode' => 'ReservedTagKey', 'errorMessage' => 'The tag key is used internally as a reserved field and is not allowed to be used.', 'description' => '该标签键被用作内部保留字段,不允许使用。'], + ['errorCode' => 'DomainOverLimit', 'errorMessage' => 'The maximum number of domains is exceeded.', 'description' => '域名数量超过上限'], + ['errorCode' => 'DomainInRiskList', 'errorMessage' => 'The domain you added may be at risk. If you have any questions, please submit a ticket.', 'description' => '您所添加的域名可能存在风险,如有任何疑问,请提交工单。'], + ['errorCode' => 'RegionNoResource', 'errorMessage' => 'Resource allocation failed. Please submit a work order to contact customer service.', 'description' => '资源分配失败,请提交工单联系客服。'], ], 403 => [ - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. Please open ticket to make an appeal.', - ], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. Please open ticket to make an appeal.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<AddCdnDomainResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n</AddCdnDomainResponse>","errorExample":""}]', 'title' => '添加域名', 'description' => '- 添加域名之前,您需要先开通CDN服务。具体操作,请参见[开通CDN服务](~~27272~~)。'."\n" - .'- 加速域名必须已成功备案。'."\n" - .'- 每次只能添加一个加速域名,每个用户最多可以添加50个域名。'."\n" - .'- 源站内容如果不在阿里云平台上,需进行审核,审核工作会在下一个工作日前完成。'."\n" - .'- 单个用户的调用频率:30次/秒。'."\n" + .'- 如果加速区域选择的是仅中国内地或者全球,则加速域名必须已完成备案。'."\n" + .'- 每次只能添加一个加速域名,每个用户默认最多可以添加50个域名,如果需要添加更多域名,您可以通过配额中心申请。'."\n" + .'- 每个用户每小时最多调用100次。'."\n" ."\n" .'## 注意事项'."\n" .'- 通过接口添加了域名之后,将会有3~5分钟的域名生效时间,在这段时间内请不要添加任何配置,待域名状态处于online以后再进行下一步的配置。', @@ -757,17 +346,148 @@ .'| weight | String | 否 | 回源权重,取值范围为100以内,默认值为10。|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-06T08:03:18.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T07:52:50.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:52:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-19T05:41:02.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-26T02:48:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-11-15T06:10:51.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-03T06:21:50.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-12-12T02:36:05.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-08-08T09:10:06.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-06-27T03:34:47.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-01-04T03:16:13.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2022-11-23T02:23:21.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCdnDomain'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:AddCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], ], - 'BatchAddCdnDomain' => [ - 'summary' => '调用BatchAddCdnDomain可以实现批量添加加速域名,一次最多可以添加50个加速域名。', - 'methods' => [ - 'get', - 'post', + 'AddFCTrigger' => [ + 'summary' => '调用AddFCTrigger添加指定的函数计算触发器。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'TriggerARN', + 'in' => 'query', + 'schema' => ['description' => '函数计算服务对应的触发器。', 'type' => 'string', 'required' => true, 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger'], + ], + [ + 'name' => 'EventMetaName', + 'in' => 'formData', + 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => true, 'example' => 'LogFileCreated'], + ], + [ + 'name' => 'EventMetaVersion', + 'in' => 'formData', + 'schema' => ['description' => '事件版本。', 'type' => 'string', 'required' => true, 'example' => '1.0.0'], + ], + [ + 'name' => 'SourceARN', + 'in' => 'formData', + 'schema' => ['description' => '事件侦听的资源和过滤器。', 'type' => 'string', 'required' => true, 'example' => 'acs:cdn:*:1234567890:domain/example.com'], + ], + [ + 'name' => 'FunctionARN', + 'in' => 'formData', + 'schema' => ['description' => '功能触发器。', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:1223455566666:123:services/myservice/functions/myfunction'], + ], + [ + 'name' => 'RoleARN', + 'in' => 'formData', + 'schema' => ['description' => 'RAM授权的角色。', 'type' => 'string', 'required' => true, 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole'], + ], + [ + 'name' => 'Notes', + 'in' => 'formData', + 'schema' => ['description' => '备注信息。', 'type' => 'string', 'required' => true, 'example' => 'test'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NotFound.EventMeta', 'errorMessage' => 'EventMeta not found.', 'description' => ''], + ['errorCode' => 'Duplicated.FCTrigger', 'errorMessage' => 'FCTrigger has already existed.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TriggerARN', 'errorMessage' => 'The specified parameter TriggerARN is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.SourceARN', 'errorMessage' => 'The specified parameter SourceARN is not valid.', 'description' => '指定的参数SourceARN无效。'], + ['errorCode' => 'InvalidParameter.FunctionARN', 'errorMessage' => 'The specified parameter FunctionARN is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.RoleARN', 'errorMessage' => 'The specified parameter RoleARN is not valid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'PermissionDeny', 'errorMessage' => 'No permission to operate this FCTrigger.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90</RequestId>","errorExample":""}]', + 'title' => '添加函数计算触发器', + 'requestParamsDescription' => '## 数据类型TriggerARN'."\n" + .'TriggerARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" + ."\n" + .'- Filter表示资源和过滤器,具体格式为: `{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" + ."\n" + .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)过滤,如果只需要对`example.com`域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" + ."\n" + .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddFCTrigger'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:AddFCTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'BatchAddCdnDomain' => [ + 'summary' => '调用BatchAddCdnDomain可以实现批量添加加速域名,一次最多可以添加50个加速域名。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -777,101 +497,64 @@ 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '111681', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CdnType', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名的业务类型。取值:'."\n" - ."\n" - .'- **web**:图片小文件。'."\n" - ."\n" - .'- **download**:大文件下载。'."\n" - ."\n" - .'- **video**:视音频点播。', - 'type' => 'string', - 'required' => true, - 'example' => 'web', - ], + 'schema' => ['description' => '加速域名的业务类型。取值:'."\n" + ."\n" + .'- **web**:图片小文件。'."\n" + ."\n" + .'- **download**:大文件下载。'."\n" + ."\n" + .'- **video**:视音频点播。', 'type' => 'string', 'required' => true, 'example' => 'web'], ], [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要接入CDN的加速域名,多个域名用英文逗号(,)分隔。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com,aliyundoc.com', - ], + 'schema' => ['description' => '需要接入CDN的加速域名,多个域名用英文逗号(,)分隔。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com,aliyundoc.com'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID,不传时,自动补全默认资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyuji4b6r4**', - ], + 'schema' => ['description' => '资源组ID,不传时,自动补全默认资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyuji4b6r4**'], ], [ 'name' => 'Sources', 'in' => 'query', - 'schema' => [ - 'description' => '回源地址列表。', - 'type' => 'string', - 'required' => true, - 'example' => '['."\n" - .' {'."\n" - .' "content": "192.0.2.0",'."\n" - .' "type": "ipaddr",'."\n" - .' "priority": "20",'."\n" - .' "port": 80,'."\n" - .' "weight": "15"'."\n" - .' }'."\n" - .']', - ], + 'schema' => ['description' => '回源地址列表。', 'type' => 'string', 'required' => true, 'example' => '['."\n" + .' {'."\n" + .' "content": "192.0.2.0",'."\n" + .' "type": "ipaddr",'."\n" + .' "priority": "20",'."\n" + .' "port": 80,'."\n" + .' "weight": "15"'."\n" + .' }'."\n" + .']'], ], [ 'name' => 'CheckUrl', 'in' => 'query', - 'schema' => [ - 'description' => '检测URL。', - 'type' => 'string', - 'required' => false, - 'example' => 'url', - ], + 'schema' => ['description' => '检测URL。', 'type' => 'string', 'required' => false, 'example' => 'url'], ], [ 'name' => 'Scope', 'in' => 'query', - 'schema' => [ - 'description' => '加速区域。取值:'."\n" - ."\n" - .'- **domestic**:仅中国内地。'."\n" - ."\n" - .'- **overseas**:全球(不包含中国内地)。'."\n" - ."\n" - .'- **global**:全球。', - 'type' => 'string', - 'required' => false, - 'example' => 'domestic', - ], + 'schema' => ['description' => '加速区域。取值:'."\n" + ."\n" + .'- **domestic**:仅中国内地。'."\n" + ."\n" + .'- **overseas**:全球(不包含中国内地)。'."\n" + ."\n" + .'- **global**:全球。', 'type' => 'string', 'required' => false, 'example' => 'domestic'], ], [ 'name' => 'TopLevelDomain', 'in' => 'query', - 'schema' => [ - 'description' => '顶级接入域。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '顶级接入域。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], ], 'responses' => [ @@ -879,145 +562,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'Specified DomainName is malformed.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter cdnType that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'InvalidCdnType.Malformed', - 'errorMessage' => 'Specified CdnType is malformed.', - ], - [ - 'errorCode' => 'InvalidSources.Malformed', - 'errorMessage' => 'Specified Sources is malformed.', - ], - [ - 'errorCode' => 'InvalidSourceType.Malformed', - 'errorMessage' => 'Specified CdnType is malformed.', - ], - [ - 'errorCode' => 'InvalidSource.Priority.Malformed', - 'errorMessage' => 'The specified Source Priority is invalid.', - ], - [ - 'errorCode' => 'InvalidTypeAndContent.MissMatch', - 'errorMessage' => 'InvalidTypeAndContent.MissMatch', - ], - [ - 'errorCode' => 'InvalidScope.Malformed', - 'errorMessage' => 'Specified Scope is malformed.', - ], - [ - 'errorCode' => 'SourceIp.Exceed', - 'errorMessage' => 'The Certificate you provided is malformed', - ], - [ - 'errorCode' => 'InvalidCertificate', - 'errorMessage' => 'The Certificate you provided is malformed', - ], - [ - 'errorCode' => 'InvalidCertificate.TooLong', - 'errorMessage' => 'The Certificate you provided is over the max length', - ], - [ - 'errorCode' => 'InnerAddDomainDenied', - 'errorMessage' => 'Your account has not bind aoneId, can not add domain.', - ], - [ - 'errorCode' => 'CheckSourceHealthFailed', - 'errorMessage' => 'sources ip or source domain check health failed,please input right source.', - ], - [ - 'errorCode' => 'ExtensiveAndAllBothExist', - 'errorMessage' => 'Extensive domain and the domain begins with all. can not exist at the same time.', - ], - [ - 'errorCode' => 'CdnTypeNotSupportExtensiveDomain', - 'errorMessage' => 'Extensive domain not supported for this cdn type.', - ], - [ - 'errorCode' => 'ExtensiveAndSpecificDomainConflict', - 'errorMessage' => 'The number of wildcard domain names exceeds the limit.', - ], - [ - 'errorCode' => 'InvalidResourceGroupId.Malformed', - 'errorMessage' => 'Specified ResourceGroupId is malformed.', - ], - [ - 'errorCode' => 'DomainReserved', - 'errorMessage' => 'The root domain of your domain is reserved by another account. Submit a ticket to contact customer support.', - ], - [ - 'errorCode' => 'InvalidDomainNameLevel', - 'errorMessage' => 'Domain name suffixed with alicdn.com only support third level.', - ], - [ - 'errorCode' => 'InvalidTopLevelDomain.Malformed', - 'errorMessage' => 'Specified TopLevelDomain is malformed.', - ], - [ - 'errorCode' => 'TopLevelDomain.NotFound', - 'errorMessage' => 'TopLevelDomain is not exist.', - ], - [ - 'errorCode' => 'EntityNotExists.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'EntityNotExist.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'InvalidStatus.ResourceGroup', - 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', - ], - [ - 'errorCode' => 'NotInternationRealIdentity', - 'errorMessage' => 'You need to do real name authentication when you use Chinese mainland resources.', - ], - [ - 'errorCode' => 'RecordCheckNotAvailable', - 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', - ], - [ - 'errorCode' => 'IcpBlack', - 'errorMessage' => 'The domain is on the ICP blacklist.', - ], - [ - 'errorCode' => 'IspBlack', - 'errorMessage' => 'The domain is on the ISP blacklist.', - ], - [ - 'errorCode' => 'DomainOwnerVerifyFail', - 'errorMessage' => 'Owner verification of the root domain failed.', - ], - [ - 'errorCode' => 'TopLevelDomain.Mismatch', - 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', - ], - [ - 'errorCode' => 'DomainOverLimit', - 'errorMessage' => 'The maximum number of domains is exceeded.', - ], - [ - 'errorCode' => 'DomainInRiskList', - 'errorMessage' => 'The domain you added may be at risk. If you have any questions, please submit a ticket.', - ], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'Specified DomainName is malformed.', 'description' => '域名格式错误或批量新增不支持泛域名。'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter cdnType that is mandatory for processing this request is not supplied.', 'description' => '参数cdnType为必填。'], + ['errorCode' => 'InvalidCdnType.Malformed', 'errorMessage' => 'Specified CdnType is malformed.', 'description' => '参数CdnType不支持该参数值, 取值:web:图片及小文件分发;download:大文件下载加速;video:视音频点播加速;'], + ['errorCode' => 'InvalidSources.Malformed', 'errorMessage' => 'Specified Sources is malformed.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidSourceType.Malformed', 'errorMessage' => 'Specified CdnType is malformed.', 'description' => 'CdnType格式错误。'], + ['errorCode' => 'InvalidSource.Priority.Malformed', 'errorMessage' => 'The specified Source Priority is invalid.', 'description' => ''], + ['errorCode' => 'InvalidTypeAndContent.MissMatch', 'errorMessage' => 'InvalidTypeAndContent.MissMatch', 'description' => ''], + ['errorCode' => 'InvalidScope.Malformed', 'errorMessage' => 'Specified Scope is malformed.', 'description' => 'Scope格式错误。'], + ['errorCode' => 'SourceIp.Exceed', 'errorMessage' => 'The Certificate you provided is malformed', 'description' => '证书格式不正确。'], + ['errorCode' => 'InvalidCertificate', 'errorMessage' => 'The Certificate you provided is malformed', 'description' => '证书格式不正确。'], + ['errorCode' => 'InvalidCertificate.TooLong', 'errorMessage' => 'The Certificate you provided is over the max length', 'description' => '证书和私钥长度超出限制。'], + ['errorCode' => 'InnerAddDomainDenied', 'errorMessage' => 'Your account has not bind aoneId, can not add domain.', 'description' => '您的账户没有绑定aoneId,不能添加域名。'], + ['errorCode' => 'CheckSourceHealthFailed', 'errorMessage' => 'sources ip or source domain check health failed,please input right source.', 'description' => '源IP或源域检查错误, 请输入正确的源。'], + ['errorCode' => 'ExtensiveAndAllBothExist', 'errorMessage' => 'Extensive domain and the domain begins with all. can not exist at the same time.', 'description' => '泛域名与all.开头域名不能同时存在。'], + ['errorCode' => 'CdnTypeNotSupportExtensiveDomain', 'errorMessage' => 'Extensive domain not supported for this cdn type.', 'description' => '泛域名不支持该业务类型,目前泛域名只支持图片小文件加速,大文件下载加速,视频点播加速,请知悉。'], + ['errorCode' => 'ExtensiveAndSpecificDomainConflict', 'errorMessage' => 'The number of wildcard domain names exceeds the limit.', 'description' => ''], + ['errorCode' => 'InvalidResourceGroupId.Malformed', 'errorMessage' => 'Specified ResourceGroupId is malformed.', 'description' => '参数ResourceGroupId格式错误。'], + ['errorCode' => 'DomainReserved', 'errorMessage' => 'The root domain of your domain is reserved by another account. Submit a ticket to contact customer support.', 'description' => ''], + ['errorCode' => 'InvalidDomainNameLevel', 'errorMessage' => 'Domain name suffixed with alicdn.com only support third level.', 'description' => 'alicdn.com(针对泛域名)最多支持三级域名。'], + ['errorCode' => 'InvalidTopLevelDomain.Malformed', 'errorMessage' => 'Specified TopLevelDomain is malformed.', 'description' => '参数TopLevelDomain错误。'], + ['errorCode' => 'TopLevelDomain.NotFound', 'errorMessage' => 'TopLevelDomain is not exist.', 'description' => 'TopLevelDomain不存在。'], + ['errorCode' => 'EntityNotExists.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '资源组不存在。'], + ['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '该资源组不存在。'], + ['errorCode' => 'InvalidStatus.ResourceGroup', 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', 'description' => '资源组当前状态不允许进行此操作。'], + ['errorCode' => 'NotInternationRealIdentity', 'errorMessage' => 'You need to do real name authentication when you use Chinese mainland resources.', 'description' => '根据中华人民共和国法律规定,在中国境内购买使用信息服务的用户需要进行实名登记。'], + ['errorCode' => 'RecordCheckNotAvailable', 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', 'description' => ''], + ['errorCode' => 'IcpBlack', 'errorMessage' => 'The domain is on the ICP blacklist.', 'description' => ''], + ['errorCode' => 'IspBlack', 'errorMessage' => 'The domain is on the ISP blacklist.', 'description' => ''], + ['errorCode' => 'DomainOwnerVerifyFail', 'errorMessage' => 'Owner verification of the root domain failed.', 'description' => '当您首次将新域名添加至阿里云CDN时,需按要求做域名归属权验证,当您按要求配置DNS解析或文件验证后,才能正常成功添加域名。 '], + ['errorCode' => 'TopLevelDomain.Mismatch', 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', 'description' => '顶级接入域和域名类型不匹配。'], + ['errorCode' => 'DomainOverLimit', 'errorMessage' => 'The maximum number of domains is exceeded.', 'description' => '域名数量超过上限'], + ['errorCode' => 'DomainInRiskList', 'errorMessage' => 'The domain you added may be at risk. If you have any questions, please submit a ticket.', 'description' => '您所添加的域名可能存在风险,如有任何疑问,请提交工单。'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchAddCdnDomainResponse>\\r\\n\\t<RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\r\\n</BatchAddCdnDomainResponse>","errorExample":""}]', @@ -1025,8 +609,7 @@ 'description' => '- 添加加速域名之前,必须先开通CDN服务。具体操作,请参见[开通CDN服务](~~27272~~)。'."\n" .'- 如果加速区域选择的是仅中国内地或者全球,则加速域名必须已完成备案。'."\n" .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持50个域名查询。'."\n" - .'- 其他配置相关的详细说明,具体请参见[添加加速域名](~~122181~~)。'."\n" - .'- 单用户调用频率:30次/秒。', + .'- 每个用户每小时最多调用100次。', 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" ."\n" .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" @@ -1038,17 +621,36 @@ .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteCdnDomain' => [ - 'summary' => '调用DeleteCdnDomain删除已添加的加速域名。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-09-03T06:21:50.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-01-04T02:51:15.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2022-11-15T02:39:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchAddCdnDomain'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:BatchAddCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/*'], + ], + ], + ], ], + ], + 'BatchDeleteCdnDomainConfig' => [ + 'summary' => '调用BatchDeleteCdnDomainConfig批量删除加速域名的配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1057,21 +659,22 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', - 'abilityTreeCode' => '111702', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeCode' => '111682', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'DomainNames', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的CDN的域名,仅支持删除单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要删除配置的加速域名,多个用半角逗号(,)分隔,注意以下配置限制:'."\n" + ."\n" + .'- 一次最多传20个域名。'."\n" + .'- 域名个数乘以 FunctionNames个数,小于等于50。', 'type' => 'string', 'required' => true, 'example' => 'example.com,example.org'], + ], + [ + 'name' => 'FunctionNames', + 'in' => 'query', + 'schema' => ['description' => '需要删除的功能函数名称,多个用半角逗号(,)分隔,一次传入最多50个。更多功能名称,请参见[域名配置功能参数](~~388460~~)。', 'type' => 'string', 'required' => true, 'example' => 'referer_white_list_set,https_force'], ], ], 'responses' => [ @@ -1079,186 +682,487 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - [ - 'errorCode' => 'RewriteHostRely', - 'errorMessage' => 'Domain name is configured as rewrite host by others.', - ], - [ - 'errorCode' => 'InvalidDomain.BelongToConfigGroup', - 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', - ], + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => 'FunctionName [%s] is not supported.', 'description' => ''], + ['errorCode' => 'DeleteFunctionFailed', 'errorMessage' => 'Batch delete functions failed.', 'description' => ''], + ['errorCode' => 'EdgeScriptCountExceedLimit', 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', 'description' => ''], + ['errorCode' => 'EdgeScripOptionsHasInnerConfig', 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptNotSupportJs', 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['errorCode' => 'InvalidRule.Malformed ', 'errorMessage' => 'Check rules error: %s', 'description' => ''], + ['errorCode' => 'EdgeScriptGrammarNotSupport', 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], ], - 403 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'You do not have access to this operation.', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchDeleteCdnDomainConfigResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</BatchDeleteCdnDomainConfigResponse>","errorExample":""}]', + 'title' => '批量删除域名配置', + 'description' => '- 单用户调用频率:30次/秒。', + 'changeSet' => [ + ['createdAt' => '2025-08-06T08:03:26.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T07:52:59.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-05-09T02:27:32.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteCdnDomainConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:BatchDeleteCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DeleteCdnDomainResponse>\\t\\r\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\r\\n</DeleteCdnDomainResponse>","errorExample":""}]', - 'title' => '删除域名', - 'description' => '- 删除域名前建议您前往域名解析服务商处恢复域名A记录,以免删除域名后导致域名不可访问。'."\n" - .'- DeleteCdnDomain接口调用成功后将删除本条加速域名的全部相关记录,如果您仅需要暂停该加速域名的使用,请调用StopCdnDomain接口。'."\n" - .'- 单用户调用频率:10次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeCdnDeletedDomains' => [ - 'summary' => '调用DescribeCdnDeletedDomains查询您名下已删除的域名。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchDescribeCdnIpInfo' => [ + 'summary' => '调用BatchDescribeCdnIpInfo批量查询IP是否为阿里云CDN服务IP。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111723', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '156304', + 'abilityTreeNodes' => ['FEATUREcdnNSUDKT'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'IpAddrList', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码,默认值**1**,取值范围:**1**~**100000**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" + ."\n" + .'>- IPv4举例:192.0.2.1。'."\n" + .'>- IPv6举例:2001:db8:ffff:ffff:ffff:****:ffff。', 'type' => 'string', 'required' => true, 'example' => '111.XXX.XXX.230,47.XXX.XXX.243'], ], [ - 'name' => 'PageSize', + 'name' => 'Language', 'in' => 'query', 'schema' => [ - 'description' => '每页显示的域名个数,默认值**20**,取值范围:**1**~**500**之前的任意整数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '查询结果语言控制。取值:'."\n" + .'- **zh**(默认值):简体中文。'."\n" + .'- **en**:英文。', + 'type' => 'string', 'required' => false, - 'maximum' => '500', - 'minimum' => '1', - 'example' => '5', - 'default' => '20', + 'enumValueTitles' => ['en' => 'en', 'zh' => 'zh'], + 'example' => 'en', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AA75AADB-5E25-4970-B480-EAA1F5658483', - ], - 'PageNumber' => [ - 'description' => '当前页码,同请求参数的**PageNumber**。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页显示的域名个数,同请求参数的**PageSize**。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalCount' => [ - 'description' => '查询到的域名总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '55ADD936-763F-5E1A-BF54-2EA3F6E94A52'], + 'IpInfoList' => [ + 'description' => 'IP地址返回结果。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '111.XXX.XXX.230'], + 'IspName' => ['description' => '所属运营商名称。', 'type' => 'string', 'example' => 'China Mobile'], + 'Country' => ['description' => '所属国家。', 'type' => 'string', 'example' => 'China'], + 'Province' => ['description' => '所属省。', 'type' => 'string', 'example' => 'Beijing'], + 'City' => ['description' => '所属市。', 'type' => 'string', 'example' => 'Beijing'], + 'CdnIp' => ['description' => '是否属于阿里云CDN节点。'."\n" + .'- **true**:属于。'."\n" + .'- **false**:不属于。', 'type' => 'string', 'example' => 'true'], + ], + 'description' => '', + ], ], - 'Domains' => [ + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvaildBatchIp.LengthTooLong', 'errorMessage' => 'The batchIp parameter is too long', 'description' => '批量IP查询参数太长'], + ], + 403 => [ + ['errorCode' => 'InvaildParameter', 'errorMessage' => 'The parameter you provided is invalid.', 'description' => '域名不能包含下划线、斜杠等特殊符号,请检查域名格式后重新填写'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55ADD936-763F-5E1A-BF54-2EA3F6E94A52\\",\\n \\"IpInfoList\\": [\\n {\\n \\"IpAddress\\": \\"111.XXX.XXX.230\\",\\n \\"IspName\\": \\"China Mobile\\",\\n \\"Country\\": \\"China\\",\\n \\"Province\\": \\"Beijing\\",\\n \\"City\\": \\"Beijing\\",\\n \\"CdnIp\\": \\"true\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<BatchDescribeCdnIpInfoResponse>\\n <RequestId>55ADD936-763F-5E1A-BF54-2EA3F6E94A52</RequestId>\\n <IpInfoList>\\n <IspName>移动</IspName>\\n <Country>中国</Country>\\n <IpAddress>111.XXX.XXX.230</IpAddress>\\n <City>北京市</City>\\n <CdnIp>true</CdnIp>\\n <Province>北京市</Province>\\n </IpInfoList>\\n <IpInfoList>\\n <IspName>NTT</IspName>\\n <Country>中国</Country>\\n <IpAddress>47.XXX.XXX.243</IpAddress>\\n <City>香港</City>\\n <CdnIp>true</CdnIp>\\n <Province>香港特别行政区</Province>\\n </IpInfoList>\\n</BatchDescribeCdnIpInfoResponse>","errorExample":""}]', + 'title' => '批量查询IP是否为CDN节点', + 'description' => '> 单用户调用频率:20次/秒。', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-05-16T01:24:00.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDescribeCdnIpInfo'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:BatchDescribeCdnIpInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'BatchSetCdnDomainConfig' => [ + 'summary' => '调用BatchSetCdnDomainConfig进行域名批量配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111684', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + ], + 'parameters' => [ + [ + 'name' => 'DomainNames', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,注意以下配置限制:'."\n" + ."\n" + .'- 一次最多传20个域名。'."\n" + .'- 域名个数乘以 Functions个数,小于等于50。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], + ], + [ + 'name' => 'Functions', + 'in' => 'query', + 'schema' => ['description' => '功能列表,一次传入最多50条,格式如下:'."\n" + ."\n" + .'- **functionName**(功能名称,必填):可配置功能请参见[功能列表](~~388460~~),多个参数之间用半角逗号(,)分隔。'."\n" + .'- **argName**(参数名称,必填):**functionName**的配置项(可配置多个配置项)。'."\n" + .'- **argValue**(参数值,必填):**functionName**的配置项的取值。'."\n" + .'- **parentid**(规则条件ID,非必填):通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[configid](~~388994~~),configid可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" + ."\n" + .'**parentId**为 **-1**:表示删除该配置里面已有的规则条件。'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "功能参数A", '."\n" + .' "argValue": "功能参数A对应的值"'."\n" + .' }, '."\n" + .' {'."\n" + .' "argName": "功能参数B", '."\n" + .' "argValue": "功能参数B对应的值"'."\n" + .' }], '."\n" + .' "functionName": "功能名称",'."\n" + .' "parentId": 选填项,对应引用规则条件的configid'."\n" + .'}]'."\n" + .'```'."\n" + .'不使用**parentId**的情况下,配置示例如下:'."\n" + .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "header_operation_type",'."\n" + .' "argValue": "add"'."\n" + .' }, {'."\n" + .' "argName": "header_name",'."\n" + .' "argValue": "Accept-Encoding"'."\n" + .' }, {'."\n" + .' "argName": "header_value",'."\n" + .' "argValue": "gzip"'."\n" + .' }, {'."\n" + .' "argName": "duplicate",'."\n" + .' "argValue": "off"'."\n" + .' }],'."\n" + .' "functionName": "origin_request_header"'."\n" + .'}]'."\n" + .'```'."\n" + .'使用**parentId**的情况下,配置示例如下:'."\n" + .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "header_operation_type",'."\n" + .' "argValue": "add"'."\n" + .' }, {'."\n" + .' "argName": "header_name",'."\n" + .' "argValue": "Accept-Encoding"'."\n" + .' }, {'."\n" + .' "argName": "header_value",'."\n" + .' "argValue": "gzip"'."\n" + .' }, {'."\n" + .' "argName": "duplicate",'."\n" + .' "argValue": "off"'."\n" + .' }],'."\n" + .' "functionName": "origin_request_header",'."\n" + .' "parentId": 222728944812032'."\n" + .'}]'."\n" + .'```'."\n" + .'对一个已经使用了**parentId**的功能配置删除对**parentId**的引用,配置示例如下:'."\n" + .'函数**origin_request_header**添加回源HTTP请求头的时候已经引用了**configid=222728944812032**的规则条件,现在要删掉对规则条件的引用,请求参数如下:'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "header_operation_type",'."\n" + .' "argValue": "add"'."\n" + .' }, {'."\n" + .' "argName": "header_name",'."\n" + .' "argValue": "Accept-Encoding"'."\n" + .' }, {'."\n" + .' "argName": "header_value",'."\n" + .' "argValue": "gzip"'."\n" + .' }, {'."\n" + .' "argName": "duplicate",'."\n" + .' "argValue": "off"'."\n" + .' }],'."\n" + .' "functionName": "origin_request_header",'."\n" + .' "parentId": -1'."\n" + .'}]'."\n" + .'```', 'type' => 'string', 'required' => true, 'example' => '[{"functionArgs": [{"argName": "key","argValue": "Content-Encoding"},{"argName": "value","argValue": "gzip"}],"functionName": "set_resp_header"} ]'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + 'DomainConfigList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'PageData' => [ - 'description' => '加速域名的状态信息。', + 'DomainConfigModel' => [ + 'description' => '域名配置清单。', 'type' => 'array', 'items' => [ - 'description' => '域名信息。', 'type' => 'object', 'properties' => [ - 'GmtModified' => [ - 'description' => '加速域名修改时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-DDThh:mm:ssZ。', - 'type' => 'string', - 'example' => '2015-10-28T11:05:52Z', - ], - 'DomainName' => [ - 'description' => '加速域名名称。', - 'type' => 'string', - 'example' => 'example.com', - ], + 'ConfigId' => ['description' => '配置ID,如果返回为0,则表示该条配置未配置成功,需要重新配置。', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.example.com'], + 'FunctionName' => ['description' => '功能名称。', 'type' => 'string', 'example' => 'set_resp_header'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidPageNumber.ValueNotSupported', - 'errorMessage' => 'The specified value of PageNumber is not supported.', + ['errorCode' => 'InvalidFunctions.Malformed', 'errorMessage' => 'The specified Functions is incorrectly formatted.', 'description' => '配置格式错误。'], + ['errorCode' => 'InvalidArgValue.Malformed', 'errorMessage' => 'The specified ArgValue is invalid.', 'description' => '参数格式错误,请检查更新后重试。'], + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => '[%s] is not supported.', 'description' => ''], + ['errorCode' => 'Invalid%s.Malformed', 'errorMessage' => 'The specified ArgValue [%s] is invalid.', 'description' => ''], + ['errorCode' => 'MissingParameter%s', 'errorMessage' => 'The specified value of ArgName[%s] is missing.', 'description' => '参数不能为空。'], + ['errorCode' => 'InvalidFunctionArgs.Malformed', 'errorMessage' => 'The specified FunctionArgs is invalid.', 'description' => '指定的功能参数是错误的。'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified ArgValue is missing.', 'description' => ''], + ['errorCode' => 'InvalidHeaderKey.ValueNotSupported', 'errorMessage' => 'The specified value of parameter HeaderKey is not supported.', 'description' => '指定的HTTP头参数不合法,超出可选范围。取值:Content-Type,Cache-Control,Content-Disposition,Content-Language,Expires,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Max-Age,Access-Control-Expose-Headers,Access-Control-Allow-Credentials。'], + ['errorCode' => 'TooManyDomains', 'errorMessage' => 'The count of domain is over 50.', 'description' => ''], + ['errorCode' => 'InvalidRule.Malformed', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'ConfigurationConflicts', 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', 'description' => '现在模拟环境的配置和生产环境配置不一致,无法直接修改生产环境配置。请您前往模拟环境完成您所需的配置,然后发布到生产环境进行覆盖。'], + ['errorCode' => 'InvalidFunction.NotSupported', 'errorMessage' => 'The domain is not supported to set the function.', 'description' => '域名不支持设置该功能。'], + ['errorCode' => 'InvalidDomain.BelongToConfigGroup', 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', 'description' => ''], + ['errorCode' => 'EntityNotExist.Role', 'errorMessage' => 'EntityNotExist.Role', 'description' => ''], + ['errorCode' => 'MissingParameterFunctions', 'errorMessage' => 'The specified value of Functions is missing.', 'description' => ''], + ['errorCode' => 'NoPermission.SLR', 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize AliyunCDNFullAccess or custom policy:Service Name:cdn-ddos.cdn.aliyuncs.com,Role: AliyunServiceRoleForCDNAccessingDDoS,Permission: ram: CreateServiceLinkedRole', 'description' => '当前用户没有创建服务关联角色的权限,请联系主账号或权限管理员授权AliyunCDNFullAccess或授权创建服务关联角色的自定义权限策略。自定义权限策略的相关信息如下:'."\n" + .'Service Name:cdn-ddos.cdn.aliyuncs.com'."\n" + .'服务关联角色名称:AliyunServiceRoleForCDNAccessingDDoS'."\n" + .'执行该操作所需的用户权限:ram:CreateServiceLinkedRole'], + ['errorCode' => 'ConfigExceedLimit', 'errorMessage' => 'Count of config entries exceeds the limit.', 'description' => '配置条数超过限制。'], + ['errorCode' => 'EdgeScriptCountExceedLimit', 'errorMessage' => 'The number of rules exceeds the default limit.', 'description' => '超过默认规则数量限制,如需提升数量,请提交工单咨询。'], + ['errorCode' => 'EdgeScripOptionsHasInnerConfig', 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptGrammarNotSupport', 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptNotSupportJs', 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['errorCode' => 'ServiceInvokeFailed', 'errorMessage' => 'Failed to invoke service.', 'description' => '调用内部服务失败。'], + ['errorCode' => 'ConfigParentExceedLimit', 'errorMessage' => 'Config parent exceed limit.', 'description' => '已引用的高级条件规则超过阈值。'], + ['errorCode' => 'Function.InvalidParentId', 'errorMessage' => 'The specified parentId does not exist.', 'description' => '指定的规则条件不存在'], + ['errorCode' => 'BatchSetBusinessError', 'errorMessage' => 'some configs error:%s', 'description' => '发生配置错误:%s'], + ['errorCode' => 'ConfigDuplicate', 'errorMessage' => 'Duplicate configuration. This function has already been configured and cannot be added repeatedly.', 'description' => '配置重复,该功能已经存在配置,不允许重复添加。'], + ['errorCode' => 'FunctionArgError', 'errorMessage' => 'The function parameter of the domain configuration is incorrect.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"DomainConfigList\\": {\\n \\"DomainConfigModel\\": [\\n {\\n \\"ConfigId\\": 1234567,\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"FunctionName\\": \\"set_resp_header\\"\\n }\\n ]\\n }\\n}","errorExample":"[{\\"functionArgs\\":[{\\"argName\\":\\"file_type\\",\\"argValue\\":\\"jpg\\"},{\\"argName\\":\\"ttl\\",\\"argValue\\":\\"18\\"},{\\"argName\\":\\"weight\\",\\"argValue\\":\\"30\\"}],\\"functionName\\":\\"filetype_based_ttl_set\\",\\"configId\\":5068995}]"},{"type":"xml","example":"<BatchSetCdnDomainConfigResponse>\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<DomainConfigModel>\\n <DomainName>www.example.com</DomainName>\\n <ConfigId>1234567</ConfigId>\\n <FunctionName>set_resp_header</FunctionName>\\n</DomainConfigModel>\\n</BatchSetCdnDomainConfigResponse>","errorExample":"http://cdn.aliyuncs.com/?Action=BatchSetCdnDomainConfig\\n&DomainName=example.com\\n&Functions=[{\\"functionArgs\\":[{\\"argName\\":\\"domain_name\\",\\"argValue\\":\\"api.hellodtworld.com\\"}],\\"functionName\\":\\"set_req_host_header\\"}]\\n&<公共请求参数>"}]', + 'title' => '批量配置域名', + 'description' => '- 单用户调用频率:3次/秒。'."\n" + .'- 调用BatchSetCdnDomainConfig给域名配置某些功能后,将会生成唯一的ConfigId,通过ConfigId可以完成更新和删除配置操作。具体使用方法,请参见[ConfigId使用与查询](~~388994~~)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-06T08:03:42.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T07:53:08.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-11-26T02:48:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-06-13T02:32:43.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-25T02:31:27.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-23T02:56:00.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-03-15T07:25:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-11-23T02:17:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:BatchSetCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ], ], - [ - 'errorCode' => 'InvalidPageSize.ValueNotSupported', - 'errorMessage' => 'The specified value of PageSize is invalid.', + 'additionalActions' => [ + ['action' => 'ram:CreateServiceLinkedRole', 'validationType' => 'always'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA75AADB-5E25-4970-B480-EAA1F5658483\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalCount\\": 16,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"GmtModified\\": \\"2015-10-28T11:05:52Z\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDeletedDomainsResponse>\\n<PageNumber>1</PageNumber>\\n<TotalCount>16</TotalCount>\\n<PageSize>5</PageSize>\\n<RequestId>AA75AADB-5E25-4970-B480-EAA1F5658483</RequestId>\\n<Domains>\\n <PageData>\\n <DomainName>example.com</DomainName>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.org</DomainName>\\n <GmtModified>2015-10-28T11:05:50Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.net</DomainName>\\n <GmtModified>2015-10-27T06:26:34Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.edu</DomainName>\\n <GmtModified>2015-10-23T09:23:29Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>aliyundoc.com</DomainName>\\n <GmtModified>2015-10-23T09:02:11Z</GmtModified>\\n </PageData>\\n</Domains>\\n</DescribeCdnDeletedDomainsResponse>","errorExample":""}]', - 'title' => '查询已删除域名', - 'description' => '> 单用户调用频率:10次/秒。', + ], + 'BatchStartCdnDomain' => [ + 'summary' => '调用BatchStartCdnDomain批量启用状态为停用的加速域名,将DomainStatus变更为Online。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111686', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], + ], + 'parameters' => [ + [ + 'name' => 'DomainNames', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'RecordCheckNotAvailable', 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', 'description' => ''], + ['errorCode' => 'IcpBlack', 'errorMessage' => 'The domain is on the ICP blacklist.', 'description' => ''], + ['errorCode' => 'IspBlack', 'errorMessage' => 'The domain is on the ISP blacklist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}"},{"type":"xml","example":"<BatchStartCdnDomainResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</BatchStartCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '批量启用域名', + 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" + .'- 单用户调用频率:30次/秒。'."\n" + .'- 单次配置的域名数量不超过50个。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'VerifyDomainOwner' => [ - 'summary' => '调用VerifyDomainOwner对域名归属权进行校验。', - 'methods' => [ - 'get', - 'post', + 'BatchStopCdnDomain' => [ + 'summary' => '调用BatchStopCdnDomain批量停用加速域名,将DomainStatus变更为Offline。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111687', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], + ], + 'parameters' => [ + [ + 'name' => 'DomainNames', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '324AEFFF-308C-4DA7-8CD3-01B277B98F28'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"324AEFFF-308C-4DA7-8CD3-01B277B98F28\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"324AEFFF-308C-4DA7-8CD3-01B277B98F28\\"\\n}"},{"type":"xml","example":"<BatchStopCdnDomainResponse>\\r\\n\\t<RequestId>324AEFFF-308C-4DA7-8CD3-01B277B98F28</RequestId>\\r\\n</BatchStopCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '批量停用域名', + 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" + .'- 如果您暂时不需要对某域名进行加速,推荐您使用StopDomain接口,暂停域名加速效果。'."\n" + .'- 单用户调用频率:30次/秒。'."\n" + .'- 单次配置的域名数量不超过50个。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-11-16T02:52:26.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:BatchStopCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + ], + 'BatchUpdateCdnDomain' => [ + 'summary' => '调用BatchUpdateCdnDomain批量更新加速域名基本信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1266,35 +1170,34 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111923', - 'abilityTreeNodes' => [ - 'FEATUREcdnRLQ471', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '111688', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '只支持单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)隔开。', 'type' => 'string', 'required' => true, 'example' => 'example.com,example.org'], ], [ - 'name' => 'VerifyType', + 'name' => 'Sources', 'in' => 'query', - 'schema' => [ - 'description' => '校验方式,取值:'."\n" - ."\n" - .'- **dnsCheck**:DNS验证。'."\n" - .'- **fileCheck**:文件验证。', - 'type' => 'string', - 'required' => true, - 'example' => 'dnsCheck', - ], + 'schema' => ['description' => '回源地址列表。'."\n" + ."\n" + .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', 'type' => 'string', 'required' => false, 'example' => '[{"content":"10.10.10.10","type":"ipaddr","priority":"20","port":80,"weight":"15"}]'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyuji4b6r4**'], + ], + [ + 'name' => 'TopLevelDomain', + 'in' => 'query', + 'schema' => ['description' => '顶级接入域。'."\n" + ."\n" + .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], ], 'responses' => [ @@ -1302,116 +1205,141 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '校验内容。'."\n" - ."\n" - .'>调用成功不返回该参数,调用失败返回校验内容。', - 'type' => 'string', - 'example' => 'verify_dffeb6610035dcb77b413a59c32c****', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DomainOwnerVerifyFail', - 'errorMessage' => 'Owner verification of the root domain failed.', - ], - [ - 'errorCode' => 'InvalidFile', - 'errorMessage' => 'The file is not found.', - ], - [ - 'errorCode' => 'VerifyError', - 'errorMessage' => 'The specified Verify is incorrectly formatted.', - ], + ['errorCode' => 'MissingDomainName', 'errorMessage' => 'The domainName parameter is required.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ['errorCode' => 'InvalidSource.Content.Malformed', 'errorMessage' => 'The specified Source Content is invalid.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidTypeContent.Mismatch', 'errorMessage' => 'The specified source type does not match the specified source content.', 'description' => ''], + ['errorCode' => 'MissingSource.Content', 'errorMessage' => 'The Source Content must be specified.', 'description' => '缺少源站信息。'], + ['errorCode' => 'MissingSource.Type', 'errorMessage' => 'The Source Type must be specified.', 'description' => ''], + ['errorCode' => 'InvalidSources.Malformed', 'errorMessage' => 'Specified Sources is malformed.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidSource.Type.Malformed', 'errorMessage' => 'The specified Source Type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidSource.Priority.Malformed', 'errorMessage' => 'The specified Source Priority is invalid.', 'description' => ''], + ['errorCode' => 'InvalidResourceGroupId.Malformed', 'errorMessage' => 'The specified ResourceGroupId is invalid.', 'description' => ''], + ['errorCode' => 'EntityNotExists.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '资源组不存在。'], + ['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '该资源组不存在。'], + ['errorCode' => 'InvalidStatus.ResourceGroup', 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', 'description' => '资源组当前状态不允许进行此操作。'], + ], + 403 => [ + ['errorCode' => 'DomainInProtectedMode', 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32c****\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"<VerifyDomainOwnerResponse>\\n<Content>verify_dffeb6610035dcb77b413a59c32c****</Content>\\n<RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</VerifyDomainOwnerResponse>","errorExample":""}]', - 'title' => '校验域名归属权', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchUpdateCdnDomainResponse>\\t\\r\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\r\\n</BatchUpdateCdnDomainResponse>\\t","errorExample":""}]', + 'title' => '批量更新域名', + 'description' => '- 单用户调用频率:30次/秒。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持更新50个域名。', + 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。<br>ipaddr:IP源站。<br>domain:域名源站。<br>oss:OSS Bucket为源站。<br>fc_domain:函数计算源站。 |'."\n" + .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" + .'| port| Integer| 否 | 端口。您可以指定80、443,也可以自定义端口,默认值为80。443端口支持HTTPS协议回源。 |'."\n" + .'| priority | String | 否 | 源站地址对应的优先级,支持20和30,默认值为20。20是主源,30是备源。|'."\n" + .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeVerifyContent' => [ - 'summary' => '调用DescribeVerifyContent查询归属校验内容。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:BatchUpdateCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'CheckCdnDomainExist' => [ + 'summary' => '调用CheckCdnDomainExist检测域名是否存在。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111847', - 'abilityTreeNodes' => [ - 'FEATUREcdnRLQ471', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '172982', + 'abilityTreeNodes' => ['FEATUREcdnORORBI'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', 'schema' => [ - 'description' => '只支持单个域名。', + 'title' => 'A short description of struct', + 'description' => '加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com', + 'enum' => [], ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '校验内容。', - 'type' => 'string', - 'example' => 'verify_dffeb6610035dcb77b413a59c32cd91f', - ], - 'RequestId' => [ - 'description' => '该条任务请求ID。', - 'type' => 'string', - 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], + 'Status' => ['description' => '域名状态,取值:'."\n" + .'- **DomainNotExist**:域名未被添加'."\n" + .'- **DomainExistOtherUser**:域名已被其他账号添加'."\n" + .'- **DomainExistCdnProduct**:域名已被添加至Cdn'."\n" + .'- **DomainExistDcdnProduct**:域名已被添加至Dcdn'."\n" + .'- **DomainExistScdnProduct**:域名已被添加至Scdn'."\n" + .'- **DomainExistVodProduct**:域名已被添加至Vod'."\n" + .'- **DomainExistLiveProduct**:域名已被添加至Live'."\n" + .'- **DomainExistDcdnipaProduct**:域名已被添加至Dcdnipa', 'type' => 'string', 'example' => 'DomainNotExist'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32cd91f\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeVerifyContentResponse>\\n<Content>verify_dffeb6610035dcb77b413a59c32cd91f</Content>\\n<RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</DescribeVerifyContentResponse>","errorExample":""}]', - 'title' => '查询校验归属权内容', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainVerifyData' => [ - 'summary' => '调用DescribeDomainVerifyData,根据加速域名是否开启全球资源计划,返回对应的校验内容。', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'DomainExist.OtherUser', 'errorMessage' => 'This domain is already added by another user.', 'description' => ''], + ['errorCode' => 'DomainExist.OtherProduct', 'errorMessage' => 'This domain is already existed in %s.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"Status\\": \\"DomainNotExist\\"\\n}","type":"json"}]', + 'title' => '检测域名是否存在', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CheckCdnDomainExist', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#AccountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'CheckCdnDomainICP' => [ + 'summary' => '调用CheckCdnDomainICP查询域名是否备案。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1419,81 +1347,377 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '178430', - 'abilityTreeNodes' => [ - 'FEATUREcdnRLQ471', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', + 'schema' => ['title' => 'A short description of struct', 'description' => '域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.yourdomain.com', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'Status' => [ + 'description' => '资源包状态。取值:'."\n" + ."\n" + .'- **DomainIsRegistration**:已备案。'."\n" + ."\n" + .'- **DomainNotRegistration**:未备案。', + 'type' => 'string', + 'enumValueTitles' => ['DomainNotRegistration' => '未备案', 'DomainIsRegistration' => '已备案'], + 'example' => 'DomainIsRegistration', + ], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => '-124', 'errorMessage' => 'The domain provided does not belong to you.', 'description' => ''], + ['errorCode' => 'CheckDomainICPFail', 'errorMessage' => 'The domain query icp info error,check domain icp failed.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"Status\\": \\"DomainIsRegistration\\"\\n}","type":"json"}]', + 'title' => '查询域名是否备案', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CheckCdnDomainICP', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateCdnCertificateSigningRequest' => [ + 'summary' => '调用CreateCdnCertificateSigningRequest创建 CSR(证书签名请求)文件。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GlobalResourcePlan', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111691', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CommonName', + 'in' => 'query', + 'schema' => ['description' => '证书通用名称CN字段。', 'type' => 'string', 'required' => true, 'example' => 'CommonName'], + ], + [ + 'name' => 'SANs', 'in' => 'query', + 'schema' => ['description' => '证书扩展字段,绑定的域名,多个域名用逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ + 'name' => 'Organization', + 'in' => 'query', + 'schema' => ['description' => '机构名称,默认:Alibaba Inc。', 'type' => 'string', 'required' => false, 'example' => 'Alibaba Inc', 'default' => 'Alibaba Inc.'], + ], + [ + 'name' => 'OrganizationUnit', + 'in' => 'query', + 'schema' => ['description' => '部门名称,默认:Aliyun CDN。', 'type' => 'string', 'required' => false, 'example' => 'Aliyun CDN', 'default' => 'Aliyun CDN'], + ], + [ + 'name' => 'Country', + 'in' => 'query', + 'schema' => ['description' => '所属国家,默认:CN。', 'type' => 'string', 'required' => false, 'example' => 'CN', 'default' => 'CN'], + ], + [ + 'name' => 'State', + 'in' => 'query', + 'schema' => ['description' => '省级地区,默认:Zhejiang。', 'type' => 'string', 'required' => false, 'example' => 'Zhejiang', 'default' => 'Zhejiang'], + ], + [ + 'name' => 'City', + 'in' => 'query', + 'schema' => ['description' => '市级地区,默认:Hangzhou。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou', 'default' => 'Hangzhou'], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => ['description' => '邮箱。', 'type' => 'string', 'required' => false, 'example' => 'username@example.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '是否开启全球资源计划。'."\n" - .'支持:'."\n" - .'- **on**(开启)'."\n" - .'- **off**(不开启)', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'off' => 'off', - 'on' => 'on', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], + 'PubMd5' => ['description' => '证书公钥信息Md5值。', 'type' => 'string', 'example' => '629bf4fd8104eda171135bcb0f77****'], + 'Csr' => ['description' => '证书签名请求文件内容。', 'type' => 'string', 'example' => 'CSRName'], + 'CommonName' => ['description' => '证书通用名称。', 'type' => 'string', 'example' => 'CommonName'], ], - 'example' => 'off', + 'description' => '', ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidValue.Malformed', 'errorMessage' => 'Country must be 2 characters.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'Internal.KeyError', 'errorMessage' => 'Failed to generate rsa key.', 'description' => ''], + ['errorCode' => 'Internal.CreateCSRError', 'errorMessage' => 'Failed to create CSR.', 'description' => ''], + ['errorCode' => 'Internal.EncodeCSRError', 'errorMessage' => 'Failed to encode CSR.', 'description' => ''], + ['errorCode' => 'Internal.EncodeKeyError', 'errorMessage' => 'Failed to encode private key.', 'description' => ''], + ['errorCode' => 'Internal.Error', 'errorMessage' => 'The request processing has failed due to backend service exception.', 'description' => ''], + ], + ], + 'title' => '创建证书签名请求', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-01-05T06:57:41.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCdnCertificateSigningRequest'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateCdnCertificateSigningRequest', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\",\\n \\"PubMd5\\": \\"629bf4fd8104eda171135bcb0f77****\\",\\n \\"Csr\\": \\"CSRName\\",\\n \\"CommonName\\": \\"CommonName\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\n<CommonName>CommonName</CommonName>\\n<Csr>-----BEGIN CERTIFICATE REQUEST-----\\nMIIC/zqT****\\n-----END CERTIFICATE REQUEST-----\\n</Csr>\\n<PubMd5>629bf4fd8104eda171135bcb0f77****</PubMd5>","errorExample":""}]', + ], + 'CreateCdnDeliverTask' => [ + 'summary' => '调用CreateCdnDeliverTask创建报表订阅任务,订阅成功后系统会周期性地以邮件方式向您发送报表统计数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '订阅交付任务名称。', 'type' => 'string', 'required' => true, 'example' => 'Domain subscription'], + ], + [ + 'name' => 'Reports', + 'in' => 'formData', + 'schema' => ['description' => '待订阅的报表列表,需进行JSON转义。', 'type' => 'string', 'required' => true, 'example' => '[{\\"reportId\\":1,\\"conditions\\":[{\\"field\\":\\"prov\\",\\"op\\":\\"in\\",\\"value\\":[\\" Heilongjiang\\",\\" Beijing\\"]}]}]'], + ], + [ + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => ['description' => '<props="china">待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)申请。</props>'."\n" + ."\n" + .'<props="intl">待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请。</props>'."\n" + .'> 不传该参数,默认为账号下的所有域名订阅报表交付任务。', 'type' => 'string', 'required' => false, 'example' => 'www.example1.com,www.example2.com'], + ], + [ + 'name' => 'Deliver', + 'in' => 'formData', + 'schema' => ['description' => '报表发送方式,仅支持邮件发送,需进行JSON转义。', 'type' => 'string', 'required' => true, 'example' => '{"email":{"subject":" topic name","to":["username@example.com","username@example.org"]}}'], + ], + [ + 'name' => 'Schedule', + 'in' => 'formData', + 'schema' => ['description' => '订阅周期相关参数,需进行JSON转义。', 'type' => 'string', 'required' => true, 'example' => '{"schedName":"Periodic task name","description":"Description","crontab":"000**?","frequency":"d","status":"enable","effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z"}'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '校验内容。', - 'type' => 'string', - 'example' => '{'."\n" - .' "verifiCode": "uy0-DxxxxxxxxKl-JnJY4",'."\n" - .' "verifyKey": "_acxxxe-xxxx"'."\n" - .'}', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F61CDR30-E83C-4FDA-BF73-9A94CDD44229', - ], + 'DeliverId' => ['description' => '订阅任务ID。', 'type' => 'string', 'example' => '1025'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliverId\\": \\"1025\\",\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCdnDeliverTaskResponse>\\n <DeliverId>1025</DeliverId>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</CreateCdnDeliverTaskResponse>","errorExample":""}]', + 'title' => '创建报表订阅任务', + 'description' => '> 单用户调用频率:3次/秒。', + 'requestParamsDescription' => '**ReDatas数据说明**'."\n" + ."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-------|-----|------|'."\n" + .'|reportId|String|是|报表ID。|'."\n" + .'|conditions|ConDatas[]|否|报表过滤条件。|'."\n" + ."\n" + .'**ConDatas数据说明**'."\n" + ."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|----|-----|---------|'."\n" + .'|field|String|否|过滤字段。|'."\n" + .'|op|String|否|过滤操作。|'."\n" + .'|value|String[]|否|字段值数组。|'."\n" + ."\n" + .'**email数据说明**'."\n" + ."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-----|------|-------|'."\n" + .'|subject|String|是|订阅主题。|'."\n" + .'|to|String[]|是|收件邮箱列表数组。|'."\n" + ."\n" + .'**Deliver数据说明**'."\n" + ."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-----------|---|---|'."\n" + .'|subject|String|否|订阅主题。|'."\n" + .'|to|String[]|是|收件邮箱列表数组。|'."\n" + ."\n" + .'**Schedule数据说明**'."\n" + ."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-----------|----|---|'."\n" + .'|schedName|String|否|订阅任务名称。|'."\n" + .'|description|String|否|订阅任务描述。|'."\n" + .'|crontab|String|是|订阅任务执行周期。|'."\n" + .'|frequency|String|是|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**w**:周|'."\n" + .'|status|String|否|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" + .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" + .'|effectiveEnd|String|否|订阅交付任务结束时间。|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCdnDeliverTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateCdnDeliverTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"{\\\\n \\\\\\"verifiCode\\\\\\": \\\\\\"uy0-DxxxxxxxxKl-JnJY4\\\\\\",\\\\n \\\\\\"verifyKey\\\\\\": \\\\\\"_acxxxe-xxxx\\\\\\"\\\\n}\\",\\n \\"RequestId\\": \\"F61CDR30-E83C-4FDA-BF73-9A94CDD44229\\"\\n}","type":"json"}]', - 'title' => '查询域名归属校验内容', ], - 'StartCdnDomain' => [ - 'summary' => '调用StartCdnDomain启用状态为停用的加速域名,将DomainStatus变更为Online。', - 'methods' => [ - 'get', - 'post', + 'CreateCdnSubTask' => [ + 'summary' => '调用CreateCdnSubTask定制运营报表,定制后可查看定制报表数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ReportIds', + 'in' => 'formData', + 'schema' => ['description' => '支持定制的报表ID列表,多个用英文逗号(,)分隔。取值:'."\n" + .'- **1**:热门URL(按请求数排序)。'."\n" + .'- **3**:热门URL(按流量排序)。'."\n" + .'- **5**:热门Referer(按请求数排序)。'."\n" + .'- **7**:热门Referer(按流量排序)。'."\n" + .'- **9**:回源热门URL(按请求数排序)。'."\n" + .'- **11**:回源热门URL(按流量排序)。'."\n" + .'- **13**:Top客户端IP(按请求数排序)。'."\n" + .'- **15**:Top客户端IP(按流量排序)。'."\n" + .'- **17**:域名排行(按流量排序)。'."\n" + .'- **19**:PV和UV。'."\n" + .'- **21**:访问区域分布。'."\n" + .'- **23**:运营商分布。', 'type' => 'string', 'required' => true, 'example' => '1,3,5'], + ], + [ + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => ['description' => '<props="china">待订阅的域名列表,多个域名用半角逗号(,)分隔</props>'."\n" + ."\n" + .'<props="intl">待订阅的域名列表,多个域名用半角逗号(,)分隔</props>'."\n" + .'> 不传该参数,默认为账号下的所有域名订阅报表交付任务。', 'type' => 'string', 'required' => false, 'example' => 'www.example1.com,www.example2.com'], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCdnSubTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</CreateCdnSubTaskResponse>","errorExample":""}]', + 'title' => '创建报表定制任务', + 'description' => '- 定制可精确到报表和域名粒度,定制成功后可供您日常查看定制的报表数据。'."\n" + .'- 单用户调用频率:3次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + ], + 'CreateRealTimeLogDelivery' => [ + 'summary' => '调用CreateRealTimeLogDelivery创建域名实时日志投递。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1501,23 +1725,32 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111916', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111696', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持启用单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '实时投递sls的ProjectName。'."\n", 'type' => 'string', 'required' => true, 'example' => 'ProjectName'], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的LogStoreName。'."\n", 'type' => 'string', 'required' => true, 'example' => 'LogstoreName'], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '开启实时日志投递服务域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -1525,73 +1758,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F32C57AA-7BF8-49AE-A2CC-9F42390F5A19'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RecordCheckNotAvailable', - 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', - ], - [ - 'errorCode' => 'IcpBlack', - 'errorMessage' => 'The domain is on the ICP blacklist.', - ], - [ - 'errorCode' => 'IspBlack', - 'errorMessage' => 'The domain is on the ISP blacklist.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'LogstoreNotExist', 'errorMessage' => 'Logstore does not exist', 'description' => ''], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain does not exist, or it does not belong to you.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<StartCdnDomainResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</StartCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '启用域名', - 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" - .'- 单用户调用频率:100次/秒。', + 'title' => '创建实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'BatchStartCdnDomain' => [ - 'summary' => '调用BatchStartCdnDomain批量启用状态为停用的加速域名,将DomainStatus变更为Online。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRealTimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateRealTimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#Domain}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\",\\n}"},{"type":"xml","example":"<CreateRealTimeLogDeliveryResponse>\\r\\n\\t<RequestId>F32C57AA-7BF8-49AE-A2CC-9F42390F5A19</RequestId>\\r\\n</CreateRealTimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'CreateUsageDetailDataExportTask' => [ + 'summary' => '调用CreateUsageDetailDataExportTask创建用量明细数据导出任务,将详细用量生成Excel文件用于下载。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111686', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2019-12-10T20:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需晚于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2019-12-10T21:00:00Z'], + ], + [ + 'name' => 'Group', + 'in' => 'query', + 'schema' => ['description' => '域名组信息。如果该信息不为空,则忽略**DomainNames**字段。', 'type' => 'string', 'required' => false, 'example' => 'xxx'], + ], + [ 'name' => 'DomainNames', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个用半角逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '如果域名组为空,则以该字段提供的域名为准导出数据。'."\n" + ."\n" + .'如果未填写该参数,则导出用户维度数据。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '需要获取的用量类型。取值:'."\n" + .'- **flow**:流量带宽数据。'."\n" + ."\n" + .'- **vas**:请求数据。', 'type' => 'string', 'required' => true, 'example' => 'flow'], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'Refresh'], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => ['description' => '导出文件的语言。取值:'."\n" + .'- **zh-cn**(默认值):简体中文。'."\n" + .'- **en-us**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-us', 'default' => 'zh-cn'], ], ], 'responses' => [ @@ -1599,74 +1868,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '123456'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RecordCheckNotAvailable', - 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', - ], - [ - 'errorCode' => 'IcpBlack', - 'errorMessage' => 'The domain is on the ICP blacklist.', - ], - [ - 'errorCode' => 'IspBlack', - 'errorMessage' => 'The domain is on the ISP blacklist.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterDimension', 'errorMessage' => 'The parameter Dimension is invalid.', 'description' => 'Dimension 参数错误,请传入文档提供的参数值。'], + ['errorCode' => 'InvalidParameterBillType', 'errorMessage' => 'The parameter BillType is invalid.', 'description' => '用户账单类型错误,请确认账单类型符合该查询方式。'], + ['errorCode' => 'InvalidParameterAliuid', 'errorMessage' => 'Invalid Parameter Aliuid.', 'description' => 'Aliuid参数错误'], + ['errorCode' => 'InvalidParameterStartTime', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '参数StartTime不合法,请根据请求参数规定重新输入。'], + ['errorCode' => 'InvalidParameterEndTime', 'errorMessage' => 'The specified EndTime is invalid.', 'description' => '参数EndTime不合法,请根据请求参数规定重新输入。'], + ['errorCode' => 'InvalidTimeRange', 'errorMessage' => 'Invalid StartTime and EndTime range.', 'description' => '开始时间和结束时间范围无效。'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}"},{"type":"xml","example":"<BatchStartCdnDomainResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</BatchStartCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '批量启用域名', - 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" - .'- 单用户调用频率:30次/秒。'."\n" - .'- 单次配置的域名数量不超过50个。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"TaskId\\": \\"123456\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"TaskId\\": \\"123456\\"\\n}"},{"type":"xml","example":"<CreateUsageDetailDataExportTaskResponse>\\r\\n\\t<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n\\t<TaskId>123456</TaskId>\\r\\n</CreateUsageDetailDataExportTaskResponse>","errorExample":""}]', + 'title' => '创建用量明细数据导出任务', + 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" + .'- 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'StopCdnDomain' => [ - 'summary' => '调用StopCdnDomain停用某个加速域名,将DomainStatus变更为Offline。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:53.000Z', 'description' => '错误码发生变更、响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUsageDetailDataExportTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CreateUsageDetailDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ], + ], + ], + ], + ], + 'CreateUserUsageDataExportTask' => [ + 'summary' => '调用CreateUserUsageDataExportTask创建账号历史用量数据导出任务,将历史用量生成PDF文件用于下载。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111917', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持停用单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '获取数据起始时间点,数据粒度为5分钟。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2015-12-10T20:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点,结束时间需大于起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2015-12-10T21:00:00Z'], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'Refresh'], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => ['description' => '导出文件的语言。'."\n" + ."\n" + .'- **zh-cn**(默认值):简体中文。'."\n" + ."\n" + .'- **en-us**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-cn'], ], ], 'responses' => [ @@ -1674,41 +1970,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '129456'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidDomain.BelongToConfigGroup', - 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterAliuid', 'errorMessage' => 'Invalid Parameter Aliuid.', 'description' => 'Aliuid参数错误'], + ['errorCode' => 'InvalidParameterStartTime', 'errorMessage' => 'The parameter StartTime is invalid.', 'description' => '参数StartTime无效。'], + ['errorCode' => 'InvalidParameterEndTime', 'errorMessage' => 'The parameter EndTime is invalid.', 'description' => '参数EndTime无效。'], + ['errorCode' => 'InvalidTimeRange', 'errorMessage' => 'Invalid StartTime and EndTime range.', 'description' => '开始时间和结束时间范围无效。'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<StopCdnDomainResponse>\\r\\n\\t<RequestId>324AEFFF-308C-4DA7-8CD3-01B277B98F28</RequestId>\\r\\n</StopCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '停用域名', - 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" - .'- 单用户调用频率:40次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"TaskId\\": \\"129456\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"TaskId\\": \\"129456\\"\\n}"},{"type":"xml","example":"<CreateUserUsageDataExportTaskResponse>\\r\\n\\t<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n\\t<TaskId>129456</TaskId>\\r\\n</CreateUserUsageDataExportTaskResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '创建用量数据导出任务', + 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" + .'- 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:36.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserUsageDataExportTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CreateUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], - 'BatchStopCdnDomain' => [ - 'summary' => '调用BatchStopCdnDomain批量停用加速域名,将DomainStatus变更为Offline。', - 'methods' => [ - 'get', - 'post', + 'DeleteCdnDeliverTask' => [ + 'summary' => '调用DeleteCdnDeliverTask根据任务ID删除已订阅的报表任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'DeliverId', + 'in' => 'query', + 'schema' => ['description' => '待删除的订阅任务ID。您可以调用[DescribeCdnDeliverList](~~270877~~)接口查询订阅任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteCdnDeliverTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteCdnDeliverTaskResponse>","errorExample":""}]', + 'title' => '删除报表订阅任务', + 'description' => '> 单用户调用频率:3次/秒。', + 'changeSet' => [], + ], + 'DeleteCdnDomain' => [ + 'summary' => '调用DeleteCdnDomain删除已添加的加速域名。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1716,489 +2078,580 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111687', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '111702', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], ], 'parameters' => [ [ - 'name' => 'DomainNames', + 'name' => 'DomainName', 'in' => 'query', + 'schema' => ['description' => '要删除的CDN的域名,仅支持删除单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '加速域名,多个用半角逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + ], ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ['errorCode' => 'RewriteHostRely', 'errorMessage' => 'Domain name is configured as rewrite host by others.', 'description' => '该域名被其他域名配置为共享缓存对象。'], + ['errorCode' => 'InvalidDomain.BelongToConfigGroup', 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'OperationDenied', 'errorMessage' => 'You do not have access to this operation.', 'description' => '没有权限操作,请您通过访问控制 RAM 检查使用权限。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DeleteCdnDomainResponse>\\t\\r\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\r\\n</DeleteCdnDomainResponse>","errorExample":""}]', + 'title' => '删除域名', + 'description' => '- 删除域名前建议您前往域名解析服务商处恢复域名A记录,以免删除域名后导致域名不可访问。'."\n" + .'- DeleteCdnDomain接口调用成功后将删除本条加速域名的全部相关记录,如果您仅需要暂停该加速域名的使用,请调用StopCdnDomain接口。'."\n" + .'- 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + ], + 'DeleteCdnSubTask' => [ + 'summary' => '调用DeleteCdnSubTask删除所有已定制的运营报表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '324AEFFF-308C-4DA7-8CD3-01B277B98F28', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"324AEFFF-308C-4DA7-8CD3-01B277B98F28\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"324AEFFF-308C-4DA7-8CD3-01B277B98F28\\"\\n}"},{"type":"xml","example":"<BatchStopCdnDomainResponse>\\r\\n\\t<RequestId>324AEFFF-308C-4DA7-8CD3-01B277B98F28</RequestId>\\r\\n</BatchStopCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '批量停用域名', - 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" - .'- 如果您暂时不需要对某域名进行加速,推荐您使用StopDomain接口,暂停域名加速效果。'."\n" - .'- 单用户调用频率:30次/秒。'."\n" - .'- 单次配置的域名数量不超过50个。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteCdnSubTaskResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteCdnSubTaskResponse>","errorExample":""}]', + 'title' => '删除报表定制任务', + 'description' => '> 单用户调用频率:3次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'DescribeUserDomains' => [ - 'summary' => '调用DescribeUserDomains查询用户名下所有的域名与状态,支持域名模糊匹配过滤和域名状态过滤。', - 'methods' => [ - 'get', - 'post', + 'DeleteFCTrigger' => [ + 'summary' => '调用DeleteFCTrigger删除指定的函数计算触发器。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'TriggerARN', + 'in' => 'query', + 'schema' => ['description' => '函数计算服务对应的触发器。', 'type' => 'string', 'required' => true, 'example' => 'acs:cdn:{RegionID}:{AccountID}:{Filter}'], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter.TriggerARN', 'errorMessage' => 'The specified parameter TriggerARN is not valid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'PermissionDeny', 'errorMessage' => 'No permission to operate this FCTrigger.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteFCTriggerResponse>\\r\\n<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\r\\n</DeleteFCTriggerResponse>","errorExample":""}]', + 'title' => '删除函数计算触发器', + 'requestParamsDescription' => '## 数据类型SourceARN'."\n" + .'SourceARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" + ."\n" + .'- 其中Filter表示资源和过滤器,具体格式为:`{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" + ."\n" + .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)的过滤,如果只需要对`example.com`域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" + ."\n" + .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + ], + 'DeleteRealTimeLogLogstore' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111842', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111709', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,取值**1~500**,默认值为**20**,最大值为**500**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'example' => '5', - 'default' => '20', - ], + 'schema' => ['description' => '实时投递SLS的ProjectName。', 'type' => 'string', 'required' => true, 'example' => 'ProjectName'], ], [ - 'name' => 'PageNumber', + 'name' => 'Logstore', 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围:**1**~**100000**。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '实时投递SLS的LogStoreName。', 'type' => 'string', 'required' => true, 'example' => 'LogstoreName'], ], [ - 'name' => 'DomainName', + 'name' => 'Region', 'in' => 'query', + 'schema' => ['description' => '实时投递SLS的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '加速域名。如果不传该参数,默认不做域名匹配搜索,返回所有符合条件的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - 'maxLength' => 6800, + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', 'description' => '没有开启实时投递授权。'], + ['errorCode' => 'DomainDeliveryConfigExist', 'errorMessage' => 'Domain delivery configuration existed.', 'description' => '域名投递配置已关联。'], + ], + 404 => [ + ['errorCode' => 'LogstoreNotExist', 'errorMessage' => 'Logstore does not exist.', 'description' => 'Logstore 不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'title' => '删除实时日志推送的Logstore', + 'summary' => '调用DeleteRealTimeLogLogstore删除实时日志推送的Logstore。', + 'description' => '> 单用户调用频率:100次/秒。', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-05T03:20:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRealTimeLogLogstore'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ [ - 'name' => 'DomainStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '域名状态过滤。取值:'."\n" - .'- **online**:启用。'."\n" - .'- **offline**:停用。'."\n" - .'- **configuring**:配置中。'."\n" - .'- **configure_failed**:配置失败。'."\n" - .'- **checking**:正在审核。'."\n" - .'- **check_failed**:审核失败。'."\n" - .'- **stopping**:停用中。'."\n" - .'- **deleting**:删除中。'."\n" - ."\n" - .'如果不传该参数,默认查询所有状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'configure_failed', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DeleteRealTimeLogLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteRealTimeLogLogstoreResponse>\\n <RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\n</DeleteRealTimeLogLogstoreResponse>","errorExample":""}]', + ], + 'DeleteRealtimeLogDelivery' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DomainSearchType', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111708', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], + ], + 'parameters' => [ + [ + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '域名查询类型。取值:'."\n" - .'- **fuzzy_match**:模糊匹配。'."\n" - .'- **pre_match**:前匹配。'."\n" - .'- **suf_match**:后匹配。'."\n" - .'- **full_match**(默认值):完全匹配。'."\n" - ."\n" - .'> 传递了域名参数的情况下,不传DomainSearchType参数,则默认采用完全匹配模式。', - 'type' => 'string', - 'required' => false, - 'example' => 'fuzzy_match', - ], + 'schema' => ['description' => '删除实时日志投递服务域名,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'CdnType', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => 'CDN业务类型,多个用半角逗号(,)分隔。取值:'."\n" - .'- **web**:图片小文件。'."\n" - .'- **download**:大文件下载。'."\n" - .'- **video**:视音频点播。'."\n" - ."\n" - .'如果不传该参数,默认查询所有业务类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'download,web,video', - ], + 'schema' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'required' => true, 'example' => 'ProjectName'], ], [ - 'name' => 'CheckDomainShow', + 'name' => 'Logstore', 'in' => 'query', - 'schema' => [ - 'description' => '是否展示审核中、审核失败、配置失败的域名。取值:'."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '实时投递sls的LogStoreName。', 'type' => 'string', 'required' => true, 'example' => 'LogstoreName'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Region', 'in' => 'query', + 'schema' => ['description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '资源组ID,默认查询所有资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'abcd1234abcd1234', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', 'description' => '没有开启实时投递授权。'], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ], + 404 => [ + ['errorCode' => 'LogstoreNotExist', 'errorMessage' => 'Logstore does not exist.', 'description' => 'Logstore 不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'title' => '删除实时日志投递', + 'summary' => '调用DeleteRealtimeLogDelivery删除实时日志推送域名。', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-05T03:20:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ [ - 'name' => 'ChangeStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '更新开始时间,使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-10T12:14:55Z', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:DeleteRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#Domain}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<DeleteRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</DeleteRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DeleteSpecificConfig' => [ + 'summary' => '调用DeleteSpecificConfig删除域名的指定配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111710', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + ], + 'parameters' => [ [ - 'name' => 'ChangeEndTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '更新结束时间,使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需晚于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-10T12:14:58Z', - ], + 'schema' => ['description' => '加速域名,仅支持单个删除。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'Coverage', + 'name' => 'ConfigId', 'in' => 'query', + 'schema' => ['description' => '功能配置ID,多个用半角逗号(,)分隔。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。'."\n", 'type' => 'string', 'required' => true, 'example' => '2317'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '加速区域,默认为全部区域。取值:'."\n" - .'- **domestic**:仅中国内地。'."\n" - .'- **global**:全球。'."\n" - .'- **overseas**:全球(不包含中国内地)。', - 'type' => 'string', - 'required' => false, - 'example' => 'domestic', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => 'FunctionName [%s] is not supported.', 'description' => ''], + ['errorCode' => 'ConfigurationConflicts', 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', 'description' => '现在模拟环境的配置和生产环境配置不一致,无法直接修改生产环境配置。请您前往模拟环境完成您所需的配置,然后发布到生产环境进行覆盖。'], + ['errorCode' => 'EdgeScriptCountExceedLimit', 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', 'description' => ''], + ['errorCode' => 'EdgeScripOptionsHasInnerConfig', 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptGrammarNotSupport', 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptNotSupportJs', 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['errorCode' => 'InvalidRule.Malformed ', 'errorMessage' => '%s', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<DeleteSpecificConfigResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteSpecificConfigResponse>","errorExample":""}]', + 'title' => '删除域名的指定配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-05-09T02:27:32.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteSpecificConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], + ], + ], + 'DeleteSpecificStagingConfig' => [ + 'summary' => '调用DeleteSpecificStagingConfig删除模拟环境中的指定配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Source', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111711', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '源站信息。', - 'type' => 'string', - 'required' => false, - 'example' => '***', - ], + 'schema' => ['description' => '您的加速域名,多个域名使用半角逗号(,)分隔,一次最多支持50个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'Tag', + 'name' => 'ConfigId', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => '功能配置ID,多个ID用半角逗号(,)分隔。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。'."\n", 'type' => 'string', 'required' => true, 'example' => '2317'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '标签列表。列表元素最大数量:20。', - 'type' => 'array', - 'items' => [ - 'description' => '标签解释。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。'."\n" - ."\n" - .'默认查询所有标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], - 'Value' => [ - 'description' => '标签值。'."\n" - ."\n" - .'默认查询所有标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'value', - ], - ], - 'required' => false, + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], - 'required' => false, - 'maxItems' => 20, ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => 'FunctionName [%s] is not supported.', 'description' => ''], + ['errorCode' => 'GrayConfigIsNull', 'errorMessage' => 'You cannot delete all gary configurations. You can clear them by rolling back the simulation environment.', 'description' => '删空模拟环境下的规则并不能清空CDN节点上的配置,您可以通过回滚模拟环境来清空模拟环境下的配置。'], + ['errorCode' => 'EdgeScriptCountExceedLimit', 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', 'description' => ''], + ['errorCode' => 'EdgeScripOptionsHasInnerConfig', 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptGrammarNotSupport', 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptNotSupportJs', 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['errorCode' => 'InvalidRule.Malformed ', 'errorMessage' => 'Check rules error: %s', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSpecificStagingConfigResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteSpecificStagingConfigResponse>","errorExample":""}]', + 'title' => '删除模拟环境指定配置', + 'description' => '> 单用户调用频率:20次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-06-08T02:50:11.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-09T02:27:32.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteSpecificStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + ], + 'DeleteUsageDetailDataExportTask' => [ + 'summary' => '调用DeleteUsageDetailDataExportTask删除用量明细数据导出任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => '任务ID,可调用[DescribeUserUsageDataExportTask](~~91062~~)接口查询。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BDA62CE4-3477-439A-B52E-D2D7C829D7C1', - ], - 'PageNumber' => [ - 'description' => '返回数据的页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '整页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Domains' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'PageData' => [ - 'description' => '域名信息。', - 'type' => 'array', - 'items' => [ - 'description' => '域名信息。', - 'type' => 'object', - 'properties' => [ - 'SslProtocol' => [ - 'description' => 'HTTPS开关。取值:'."\n" - ."\n" - .'- **on**:已开启。'."\n" - .'- **off**:未开启。', - 'type' => 'string', - 'example' => 'on', - ], - 'Sandbox' => [ - 'description' => '是否在沙箱。取值:'."\n" - ."\n" - .'- **true**:是'."\n" - .'- **空字符串**:否', - 'type' => 'string', - 'example' => 'true', - ], - 'GmtModified' => [ - 'description' => '加速域名修改时间。', - 'type' => 'string', - 'example' => '2015-10-28T11:05:52Z', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DomainId' => [ - 'description' => '加速域名ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11223344', - ], - 'GmtCreated' => [ - 'description' => '加速域名创建时间。', - 'type' => 'string', - 'example' => '2015-10-28T09:32:51Z', - ], - 'Description' => [ - 'description' => '域名备案信息的描述。', - 'type' => 'string', - 'example' => 'filing description', - ], - 'Coverage' => [ - 'description' => '加速区域。取值:'."\n" - .'- **domestic**:仅中国内地。'."\n" - .'- **global**:全球。'."\n" - .'- **overseas**:全球(不包含中国内地)。', - 'type' => 'string', - 'example' => 'domestic', - ], - 'ResourceGroupId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'abcd1234abcd1234', - ], - 'Cname' => [ - 'description' => '加速域名对应的CNAME。', - 'type' => 'string', - 'example' => 'example.com.w.alikunlun.net', - ], - 'DomainStatus' => [ - 'description' => '加速域名状态。取值:'."\n" - .'- **online**:启用。'."\n" - .'- **offline**:停用。'."\n" - .'- **configuring**:配置中。'."\n" - .'- **configure_failed**:配置失败。'."\n" - .'- **checking**:正在审核。'."\n" - .'- **check_failed**:审核失败。'."\n" - .'- **stopping**:停用中。'."\n" - .'- **deleting**:删除中。', - 'type' => 'string', - 'example' => 'configure_failed', - ], - 'CdnType' => [ - 'description' => '加速业务类型。取值:'."\n" - ."\n" - .'- **web**:图片小文件。'."\n" - .'- **download**:大文件下载。'."\n" - .'- **video**:视音频点播。'."\n", - 'type' => 'string', - 'example' => 'download', - ], - 'Sources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Source' => [ - 'description' => '数据类型Source。', - 'type' => 'array', - 'items' => [ - 'description' => '数据类型Source。', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '源站类型。', - 'type' => 'string', - 'example' => 'oss', - ], - 'Weight' => [ - 'description' => '回源权重。', - 'type' => 'string', - 'example' => '15', - ], - 'Priority' => [ - 'description' => '优先级。', - 'type' => 'string', - 'example' => '20', - ], - 'Port' => [ - 'description' => '源站端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'Content' => [ - 'description' => '源站地址。', - 'type' => 'string', - 'example' => '***.oss-cn-hangzhou.aliyuncs.com', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidPageNumber.ValueNotSupported', - 'errorMessage' => 'The specified value of PageNumber is not supported.', - ], - [ - 'errorCode' => 'InvalidPageSize.ValueNotSupported', - 'errorMessage' => 'The specified value of PageSize is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainStatus.ValueNotSupported', - 'errorMessage' => 'The specified value of DomainStatus is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainSearchType.ValueNotSupported', - 'errorMessage' => 'The specified value of DomainSearchType is invalid.', - ], - [ - 'errorCode' => 'InvalidChangeStartTime.Malformed', - 'errorMessage' => 'The specified ChangeStartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidChangeEndTime.Malformed', - 'errorMessage' => 'The specified ChangeEndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidCdnType.Malformed', - 'errorMessage' => 'The specified CdnType is invalid.', - ], + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterAliuid', 'errorMessage' => 'Invalid Parameter Aliuid.', 'description' => 'Aliuid参数错误'], + ['errorCode' => 'InvalidTaskId.Malformed', 'errorMessage' => 'Specified TaskId is malformed.', 'description' => 'TaskId无效。请检查 TaskId 是否存在。'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BDA62CE4-3477-439A-B52E-D2D7C829D7C1\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"SslProtocol\\": \\"on\\",\\n \\"Sandbox\\": \\"true\\",\\n \\"GmtModified\\": \\"2015-10-28T11:05:52Z\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainId\\": 11223344,\\n \\"GmtCreated\\": \\"2015-10-28T09:32:51Z\\",\\n \\"Description\\": \\"filing description\\",\\n \\"Coverage\\": \\"domestic\\",\\n \\"ResourceGroupId\\": \\"abcd1234abcd1234\\",\\n \\"Cname\\": \\"example.com.w.alikunlun.net\\",\\n \\"DomainStatus\\": \\"configure_failed\\",\\n \\"CdnType\\": \\"download\\",\\n \\"Sources\\": {\\n \\"Source\\": [\\n {\\n \\"Type\\": \\"oss\\",\\n \\"Weight\\": \\"15\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"***.oss-cn-hangzhou.aliyuncs.com\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserDomainsResponse>\\n <RequestId>BDA62CE4-3477-439A-B52E-D2D7C829D7C1</RequestId>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalCount>2</TotalCount>\\n <Domains>\\n <SslProtocol>on</SslProtocol>\\n <Sandbox>normal</Sandbox>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n <DomainName>example.com</DomainName>\\n <DomainId>11223344</DomainId>\\n <GmtCreated>2015-10-28T09:32:51Z</GmtCreated>\\n <Description>filing description</Description>\\n <Coverage>domestic</Coverage>\\n <ResourceGroupId>abcd1234abcd1234</ResourceGroupId>\\n <Cname>example.com.w.alikunlun.net</Cname>\\n <DomainStatus>configure_failed</DomainStatus>\\n <CdnType>download</CdnType>\\n <Sources>\\n <Type>oss</Type>\\n <Weight>15</Weight>\\n <Priority>20</Priority>\\n <Port>80</Port>\\n <Content>***.oss-cn-hangzhou.aliyuncs.com</Content>\\n </Sources>\\n </Domains>\\n</DescribeUserDomainsResponse>","errorExample":""}]', - 'title' => '查询用户域名', - 'description' => '- 单用户调用频率:100次/秒。'."\n" - .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持50个域名查询。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteUsageDetailDataExportTaskResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</DeleteUsageDetailDataExportTaskResponse>","errorExample":""}]', + 'title' => '删除用量明细数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-06-13T07:29:48.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DeleteUsageDetailDataExportTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], - 'DescribeDomainCname' => [ - 'summary' => '调用接口对加速域名 Cname 进行解析检测,查看解析结果判断是否完成Cname配置。', - 'methods' => [ - 'get', - 'post', + 'DeleteUserUsageDataExportTask' => [ + 'summary' => '调用DeleteUserUsageDataExportTask删除账号历史用量数据导出任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterAliuid', 'errorMessage' => 'Invalid Parameter Aliuid.', 'description' => 'Aliuid参数错误'], + ['errorCode' => 'InvalidTaskId.Malformed', 'errorMessage' => 'Specified TaskId is malformed.', 'description' => 'TaskId无效。请检查 TaskId 是否存在。'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserUsageDataExportTaskResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</DeleteUserUsageDataExportTaskResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '删除用量数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-06-13T07:29:42.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DeleteUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeBlockedRegions' => [ + 'summary' => '调用DescribeBlockedRegions查询区域封禁支持的国家和地区。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2207,120 +2660,100 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111769', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111717', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'Language', 'in' => 'query', 'schema' => [ - 'description' => '需要查询的加速域名,多个用逗号(,)分隔。参数不可为空', + 'description' => '语言。取值:'."\n" + ."\n" + .'- **zh**:简体中文。'."\n" + .'- **en**:英文。'."\n" + .'- **jp**:日文。', 'type' => 'string', 'required' => true, - 'example' => 'example.com,example.org', + 'example' => 'zh', + 'enum' => ['zh', 'en', 'jp'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '检测结果', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '06D29681-B7CD-4034-A8CC-28AFFA213539', - ], - 'CnameDatas' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23'], + 'InfoList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Data' => [ - 'description' => 'Cname检测结果数组。', + 'InfoItem' => [ + 'description' => '信息列表。', 'type' => 'array', 'items' => [ - 'description' => 'Cname信息', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'Cname检查结果。取值:'."\n" - ."\n" - .'- 0 表示通过域名解析检测到分配给域名的cname。'."\n" - .'- 1 表示通过域名解析暂未监测到分配给域名的cname。'."\n" - .'- -1 表示通过域名解析检测到分配给域名的cname超时', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '0', - '1', - -1 => '-1', - ], - 'example' => '0', - ], - 'Domain' => [ - 'description' => '输入参数中的加速域名。', - 'type' => 'string', - 'example' => 'a.com', - ], - 'Cname' => [ - 'description' => '阿里云CDN分配给域名的Cname', - 'type' => 'string', - 'example' => 'a.com.w.alikunlun.net', - ], - 'Passed' => [ - 'description' => '通过域名解析检测到分配给域名的cname是否通过,取值:'."\n" - .'- true: 通过'."\n" - .'- false: 不通过'."\n" - .'- timeout: 超时', - 'type' => 'string', - 'example' => 'true', - ], - 'ErrMsg' => [ - 'description' => '通过域名解析检测到分配给域名的cname不通过或超时的错误信息。', - 'type' => 'string', - 'example' => 'timeout', - ], + 'CountriesAndRegions' => ['description' => '国家地区缩写。', 'type' => 'string', 'example' => 'AF'], + 'Continent' => ['description' => '国家地区所属大区。', 'type' => 'string', 'example' => 'Asia'], + 'CountriesAndRegionsName' => ['description' => '国家地区名称。', 'type' => 'string', 'example' => 'Afghanistan'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DomainNameOverLimit', - 'errorMessage' => 'A maximum of 30 domains are supported for each request.', - ], + ['errorCode' => 'MISS_PARAMETER', 'errorMessage' => 'MISS_PARAMETER', 'description' => ''], + ['errorCode' => 'INVALID_PARAMETER', 'errorMessage' => 'INVALID_PARAMETER', 'description' => ''], + ['errorCode' => 'FAILED', 'errorMessage' => 'FAILED', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'InvaildParameter', - 'errorMessage' => 'The parameter you provided is invalid.', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\",\\n \\"InfoList\\": {\\n \\"InfoItem\\": [\\n {\\n \\"CountriesAndRegions\\": \\"AF\\",\\n \\"Continent\\": \\"Asia\\",\\n \\"CountriesAndRegionsName\\": \\"Afghanistan\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeBlockedRegionsResponse>\\n<RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>\\n<InfoList>\\n <InfoItem>\\n <Continent>亚洲</Continent>\\n <CountriesAndRegions>AF</CountriesAndRegions>\\n <CountriesAndRegionsName>阿富汗</CountriesAndRegionsName>\\n </InfoItem>\\n</InfoList>\\n</DescribeBlockedRegionsResponse>","errorExample":""}]', + 'title' => '查询支持封禁的区域', + 'description' => '> 单用户调用频率:50次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockedRegions'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeBlockedRegions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D29681-B7CD-4034-A8CC-28AFFA213539\\",\\n \\"CnameDatas\\": {\\n \\"Data\\": [\\n {\\n \\"Status\\": 0,\\n \\"Domain\\": \\"a.com\\",\\n \\"Cname\\": \\"a.com.w.alikunlun.net\\",\\n \\"Passed\\": \\"true\\",\\n \\"ErrMsg\\": \\"timeout\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '检测加速域名的Cname是否完成配置', ], - 'DescribeDomainsBySource' => [ - 'summary' => '调用DescribeDomainsBySource按源站查询加速域名。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnCertificateDetail' => [ + 'summary' => '调用DescribeCdnCertificateDetail查询CDN证书详细信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2329,172 +2762,47 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111802', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '111721', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'Sources', + 'name' => 'CertName', 'in' => 'query', - 'schema' => [ - 'description' => '源站,多个用半角逗号(,)分隔,不支持模糊匹配。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '证书名称,仅支持查询单个。', 'type' => 'string', 'required' => true, 'example' => 'cert-15480655xxxx'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'Sources' => [ - 'description' => '请求的源站。', - 'type' => 'string', - 'example' => 'example.com,aliyundoc.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B0F074E5-A1AC-4B32-8EA2-6F450410D1E0', - ], - 'DomainsList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DomainsData' => [ - 'description' => '由DomainsData组成的数组格式,返回各个源站对应的域名名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '由DomainsData组成的数组格式,返回各个源站对应的域名名称列表。', - 'type' => 'object', - 'properties' => [ - 'Source' => [ - 'description' => '请求的一个源站。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DomainInfos' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'domainInfo' => [ - 'description' => '由domainInfo组成的列表格式,返回域名的详细信息。', - 'type' => 'array', - 'items' => [ - 'description' => '由domainInfo组成的列表格式,返回域名的详细信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '域名状态。取值:'."\n" - ."\n" - .'- **applying**:审核中'."\n" - .'- **configuring**:配置中'."\n" - .'- **online**:正常运行'."\n" - .'- **stopping**:停止中'."\n" - .'- **offline**:停止'."\n" - .'- **disabling**:删除中', - 'type' => 'string', - 'example' => 'online', - ], - 'UpdateTime' => [ - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2017-03-31T04:49:00+08:00', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2016-07-12T11:53:19+08:00', - ], - 'DomainCname' => [ - 'description' => 'CNAME。', - 'type' => 'string', - 'example' => '***.alikunlun.com', - ], - 'CdnType' => [ - 'description' => '加速域名的业务类型。取值:'."\n" - ."\n" - .'- **web**:图片小文件。'."\n" - ."\n" - .'- **download**:大文件下载。'."\n" - ."\n" - .'- **video**:视音频点播。', - 'type' => 'string', - 'example' => 'web', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.org', - ], - ], - ], - ], - ], - ], - 'Domains' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'domainNames' => [ - 'description' => '由domainNames组成的列表格式,返回单个域名对应的域名名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '由domainNames组成的列表格式,返回单个域名对应的域名名称列表。', - 'type' => 'string', - 'example' => 'example.org', - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'cert-15480655xxxx'], + 'Key' => ['description' => '证书KEY。', 'type' => 'string', 'example' => 'xxxx'], + 'Cert' => ['description' => '证书。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\nMIIFzDCCBLSgAwIBxxxx'], + 'CertId' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '881049'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], ], ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The parameter Sources miss.', - ], - [ - 'errorCode' => 'InvalidSources.Malformed', - 'errorMessage' => 'Specified Sources is malformed.', - ], - [ - 'errorCode' => 'InvalidSources.NotFound', - 'errorMessage' => 'The sources provided does not found in your domains', - ], + 403 => [ + ['errorCode' => 'InvaildParameter', 'errorMessage' => 'The parameter you provided is invalid.', 'description' => '域名不能包含下划线、斜杠等特殊符号,请检查域名格式后重新填写'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Sources\\": \\"example.com,aliyundoc.com\\",\\n \\"RequestId\\": \\"B0F074E5-A1AC-4B32-8EA2-6F450410D1E0\\",\\n \\"DomainsList\\": {\\n \\"DomainsData\\": [\\n {\\n \\"Source\\": \\"example.com\\",\\n \\"DomainInfos\\": {\\n \\"domainInfo\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"UpdateTime\\": \\"2017-03-31T04:49:00+08:00\\",\\n \\"CreateTime\\": \\"2016-07-12T11:53:19+08:00\\",\\n \\"DomainCname\\": \\"***.alikunlun.com\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.org\\"\\n }\\n ]\\n },\\n \\"Domains\\": {\\n \\"domainNames\\": [\\n \\"example.org\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainsBySourceResponse>\\n <Sources>example.com,aliyundoc.com</Sources>\\n <RequestId>B0F074E5-A1AC-4B32-8EA2-6F450410D1E0</RequestId>\\n <DomainsList>\\n <Source>example.com</Source>\\n <DomainInfos>\\n <Status>online</Status>\\n <UpdateTime>2017-03-31T04:49:00+08:00</UpdateTime>\\n <CreateTime>2016-07-12T11:53:19+08:00</CreateTime>\\n <DomainCname>***.alikunlun.com</DomainCname>\\n <CdnType>web</CdnType>\\n <DomainName>example.org</DomainName>\\n </DomainInfos>\\n <Domains>example.org</Domains>\\n </DomainsList>\\n</DescribeDomainsBySourceResponse>","errorExample":""}]', - 'title' => '查询域名-按源站', - 'description' => '> 单用户调用频率:30次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertName\\": \\"cert-15480655xxxx\\",\\n \\"Key\\": \\"xxxx\\",\\n \\"Cert\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nMIIFzDCCBLSgAwIBxxxx\\",\\n \\"CertId\\": 881049,\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnCertificateDetailResponse>\\n <CertName>cert-15480655xxxx</CertName>\\n <Key>xxxx</Key>\\n <Cert>-----BEGIN CERTIFICATE-----\\\\nMIIFzDCCBLSgAwIBxxxx</Cert>\\n <CertId>881049</CertId>\\n <RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\n</DescribeCdnCertificateDetailResponse>","errorExample":""}]', + 'title' => '查询证书详情', + 'description' => '> 单用户调用频率:20次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'DescribeCdnUserDomainsByFunc' => [ - 'summary' => '调用DescribeCdnUserDomainsByFunc查询用户名下配置了指定功能的所有的域名及其状态。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnCertificateDetailById' => [ + 'summary' => '调用DescribeCdnCertificateDetailById根据证书ID获取证书详细信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2503,294 +2811,95 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111750', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeCode' => '168240', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'FuncId', - 'in' => 'query', - 'schema' => [ - 'description' => '功能ID,您可在[域名配置功能参数](~~388460~~)文档,根据功能名称搜索查询。'."\n" - .'例如:配置回源HOST(set_req_host_header)功能ID为18。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '7', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'CertId', 'in' => 'query', - 'schema' => [ - 'description' => '页码,默认值:**1**。'."\n" - ."\n" - .'取值范围:**1**~**100000**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '1', - ], + 'schema' => ['description' => '证书ID。', 'type' => 'string', 'required' => true, 'example' => '12345', 'pattern' => '^\\d+$'], ], [ - 'name' => 'PageSize', + 'name' => 'CertRegion', 'in' => 'query', 'schema' => [ - 'description' => '单页显示域名的数量,默认值:**20**。'."\n" + 'description' => '证书Region。取值:'."\n" + .'- **ap-southeast-1**(新加坡)'."\n" + .'- **cn-hangzhou**(杭州)'."\n" ."\n" - .'取值范围:**1**~**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'example' => '20', - 'default' => '20', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', + .'默认值为**cn-hangzhou**。', 'type' => 'string', 'required' => false, - 'example' => 'rg-xxxxx', + 'enumValueTitles' => ['ap-southeast-1' => 'ap-southeast-1', 'cn-hangzhou' => 'cn-hangzhou'], + 'example' => 'cn-hangzhou'."\n", ], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AA75AADB-5E25-4970-B480-EAA1F5658483', - ], - 'PageNumber' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '单页显示域名的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalCount' => [ - 'description' => '域名总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16', - ], - 'Domains' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'PageData' => [ - 'description' => '加速域名的配置数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreated' => [ - 'description' => '加速域名创建时间。', - 'type' => 'string', - 'example' => '2015-10-28T11:05:52Z', - ], - 'SslProtocol' => [ - 'description' => 'https开关。取值:'."\n" - .'- **on**:已开启。'."\n" - .'- **off**:未开启。', - 'type' => 'string', - 'example' => 'on', - ], - 'Description' => [ - 'description' => '状态描述。', - 'type' => 'string', - 'example' => 'audit failed', - ], - 'ResourceGroupId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-xxxxx', - ], - 'DomainStatus' => [ - 'description' => '加速域名状态。取值:'."\n" - ."\n" - .'- **online**:启用。'."\n" - .'- **offline**:停用。'."\n" - .'- **configuring**:配置中。'."\n" - .'- **configure_failed**:配置失败。'."\n" - .'- **checking**:正在审核。'."\n" - .'- **check_failed**:审核失败。'."\n" - .'- **stopping**:停用中。'."\n" - .'- **deleting**:删除中。', - 'type' => 'string', - 'example' => 'configure_failed', - ], - 'Cname' => [ - 'description' => '加速域名对应的CNAME域名。', - 'type' => 'string', - 'example' => 'example.com.w.alikunlun.com', - ], - 'GmtModified' => [ - 'description' => '加速域名修改时间。', - 'type' => 'string', - 'example' => '2015-10-29T10:15:31Z', - ], - 'CdnType' => [ - 'description' => '加速业务类型。取值:'."\n" - .'- **web**:图片小文件加速。'."\n" - .'- **download**:大文件下载加速。'."\n" - .'- **video**:视音频点播加速。'."\n" - .'- **liveStream**:直播流媒体加速。', - 'type' => 'string', - 'example' => 'web', - ], - 'DomainName' => [ - 'description' => '加速域名名称。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Sources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Source' => [ - 'description' => '源站信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '源站类型。取值:'."\n" - ."\n" - .'- **ipaddr**:IP源站。'."\n" - .'- **domain**:域名源站。'."\n" - .'- **oss**:OSS Bucket为源站。'."\n" - .'- **fc_domain**:函数计算为源站。', - 'type' => 'string', - 'example' => 'ipaddr', - ], - 'Weight' => [ - 'description' => '回源权重。', - 'type' => 'string', - 'example' => '10', - ], - 'Priority' => [ - 'description' => '优先级。', - 'type' => 'string', - 'example' => '20', - ], - 'Port' => [ - 'description' => '源站端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'Content' => [ - 'description' => '源站地址。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'yourCertName'."\n"], + 'Key' => ['description' => '证书公钥。', 'type' => 'string', 'example' => '587f6db37e3a2f01047b032b739cbe31'."\n"], + 'Cert' => ['description' => '证书内容。', 'type' => 'string', 'example' => '-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----'."\n"], + 'CertId' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E'."\n"], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidPageNumber.ValueNotSupported', - 'errorMessage' => 'The specified value of PageNumber is not supported.', - ], - [ - 'errorCode' => 'InvalidPageSize.ValueNotSupported', - 'errorMessage' => 'The specified value of PageSize is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainStatus.ValueNotSupported', - 'errorMessage' => 'The specified value of DomainStatus is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - [ - 'errorCode' => 'InvalidDomainSearchType.ValueNotSupported', - 'errorMessage' => 'The specified value of DomainSearchType is invalid.', - ], - [ - 'errorCode' => 'InvalidChangeStartTime.Malformed', - 'errorMessage' => 'The specified ChangeStartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidChangeEndTime.Malformed', - 'errorMessage' => 'The specified ChangeEndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidCdnType.Malformed', - 'errorMessage' => 'The specified CdnType is invalid.', + ['errorCode' => 'InvalidCertId.NotFound', 'errorMessage' => 'The certId does not exist.', 'description' => '证书ID不存在'], + ['errorCode' => 'Abs.CertRegion.ValueNotSupported', 'errorMessage' => 'CertRegion is not supported.', 'description' => '不支持的证书地域。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CertName\\": \\"yourCertName\\\\n\\",\\n \\"Key\\": \\"587f6db37e3a2f01047b032b739cbe31\\\\n\\",\\n \\"Cert\\": \\"-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----\\\\n\\",\\n \\"CertId\\": 12345,\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\\\n\\"\\n}","type":"json"}]', + 'title' => '查询证书详情-按ID', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnCertificateDetailById', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA75AADB-5E25-4970-B480-EAA1F5658483\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalCount\\": 16,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"GmtCreated\\": \\"2015-10-28T11:05:52Z\\",\\n \\"SslProtocol\\": \\"on\\",\\n \\"Description\\": \\"audit failed\\",\\n \\"ResourceGroupId\\": \\"rg-xxxxx\\",\\n \\"DomainStatus\\": \\"configure_failed\\",\\n \\"Cname\\": \\"example.com.w.alikunlun.com\\",\\n \\"GmtModified\\": \\"2015-10-29T10:15:31Z\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Sources\\": {\\n \\"Source\\": [\\n {\\n \\"Type\\": \\"ipaddr\\",\\n \\"Weight\\": \\"10\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<PageNumber>1</PageNumber>\\n<TotalCount>16</TotalCount>\\n<PageSize>5</PageSize>\\n<RequestId>AA75AADB-5E25-4970-B480-EAA1F5658483</RequestId>\\n<Domains>\\n <PageData>\\n <CdnType>download</CdnType>\\n <DomainStatus>configure_failed</DomainStatus>\\n <DomainName>example.com</DomainName>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n <GmtCreated>2015-10-28T09:32:51Z</GmtCreated>\\n <Description>audit failed</Description>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n <Sources>\\n <Source>\\n <Type>ipaddr</Type>\\n <Content>1.1.1.1</Content>\\n <Priority>20</Priority>\\n <Port>80</Port>\\n <Weight>10</Weight>\\n </Source>\\n </Sources>\\n </PageData>\\n <PageData>\\n <CdnType>web</CdnType>\\n <DomainStatus>configure_failed</DomainStatus>\\n <DomainName>example.org</DomainName>\\n <GmtModified>2015-10-28T11:05:50Z</GmtModified>\\n <GmtCreated>2015-10-28T09:31:59Z</GmtCreated>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n </PageData>\\n <PageData>\\n <Cname>example.edu.w.alikunlun.com</Cname>\\n <CdnType>video</CdnType>\\n <DomainStatus>online</DomainStatus>\\n <DomainName>example.edu</DomainName>\\n <GmtModified>2015-10-23T09:02:11Z</GmtModified>\\n <GmtCreated>2015-10-23T09:01:57Z</GmtCreated>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n </PageData>\\n</Domains>","errorExample":""}]', - 'title' => '查询域名-按功能', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeCdnDomainDetail' => [ - 'summary' => '调用DescribeCdnDomainDetail查询指定加速域名的基本配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnCertificateList' => [ + 'summary' => '调用DescribeCdnCertificateList按照域名查询证书列表信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111728', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeCode' => '111722', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名信息,仅支持单个查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'如果不传入该参数,默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], ], 'responses' => [ @@ -2798,203 +2907,162 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '18CF38AA-1275-451D-A12B-4EC0BF1C5E30', - ], - 'GetDomainDetailModel' => [ - 'description' => '域名详情。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FC0E34AC-0239-44A7-AB0E-800DE522C8DA'], + 'CertificateListModel' => [ + 'description' => 'CertificateListModel类型。', 'type' => 'object', 'properties' => [ - 'GmtCreated' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2015-06-25T03:30:50Z', - ], - 'Description' => [ - 'description' => '备注。', - 'type' => 'string', - 'example' => '直播域名', - ], - 'HttpsCname' => [ - 'description' => '开启HTTPS的CNAME域名。', - 'type' => 'string', - 'example' => 'example.com.w.kunlunle.com', - ], - 'ResourceGroupId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'abcd1234abcd1234', - ], - 'ServerCertificateStatus' => [ - 'description' => '是否开启SSL证书。取值:'."\n" - ."\n" - .'- **on**:开启。'."\n" - .'- **off**:关闭。', - 'type' => 'string', - 'example' => 'on', - ], - 'Scope' => [ - 'description' => '加速区域。', - 'type' => 'string', - 'example' => 'domestic', - ], - 'DomainStatus' => [ - 'description' => '加速域名运行状态。取值:'."\n" - .'- **online**:启用。'."\n" - .'- **offline**:停用。'."\n" - .'- **configuring**:配置中。'."\n" - .'- **configure_failed**:配置失败。'."\n" - .'- **checking**:正在审核。'."\n" - .'- **check_failed**:审核失败。'."\n" - .'- **stopping**:停用中。 '."\n" - .'- **deleting**:删除中。', - 'type' => 'string', - 'example' => 'online', - ], - 'Cname' => [ - 'description' => '为加速域名生成的一个CNAME域名,需要在域名解析服务商处将加速域名CNAME解析到该域名。', - 'type' => 'string', - 'example' => 'example.com.w.kunlunle.com', - ], - 'GmtModified' => [ - 'description' => '最近修改时间。', - 'type' => 'string', - 'example' => '2017-06-25T03:30:50Z', - ], - 'CdnType' => [ - 'description' => '加速域名的业务类型。取值:'."\n" - ."\n" - .'- **web**:图片小文件。'."\n" - ."\n" - .'- **download**:大文件下载。'."\n" - ."\n" - .'- **video**:视音频点播。', - 'type' => 'string', - 'example' => 'web', - ], - 'DomainName' => [ - 'description' => '加速的域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'SourceModels' => [ + 'Count' => ['description' => '证书个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'CertList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'SourceModel' => [ - 'description' => '源站信息。', + 'Cert' => [ + 'description' => '证书列表信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '源站类型。取值:'."\n" - .'- **ipaddr**:IP源站。'."\n" - .'- **domain**:域名源站。'."\n" - .'- **oss**:OSS Bucket为源站。'."\n" - .'- **fc_domain**:函数计算为源站。', - 'type' => 'string', - 'example' => 'domain', - ], - 'Weight' => [ - 'description' => '回源权重。', - 'type' => 'string', - 'example' => '10', - ], - 'Enabled' => [ - 'description' => '状态。', - 'type' => 'string', - 'example' => 'online', - ], - 'Priority' => [ - 'description' => '优先级。', - 'type' => 'string', - 'example' => '20', - ], - 'Port' => [ - 'description' => '端口,支持443和80。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'Content' => [ - 'description' => '回源地址。', - 'type' => 'string', - 'example' => 'example.com', - ], + 'LastTime' => ['description' => '时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1512388610'], + 'Fingerprint' => ['description' => '证书指纹。', 'type' => 'string', 'example' => '2ED68FD33786C5B42950D40A6C50353575BB****'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'Certificate 1'], + 'Issuer' => ['description' => '证书发行商。', 'type' => 'string', 'example' => 'CO****'], + 'CertId' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Common' => ['description' => '证书中的CN属性,一般是一个域名。', 'type' => 'string', 'example' => 'example.com'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"18CF38AA-1275-451D-A12B-4EC0BF1C5E30\\",\\n \\"GetDomainDetailModel\\": {\\n \\"GmtCreated\\": \\"2015-06-25T03:30:50Z\\",\\n \\"Description\\": \\"直播域名\\",\\n \\"HttpsCname\\": \\"example.com.w.kunlunle.com\\",\\n \\"ResourceGroupId\\": \\"abcd1234abcd1234\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"Scope\\": \\"domestic\\",\\n \\"DomainStatus\\": \\"online\\",\\n \\"Cname\\": \\"example.com.w.kunlunle.com\\",\\n \\"GmtModified\\": \\"2017-06-25T03:30:50Z\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"SourceModels\\": {\\n \\"SourceModel\\": [\\n {\\n \\"Type\\": \\"domain\\",\\n \\"Weight\\": \\"10\\",\\n \\"Enabled\\": \\"online\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"example.com\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeCdnDomainDetailResponse>\\n<GetDomainDetailModel>\\n <CdnType>web</CdnType>\\n <Cname>example.com.w.kunlunle.com</Cname>\\n <DomainName>example.com</DomainName>\\n <DomainStatus>online</DomainStatus>\\n <GmtCreated>2015-06-25T03:30:50Z</GmtCreated>\\n <GmtModified>2015-06-25T03:30:53Z</GmtModified>\\n <HttpsCname>example.com.w.kunlunle.com</HttpsCname>\\n <SourceType>domain</SourceType>\\n <ResourceGroupId>abcd1234abcd1234</ResourceGroupId>\\n <SourceModels>\\n <SourceModel>\\n <Enabled>online</Enabled>\\n <Port>80</Port>\\n <Type>domain</Type>\\n <Content>example.com</Content>\\n <Priority>20</Priority>\\n <Weight>10</Weight>\\n </SourceModel>\\n </SourceModels>\\n</GetDomainDetailModel>\\n<RequestId>18CF38AA-1275-451D-A12B-4EC0BF1C5E30</RequestId>\\n</DescribeCdnDomainDetailResponse>","errorExample":""}]', - 'title' => '查询域名详情', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'FlowControlError', 'errorMessage' => 'The request was denied due to flow control.', 'description' => '由于流控,请求被拒绝。'], + ], + ], + 'staticInfo' => [ + 'substitutions' => ['Cdn::2018-05-10::DescribeCdnSSLCertificateList'], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FC0E34AC-0239-44A7-AB0E-800DE522C8DA\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"LastTime\\": 1512388610,\\n \\"Fingerprint\\": \\"2ED68FD33786C5B42950D40A6C50353575BB****\\",\\n \\"CertName\\": \\"Certificate 1\\",\\n \\"Issuer\\": \\"CO****\\",\\n \\"CertId\\": 1,\\n \\"Common\\": \\"example.com\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"CertName\\": \\"证书1\\",\\n \\"Issuer\\": \\"xxx\\",\\n \\"LastTime\\": 1512388610,\\n \\"CertId\\": xxx,\\n \\"Common\\": \\"test\\",\\n \\"Fingerprint\\": \\"xxx\\"\\n },\\n {\\n \\"CertName\\": \\"证书2\\",\\n \\"Issuer\\": \\"xxx\\",\\n \\"LastTime\\": 1512388659,\\n \\"CertId\\": xxx,\\n \\"Common\\": \\"test\\",\\n \\"Fingerprint\\": \\"xxx\\"\\n }\\n ]\\n }\\n },\\n \\"RequestId\\": \\"FC0E34AC-0239-44A7-AB0E-800DE522C8DA\\"\\n}"},{"type":"xml","example":"<DescribeCdnCertificateListResponse>\\n<Count>2</Count>\\n<CertList>\\n <Cert>\\n <CertName>证书1</CertName>\\n <Issuer>CO****</Issuer>\\n <LastTime>1512388610</LastTime>\\n <CertId>1</CertId>\\n <Common>test</Common>\\n <Fingerprint>2ED68FD33786C5B42950D40A6C50353575BB****</Fingerprint>\\n </Cert>\\n <Cert>\\n <CertName>证书2</CertName>\\n <Issuer>CO****</Issuer>\\n <LastTime>1512388659</LastTime>\\n <CertId>2</CertId>\\n <Common>test</Common>\\n <Fingerprint>2ED68FD33786C5B42950D40A6C50353575BB****</Fingerprint>\\n </Cert>\\n</CertList>\\n<RequestId>FC0E34AC-0239-44A7-AB0E-800DE522C8DA</RequestId>\\n<DescribeCdnCertificateListResponse>","errorExample":""}]', + 'title' => '查询证书列表-按域名', 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnDomainConfigs' => [ - 'summary' => '调用DescribeCdnDomainConfigs获取加速域名的配置信息,一次可查询多个功能配置信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-11-25T03:08:16.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-11-16T07:48:31.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnCertificateList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribeCdnConditionIPBInfo' => [ + 'summary' => '调用DescribeCdnConditionIPBInfo查看高级条件所需要的运营商、地区和国家信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111727', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'DataId', 'in' => 'query', 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。', + 'description' => '配置ID。取值如下:'."\n" + .'- condition_region_config_cn:提供地区中文名称及其对应代码的映射列表。'."\n" + .'- condition_region_config_en:提供地区英文名称及其对应代码的映射列表。'."\n" + .'- condition_isp_config_cn:提供运营商中文名称及其对应代码的映射列表。'."\n" + .'- condition_isp_config_en:提供运营商英文名称及其对应代码的映射列表。'."\n" + .'- condition_country_config_cn:提供国家中文名称及其对应代码的映射列表。'."\n" + .'- condition_country_config_en:提供国家英文名称及其对应代码的映射列表。', 'type' => 'string', 'required' => true, - 'example' => 'example.com', + 'docRequired' => false, + 'example' => 'condition_region_config_cn', + 'enum' => ['condition_region_config_cn', 'condition_region_config_en', 'condition_isp_config_cn', 'condition_isp_config_en', 'condition_country_config_cn', 'condition_country_config_en'], ], ], - [ - 'name' => 'FunctionNames', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '功能函数名称,多个用英文逗号(,)分隔。更多功能名称,请参见[域名配置功能参数](~~388460~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'aliauth', + 'title' => 'Schema of Response', + 'description' => '请求ID。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '2C4AA72D-8C00-1113-BD68-8BC4E3CF4FF6'], + 'Datas' => [ + 'description' => '数据详情。', + 'type' => 'array', + 'items' => [ + 'description' => '数据详情。', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '配置值。', 'type' => 'string', 'example' => '"[{\\"text\\":\\"阿鲁巴\\",\\"value\\":\\"AW\\"}]"'], + ], + ], + ], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C4AA72D-8C00-1113-BD68-8BC4E3CF4FF6\\",\\n \\"Datas\\": [\\n {\\n \\"Value\\": \\"\\\\\\"[{\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿鲁巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AW\\\\\\\\\\\\\\"}]\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查看高级条件所需要的信息', + 'changeSet' => [], + ], + 'DescribeCdnDeletedDomains' => [ + 'summary' => '调用DescribeCdnDeletedDomains查询您名下已删除的域名。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ConfigId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '功能配置ID。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。', - 'type' => 'string', - 'required' => false, - 'example' => '6295', - ], + 'schema' => ['description' => '当前页码,默认值**1**,取值范围:**1**~**100000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页显示的域名个数,默认值**20**,取值范围:**1**~**500**之前的任意整数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '5', 'default' => '20'], ], ], 'responses' => [ @@ -3002,78 +3070,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C80705BF-0F76-41FA-BAD1-5B59296A4E59', - ], - 'DomainConfigs' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AA75AADB-5E25-4970-B480-EAA1F5658483'], + 'PageNumber' => ['description' => '当前页码,同请求参数的**PageNumber**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '每页显示的域名个数,同请求参数的**PageSize**。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalCount' => ['description' => '查询到的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'], + 'Domains' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DomainConfig' => [ - 'description' => '域名配置。', + 'PageData' => [ + 'description' => '加速域名的状态信息。', 'type' => 'array', 'items' => [ + 'description' => '域名信息。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '配置状态。取值:'."\n" - ."\n" - .'- **success**:成功。'."\n" - ."\n" - .'- **testing**:测试中。'."\n" - ."\n" - .'- **failed**:失败。'."\n" - ."\n" - .'- **configuring**:配置中。', - 'type' => 'string', - 'example' => 'success', - ], - 'ParentId' => [ - 'description' => '规则条件ID,非必填项。'."\n" - ."\n" - .'通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[ConfigId](~~388994~~),ConfigId可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" - ."\n" - .'具体配置操作请参考[批量配置域名](~~90915~~)或下文ParentId配置示例说明。', - 'type' => 'string', - 'example' => '222728944812032', - ], - 'ConfigId' => [ - 'description' => '配置ID。', - 'type' => 'string', - 'example' => '6295', - ], - 'FunctionName' => [ - 'description' => '功能函数名称。', - 'type' => 'string', - 'example' => 'aliauth', - ], - 'FunctionArgs' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'FunctionArg' => [ - 'description' => '各个功能函数所对应的参数配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ArgName' => [ - 'description' => '参数名称,**functionName**的配置项(可配置多个配置项)。', - 'type' => 'string', - 'example' => 'auth_type', - ], - 'ArgValue' => [ - 'description' => '参数值,**functionName**的配置项的取值。', - 'type' => 'string', - 'example' => 'req_auth', - ], - ], - ], - ], - ], - ], + 'GmtModified' => ['description' => '加速域名修改时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-DDThh:mm:ssZ。', 'type' => 'string', 'example' => '2015-10-28T11:05:52Z'], + 'DomainName' => ['description' => '加速域名名称。', 'type' => 'string', 'example' => 'example.com'], ], ], ], @@ -3085,199 +3098,54 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => 'FunctionName [%s] is not supported.', - ], + ['errorCode' => 'InvalidPageNumber.ValueNotSupported', 'errorMessage' => 'The specified value of PageNumber is not supported.', 'description' => ''], + ['errorCode' => 'InvalidPageSize.ValueNotSupported', 'errorMessage' => 'The specified value of PageSize is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C80705BF-0F76-41FA-BAD1-5B59296A4E59\\",\\n \\"DomainConfigs\\": {\\n \\"DomainConfig\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"ParentId\\": \\"222728944812032\\",\\n \\"ConfigId\\": \\"6295\\",\\n \\"FunctionName\\": \\"aliauth\\",\\n \\"FunctionArgs\\": {\\n \\"FunctionArg\\": [\\n {\\n \\"ArgName\\": \\"auth_type\\",\\n \\"ArgValue\\": \\"req_auth\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDomainConfigsResponse>\\n <RequestId>C80705BF-0F76-41FA-BAD1-5B59296A4E59</RequestId>\\n <DomainConfigs>\\n <Status>success</Status>\\n <ParentId>222728944812032</ParentId>\\n <ConfigId>6295</ConfigId>\\n <FunctionName>aliauth</FunctionName>\\n <FunctionArgs>\\n <ArgName>auth_type</ArgName>\\n <ArgValue>req_auth</ArgValue>\\n </FunctionArgs>\\n </DomainConfigs>\\n</DescribeCdnDomainConfigsResponse>","errorExample":""}]', - 'title' => '查询域名配置', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA75AADB-5E25-4970-B480-EAA1F5658483\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalCount\\": 16,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"GmtModified\\": \\"2015-10-28T11:05:52Z\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDeletedDomainsResponse>\\n<PageNumber>1</PageNumber>\\n<TotalCount>16</TotalCount>\\n<PageSize>5</PageSize>\\n<RequestId>AA75AADB-5E25-4970-B480-EAA1F5658483</RequestId>\\n<Domains>\\n <PageData>\\n <DomainName>example.com</DomainName>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.org</DomainName>\\n <GmtModified>2015-10-28T11:05:50Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.net</DomainName>\\n <GmtModified>2015-10-27T06:26:34Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>example.edu</DomainName>\\n <GmtModified>2015-10-23T09:23:29Z</GmtModified>\\n </PageData>\\n <PageData>\\n <DomainName>aliyundoc.com</DomainName>\\n <GmtModified>2015-10-23T09:02:11Z</GmtModified>\\n </PageData>\\n</Domains>\\n</DescribeCdnDeletedDomainsResponse>","errorExample":""}]', + 'title' => '查询已删除域名', + 'description' => '> 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '## ParentId配置示例'."\n" - .' **parentId**为**-1**:表示删除该配置里面已有的规则条件。'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "功能参数A", '."\n" - .' "argValue": "功能参数A对应的值"'."\n" - .' }, '."\n" - .' {'."\n" - .' "argName": "功能参数B", '."\n" - .' "argValue": "功能参数B对应的值"'."\n" - .' }], '."\n" - .' "functionName": "功能名称",'."\n" - .' "parentId": "选填项,对应引用规则条件的configid"'."\n" - .'}]'."\n" - .'```'."\n" - .'不使用**parentId**的情况下,配置示例如下:'."\n" - .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "header_operation_type",'."\n" - .' "argValue": "add"'."\n" - .' }, {'."\n" - .' "argName": "header_name",'."\n" - .' "argValue": "Accept-Encoding"'."\n" - .' }, {'."\n" - .' "argName": "header_value",'."\n" - .' "argValue": "gzip"'."\n" - .' }, {'."\n" - .' "argName": "duplicate",'."\n" - .' "argValue": "off"'."\n" - .' }],'."\n" - .' "functionName": "origin_request_header"'."\n" - .'}]'."\n" - .'```'."\n" - .'使用**parentId**的情况下,配置示例如下:'."\n" - .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "header_operation_type",'."\n" - .' "argValue": "add"'."\n" - .' }, {'."\n" - .' "argName": "header_name",'."\n" - .' "argValue": "Accept-Encoding"'."\n" - .' }, {'."\n" - .' "argName": "header_value",'."\n" - .' "argValue": "gzip"'."\n" - .' }, {'."\n" - .' "argName": "duplicate",'."\n" - .' "argValue": "off"'."\n" - .' }],'."\n" - .' "functionName": "origin_request_header",'."\n" - .' "parentId": "222728944812032"'."\n" - .'}]'."\n" - .'```', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'BatchSetCdnDomainConfig' => [ - 'summary' => '调用BatchSetCdnDomainConfig进行域名批量配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDeletedDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnDeliverList' => [ + 'summary' => '调用DescribeCdnDeliverList查询报表订阅任务列表,系统将返回该用户所有的订阅任务列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111684', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'abilityTreeCode' => '111724', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainNames', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,注意以下配置限制:'."\n" - ."\n" - .'- 一次最多传50个域名。'."\n" - .'- 域名个数乘以 Functions个数,小于等于50。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], - ], - [ - 'name' => 'Functions', + 'name' => 'DeliverId', 'in' => 'query', - 'schema' => [ - 'description' => '功能列表,一次传入最多50条,格式如下:'."\n" - ."\n" - .'- **functionName**(功能名称,必填):可配置功能请参见[功能列表](~~388460~~),多个参数之间用半角逗号(,)分隔。'."\n" - .'- **argName**(参数名称,必填):**functionName**的配置项(可配置多个配置项)。'."\n" - .'- **argValue**(参数值,必填):**functionName**的配置项的取值。'."\n" - .'- **parentid**(规则条件ID,非必填):通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[configid](~~388994~~),configid可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" - ."\n" - .'**parentId**为 **-1**:表示删除该配置里面已有的规则条件。'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "功能参数A", '."\n" - .' "argValue": "功能参数A对应的值"'."\n" - .' }, '."\n" - .' {'."\n" - .' "argName": "功能参数B", '."\n" - .' "argValue": "功能参数B对应的值"'."\n" - .' }], '."\n" - .' "functionName": "功能名称",'."\n" - .' "parentId": 选填项,对应引用规则条件的configid'."\n" - .'}]'."\n" - .'```'."\n" - .'不使用**parentId**的情况下,配置示例如下:'."\n" - .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "header_operation_type",'."\n" - .' "argValue": "add"'."\n" - .' }, {'."\n" - .' "argName": "header_name",'."\n" - .' "argValue": "Accept-Encoding"'."\n" - .' }, {'."\n" - .' "argName": "header_value",'."\n" - .' "argValue": "gzip"'."\n" - .' }, {'."\n" - .' "argName": "duplicate",'."\n" - .' "argValue": "off"'."\n" - .' }],'."\n" - .' "functionName": "origin_request_header"'."\n" - .'}]'."\n" - .'```'."\n" - .'使用**parentId**的情况下,配置示例如下:'."\n" - .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "header_operation_type",'."\n" - .' "argValue": "add"'."\n" - .' }, {'."\n" - .' "argName": "header_name",'."\n" - .' "argValue": "Accept-Encoding"'."\n" - .' }, {'."\n" - .' "argName": "header_value",'."\n" - .' "argValue": "gzip"'."\n" - .' }, {'."\n" - .' "argName": "duplicate",'."\n" - .' "argValue": "off"'."\n" - .' }],'."\n" - .' "functionName": "origin_request_header",'."\n" - .' "parentId": 222728944812032'."\n" - .'}]'."\n" - .'```'."\n" - .'对一个已经使用了**parentId**的功能配置删除对**parentId**的引用,配置示例如下:'."\n" - .'函数**origin_request_header**添加回源HTTP请求头的时候已经引用了**configid=222728944812032**的规则条件,现在要删掉对规则条件的引用,请求参数如下:'."\n" - .'```[{'."\n" - .' "functionArgs": [{'."\n" - .' "argName": "header_operation_type",'."\n" - .' "argValue": "add"'."\n" - .' }, {'."\n" - .' "argName": "header_name",'."\n" - .' "argValue": "Accept-Encoding"'."\n" - .' }, {'."\n" - .' "argName": "header_value",'."\n" - .' "argValue": "gzip"'."\n" - .' }, {'."\n" - .' "argName": "duplicate",'."\n" - .' "argValue": "off"'."\n" - .' }],'."\n" - .' "functionName": "origin_request_header",'."\n" - .' "parentId": -1'."\n" - .'}]'."\n" - .'```', - 'type' => 'string', - 'required' => true, - 'example' => '[{"functionArgs": [{"argName": "key","argValue": "Content-Encoding"},{"argName": "value","argValue": "gzip"}],"functionName": "set_resp_header"} ]', - ], + 'schema' => ['description' => '待查询的订阅任务ID。如果不传该参数,默认返回所有的订阅任务。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'], ], ], 'responses' => [ @@ -3285,213 +3153,156 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'DomainConfigList' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '12345'], + 'Content' => [ + 'description' => '订阅任务列表数据。', 'type' => 'object', - 'itemNode' => true, + 'example' => '"data": [{"deliverId": 1,"status": "enable","createTime": "2020-10-14T11:19:26Z","crontab": "0 0 0 * * ?","frequency": "d","name": " domain name subscription","dmList": ["www.example.com"],"reports": [{"reportId": 1,"conditions": [{"op": "in","field": "prov","value": [" Heilongjiang"," Beijing"]}]},{"reportId": 2}],"deliver": {"email": {"subject": " topic","to": ["example@alibaba-inc.com","example@alibaba-inc.com"]}}}]}}', 'properties' => [ - 'DomainConfigModel' => [ - 'description' => '域名配置清单。', + 'data' => [ + 'title' => '订阅内容主体', 'type' => 'array', 'items' => [ + 'title' => '订阅内容主体', 'type' => 'object', 'properties' => [ - 'ConfigId' => [ - 'description' => '配置ID,如果返回为0,则表示该条配置未配置成功,需要重新配置。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234567', + 'createTime' => ['title' => '创建时间', 'type' => 'string', 'example' => '2021-12-30T10:29:29Z'], + 'crontab' => ['title' => '定时任务配置', 'type' => 'string', 'example' => '00 00 08 * * ?'], + 'deliver' => [ + 'title' => '订阅形式', + 'type' => 'object', + 'properties' => [ + 'email' => [ + 'title' => '邮件订阅内容', + 'type' => 'object', + 'properties' => [ + 'to' => [ + 'title' => '收件人', + 'type' => 'array', + 'items' => ['title' => '邮箱地址', 'type' => 'string', 'example' => 'xx@xx.xx'], + ], + ], + ], + ], ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.example.com', + 'deliverId' => ['title' => '订阅ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'dmList' => [ + 'title' => '域名列表', + 'type' => 'array', + 'items' => ['title' => '域名', 'type' => 'string', 'example' => 'a.b.c'], ], - 'FunctionName' => [ - 'description' => '功能名称。', - 'type' => 'string', - 'example' => 'set_resp_header', + 'frequency' => ['title' => '订阅发送频率', 'type' => 'string', 'example' => 'd'], + 'name' => ['title' => '订阅名称', 'type' => 'string', 'example' => 'xxxx'], + 'reports' => [ + 'title' => '订阅的报表列表', + 'type' => 'array', + 'items' => [ + 'title' => '报表', + 'type' => 'object', + 'properties' => [ + 'reportId' => ['title' => '报表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], ], + 'status' => ['title' => '订阅状态', 'type' => 'string', 'example' => 'enable'], + 'timeEndFormat' => ['title' => '订阅生效截止时间', 'type' => 'string', 'example' => '-1d'], + 'timeFromFormat' => ['title' => '订阅生效开始时间', 'type' => 'string', 'example' => '-1d'], ], ], ], ], ], ], + 'title' => '返回主体', + 'description' => '返回主体', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidFunctions.Malformed', - 'errorMessage' => 'The specified Functions is incorrectly formatted.', - ], - [ - 'errorCode' => 'InvalidArgValue.Malformed', - 'errorMessage' => 'The specified ArgValue is invalid.', - ], - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => '[%s] is not supported.', - ], - [ - 'errorCode' => 'Invalid%s.Malformed', - 'errorMessage' => 'The specified ArgValue [%s] is invalid.', - ], - [ - 'errorCode' => 'MissingParameter%s', - 'errorMessage' => 'The specified value of ArgName[%s] is missing.', - ], - [ - 'errorCode' => 'InvalidFunctionArgs.Malformed', - 'errorMessage' => 'The specified FunctionArgs is invalid.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The specified ArgValue is missing.', - ], - [ - 'errorCode' => 'InvalidHeaderKey.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter HeaderKey is not supported.', - ], - [ - 'errorCode' => 'TooManyDomains', - 'errorMessage' => 'The count of domain is over 50.', - ], - [ - 'errorCode' => 'InvalidRule.Malformed', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'ConfigurationConflicts', - 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', - ], - [ - 'errorCode' => 'InvalidFunction.NotSupported', - 'errorMessage' => 'The domain is not supported to set the function.', - ], - [ - 'errorCode' => 'InvalidDomain.BelongToConfigGroup', - 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', - ], - [ - 'errorCode' => 'EntityNotExist.Role', - 'errorMessage' => 'EntityNotExist.Role', - ], - [ - 'errorCode' => 'MissingParameterFunctions', - 'errorMessage' => 'The specified value of Functions is missing.', - ], - [ - 'errorCode' => 'NoPermission.SLR', - 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize AliyunCDNFullAccess or custom policy:Service Name:cdn-ddos.cdn.aliyuncs.com,Role: AliyunServiceRoleForCDNAccessingDDoS,Permission: ram: CreateServiceLinkedRole', - ], - [ - 'errorCode' => 'ConfigExceedLimit', - 'errorMessage' => 'Count of config entries exceeds the limit.', - ], - [ - 'errorCode' => 'EdgeScriptCountExceedLimit', - 'errorMessage' => 'The number of rules exceeds the default limit.', - ], - [ - 'errorCode' => 'EdgeScripOptionsHasInnerConfig', - 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptGrammarNotSupport', - 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptNotSupportJs', - 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'ServiceInvokeFailed', - 'errorMessage' => 'Failed to invoke service.', - ], - [ - 'errorCode' => 'ConfigParentExceedLimit', - 'errorMessage' => 'Config parent exceed limit.', - ], - [ - 'errorCode' => 'Function.InvalidParentId', - 'errorMessage' => 'The specified parentId does not exist.', - ], - [ - 'errorCode' => 'BatchSetBusinessError', - 'errorMessage' => 'some configs error:%s', - ], - [ - 'errorCode' => 'ConfigDuplicate', - 'errorMessage' => 'Duplicate configuration. This function has already been configured and cannot be added repeatedly.', - ], - [ - 'errorCode' => 'FunctionArgError', - 'errorMessage' => 'The function parameter of the domain configuration is incorrect.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"DomainConfigList\\": {\\n \\"DomainConfigModel\\": [\\n {\\n \\"ConfigId\\": 1234567,\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"FunctionName\\": \\"set_resp_header\\"\\n }\\n ]\\n }\\n}","errorExample":"[{\\"functionArgs\\":[{\\"argName\\":\\"file_type\\",\\"argValue\\":\\"jpg\\"},{\\"argName\\":\\"ttl\\",\\"argValue\\":\\"18\\"},{\\"argName\\":\\"weight\\",\\"argValue\\":\\"30\\"}],\\"functionName\\":\\"filetype_based_ttl_set\\",\\"configId\\":5068995}]"},{"type":"xml","example":"<BatchSetCdnDomainConfigResponse>\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<DomainConfigModel>\\n <DomainName>www.example.com</DomainName>\\n <ConfigId>1234567</ConfigId>\\n <FunctionName>set_resp_header</FunctionName>\\n</DomainConfigModel>\\n</BatchSetCdnDomainConfigResponse>","errorExample":"http://cdn.aliyuncs.com/?Action=BatchSetCdnDomainConfig\\n&DomainName=example.com\\n&Functions=[{\\"functionArgs\\":[{\\"argName\\":\\"domain_name\\",\\"argValue\\":\\"api.hellodtworld.com\\"}],\\"functionName\\":\\"set_req_host_header\\"}]\\n&<公共请求参数>"}]', - 'title' => '批量配置域名', - 'description' => '- 单用户调用频率:3次/秒。'."\n" - .'- 支持批量配置域名,多个域名用半角逗号(,)分隔,一次最多支持配置50个域名。'."\n" - .'- 调用BatchSetCdnDomainConfig给域名配置某些功能后,将会生成唯一的ConfigId,通过ConfigId可以完成更新和删除配置操作。具体使用方法,请参见[ConfigId使用与查询](~~388994~~)。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'BatchDeleteCdnDomainConfig' => [ - 'summary' => '调用BatchDeleteCdnDomainConfig批量删除加速域名的配置。', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12345\\",\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2021-12-30T10:29:29Z\\",\\n \\"crontab\\": \\"00 00 08 * * ?\\",\\n \\"deliver\\": {\\n \\"email\\": {\\n \\"to\\": [\\n \\"xx@xx.xx\\"\\n ]\\n }\\n },\\n \\"deliverId\\": 1,\\n \\"dmList\\": [\\n \\"a.b.c\\"\\n ],\\n \\"frequency\\": \\"d\\",\\n \\"name\\": \\"xxxx\\",\\n \\"reports\\": [\\n {\\n \\"reportId\\": 1\\n }\\n ],\\n \\"status\\": \\"enable\\",\\n \\"timeEndFormat\\": \\"-1d\\",\\n \\"timeFromFormat\\": \\"-1d\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDeliverListResponse>\\n <RequestId>12345</RequestId>\\n <Content>\\n <data>\\n <deliverId>1</deliverId>\\n <status>enable</status>\\n <createTime>2020-10-14T11:19:26Z</createTime>\\n <crontab>0 0 0 * * ?</crontab>\\n <frequency>d</frequency>\\n <name>域名订阅</name>\\n <dmList>www.example.com</dmList>\\n <reports>\\n <reportId>1</reportId>\\n <conditions>\\n <op>in</op>\\n <field>prov</field>\\n <value>黑龙江</value>\\n <value>北京</value>\\n </conditions>\\n </reports>\\n <reports>\\n <reportId>2</reportId>\\n </reports>\\n <deliver>\\n <email>\\n <subject>主题</subject>\\n <to>example@alibaba-inc.com</to>\\n <to>example@alibaba-inc.com</to>\\n </email>\\n </deliver>\\n </data>\\n </Content>\\n</DescribeCdnDeliverListResponse>","errorExample":""}]', + 'title' => '查询报表订阅列表', + 'description' => '> 单用户调用频率:3次/秒。', + 'responseParamsDescription' => '**data数据说明**'."\n" + ."\n" + .'|参数|类型|描述|'."\n" + .'|--------|-------|-----------|'."\n" + .'|deliverId|Long|订阅任务ID。|'."\n" + .'|status|String|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" + .'|createTime|String|订阅任务创建时间。|'."\n" + .'|crontab|String|订阅任务执行周期。|'."\n" + .'|frequency|String|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**M**:月|'."\n" + .'|name|String|订阅任务名称。|'."\n" + .'|dmList|String[]|订阅任务的域名过滤列表。|'."\n" + .'|reports|String[]|订阅报表列表。包含以下参数:<br>reportId:报表ID。<br>conditions:报表过滤条件(包含过滤操作、过滤字段和过滤值),没有则为空。op:过滤操作,目前只支持**in**;field:过滤字段;value:过滤值。|'."\n" + .'|deliver|String|交付模块,包含邮件主题、收件人等信息。<br>email:邮件交付。<br>subject:邮件主题。<br>to:发送邮件列表。<br>copy:抄送邮件列表。|'."\n" + ."\n" + .'**reports数据说明**'."\n" + ."\n" + .'|参数|类型|描述|'."\n" + .'|--------|---------|---------|'."\n" + .'|deliverId|Long|订阅任务ID。|'."\n" + .'|status|String|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|', + 'changeSet' => [ + ['createdAt' => '2025-07-17T06:26:23.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDeliverList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDeliverList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeCdnDiagnoseReport' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111682', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197154', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainNames', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '需要删除配置的加速域名,多个用半角逗号(,)分隔,注意以下配置限制:'."\n" - ."\n" - .'- 一次最多传50个域名。'."\n" - .'- 域名个数 乘以 FunctionNames个数,小于等于50。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com,example.org', - ], + 'schema' => ['title' => 'A short description of struct', 'description' => '诊断任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxxxx-x-x-xxxxxxxxxxxxxxx'], ], [ - 'name' => 'FunctionNames', + 'name' => 'TraceId', 'in' => 'query', - 'schema' => [ - 'description' => '需要删除的功能函数名称,多个用半角逗号(,)分隔,一次传入最多50个。更多功能名称,请参见[域名配置功能参数](~~388460~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'referer_white_list_set,https_force', - ], + 'schema' => ['description' => '诊断链路ID。', 'type' => 'string', 'required' => false, 'example' => '0000xxxxxxxxxxxxxxxxxxxxxx75e'], ], ], 'responses' => [ @@ -3499,123 +3310,135 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-xxxxx-xxx-xxxxx-FD46680144FE'], + 'Content' => [ + 'description' => '查询到的报表数据。', + 'type' => 'object', + 'properties' => [ + 'Aliuid' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '1077********7468'], + 'ClientAddr' => ['description' => '本地DNS服务器IP地址。', 'type' => 'string', 'example' => 'xx.xx.xx.xx'], + 'ClientInfo' => [ + 'description' => '客户端信息。', + 'type' => 'object', + 'properties' => [ + 'BrowserInfo' => ['description' => '浏览器。', 'type' => 'string', 'example' => 'Chrome'], + 'Os' => ['description' => '操作系统。', 'type' => 'string', 'example' => 'Macintosh'], + 'UAString' => ['description' => '版本。', 'type' => 'string', 'example' => 'Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36'], + ], + ], + 'ClientIp' => ['description' => '客户端IP地址。', 'type' => 'string', 'example' => 'xx.xx.xx.xx'], + 'CreateTime' => ['description' => '报告创建时间。', 'type' => 'string', 'example' => '2022-12-10 15:11:47'], + 'DiagnoseId' => ['description' => '诊断ID。', 'type' => 'string', 'example' => 'f2xxxxd5'], + 'DiagnoseReportLink' => ['description' => '诊断报告链接。', 'type' => 'string', 'example' => 'https://cdnskyeye.alibaba-inc.com/#/databrain/detectionPlatformAction?module=trace报表&id=xxx&instance_id=xxxx&type=copy&edition_id=xxxxx'], + 'DiagnoseUrl' => ['description' => '诊断链接。', 'type' => 'string', 'example' => 'http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx'], + 'Domain' => ['description' => '被诊断的域名。', 'type' => 'string', 'example' => 'http://www.example.com'], + 'ExpireTime' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1678701915'], + 'RemainDiagnoseTimes' => ['description' => '剩余可用诊断次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Report' => [ + 'description' => '诊断报告详情。', + 'type' => 'object', + 'properties' => [ + 'ClientInfo' => ['description' => '客户端信息。', 'type' => 'string', 'example' => '客户端IP : xxx.xxx.xxx.xxx DNS_IP : xxx.xxx.xxx.xxx '], + 'DiagnoseResult' => ['description' => '诊断结果。', 'type' => 'string', 'example' => '诊断结论 : 检测正常 调度结论 : 检测正常 检测项详情 : 异常项 : 【请求正常】 '], + 'L1Node' => ['description' => 'L1节点。', 'type' => 'string', 'example' => '节点:cn4461 电信-山东省青岛市(400G)\\n水位: (223.36G/400G)\\n状态: online\\n节点IP: 150.138.98.121\\n响应状态码: 200\\n响应时长: 107ms\\n响应大小: 3775 bytes\\n平均响应速度: 35.28 kb/s\\n'], + 'L1Tengine' => [ + 'description' => 'L1 tengine信息。', + 'type' => 'object', + 'properties' => [ + 'Addr' => ['description' => 'IP和端口。', 'type' => 'string', 'example' => '150.xxx.xxx.197:81'], + 'Code' => ['description' => 'HTTP返回码。', 'type' => 'string', 'example' => '200'], + 'ErrorLog' => ['description' => '错误日志。', 'type' => 'string', 'example' => 'Unmatched CNAME.'], + 'Fbt' => ['description' => '首字节往返耗时。', 'type' => 'string', 'example' => '107ms'], + 'Intro' => ['description' => '请求节点的信息。', 'type' => 'string', 'example' => '节点: cn4461\\n请求时间: 2023-02-06 12:17:47\\n状态码: 200\\nreq_time : 107ms\\nresp_size : 2892bytes\\nfbt : 107ms\\nups_read_wait_time: 107ms\\nups_header_time: 107ms\\nups_connect_time: 0ms\\nwrite_wait_time: 0ms'], + 'ReqHeader' => ['description' => '请求头。', 'type' => 'string', 'example' => 'aG9zd******8tbWVtYmV'], + 'ReqTime' => ['description' => '请求时间。', 'type' => 'string', 'example' => '2023-02-06 12:17:47'], + 'RespHeader' => ['description' => '响应头。', 'type' => 'string', 'example' => 'U2VydmV*******Qo'], + 'RespSize' => ['description' => '返回信息大小,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '2892'], + 'Rt' => ['description' => '响应时间。', 'type' => 'string', 'example' => '107ms'], + 'Station' => ['description' => '节点名称。', 'type' => 'string', 'example' => 'cn4461'], + ], + ], + 'SourceInfo' => [ + 'description' => '源站信息。', + 'type' => 'array', + 'items' => ['description' => '源站信息。', 'type' => 'string', 'example' => '源站IP : xxx.xxx.xxx.xxx tproxy响应状态码 : 200\\n平均响应速度 : 47.96 kb/s'], + ], + ], + ], + 'State' => [ + 'description' => '报告生成状态。'."\n" + .'- 0:成功。'."\n" + .'- 1:失败。'."\n" + .'- 2:超时。'."\n" + .'- 3:运行中。'."\n" + .'- 4:等待中。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => '0', + ], + 'Status' => ['description' => '诊断链接的状态。'."\n" + .'- 1:生效中。'."\n" + .'- 0:已失效。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx'."\n"], + 'TimeConsuming' => ['description' => '报告生成耗时。', 'type' => 'integer', 'format' => 'int64', 'example' => '1s'], + 'TraceDisplayLink' => ['description' => '链路展示链接。', 'type' => 'string', 'example' => 'https://tracing-sk.alibaba-inc.com/trace/xxxxxxxxxxxxxx'], + 'TraceId' => ['description' => '诊断链路ID。', 'type' => 'string', 'example' => '0000006xxxxxxxxxxxx533427e'], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => 'FunctionName [%s] is not supported.', - ], - [ - 'errorCode' => 'DeleteFunctionFailed', - 'errorMessage' => 'Batch delete functions failed.', - ], - [ - 'errorCode' => 'EdgeScriptCountExceedLimit', - 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScripOptionsHasInnerConfig', - 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptNotSupportJs', - 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'InvalidRule.Malformed ', - 'errorMessage' => 'Check rules error: %s', - ], - [ - 'errorCode' => 'EdgeScriptGrammarNotSupport', - 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取诊断报告详情', + 'summary' => '调用DescribeCdnDiagnoseReport获取诊断报告详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchDeleteCdnDomainConfigResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</BatchDeleteCdnDomainConfigResponse>","errorExample":""}]', - 'title' => '批量删除域名配置', - 'description' => '- 单次配置的域名数量不超过50个。'."\n" - .'- 单用户调用频率:30次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"64D28B53-xxxxx-xxx-xxxxx-FD46680144FE\\",\\n \\"Content\\": {\\n \\"Aliuid\\": \\"1077********7468\\",\\n \\"ClientAddr\\": \\"xx.xx.xx.xx\\",\\n \\"ClientInfo\\": {\\n \\"BrowserInfo\\": \\"Chrome\\",\\n \\"Os\\": \\"Macintosh\\",\\n \\"UAString\\": \\"Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36\\"\\n },\\n \\"ClientIp\\": \\"xx.xx.xx.xx\\",\\n \\"CreateTime\\": \\"2022-12-10 15:11:47\\",\\n \\"DiagnoseId\\": \\"f2xxxxd5\\",\\n \\"DiagnoseReportLink\\": \\"https://cdnskyeye.alibaba-inc.com/#/databrain/detectionPlatformAction?module=trace报表&id=xxx&instance_id=xxxx&type=copy&edition_id=xxxxx\\",\\n \\"DiagnoseUrl\\": \\"http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx\\",\\n \\"Domain\\": \\"http://www.example.com\\",\\n \\"ExpireTime\\": 1678701915,\\n \\"RemainDiagnoseTimes\\": 10,\\n \\"Report\\": {\\n \\"ClientInfo\\": \\"客户端IP : xxx.xxx.xxx.xxx DNS_IP : xxx.xxx.xxx.xxx \\",\\n \\"DiagnoseResult\\": \\"诊断结论 : 检测正常 调度结论 : 检测正常 检测项详情 : 异常项 : 【请求正常】 \\",\\n \\"L1Node\\": \\"节点:cn4461 电信-山东省青岛市(400G)\\\\\\\\n水位: (223.36G/400G)\\\\\\\\n状态: online\\\\\\\\n节点IP: 150.138.98.121\\\\\\\\n响应状态码: 200\\\\\\\\n响应时长: 107ms\\\\\\\\n响应大小: 3775 bytes\\\\\\\\n平均响应速度: 35.28 kb/s\\\\\\\\n\\",\\n \\"L1Tengine\\": {\\n \\"Addr\\": \\"150.xxx.xxx.197:81\\",\\n \\"Code\\": \\"200\\",\\n \\"ErrorLog\\": \\"Unmatched CNAME.\\",\\n \\"Fbt\\": \\"107ms\\",\\n \\"Intro\\": \\"节点: cn4461\\\\\\\\n请求时间: 2023-02-06 12:17:47\\\\\\\\n状态码: 200\\\\\\\\nreq_time : 107ms\\\\\\\\nresp_size : 2892bytes\\\\\\\\nfbt : 107ms\\\\\\\\nups_read_wait_time: 107ms\\\\\\\\nups_header_time: 107ms\\\\\\\\nups_connect_time: 0ms\\\\\\\\nwrite_wait_time: 0ms\\",\\n \\"ReqHeader\\": \\"aG9zd******8tbWVtYmV\\",\\n \\"ReqTime\\": \\"2023-02-06 12:17:47\\",\\n \\"RespHeader\\": \\"U2VydmV*******Qo\\",\\n \\"RespSize\\": 2892,\\n \\"Rt\\": \\"107ms\\",\\n \\"Station\\": \\"cn4461\\"\\n },\\n \\"SourceInfo\\": [\\n \\"源站IP : xxx.xxx.xxx.xxx tproxy响应状态码 : 200\\\\\\\\n平均响应速度 : 47.96 kb/s\\"\\n ]\\n },\\n \\"State\\": \\"0\\",\\n \\"Status\\": 1,\\n \\"TaskId\\": \\"xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx\\\\n\\",\\n \\"TimeConsuming\\": 0,\\n \\"TraceDisplayLink\\": \\"https://tracing-sk.alibaba-inc.com/trace/xxxxxxxxxxxxxx\\",\\n \\"TraceId\\": \\"0000006xxxxxxxxxxxx533427e\\"\\n }\\n}","type":"json"}]', ], - 'BatchUpdateCdnDomain' => [ - 'summary' => '调用BatchUpdateCdnDomain批量更新加速域名基本信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnDomainByCertificate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111688', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111726', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], ], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com,example.org', - ], - ], - [ - 'name' => 'Sources', + 'name' => 'SSLPub', 'in' => 'query', - 'schema' => [ - 'description' => '回源地址列表。'."\n" - ."\n" - .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', - 'type' => 'string', - 'required' => false, - 'example' => '[{"content":"10.10.10.10","type":"ipaddr","priority":"20","port":80,"weight":"15"}]', - ], + 'schema' => ['description' => '证书公钥,需要base64编码后再进行encodeURIComponent。'."\n" + ."\n" + .'支持pem格式。', 'type' => 'string', 'required' => true, 'example' => '******'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'SSLStatus', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyuji4b6r4**', - ], + 'schema' => ['description' => '表示返回的域名列表只包含开启或关闭HTTPS的域名。'."\n" + ."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'TopLevelDomain', + 'name' => 'Exact', 'in' => 'query', - 'schema' => [ - 'description' => '顶级接入域。'."\n" - ."\n" - .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '表示返回的域名列表是否与证书精准匹配。'."\n" + .'- true:开启'."\n" + .'- false:关闭', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -3623,136 +3446,118 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D'], + 'CertInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CertInfo' => [ + 'description' => '证书信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CertStartTime' => ['description' => '证书开始时间。', 'type' => 'string', 'example' => 'Nov 29 23:59:59 2017 GMT'], + 'CertExpireTime' => ['description' => '证书过期时间。', 'type' => 'string', 'example' => 'Nov 29 00:00:00 2016 GMT'], + 'CertCaIsLegacy' => ['description' => '证书CA废弃状态。取值:'."\n" + ."\n" + .'- **yes**:已废弃。'."\n" + ."\n" + .'- **no**:正常,未废弃。', 'type' => 'string', 'example' => 'yes'], + 'CertSubjectCommonName' => ['description' => '证书所有者名称。', 'type' => 'string', 'example' => 'owner'], + 'CertType' => ['description' => '证书类型,取值:**RSA**、**DSA**、**ECDSA**。', 'type' => 'string', 'example' => 'RSA'], + 'DomainNames' => ['description' => '证书匹配的域名(DNS字段),多个用英文逗号(,)分隔。', 'type' => 'string', 'example' => '*.example.com,aliyundoc.com'], + 'CertExpired' => ['description' => '证书过期状态。 取值:'."\n" + ."\n" + .'- **yes**:已过期。'."\n" + ."\n" + .'- **no**:未过期。', 'type' => 'string', 'example' => 'yes'], + 'Issuer' => ['description' => '证书颁发机构。', 'type' => 'string', 'example' => 'C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1'], + 'DomainList' => ['description' => '如果该返回值不为空,则将该列表与证书做匹配,多个用英文逗号(,)分隔。', 'type' => 'string', 'example' => 'example.com,aliyundoc.com'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingDomainName', - 'errorMessage' => 'The domainName parameter is required.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - [ - 'errorCode' => 'InvalidSource.Content.Malformed', - 'errorMessage' => 'The specified Source Content is invalid.', - ], - [ - 'errorCode' => 'InvalidTypeContent.Mismatch', - 'errorMessage' => 'The specified source type does not match the specified source content.', - ], - [ - 'errorCode' => 'MissingSource.Content', - 'errorMessage' => 'The Source Content must be specified.', - ], - [ - 'errorCode' => 'MissingSource.Type', - 'errorMessage' => 'The Source Type must be specified.', - ], - [ - 'errorCode' => 'InvalidSources.Malformed', - 'errorMessage' => 'Specified Sources is malformed.', - ], - [ - 'errorCode' => 'InvalidSource.Type.Malformed', - 'errorMessage' => 'The specified Source Type is invalid.', - ], - [ - 'errorCode' => 'InvalidSource.Priority.Malformed', - 'errorMessage' => 'The specified Source Priority is invalid.', - ], - [ - 'errorCode' => 'InvalidResourceGroupId.Malformed', - 'errorMessage' => 'The specified ResourceGroupId is invalid.', - ], - [ - 'errorCode' => 'EntityNotExists.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'EntityNotExist.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'InvalidStatus.ResourceGroup', - 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', - ], + ['errorCode' => 'Certificate.FormatError', 'errorMessage' => 'The format of the certificate is invalid.', 'description' => '证书格式错误'], + ['errorCode' => 'SSLPub.MissingParameter', 'errorMessage' => 'The Cert parameter is required.', 'description' => ''], + ['errorCode' => 'Decode.Error', 'errorMessage' => 'Error decoding the SSLPub certificate.', 'description' => ''], + ['errorCode' => 'Certificate.DecodeError', 'errorMessage' => 'An error occurred while decoding the certificate.', 'description' => '证书解码失败'], ], - 403 => [ - [ - 'errorCode' => 'DomainInProtectedMode', - 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', - ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to backend service exception.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchUpdateCdnDomainResponse>\\t\\r\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\r\\n</BatchUpdateCdnDomainResponse>\\t","errorExample":""}]', - 'title' => '批量更新域名', - 'description' => '- 单用户调用频率:30次/秒。'."\n" - .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持更新50个域名。', - 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" - ."\n" - .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" - .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" - .'| type | String | 是 | 源站类型。<br>ipaddr:IP源站。<br>domain:域名源站。<br>oss:OSS Bucket为源站。<br>fc_domain:函数计算源站。 |'."\n" - .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" - .'| port| Integer| 否 | 端口。您可以指定80、443,也可以自定义端口,默认值为80。443端口支持HTTPS协议回源。 |'."\n" - .'| priority | String | 否 | 源站地址对应的优先级,支持20和30,默认值为20。20是主源,30是备源。|'."\n" - .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', + 'title' => '查询域名-按证书', + 'summary' => '调用DescribeCdnDomainByCertificate根据证书信息获取加速域名。', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteSpecificConfig' => [ - 'summary' => '调用DeleteSpecificConfig删除域名的指定配置。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-08-22T01:57:26.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainByCertificate'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainByCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertStartTime\\": \\"Nov 29 23:59:59 2017 GMT\\",\\n \\"CertExpireTime\\": \\"Nov 29 00:00:00 2016 GMT\\",\\n \\"CertCaIsLegacy\\": \\"yes\\",\\n \\"CertSubjectCommonName\\": \\"owner\\",\\n \\"CertType\\": \\"RSA\\",\\n \\"DomainNames\\": \\"*.example.com,aliyundoc.com\\",\\n \\"CertExpired\\": \\"yes\\",\\n \\"Issuer\\": \\"C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1\\",\\n \\"DomainList\\": \\"example.com,aliyundoc.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDomainByCertificateResponse>\\n<RequestId>ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D</RequestId>\\n<content>\\n <Issuer>C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1</Issuer>\\n <CertType>RSA</CertType>\\n <CertSubjectCommonName>example.com</CertSubjectCommonName>\\n <CertStartTime>Nov 29 23:59:59 2017 GMT</CertStartTime>\\n <CertExpireTime>Nov 29 00:00:00 2016 GMT</CertExpireTime>\\n <DomainNames>*.example.com,aliyundoc.com</DomainNames>\\n <DomainList>example.com,aliyundoc.com</DomainList>\\n <CertExpired>yes</CertExpired>\\n <CertCaIsLegacy>yes</CertCaIsLegacy>\\n</content>\\n</DescribeCdnDomainByCertificateResponse>","errorExample":""}]', + ], + 'DescribeCdnDomainConfigs' => [ + 'summary' => '调用DescribeCdnDomainConfigs获取加速域名的配置信息,一次可查询多个功能配置信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111710', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '111727', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持单个删除。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'FunctionNames', + 'in' => 'query', + 'schema' => ['description' => '功能函数名称,多个用英文逗号(,)分隔。更多功能名称,请参见[域名配置功能参数](~~388460~~)。', 'type' => 'string', 'required' => false, 'example' => 'aliauth'], ], [ 'name' => 'ConfigId', 'in' => 'query', - 'schema' => [ - 'description' => '功能配置ID,多个用半角逗号(,)分隔。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2317', - ], + 'schema' => ['description' => '功能配置ID。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。', 'type' => 'string', 'required' => false, 'example' => '6295'], ], ], 'responses' => [ @@ -3760,10 +3565,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C80705BF-0F76-41FA-BAD1-5B59296A4E59'], + 'DomainConfigs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DomainConfig' => [ + 'description' => '域名配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '配置状态。取值:'."\n" + ."\n" + .'- **success**:成功。'."\n" + ."\n" + .'- **testing**:测试中。'."\n" + ."\n" + .'- **failed**:失败。'."\n" + ."\n" + .'- **configuring**:配置中。', 'type' => 'string', 'example' => 'success'], + 'ParentId' => ['description' => '规则条件ID,非必填项。'."\n" + ."\n" + .'通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[ConfigId](~~388994~~),ConfigId可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" + ."\n" + .'具体配置操作请参考[批量配置域名](~~90915~~)或下文ParentId配置示例说明。', 'type' => 'string', 'example' => '222728944812032'], + 'ConfigId' => ['description' => '配置ID。', 'type' => 'string', 'example' => '6295'], + 'FunctionName' => ['description' => '功能函数名称。', 'type' => 'string', 'example' => 'aliauth'], + 'FunctionArgs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'FunctionArg' => [ + 'description' => '各个功能函数所对应的参数配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ArgName' => ['description' => '参数名称,**functionName**的配置项(可配置多个配置项)。', 'type' => 'string', 'example' => 'auth_type'], + 'ArgValue' => ['description' => '参数值,**functionName**的配置项的取值。', 'type' => 'string', 'example' => 'req_auth'], + ], + ], + ], + ], + ], + ], + ], + ], + ], ], ], ], @@ -3771,98 +3620,111 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => 'FunctionName [%s] is not supported.', - ], - [ - 'errorCode' => 'ConfigurationConflicts', - 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', - ], - [ - 'errorCode' => 'EdgeScriptCountExceedLimit', - 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScripOptionsHasInnerConfig', - 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptGrammarNotSupport', - 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptNotSupportJs', - 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'InvalidDomain.BelongToConfigGroup', - 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', - ], - [ - 'errorCode' => 'InvalidRule.Malformed ', - 'errorMessage' => '%s', - ], + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => 'FunctionName [%s] is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<DeleteSpecificConfigResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteSpecificConfigResponse>","errorExample":""}]', - 'title' => '删除域名的指定配置', - 'description' => '> 单用户调用频率:30次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C80705BF-0F76-41FA-BAD1-5B59296A4E59\\",\\n \\"DomainConfigs\\": {\\n \\"DomainConfig\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"ParentId\\": \\"222728944812032\\",\\n \\"ConfigId\\": \\"6295\\",\\n \\"FunctionName\\": \\"aliauth\\",\\n \\"FunctionArgs\\": {\\n \\"FunctionArg\\": [\\n {\\n \\"ArgName\\": \\"auth_type\\",\\n \\"ArgValue\\": \\"req_auth\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDomainConfigsResponse>\\n <RequestId>C80705BF-0F76-41FA-BAD1-5B59296A4E59</RequestId>\\n <DomainConfigs>\\n <Status>success</Status>\\n <ParentId>222728944812032</ParentId>\\n <ConfigId>6295</ConfigId>\\n <FunctionName>aliauth</FunctionName>\\n <FunctionArgs>\\n <ArgName>auth_type</ArgName>\\n <ArgValue>req_auth</ArgValue>\\n </FunctionArgs>\\n </DomainConfigs>\\n</DescribeCdnDomainConfigsResponse>","errorExample":""}]', + 'title' => '查询域名配置', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseParamsDescription' => '## ParentId配置示例'."\n" + .' **parentId**为**-1**:表示删除该配置里面已有的规则条件。'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "功能参数A", '."\n" + .' "argValue": "功能参数A对应的值"'."\n" + .' }, '."\n" + .' {'."\n" + .' "argName": "功能参数B", '."\n" + .' "argValue": "功能参数B对应的值"'."\n" + .' }], '."\n" + .' "functionName": "功能名称",'."\n" + .' "parentId": "选填项,对应引用规则条件的configid"'."\n" + .'}]'."\n" + .'```'."\n" + .'不使用**parentId**的情况下,配置示例如下:'."\n" + .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "header_operation_type",'."\n" + .' "argValue": "add"'."\n" + .' }, {'."\n" + .' "argName": "header_name",'."\n" + .' "argValue": "Accept-Encoding"'."\n" + .' }, {'."\n" + .' "argName": "header_value",'."\n" + .' "argValue": "gzip"'."\n" + .' }, {'."\n" + .' "argName": "duplicate",'."\n" + .' "argValue": "off"'."\n" + .' }],'."\n" + .' "functionName": "origin_request_header"'."\n" + .'}]'."\n" + .'```'."\n" + .'使用**parentId**的情况下,配置示例如下:'."\n" + .'使用函数**origin_request_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + .'```[{'."\n" + .' "functionArgs": [{'."\n" + .' "argName": "header_operation_type",'."\n" + .' "argValue": "add"'."\n" + .' }, {'."\n" + .' "argName": "header_name",'."\n" + .' "argValue": "Accept-Encoding"'."\n" + .' }, {'."\n" + .' "argName": "header_value",'."\n" + .' "argValue": "gzip"'."\n" + .' }, {'."\n" + .' "argName": "duplicate",'."\n" + .' "argValue": "off"'."\n" + .' }],'."\n" + .' "functionName": "origin_request_header",'."\n" + .' "parentId": "222728944812032"'."\n" + .'}]'."\n" + .'```', 'extraInfo' => ' ', - ], - 'ModifyCdnDomainSchdmByProperty' => [ - 'summary' => '调用ModifyCdnDomainSchdmByProperty通过配置组修改域名的加速区域。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainConfigs'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + ], + 'DescribeCdnDomainDetail' => [ + 'summary' => '调用DescribeCdnDomainDetail查询指定加速域名的基本配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111870', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '111728', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需修改加速区域的域名,仅支持单个域名进行修改。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Property', - 'in' => 'query', - 'schema' => [ - 'description' => '加速区域属性'."\n" - ."\n" - .'{"coverage":"overseas"} '."\n" - ."\n" - .'其中coverage参数的取值如下:'."\n" - ."\n" - .'- **domestic**:仅中国内地。'."\n" - .'- **overseas**:全球(不含中国内地)。'."\n" - .'- **global**:全球。', - 'type' => 'string', - 'required' => true, - 'example' => '{"coverage":"overseas"}', - ], + 'schema' => ['description' => '加速域名信息,仅支持单个查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -3870,115 +3732,152 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '18CF38AA-1275-451D-A12B-4EC0BF1C5E30'], + 'GetDomainDetailModel' => [ + 'description' => '域名详情。', + 'type' => 'object', + 'properties' => [ + 'GmtCreated' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2015-06-25T03:30:50Z'], + 'Description' => ['description' => '备注。', 'type' => 'string', 'example' => 'Streaming domain'], + 'HttpsCname' => ['description' => '开启HTTPS的CNAME域名。', 'type' => 'string', 'example' => 'example.com.w.kunlunle.com'], + 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'abcd1234abcd1234'], + 'ServerCertificateStatus' => ['description' => '是否开启SSL证书。取值:'."\n" + ."\n" + .'- **on**:开启。'."\n" + .'- **off**:关闭。', 'type' => 'string', 'example' => 'on'], + 'Scope' => ['description' => '加速区域。', 'type' => 'string', 'example' => 'domestic'], + 'DomainStatus' => ['description' => '加速域名运行状态。取值:'."\n" + .'- **online**:启用。'."\n" + .'- **offline**:停用。'."\n" + .'- **configuring**:配置中。'."\n" + .'- **configure_failed**:配置失败。'."\n" + .'- **checking**:正在审核。'."\n" + .'- **check_failed**:审核失败。'."\n" + .'- **stopping**:停用中。 '."\n" + .'- **deleting**:删除中。', 'type' => 'string', 'example' => 'online'], + 'Cname' => ['description' => '为加速域名生成的一个CNAME域名,需要在域名解析服务商处将加速域名CNAME解析到该域名。', 'type' => 'string', 'example' => 'example.com.w.kunlunle.com'], + 'GmtModified' => ['description' => '最近修改时间。', 'type' => 'string', 'example' => '2017-06-25T03:30:50Z'], + 'CdnType' => ['description' => '加速域名的业务类型。取值:'."\n" + ."\n" + .'- **web**:图片小文件。'."\n" + ."\n" + .'- **download**:大文件下载。'."\n" + ."\n" + .'- **video**:视音频点播。', 'type' => 'string', 'example' => 'web'], + 'DomainName' => ['description' => '加速的域名。', 'type' => 'string', 'example' => 'example.com'], + 'SourceModels' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'SourceModel' => [ + 'description' => '源站信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '源站类型。取值:'."\n" + .'- **ipaddr**:IP源站。'."\n" + .'- **domain**:域名源站。'."\n" + .'- **oss**:OSS Bucket为源站。'."\n" + .'- **fc_domain**:函数计算为源站。', 'type' => 'string', 'example' => 'domain'], + 'Weight' => ['description' => '回源权重。', 'type' => 'string', 'example' => '10'], + 'Enabled' => ['description' => '状态。', 'type' => 'string', 'example' => 'online'], + 'Priority' => ['description' => '优先级。', 'type' => 'string', 'example' => '20'], + 'Port' => ['description' => '端口,支持443和80。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'Content' => ['description' => '回源地址。', 'type' => 'string', 'example' => 'example.com'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Schedule.NotFound', - 'errorMessage' => 'there is no schedule domain found by the targeted coverage value', - ], - [ - 'errorCode' => 'DomainTraffic.ExceedThreshold', - 'errorMessage' => 'not allowed to do this operation because the last day traffic exceeds the threshold', - ], - [ - 'errorCode' => 'Domain.BeianInvalid', - 'errorMessage' => 'not allowed to do this operation because the domain registration record invalid in China main land', - ], - [ - 'errorCode' => 'Schedule.ChangeFail', - 'errorMessage' => 'change domain failed', - ], - [ - 'errorCode' => 'InvalidTopLevelDomain.Malformed', - 'errorMessage' => 'Specified TopLevelDomain is malformed.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyCdnDomainSchdmByPropertyResponse>\\r\\n\\t<RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\r\\n</ModifyCdnDomainSchdmByPropertyResponse>","errorExample":""}]', - 'title' => '修改域名的加速区域', - 'description' => '> - 单用户调用频率:100次/秒。'."\n" - .'> - 域名业务类型是直播的情况下,修改域名加速区域可能会引发业务不可用,因此直播域名不允许通过该接口来修改加速区域。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"18CF38AA-1275-451D-A12B-4EC0BF1C5E30\\",\\n \\"GetDomainDetailModel\\": {\\n \\"GmtCreated\\": \\"2015-06-25T03:30:50Z\\",\\n \\"Description\\": \\"Streaming domain\\",\\n \\"HttpsCname\\": \\"example.com.w.kunlunle.com\\",\\n \\"ResourceGroupId\\": \\"abcd1234abcd1234\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"Scope\\": \\"domestic\\",\\n \\"DomainStatus\\": \\"online\\",\\n \\"Cname\\": \\"example.com.w.kunlunle.com\\",\\n \\"GmtModified\\": \\"2017-06-25T03:30:50Z\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"SourceModels\\": {\\n \\"SourceModel\\": [\\n {\\n \\"Type\\": \\"domain\\",\\n \\"Weight\\": \\"10\\",\\n \\"Enabled\\": \\"online\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"example.com\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeCdnDomainDetailResponse>\\n<GetDomainDetailModel>\\n <CdnType>web</CdnType>\\n <Cname>example.com.w.kunlunle.com</Cname>\\n <DomainName>example.com</DomainName>\\n <DomainStatus>online</DomainStatus>\\n <GmtCreated>2015-06-25T03:30:50Z</GmtCreated>\\n <GmtModified>2015-06-25T03:30:53Z</GmtModified>\\n <HttpsCname>example.com.w.kunlunle.com</HttpsCname>\\n <SourceType>domain</SourceType>\\n <ResourceGroupId>abcd1234abcd1234</ResourceGroupId>\\n <SourceModels>\\n <SourceModel>\\n <Enabled>online</Enabled>\\n <Port>80</Port>\\n <Type>domain</Type>\\n <Content>example.com</Content>\\n <Priority>20</Priority>\\n <Weight>10</Weight>\\n </SourceModel>\\n </SourceModels>\\n</GetDomainDetailModel>\\n<RequestId>18CF38AA-1275-451D-A12B-4EC0BF1C5E30</RequestId>\\n</DescribeCdnDomainDetailResponse>","errorExample":""}]', + 'title' => '查询域名详情', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyCdnDomain' => [ - 'summary' => '调用ModifyCdnDomain修改加速域名基础信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-08-19T01:14:02.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-06-27T06:08:07.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-11-23T03:07:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainDetail'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribeCdnDomainLogs' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111869', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111729', + 'abilityTreeNodes' => ['FEATUREcdnGZSOSW'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持修改单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '域名,只支持单个查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'Sources', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '回源地址列表。'."\n" - ."\n" - .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', - 'type' => 'string', - 'required' => false, - 'example' => '[{"content":"1.1.1.1","type":"ipaddr","priority":"20","port":80,"weight":"15"}]', - ], + 'schema' => ['description' => '分页大小,默认**300**,最大**1000**,取值:**1**~**1000**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '1000', 'example' => '300', 'default' => '300'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyuji4b6r4**', - ], + 'schema' => ['description' => '取得第几页,取值范围:大于**1**的任意整数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'default' => '1'], ], [ - 'name' => 'TopLevelDomain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '顶级接入域。只有白名单用户CDN_TOP_LEVEL_DOMAIN_GREY_USER_LIST设置才有效。'."\n" - ."\n" - .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aliyundoc.com', - ], + 'schema' => ['description' => '获取日志起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-21T08:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取日志结束时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需晚于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2017-12-22T08:00:00Z'], ], ], 'responses' => [ @@ -3986,151 +3885,124 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'DomainLogDetails' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DomainLogDetail' => [ + 'description' => 'DomainLogDetail组成的数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LogCount' => ['description' => '本页返回的总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'LogInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'LogInfoDetail' => [ + 'description' => 'LogInfoDetail组成的数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '结束时间。'."\n", 'type' => 'string', 'example' => '2015-05-23T14:00:00Z'], + 'LogSize' => ['description' => '日志大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '258'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2015-05-23T13:00:00Z'], + 'LogName' => ['description' => '日志名称。', 'type' => 'string', 'example' => 'demo.aliyundoc.com_2015_05_23_2100_2200.gz'], + 'LogPath' => ['description' => '日志路径。', 'type' => 'string', 'example' => 'guide.aliyundoc.com-hangzhou.xxx'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + 'PageInfos' => [ + 'description' => 'PageInfoDetail组成的数据。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '返回数据的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '整页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'Total' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Abs.Sources.Malformed', - 'errorMessage' => 'The specified Sources is invalid.', - ], - [ - 'errorCode' => 'MissingDomainName', - 'errorMessage' => 'The domainName parameter is required.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - [ - 'errorCode' => 'InvalidSource.Content.Malformed', - 'errorMessage' => 'The specified Source Content is invalid.', - ], - [ - 'errorCode' => 'InvalidTypeContent.Mismatch', - 'errorMessage' => 'The specified source type does not match the specified source content.', - ], - [ - 'errorCode' => 'MissingSource.Content', - 'errorMessage' => 'The Source Content must be specified.', - ], - [ - 'errorCode' => 'MissingSource.Type', - 'errorMessage' => 'The Source Type must be specified.', - ], - [ - 'errorCode' => 'InvalidSource.Type.Malformed', - 'errorMessage' => 'The specified Source Type is invalid.', - ], - [ - 'errorCode' => 'InvalidSource.Priority.Malformed', - 'errorMessage' => 'The specified Source Priority is invalid.', - ], - [ - 'errorCode' => 'InvalidResourceGroupId.Malformed', - 'errorMessage' => 'The specified ResourceGroupId is invalid.', - ], - [ - 'errorCode' => 'EntityNotExists.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'EntityNotExist.ResourceGroup', - 'errorMessage' => 'The resource group does not exist.', - ], - [ - 'errorCode' => 'InvalidStatus.ResourceGroup', - 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', - ], - [ - 'errorCode' => 'TopLevelDomain.NotFound', - 'errorMessage' => 'TopLevelDomain is not exist.', - ], - [ - 'errorCode' => 'InvalidTopLevelDomain.Malformed', - 'errorMessage' => 'Specified TopLevelDomain is malformed.', - ], - [ - 'errorCode' => 'TopLevelDomain.Mismatch', - 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', - ], - [ - 'errorCode' => 'SourceInBlacklist', - 'errorMessage' => 'Source is in the blacklist.', - ], - ], - 403 => [ - [ - 'errorCode' => 'DomainInProtectedMode', - 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '用户参数中EndTime早于StartTime'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<ModifyCdnDomainResponse>\\r\\n\\t<RequestId>94E3559F-7B6A-4A5E-AFFD-44E2A208A249</RequestId>\\r\\n</ModifyCdnDomainResponse>","errorExample":""}]', - 'title' => '修改域名基础信息', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" - ."\n" - .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" - .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" - .'| type | String | 是 | 源站类型。<br>ipaddr:IP源站。<br>domain:域名源站。<br>oss:OSS Bucket为源站。<br>fc_domain:函数计算源站。 |'."\n" - .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" - .'| port| Integer| 否 | 端口,可以指定80、443,也可以自定义端口,默认值为80。443是HTTPS协议回源。 |'."\n" - .'| priority | String | 否 | 源站地址对应的优先级,支持20和30,默认值为20。20是主源,30是备源。|'."\n" - .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', + 'title' => '查询离线日志下载地址', + 'summary' => '调用DescribeCdnDomainLogs查询域名的离线日志下载地址。', + 'description' => '- 如果不指定**StartTime**和**EndTime**,该接口默认读取过去24小时的数据;指定**StartTime**和**EndTime**时,按指定的起止时间查询。'."\n" + .'- 查询数据的时间粒度为一小时。'."\n" + .'- 单个用户的调用频率为:100次/秒。'."\n" + .'- 仅支持查询最近一个月的日志记录(开始时间和当前时间跨度不大于31天)。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainLogs'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainLogDetails\\": {\\n \\"DomainLogDetail\\": [\\n {\\n \\"LogCount\\": 10,\\n \\"DomainName\\": \\"example.com\\",\\n \\"LogInfos\\": {\\n \\"LogInfoDetail\\": [\\n {\\n \\"EndTime\\": \\"2015-05-23T14:00:00Z\\",\\n \\"LogSize\\": 258,\\n \\"StartTime\\": \\"2015-05-23T13:00:00Z\\",\\n \\"LogName\\": \\"demo.aliyundoc.com_2015_05_23_2100_2200.gz\\",\\n \\"LogPath\\": \\"guide.aliyundoc.com-hangzhou.xxx\\"\\n }\\n ]\\n },\\n \\"PageInfos\\": {\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 20\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeCdnDomainLogsResponse>\\n<RequestId>077D0284-F041-4A41-A932-B48377FDAA25</RequestId>\\n<DomainLogDetails>\\n <DomainLogDetail>\\n <LogInfos>\\n <LogInfoDetail>\\n <LogName>demo.aliyundoc.com_2018_03_25_180000_190000.gz</LogName>\\n <LogPath>guide.aliyundoc.com/image.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_180000_190000.gz?xxx</LogPath>\\n <EndTime>2018-05-31T04:00:00Z</EndTime>\\n <StartTime>2018-05-31T03:00:00Z</StartTime>\\n <LogSize>2645401</LogSize>\\n </LogInfoDetail>\\n <LogInfoDetail>\\n <LogName>demo.aliyundoc.com_2018_03_25_190000_200000.gz</LogName>\\n <LogPath>guide.aliyundoc.com/demo.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_190000_200000.gz?xxx</LogPath>\\n <EndTime>2018-05-31T06:00:00Z</EndTime>\\n <StartTime>2018-05-31T05:00:00Z</StartTime>\\n <LogSize>2653965</LogSize>\\n </LogInfoDetail>\\n </LogInfos>\\n <LogCount>20</LogCount>\\n <PageInfos>\\n <PageIndex>1</PageIndex>\\n <PageSize>20</PageSize>\\n <Total>20</Total>\\n </PageInfos>\\n <DomainName>example.com</DomainName>\\n </DomainLogDetail>\\n</DomainLogDetails>\\n</DescribeCdnDomainLogsResponse>","errorExample":""}]', ], 'DescribeCdnDomainStagingConfig' => [ 'summary' => '调用DescribeCdnDomainStagingConfig查询模拟环境配置信息,一次可查询多个功能配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111730', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持单个查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,仅支持单个查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'FunctionNames', 'in' => 'query', - 'schema' => [ - 'description' => '功能名称列表,多个用半角逗号(,)分隔,可配置功能请参见[功能列表](~~388460~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'aliauth', - ], + 'schema' => ['description' => '功能名称列表,多个用半角逗号(,)分隔,可配置功能请参见[功能列表](~~388460~~)。', 'type' => 'string', 'required' => false, 'example' => 'aliauth'], ], ], 'responses' => [ @@ -4138,63 +4010,31 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C80705BF-0F76-41FA-BAD1-5B59296A4E59', - ], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C80705BF-0F76-41FA-BAD1-5B59296A4E59'], 'DomainConfigs' => [ 'description' => '域名配置列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '配置状态。取值:'."\n" - .'- **testing**:配置校验中。'."\n" - .'- **configuring**:配置中。'."\n" - .'- **success**:成功。'."\n" - .'- **failed**:失败。'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'ParentId' => [ - 'description' => '规则条件ID,非必填项。通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[ConfigId](~~388994~~),ConfigId可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" - .'具体配置操作请参考[批量配置域名](~~90915~~)或下文ParentId配置示例说明。'."\n", - 'type' => 'string', - 'example' => '222728944812032', - ], - 'ConfigId' => [ - 'description' => '配置ID。', - 'type' => 'string', - 'example' => '6xx5', - ], - 'FunctionName' => [ - 'description' => '功能名称。', - 'type' => 'string', - 'example' => 'aliauth', - ], + 'Status' => ['description' => '配置状态。取值:'."\n" + .'- **testing**:配置校验中。'."\n" + .'- **configuring**:配置中。'."\n" + .'- **success**:成功。'."\n" + .'- **failed**:失败。'."\n", 'type' => 'string', 'example' => 'success'], + 'ParentId' => ['description' => '规则条件ID,非必填项。通过配置[域名配置功能参数](~~388460~~)中的功能函数**condition**(规则引擎),可以创建出规则条件(规则条件可以通过识别用户请求中携带的各种参数来匹配和过滤用户请求),每一个规则条件被创建以后都会生成一个对应的[ConfigId](~~388994~~),ConfigId可以被当作ParentId参数被其他功能函数引用,这样规则条件就可以与功能配置一起组合形成更灵活的配置。'."\n" + .'具体配置操作请参考[批量配置域名](~~90915~~)或下文ParentId配置示例说明。'."\n", 'type' => 'string', 'example' => '222728944812032'], + 'ConfigId' => ['description' => '配置ID。', 'type' => 'string', 'example' => '6xx5'], + 'FunctionName' => ['description' => '功能名称。', 'type' => 'string', 'example' => 'aliauth'], 'FunctionArgs' => [ 'description' => '各个功能说明。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ArgName' => [ - 'description' => '配置名称。', - 'type' => 'string', - 'example' => 'auth_type', - ], - 'ArgValue' => [ - 'description' => '配置值。', - 'type' => 'string', - 'example' => 'req_auth', - ], + 'ArgName' => ['description' => '配置名称。', 'type' => 'string', 'example' => 'auth_type'], + 'ArgValue' => ['description' => '配置值。', 'type' => 'string', 'example' => 'req_auth'], ], ], ], @@ -4207,10 +4047,7 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => 'FunctionName [%s] is not supported.', - ], + ['errorCode' => 'Invalid%s.ValueNotSupported', 'errorMessage' => 'FunctionName [%s] is not supported.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"C80705BF-0F76-41FA-BAD1-5B59296A4E59\\",\\n \\"DomainConfigs\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"ParentId\\": \\"222728944812032\\",\\n \\"ConfigId\\": \\"6xx5\\",\\n \\"FunctionName\\": \\"aliauth\\",\\n \\"FunctionArgs\\": [\\n {\\n \\"ArgName\\": \\"auth_type\\",\\n \\"ArgValue\\": \\"req_auth\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDomainStagingConfigResponse>\\n <DomainName>example.com</DomainName>\\n <RequestId>C80705BF-0F76-41FA-BAD1-5B59296A4E59</RequestId>\\n <DomainConfigs>\\n <Status>success</Status>\\n <ParentId>222728944812032</ParentId>\\n <ConfigId>6xx5</ConfigId>\\n <FunctionName>aliauth</FunctionName>\\n <FunctionArgs>\\n <ArgName>auth_type</ArgName>\\n <ArgValue>req_auth</ArgValue>\\n </FunctionArgs>\\n </DomainConfigs>\\n</DescribeCdnDomainStagingConfigResponse>","errorExample":""}]', @@ -4283,218 +4120,194 @@ .'}]'."\n" .'```', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'SetCdnDomainStagingConfig' => [ - 'summary' => '调用SetCdnDomainStagingConfig设置模拟环境下的加速域名配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnFullDomainsBlockIPConfig' => [ + 'summary' => '调用DescribeCdnFullDomainsBlockIPConfig查询全量封禁的相关配置。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111889', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', + 'name' => 'IPList', + 'in' => 'formData', + 'schema' => ['description' => '查询IP/IP段列表,多个IP请用半角逗号(,)分隔,最大支持50个。', 'type' => 'string', 'required' => false, 'example' => '1.XXX.XXX.1,2.XXX.XXX.2'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '加速域名,仅支持单个域名进行设置。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '95994621-8382-464B-8762-C708E73568D1'], + 'Message' => ['description' => '结果信息,返回正常是为OSS链接,异常是为错误信息。', 'type' => 'string', 'example' => 'http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx'], + 'Code' => ['description' => '结果信息码。'."\n" + ."\n" + .'Code不为0可能有以下三种情况:'."\n" + ."\n" + .'+ IP格式不正确。'."\n" + .'+ IP个数超出限制。'."\n" + .'+ 其他。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'The quota is exceeded.', 'description' => 'quota超过限制。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95994621-8382-464B-8762-C708E73568D1\\",\\n \\"Message\\": \\"http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx\\",\\n \\"Code\\": 0\\n}","type":"json"}]', + 'title' => '查询全量封禁配置', + 'description' => '>'."\n" + .'>- 该接口需要<props="china"><ph>[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>申请后使用。'."\n" + .'> - 对用户给定的IP/IP段,给出该用户当前时间生效的IP和对应过期时间;用户不指定IP时,返回当前全量生效的IP和对应过期时间。'."\n" + .'> - 结果写入OSS,以OSS链接返回 ,OSS文件中内容格式为ip-对应过期时间,时间格式为YYYY-MM-DD hh:mm:ss 。'."\n" + .'> - OSS文件分享链接有效期为3天。', + 'changeSet' => [], + ], + 'DescribeCdnFullDomainsBlockIPHistory' => [ + 'summary' => '调用DescribeCdnFullDomainsBlockIPHistory获取封禁历史记录。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Functions', - 'in' => 'query', - 'schema' => [ - 'description' => '功能列表,格式如下:'."\n" - ."\n" - .'> - **functionName**(功能名称):可配置功能请参见[功能列表](~~388460~~),多个参数之间用半角逗号(,)分隔。'."\n" - .'> - **argName**:**functionName**的配置项(可配置多个配置项)。'."\n" - .'> - **argValue**:**functionName**的配置项的取值。'."\n" - ."\n" - .'```json'."\n" - .'['."\n" - .' {'."\n" - .' "functionArgs": ['."\n" - .' {'."\n" - .' "argName": "功能参数A",'."\n" - .' "argValue": "功能参数A对应的值"'."\n" - .' },'."\n" - .' {'."\n" - .' "argName": "功能参数B",'."\n" - .' "argValue": "功能参数B对应的值"'."\n" - .' }'."\n" - .' ],'."\n" - .' "functionName": "功能名称"'."\n" - .' }'."\n" - .']'."\n" - .'```', - 'type' => 'string', - 'required' => true, - 'example' => '[{"functionArgs":[{"argName":"enable","argValue":"on"},{"argName":"pri","argValue":"1"},{"argName":"rule","argValue":"xxx"}],"functionName":"edge_function"}]', - ], + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'IPList', + 'in' => 'formData', + 'schema' => ['description' => '查询IP/IP段。', 'type' => 'string', 'required' => true, 'example' => '1.XXX.XXX.1,2.XXX.XXX.2'], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => '查询获取数据起始时间点,时间格式为:YYYY-MM-DDThh:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2023-04-24T17:00:00Z'."\n"], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => '查询获取数据结束时间点,时间格式为:YYYY-MM-DDThh:mm:ssZ;结束时间需大于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2023-04-24T19:00:00Z'."\n"], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'DomainConfigList' => [ - 'description' => '域名配置清单。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761'], + 'IPBlockInfo' => [ + 'description' => '操作结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ConfigId' => [ - 'description' => '配置ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234567', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'FunctionName' => [ - 'description' => '功能名称。', - 'type' => 'string', - 'example' => 'set_resp_header', - ], + 'BlockIP' => ['description' => '下发的IP/IP段。', 'type' => 'string', 'example' => '1.XXX.XXX.0~1.XXX.XXX.255'."\n"], + 'DeliverTime' => ['description' => '下发时间。', 'type' => 'string', 'example' => '2023-04-24 18:49:37'."\n"], + 'Status' => ['description' => '下发状态。'."\n" + ."\n" + .'+ Success:下发成功。'."\n" + .'+ Failed:下发失败,或未有下发记录。', 'type' => 'string', 'example' => 'Success'], ], ], ], + 'Code' => ['description' => '结果信息码。'."\n" + ."\n" + .'Code不为0可能有以下三种情况:'."\n" + ."\n" + .'+ IP格式不正确。'."\n" + .'+ 时间格式不正确。'."\n" + .'+ 其他。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Description' => ['description' => '接口返回状态描述。', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidFunctionName.ValueNotSupported', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'InvalidArgValue.Malformed', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'ConfigurationConflicts', - 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', - ], - [ - 'errorCode' => 'InvalidArgName.ValueNotSupported', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'GrayConfigExist', - 'errorMessage' => 'The domain exists other gray config.', - ], - [ - 'errorCode' => 'InvalidRule.Malformed', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'InvalidDomain.BelongToConfigGroup', - 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', - ], - [ - 'errorCode' => 'EdgeScriptCountExceedLimit', - 'errorMessage' => 'The number of rules exceeds the default limit.', - ], - [ - 'errorCode' => 'EdgeScripOptionsHasInnerConfig', - 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptGrammarNotSupport', - 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptNotSupportJs', - 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'MissingRequiredArg', - 'errorMessage' => 'required argument missing.', - ], - [ - 'errorCode' => 'FunctionArgError', - 'errorMessage' => 'The function parameter of the domain configuration is incorrect.', + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'The quota is exceeded.', 'description' => 'quota超过限制。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"IPBlockInfo\\": [\\n {\\n \\"BlockIP\\": \\"1.XXX.XXX.0~1.XXX.XXX.255\\\\n\\",\\n \\"DeliverTime\\": \\"2023-04-24 18:49:37\\\\n\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Description\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '查询封禁历史', + 'description' => '> '."\n" + .'>- 该接口需要<props="china"><ph>[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>申请后使用。'."\n" + .'> - 对用户指定的IP和时间段,返回用户在该时间段对该IP的下发时间和对应结果。'."\n" + .'> - 当指定的IP/IP段在指定时间段存在多条下发记录时,会按下发时间降序排列。'."\n" + .'> - 查询时间段支持的最大范围为90天。'."\n" + .'> - 给定IP和时间段不存在下发记录或下发失败时,下发时间为空。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnFullDomainsBlockIPHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"DomainConfigList\\": [\\n {\\n \\"ConfigId\\": 1234567,\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"FunctionName\\": \\"set_resp_header\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainStagingConfigResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <DomainConfigList>\\n <ConfigId>1234567</ConfigId>\\n <DomainName>www.example.com</DomainName>\\n <FunctionName>set_resp_header</FunctionName>\\n </DomainConfigList>\\n</SetCdnDomainStagingConfigResponse>","errorExample":""}]', - 'title' => '设置模拟环境配置', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => "\n" - .'### edge_function边缘函数功能说明'."\n" - ."\n" - .'所有参数值均按照字符串类型处理。'."\n" - ."\n" - .'| 功能名称 | 参数 |'."\n" - .'| ----------------------- | ------------------------------------------------------------ |'."\n" - .'| edge_function:边缘函数 | 必填参数:<br>**rule**:DSL规则;<br>**pri**:优先级;<br>**enable**:本条规则是否生效,取值范围on/off;<br>可选参数:<br>**name**:规则名称。仅支持英文字母和下划线;<br>**pos**:规则执行位置;<br>**brk**:命中本条规则后,当前执行位置剩余规则均跳过;<br>**option**:option管控;<br>**grammar**:grammar管控,可选值:空、es2、js;<br>**jsmode**:js域名白单管控,可选值:redirect、bypass; |', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'RollbackStagingConfig' => [ - 'summary' => '调用RollbackStagingConfig可以起到回滚模拟环境配置的作用,配置回滚后的模拟环境将被还原为初始状态,模拟环境下的所有配置都将被清空。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnHttpsDomainList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111884', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111731', + 'abilityTreeNodes' => ['FEATUREcdnD4PEWG', 'FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '取得第几页,取值范围为:**1**~**100000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小,默认**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'default' => '20'], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => ['description' => '搜索关键字。', 'type' => 'string', 'required' => false, 'example' => 'com'], ], ], 'responses' => [ @@ -4502,63 +4315,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5E8DF64-7175-4186-9B06-F002C0BBD0C5'], + 'CertInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CertInfo' => [ + 'description' => '证书信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CertStartTime' => ['description' => '证书开始时间。', 'type' => 'string', 'example' => '2018-11-26 14:45:09'], + 'CertExpireTime' => ['description' => '证书过期时间。', 'type' => 'string', 'example' => '2018-12-26 14:45:09'], + 'CertUpdateTime' => ['description' => '证书更新时间。', 'type' => 'string', 'example' => '2019-01-08 18:33:16'], + 'CertType' => ['description' => '证书类型。'."\n" + .'- **free**:免费证书。'."\n" + ."\n" + .'- **cas**:云盾证书。'."\n" + ."\n" + .'- **upload**:自定义上传。'."\n", 'type' => 'string', 'example' => 'free'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'test'], + 'CertStatus' => ['description' => '证书状态。'."\n" + .'- **ok**:正常。'."\n" + .'- **mismatch**:域名与证书不匹配。'."\n" + .'- **expired**:已过期。'."\n" + .'- **expire_soon**:即将过期。', 'type' => 'string', 'example' => 'mismatch'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'CertCommonName' => ['description' => '证书主域名。', 'type' => 'string', 'example' => 'example.org'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'StagingConfig.NotFound', - 'errorMessage' => 'The Staging configuration does not exist.', - ], + 400 => [ + ['errorCode' => 'NoHttpsDomain', 'errorMessage' => 'Your account doesn\'t have https domain.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<RollbackStagingConfigResponse>\\r\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</RollbackStagingConfigResponse>","errorExample":""}]', - 'title' => '回滚模拟环境配置', - 'description' => '> 单用户调用频率:30次/秒。', + 'title' => '查询证书列表', + 'summary' => '调用DescribeCdnHttpsDomainList查询用户所有证书信息。', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PublishStagingConfigToProduction' => [ - 'summary' => '调用PublishStagingConfigToProduction将模拟环境配置发布为生产环境配置。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnHttpsDomainList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnHttpsDomainList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 16,\\n \\"RequestId\\": \\"F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertStartTime\\": \\"2018-11-26 14:45:09\\",\\n \\"CertExpireTime\\": \\"2018-12-26 14:45:09\\",\\n \\"CertUpdateTime\\": \\"2019-01-08 18:33:16\\",\\n \\"CertType\\": \\"free\\",\\n \\"CertName\\": \\"test\\",\\n \\"CertStatus\\": \\"mismatch\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CertCommonName\\": \\"example.org\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnHttpsDomainListResponse>\\n <CertInfos>\\n <CertInfo>\\n <CertUpdateTime>2019-01-08 18:33:16</CertUpdateTime>\\n <CertType>free</CertType>\\n <CertName>test</CertName>\\n <DomainName>example.com</DomainName>\\n <CertStatus>mismatch</CertStatus>\\n <CertExpireTime>2018-12-26 14:45:09</CertExpireTime>\\n <CertStartTime>2018-11-26 14:45:09</CertStartTime>\\n <CertCommonName>example.org</CertCommonName>\\n </CertInfo>\\n </CertInfos>\\n <TotalCount>16</TotalCount>\\n <RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>\\n</DescribeCdnHttpsDomainListResponse>","errorExample":""}]', + ], + 'DescribeCdnOrderCommodityCode' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111879', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '137446', + 'abilityTreeNodes' => ['FEATUREcdnYC0IJ0'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'CommodityCode', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '原始商品Code。', 'type' => 'string', 'required' => true, 'example' => 'xxx'], ], ], 'responses' => [ @@ -4566,220 +4420,187 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'OrderCommodityCode' => ['description' => '包含多组织单位OU(Organizational Unit)售卖的商品Code。', 'type' => 'string', 'example' => 'xxx'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'StagingConfig.Failed', - 'errorMessage' => 'Rules in staging are being configured, please try again later.', - ], + 'title' => '查询商品Code', + 'summary' => '调用DescribeCdnOrderCommodityCode查询客户UID对应的商品Code。', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-11-15T07:39:28.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnOrderCommodityCode'], ], - 404 => [ - [ - 'errorCode' => 'StagingConfig.NotFound', - 'errorMessage' => 'The Staging configuration does not exist.', + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnOrderCommodityCode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<PublishStagingConfigToProductionResponse>\\r\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</PublishStagingConfigToProductionResponse>","errorExample":""}]', - 'title' => '发布模拟环境配置到生产环境', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderCommodityCode\\": \\"xxx\\",\\n \\"RequestId\\": \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnOrderCommodityCodeResponse>\\n <OrderCommodityCode>xxx</OrderCommodityCode>\\n <RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>\\n</DescribeCdnOrderCommodityCodeResponse>","errorExample":""}]', ], - 'DeleteSpecificStagingConfig' => [ - 'summary' => '调用DeleteSpecificStagingConfig删除模拟环境中的指定配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnRegionAndIsp' => [ + 'summary' => '调用DescribeCdnRegionAndIsp查询地域和运营商列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111711', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '您的加速域名,多个域名使用半角逗号(,)分隔,一次最多支持50个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'ConfigId', - 'in' => 'query', - 'schema' => [ - 'description' => '功能配置ID,多个ID用半角逗号(,)分隔。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2317', - ], - ], + 'operationType' => 'none', + 'abilityTreeCode' => '111736', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], + 'tenantRelevance' => 'publicInformation', ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2387C335-932C-4E1E-862C-1C4363B6DE72'], + 'Regions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Region' => [ + 'description' => '地域列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NameEn' => ['description' => '英文名称。', 'type' => 'string', 'example' => 'liaoning'], + 'NameZh' => ['description' => '中文名称。', 'type' => 'string', 'example' => '辽宁省'], + ], + ], + ], + ], + ], + 'Isps' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Isp' => [ + 'description' => '运营商列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NameEn' => ['description' => '英文名称。', 'type' => 'string', 'example' => 'unicom'], + 'NameZh' => ['description' => '中文名称。', 'type' => 'string', 'example' => '联通'], + ], + ], + ], + ], ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Invalid%s.ValueNotSupported', - 'errorMessage' => 'FunctionName [%s] is not supported.', - ], - [ - 'errorCode' => 'GrayConfigIsNull', - 'errorMessage' => 'You cannot delete all gary configurations. You can clear them by rolling back the simulation environment.', - ], - [ - 'errorCode' => 'EdgeScriptCountExceedLimit', - 'errorMessage' => 'The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScripOptionsHasInnerConfig', - 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptGrammarNotSupport', - 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'EdgeScriptNotSupportJs', - 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', - ], - [ - 'errorCode' => 'InvalidRule.Malformed ', - 'errorMessage' => 'Check rules error: %s', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSpecificStagingConfigResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteSpecificStagingConfigResponse>","errorExample":""}]', - 'title' => '删除模拟环境指定配置', - 'description' => '> 单用户调用频率:20次/秒。'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2387C335-932C-4E1E-862C-1C4363B6DE72\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"NameEn\\": \\"liaoning\\",\\n \\"NameZh\\": \\"辽宁省\\"\\n }\\n ]\\n },\\n \\"Isps\\": {\\n \\"Isp\\": [\\n {\\n \\"NameEn\\": \\"unicom\\",\\n \\"NameZh\\": \\"联通\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<Isps>\\n <Isp>\\n <NameZh>电信</NameZh>\\n <NameEn>telecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>移动</NameZh>\\n <NameEn>mobile</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>教育网</NameZh>\\n <NameEn>cernet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>铁通</NameZh>\\n <NameEn>tietong</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>其他</NameZh>\\n <NameEn>other</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>鹏博士</NameZh>\\n <NameEn>drpeng</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>联通</NameZh>\\n <NameEn>unicom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>阿里巴巴</NameZh>\\n <NameEn>alibaba</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中信网络</NameZh>\\n <NameEn>citic</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>方正宽带</NameZh>\\n <NameEn>dounder</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>海外ISP</NameZh>\\n <NameEn>overseas</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>有线通</NameZh>\\n <NameEn>ocn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>华数</NameZh>\\n <NameEn>wasu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖北广电</NameZh>\\n <NameEn>hrtn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>重庆有线</NameZh>\\n <NameEn>cqccn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>歌华有线</NameZh>\\n <NameEn>bjctv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>天威视讯</NameZh>\\n <NameEn>topway</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中国香港宽频</NameZh>\\n <NameEn>hkbn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>澳大利亚电信</NameZh>\\n <NameEn>telstra</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>江西广电</NameZh>\\n <NameEn>jxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南广电</NameZh>\\n <NameEn>gbs</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中国澳门电讯</NameZh>\\n <NameEn>ctm</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>黑龙江广电</NameZh>\\n <NameEn>ljwl</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中华电信</NameZh>\\n <NameEn>cht</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>陕西广电</NameZh>\\n <NameEn>sxbctv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广电</NameZh>\\n <NameEn>ccn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>长城宽带</NameZh>\\n <NameEn>gwbn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>华数传媒</NameZh>\\n <NameEn>wasumedia</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广东广电</NameZh>\\n <NameEn>gcable</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>辽宁广电</NameZh>\\n <NameEn>lnsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>河南广电</NameZh>\\n <NameEn>hensarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>山东广电</NameZh>\\n <NameEn>sdsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>江苏广电</NameZh>\\n <NameEn>jssarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>四川艾普</NameZh>\\n <NameEn>aipu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>吉视传媒</NameZh>\\n <NameEn>jilincatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>四川广电</NameZh>\\n <NameEn>sicsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>安徽广电</NameZh>\\n <NameEn>anhuicatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>福建广电</NameZh>\\n <NameEn>fujiancatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>新疆广电</NameZh>\\n <NameEn>xjsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>贵州广电</NameZh>\\n <NameEn>guizhoucatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>局域网</NameZh>\\n <NameEn>local area network</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南巨亚</NameZh>\\n <NameEn>hunanjy</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>珠江数码</NameZh>\\n <NameEn>zhujiangsm</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>北京宝联之星</NameZh>\\n <NameEn>baolian</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Telin</NameZh>\\n <NameEn>telin</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Indosat</NameZh>\\n <NameEn>indosat</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>上海驰联</NameZh>\\n <NameEn>shchilian</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>上海企舜</NameZh>\\n <NameEn>shqishun</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>皓宽网络</NameZh>\\n <NameEn>cnix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度Sify</NameZh>\\n <NameEn>sify</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Zenlayer</NameZh>\\n <NameEn>zenlayer</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度TATA</NameZh>\\n <NameEn>tata</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度AirTel</NameZh>\\n <NameEn>airtel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telstra Global</NameZh>\\n <NameEn>telstraglobal</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Maxis</NameZh>\\n <NameEn>maxis</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>内蒙古广电</NameZh>\\n <NameEn>nmgcatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>JasTel</NameZh>\\n <NameEn>jastel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Taiwan Fixed Network</NameZh>\\n <NameEn>taiwanfixednetwork</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Digital United</NameZh>\\n <NameEn>digitalunited</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>NTT</NameZh>\\n <NameEn>ntt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>KDDI</NameZh>\\n <NameEn>kddi</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Korea Telecom</NameZh>\\n <NameEn>koreatelecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TM Net</NameZh>\\n <NameEn>tmnet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>True Internet</NameZh>\\n <NameEn>trueinternet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>PT Aplikanusa Lintasarta</NameZh>\\n <NameEn>ptaplikanusalintasarta</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>VNPT</NameZh>\\n <NameEn>vnpt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>EITC-DU</NameZh>\\n <NameEn>eitcdu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Rostelecom</NameZh>\\n <NameEn>rostelecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>GLOBALNET</NameZh>\\n <NameEn>globalnet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>ER-Telecom Holding</NameZh>\\n <NameEn>ertelecomholding</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Business Network Ltd</NameZh>\\n <NameEn>businessnetworkltd</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Vodafone</NameZh>\\n <NameEn>vodafone</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Level</NameZh>\\n <NameEn>level</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TATA Communications(America)</NameZh>\\n <NameEn>tatacommunications</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>ENTER S.r.l.</NameZh>\\n <NameEn>entersrl</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Vodacom ENS</NameZh>\\n <NameEn>vodacomens</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Hurricane Electric</NameZh>\\n <NameEn>hurricaneelectric</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>CTA</NameZh>\\n <NameEn>cta</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telefonica USA</NameZh>\\n <NameEn>telefonicausa</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Verizon Business</NameZh>\\n <NameEn>verizonbusiness</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telefonica Data S.A.</NameZh>\\n <NameEn>telefonicadatasa</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>PLDT</NameZh>\\n <NameEn>pldt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Viettel</NameZh>\\n <NameEn>viettel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>RETN</NameZh>\\n <NameEn>retn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>AIMS</NameZh>\\n <NameEn>aims</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广西广电</NameZh>\\n <NameEn>guangxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>河北广电</NameZh>\\n <NameEn>hebsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南有线</NameZh>\\n <NameEn>hunsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>山东青岛广电</NameZh>\\n <NameEn>sdqdsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Level3</NameZh>\\n <NameEn>level3</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>宁夏广电</NameZh>\\n <NameEn>nxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Zain</NameZh>\\n <NameEn>zain</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Singtel</NameZh>\\n <NameEn>singtel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>BBIX</NameZh>\\n <NameEn>bbix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>MSK-IX</NameZh>\\n <NameEn>mskix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TPIX</NameZh>\\n <NameEn>tpix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Equinix</NameZh>\\n <NameEn>equinix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>台湾之星</NameZh>\\n <NameEn>taiwanstar</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>阿里云</NameZh>\\n <NameEn>aliyun</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TelekomMalaysia</NameZh>\\n <NameEn>telekommalaysia</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>KINX</NameZh>\\n <NameEn>kinx</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>SKBB</NameZh>\\n <NameEn>skbb</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>CAT</NameZh>\\n <NameEn>cat</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Ooredoo</NameZh>\\n <NameEn>ooredoo</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Fareastone</NameZh>\\n <NameEn>fareastone telecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>全部</NameZh>\\n <NameEn>all</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>JIO</NameZh>\\n <NameEn>jio</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>甘肃广电</NameZh>\\n <NameEn>gssarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>天津广电</NameZh>\\n <NameEn>tjsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>大连理工大学</NameZh>\\n <NameEn>dlut</NameEn>\\n </Isp>\\n</Isps>\\n<RequestId>9CEF1678-CAE9-4173-88C9-31DA0931BBAF</RequestId>\\n<Regions>\\n <Region>\\n <NameZh>河北省</NameZh>\\n <NameEn>hebei</NameEn>\\n </Region>\\n <Region>\\n <NameZh>宁夏回族自治区</NameZh>\\n <NameEn>ningxia</NameEn>\\n </Region>\\n <Region>\\n <NameZh>贵州省</NameZh>\\n <NameEn>guizhou</NameEn>\\n </Region>\\n <Region>\\n <NameZh>新疆维吾尔自治区</NameZh>\\n <NameEn>xinjiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>北京市</NameZh>\\n <NameEn>beijing</NameEn>\\n </Region>\\n <Region>\\n <NameZh>福建省</NameZh>\\n <NameEn>fujian</NameEn>\\n </Region>\\n <Region>\\n <NameZh>海南省</NameZh>\\n <NameEn>hainan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>黑龙江省</NameZh>\\n <NameEn>heilongjiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>广东省</NameZh>\\n <NameEn>guangdong</NameEn>\\n </Region>\\n <Region>\\n <NameZh>广西壮族自治区</NameZh>\\n <NameEn>guangxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>浙江省</NameZh>\\n <NameEn>zhejiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>青海省</NameZh>\\n <NameEn>qinghai</NameEn>\\n </Region>\\n <Region>\\n <NameZh>江苏省</NameZh>\\n <NameEn>jiangsu</NameEn>\\n </Region>\\n <Region>\\n <NameZh>山西省</NameZh>\\n <NameEn>shanxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>河南省</NameZh>\\n <NameEn>henan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>云南省</NameZh>\\n <NameEn>yunnan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>西藏自治区</NameZh>\\n <NameEn>xizang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>辽宁省</NameZh>\\n <NameEn>liaoning</NameEn>\\n </Region>\\n <Region>\\n <NameZh>湖南省</NameZh>\\n <NameEn>hunan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国香港</NameZh>\\n <NameEn>China(Hong Kong)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>陕西省</NameZh>\\n <NameEn>shaanxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国澳门</NameZh>\\n <NameEn>China(Macao)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>安徽省</NameZh>\\n <NameEn>anhui</NameEn>\\n </Region>\\n <Region>\\n <NameZh>天津市</NameZh>\\n <NameEn>tianjin</NameEn>\\n </Region>\\n <Region>\\n <NameZh>江西省</NameZh>\\n <NameEn>jiangxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>湖北省</NameZh>\\n <NameEn>hubei</NameEn>\\n </Region>\\n <Region>\\n <NameZh>重庆市</NameZh>\\n <NameEn>chongqing</NameEn>\\n </Region>\\n <Region>\\n <NameZh>甘肃省</NameZh>\\n <NameEn>gansu</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国台湾</NameZh>\\n <NameEn>China(Taiwan)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>山东省</NameZh>\\n <NameEn>shandong</NameEn>\\n </Region>\\n <Region>\\n <NameZh>吉林省</NameZh>\\n <NameEn>jilin</NameEn>\\n </Region>\\n <Region>\\n <NameZh>上海市</NameZh>\\n <NameEn>shanghai</NameEn>\\n </Region>\\n <Region>\\n <NameZh>四川省</NameZh>\\n <NameEn>sichuan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>内蒙古自治区</NameZh>\\n <NameEn>neimenggu</NameEn>\\n </Region>\\n</Regions>","errorExample":""}]', + 'title' => '查询地域和运营商列表', + 'description' => '- CDN支持的地域及运营商列表会不定时更新,请您及时关注官网最新信息。'."\n" + .'- 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SetWaitingRoomConfig' => [ - 'summary' => '调用SetWaitingRoomConfig设置waiting_room功能,只支持全站加速类型域名。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2022-11-16T07:41:48.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnRegionAndIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnReport' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111915', - 'abilityTreeNodes' => [ - 'FEATUREcdn2GPRJF', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111737', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '您的加速域名,仅支持单个设置。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '待查询的域名列表,多个域名用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'www.example1.com,example2.com'], ], [ - 'name' => 'WaitUri', + 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '开启waiting_room功能的URI正则字符串。', - 'type' => 'string', - 'required' => true, - 'example' => '.*/aaa/bbb$', - ], + 'schema' => ['description' => '待查询的报表ID,每次调用仅支持传入单个报表ID。您可以调用[DescribeCdnSubList](~~271655~~)接口查询报表ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], [ - 'name' => 'AllowPct', + 'name' => 'Area', 'in' => 'query', - 'schema' => [ - 'description' => '允许回源比例,取值范围:**0**~**100**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => '地域英文名,您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取地域英文名。'."\n" + ."\n" + .'- 如果不传该参数,默认查询全部地域。'."\n" + .'- 如果传入指定地域,则按照指定的地域获取相应数据。支持传入多个地域,多个地域用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'shanghai'], ], [ - 'name' => 'MaxTimeWait', + 'name' => 'IsOverseas', 'in' => 'query', - 'schema' => [ - 'description' => '进入排队后,排队时长,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => '是否为中国内地以外的区域。取值:'."\n" + .'- **1**:中国内地以外的区域。'."\n" + .'- **0**:中国内地。', 'type' => 'string', 'required' => false, 'example' => '0'], ], [ - 'name' => 'GapTime', + 'name' => 'HttpCode', 'in' => 'query', - 'schema' => [ - 'description' => '离开排队后,跳过排队时长,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'HTTP状态码。取值:'."\n" + ."\n" + .'- **2xx**:2xx状态码。'."\n" + .'- **3xx**:3xx状态码。'."\n" + .'- **4xx**:4xx状态码。'."\n" + .'- **5xx**:5xx状态码。'."\n" + ."\n" + .'如果不传该参数,默认查询以上全部HTTP状态码。', 'type' => 'string', 'required' => false, 'example' => '2xx'], ], [ - 'name' => 'WaitUrl', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '排队等待页面URL。', - 'type' => 'string', - 'required' => true, - 'example' => 'https://example.com/waitingroom.html'."\n", - ], + 'schema' => ['description' => '查询开始时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2020-09-17T00:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2020-09-17T01:00:00Z'], ], ], 'responses' => [ @@ -4787,32 +4608,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'Content' => [ + 'description' => '查询到的报表数据。', + 'type' => 'object', + 'example' => '{'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "deliver": {'."\n" + .' "report": {'."\n" + .' "title": "TopUrlByAcc",'."\n" + .' "format": "table",'."\n" + .' "shape": "",'."\n" + .' "header": ['."\n" + .' "url",'."\n" + .' "traf",'."\n" + .' "traf_rate",'."\n" + .' "acc",'."\n" + .' "acc_rate"'."\n" + .' ]'."\n" + .' }'."\n" + .' },'."\n" + .' "data": ['."\n" + .' {'."\n" + .' "acc": 440,'."\n" + .' "acc_rate": "0.200%",'."\n" + .' "traf": 22,'."\n" + .' "url": "http://demo.com",'."\n" + .' "traf_rate": "0.100%"'."\n" + .' },'."\n" + .' {'."\n" + .' "acc": 440,'."\n" + .' "acc_rate": "0.200%",'."\n" + .' "traf": 22,'."\n" + .' "url": "http://demo.com",'."\n" + .' "traf_rate": "0.100%"'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'properties' => [ + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'deliver' => [ + 'type' => 'object', + 'properties' => [ + 'report' => [ + 'type' => 'object', + 'properties' => [ + 'format' => ['type' => 'string', 'example' => 'table'], + 'header' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'acc'], + ], + 'outLine' => ['type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'outSize' => ['type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'shape' => ['type' => 'string', 'example' => 'line'], + 'title' => ['type' => 'string', 'example' => 'test'], + ], + ], + ], + ], + ], + ], + ], + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<SetWaitingRoomConfigResponse>\\r\\n <RequestId>AED00EC1-32A8-4D48-BEB9-BD782AF3C6BD</RequestId>\\r\\n</SetWaitingRoomConfigResponse>","errorExample":""}]', - 'title' => '配置WaitingRoom', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], + ], + 'title' => '查询报表定制数据', + 'summary' => '调用DescribeCdnReport查询已定制的报表数据。', + 'description' => '> 单用户调用频率:3次/秒。', + 'requestParamsDescription' => '**各报表必传的请求参数说明**'."\n" + .'|报表名称|必传参数|说明|'."\n" + .'|--------|------------------|-----|'."\n" + .'|PV和UV|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|Top客户端IP(按流量排序)|Action、ReportId、DomainName、Area、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|Top客户端IP(按请求数排序)|Action、ReportId、DomainName、Area、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|访问区域分布|Action、ReportId、DomainName、IsOverseas、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|运营商分布|Action、ReportId、DomainName、IsOverseas、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|热门Referer(按流量排序)|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|热门Referer(按请求数排序)|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|热门URL(按流量排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|热门URL(按请求数排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|回源热门URL(按流量排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|回源热门URL(按请求数排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" + .'|域名排行(按流量排序)|Action、ReportId、StartTime、EndTime。|不支持其他参数。|', + 'responseParamsDescription' => '**data数据说明**'."\n" + .'|参数|类型|描述|'."\n" + .'|--------|------------------|-----|'."\n" + .'|deliver|report|报表样式。|'."\n" + .'|data|String[]|报表中的数据,例如:[{"表头字段1":"value1","表头字段2":"value2"}, {"表头字段1":"value3","表头字段2":"value4"}]。|'."\n" + ."\n" + .'**report数据说明**'."\n" + .'|参数|类型|描述|'."\n" + .'|--------|------------------|--------|'."\n" + .'|title|String|报表标题。|'."\n" + .'|format|String|报表类型。取值如下:<br>chart:图表。<br>table:表格。|'."\n" + .'|shape|String|图表类型。当format为table时,请忽略此字段。取值如下:<br>line:曲线图。<br>pie:饼状图。<br>bar:柱状图。|'."\n" + .'|header|String[]|报表的表头字段。|'."\n" + .'|legend|String|图形的图例字段。|'."\n" + .'|xAxis|String|图形x轴,没有则为空。|'."\n" + .'|yAxis|String|图形y轴,没有则为空。|', 'extraInfo' => ' ', - ], - 'DescribeCdnUserConfigs' => [ - 'summary' => '调用DescribeCdnUserConfigs查询安全功能相关的配置。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:23.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnReport'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"data\\": [\\n {\\n \\"key\\": \\"\\"\\n }\\n ],\\n \\"deliver\\": {\\n \\"report\\": {\\n \\"format\\": \\"table\\",\\n \\"header\\": [\\n \\"acc\\"\\n ],\\n \\"outLine\\": 0,\\n \\"outSize\\": 0,\\n \\"shape\\": \\"line\\",\\n \\"title\\": \\"test\\"\\n }\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnReportResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <deliver>\\n <report>\\n <title>TopUrlByAcc</title>\\n <format>table</format>\\n <shape/>\\n <header>url</header>\\n <header>traf</header>\\n <header>traf_rate</header>\\n <header>acc</header>\\n <header>acc_rate</header>\\n </report>\\n </deliver>\\n <data>\\n <acc>440</acc>\\n <acc_rate>0.200%</acc_rate>\\n <traf>22</traf>\\n <url>http://demo.com</url>\\n <traf_rate>0.100%</traf_rate>\\n </data>\\n <data>\\n <acc>440</acc>\\n <acc_rate>0.200%</acc_rate>\\n <traf>22</traf>\\n <url>http://demo.com</url>\\n <traf_rate>0.100%</traf_rate>\\n </data>\\n </data>\\n </Content>\\n</DescribeCdnReportResponse>","errorExample":""}]', + ], + 'DescribeCdnReportList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4821,68 +4770,69 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111749', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111738', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], ], 'parameters' => [ [ - 'name' => 'FunctionName', + 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的配置,支持查询的配置如下:'."\n" - .'- **domain_business_control**:用户配置。'."\n" - .'- **waf**:WAF功能配置。', - 'type' => 'string', - 'required' => true, - 'example' => 'domain_business_control', - ], + 'schema' => ['description' => '待查询的报表ID。如果不传该参数,默认查询所有报表。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '返回主体', + 'description' => '返回主体', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '06D29681-B7CD-4034-A8CC-28AFFA213539', - ], - 'Configs' => [ - 'description' => '用户对应的配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ArgValue' => [ - 'description' => '配置值。取值:'."\n" - .'- **cc_rule**:CC规则。'."\n" - .'- **ddos_dispatch**:DDoS联动调度。'."\n" - .'- **edge_safe**:边缘应用安全。'."\n" - .'- **blocked_regions**:区域封禁。'."\n" - .'- **http_acl_policy**:精准访问控制。'."\n" - .'- **bot_manager**:机器流量管理。'."\n" - .'- **ip_reputation**:IP信誉库。', - 'type' => 'string', - 'example' => '{\\"dcdn_allow\\":[\\"cc_rule\\",\\"ddos_dispatch\\"]}', - ], - 'ArgName' => [ - 'description' => '配置名称。'."\n" - ."\n" - .'政企用户相关配置。', - 'type' => 'string', - 'example' => 'allow_function', - ], - 'FunctionName' => [ - 'description' => '功能名称。', - 'type' => 'string', - 'example' => 'domain_business_control', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + 'Content' => [ + 'description' => '报表列表。', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => '返回报表主体', + 'type' => 'array', + 'items' => [ + 'title' => '返回报表主体', + 'description' => '返回报表主体', + 'type' => 'object', + 'properties' => [ + 'deliver' => [ + 'title' => '报表展示形式', + 'description' => '报表展示形式', + 'type' => 'object', + 'properties' => [ + 'report' => [ + 'title' => '报表信息', + 'description' => '报表信息', + 'type' => 'object', + 'properties' => [ + 'format' => ['title' => '展示形式', 'description' => '展示形式', 'type' => 'string', 'example' => 'table'], + 'header' => [ + 'title' => '表格表头列表', + 'description' => '表格表头列表', + 'type' => 'array', + 'items' => ['title' => '表头', 'description' => '表头', 'type' => 'string', 'example' => 'url'], + ], + 'outLine' => ['title' => '输出行数', 'description' => '输出行数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'outSize' => ['title' => '输出大小', 'description' => '输出大小', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'shape' => ['title' => '报表展示图形', 'description' => '报表展示图形', 'type' => 'string', 'example' => 'line'], + 'title' => ['title' => '报表标题', 'description' => '报表标题', 'type' => 'string', 'example' => 'TopUrlByAcc'], + ], + ], + ], + ], + 'reportId' => ['title' => '报表ID', 'description' => '报表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], ], ], ], + 'example' => '"data":[{"reportId":1,"deliver":{"report":{"title":"DomainPvUv","format":"chart","shape":"line","xAxis":"ds","yAxis":"cnt","legend":"cnt_type","header":["ds","cnt_type","cnt"]}}}', ], ], ], @@ -4890,33 +4840,64 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidArgValue.Malformed', - 'errorMessage' => 'The specified ArgValue is invalid.', - ], - [ - 'errorCode' => 'InvalidArgName.ValueNotSupported', - 'errorMessage' => '%s', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"06D29681-B7CD-4034-A8CC-28AFFA213539\\",\\n \\"Configs\\": [\\n {\\n \\"ArgValue\\": \\"{\\\\\\\\\\\\\\"dcdn_allow\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"cc_rule\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ddos_dispatch\\\\\\\\\\\\\\"]}\\",\\n \\"ArgName\\": \\"allow_function\\",\\n \\"FunctionName\\": \\"domain_business_control\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserConfigsResponse>\\n <RequestId>06D29681-B7CD-4034-A8CC-28AFFA213539</RequestId>\\n <Configs>\\n <FunctionName>domain_business_control</FunctionName>\\n <ArgValue>{\\"dcdn_allow\\":[\\"cc_rule\\",\\"ddos_dispatch\\"]}</ArgValue>\\n <ArgName>allow_function</ArgName>\\n </Configs>\\n</DescribeCdnUserConfigsResponse>","errorExample":""}]', - 'title' => '查询安全功能配置', - 'description' => '> 单用户调用频率:30次/秒。', + 'title' => '查询报表定制列表', + 'summary' => '调用DescribeCdnReportList接口查询所有的定制报表列表。', + 'description' => '- 该接口将返回所有定制报表的元数据,不包含具体报表的统计数据。'."\n" + .'- 单用户调用频率:3次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseParamsDescription' => '**data数据说明**'."\n" + .'|参数|类型|描述|'."\n" + .'|--------|------------------|----|'."\n" + .'|reportId|Long|任务的请求ID。|'."\n" + .'|deliver|report|报表样式。|'."\n" + ."\n" + .'**report数据说明**'."\n" + .'|参数|类型|描述|'."\n" + .'|--------|------------------|-----|'."\n" + .'|title|String|报表标题。|'."\n" + .'|format|String|报表类型。取值:<br>chart:图表。<br>table:表格。|'."\n" + .'|shape|String|图表类型。当format为table时,请忽略此字段。取值:<br>line:曲线图。<br>pie:饼状图。<br>bar:柱状图。|'."\n" + .'|header|String[]|报表的表头字段。|'."\n" + .'|legend|String|图形的图例字段。|'."\n" + .'|xAxis|String|图形x轴,没有则为空。|'."\n" + .'|yAxis|String|图形y轴,没有则为空。|', 'extraInfo' => ' ', - ], - 'DescribeCdnWafDomain' => [ - 'summary' => '调用DescribeCdnWafDomain查询WAF全量域名列表。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnReportList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnReportList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"deliver\\": {\\n \\"report\\": {\\n \\"format\\": \\"table\\",\\n \\"header\\": [\\n \\"url\\"\\n ],\\n \\"outLine\\": 0,\\n \\"outSize\\": 0,\\n \\"shape\\": \\"line\\",\\n \\"title\\": \\"TopUrlByAcc\\"\\n }\\n },\\n \\"reportId\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnReportListResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <reportId>1</reportId>\\n <deliver>\\n <report>\\n <title>DomainPvUv</title>\\n <format>chart</format>\\n <shape>line</shape>\\n <xAxis>ds</xAxis>\\n <yAxis>cnt</yAxis>\\n <legend>cnt_type</legend>\\n <header>ds</header>\\n <header>cnt_type</header>\\n <header>cnt</header>\\n </report>\\n </deliver>\\n </data>\\n <data>\\n <reportId>2</reportId>\\n <deliver>\\n <report>\\n <format>table</format>\\n <shape>line</shape>\\n <header>url</header>\\n <header>traf</header>\\n <header>traf_rate</header>\\n <header>acc</header>\\n <header>acc_rate</header>\\n <title>TopUrlByAcc</title>\\n </report>\\n </deliver>\\n </data>\\n </Content>\\n</DescribeCdnReportListResponse>","errorExample":""}]', + ], + 'DescribeCdnSMCertificateDetail' => [ + 'summary' => '调用DescribeCdnSMCertificateDetail查询国密证书的详细信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4924,55 +4905,81 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111755', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '111741', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'CertIdentifier', 'in' => 'query', + 'schema' => ['description' => '证书ID。', 'type' => 'string', 'required' => true, 'example' => '648****-cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'WAF管控区域。取值:'."\n" - .'- **cn-hangzhou**:WAF中国内地(大陆)管控区域。'."\n" - .'- **ap-southeast-1**:WAF非中国内地(大陆)管控区域。'."\n" - ."\n" - .'> 非中国内地(大陆)包含中国香港、中国澳门、中国台湾以及其他国家和地区。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - 'enum' => [ - 'cn-hangzhou', - 'ap-southeast-1', + 'type' => 'object', + 'properties' => [ + 'CertExpireTime' => ['description' => '证书到期时间,GMT时间。', 'type' => 'string', 'example' => '2022-08-31T09:42:28Z'], + 'CertIdentifier' => ['description' => '证书ID。', 'type' => 'string', 'example' => '648****-cn-hangzhou'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7C69682-7F88-40DD-A198-10D0309E439D'], + 'CommonName' => ['description' => '通用域名。', 'type' => 'string', 'example' => 'example.com'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'yourCertName'], + 'Sans' => ['description' => '扩展域名。', 'type' => 'string', 'example' => '***.example.com'], + 'SignCertificate' => ['description' => '签名证书内容。', 'type' => 'string', 'example' => '--BEGIN CERTIFICATE-----***-----END CERTIFICATE--'], + 'CertOrg' => ['description' => '证书颁发机构。', 'type' => 'string', 'example' => 'DigiCert Inc'], + 'EncryptCertificate' => ['description' => '加密证书内容。', 'type' => 'string', 'example' => '-BEGIN CERTIFICATE-----***-----END CERTIFICATE--'], ], ], ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '待查询的域名。'."\n" - ."\n" - .'仅支持填写单个域名,详细见以下三种填写方式:'."\n" - .'- 填写精确域名:例如example.com,则查询example.com域名的配置信息。'."\n" - .'- 填写关键字:例如example,则查询所有包含example的域名配置信息。'."\n" - .'- 不填该参数:则默认返回所有开通了WAF的加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidCertIdentifier.ValueNotSupported', 'errorMessage' => 'The specified value of parameter CertIdentifier is not valid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertExpireTime\\": \\"2022-08-31T09:42:28Z\\",\\n \\"CertIdentifier\\": \\"648****-cn-hangzhou\\",\\n \\"RequestId\\": \\"A7C69682-7F88-40DD-A198-10D0309E439D\\",\\n \\"CommonName\\": \\"example.com\\",\\n \\"CertName\\": \\"yourCertName\\",\\n \\"Sans\\": \\"***.example.com\\",\\n \\"SignCertificate\\": \\"--BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\",\\n \\"CertOrg\\": \\"DigiCert Inc\\",\\n \\"EncryptCertificate\\": \\"-BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSMCertificateDetailResponse>\\n<SignCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</SignCertificate>\\n<EncryptCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</EncryptCertificate>\\n<CertName>yourCerName</CertName>\\n<CertIdentifier>648****-cn-hangzhou</CertIdentifier>\\n<CommonName>example.com</CommonName>\\n<Sans>***.example.com</Sans>\\n<CertOrg>DigiCert Inc</CertOrg>\\n<CertExpireTime>2022-08-31T09:42:28Z</CertExpireTime>\\n<RequestId>A7C69682-7F88-40DD-A198-10D0309E439D</RequestId>\\n</DescribeCdnSMCertificateDetailResponse>","errorExample":""}]', + 'title' => '查询国密证书详情', + 'description' => '>单用户调用频率:20次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSMCertificateDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeCdnSMCertificateList' => [ + 'summary' => '调用DescribeCdnSMCertificateList查询指定加速域名下国密证书列表信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceGroupId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111742', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1234', - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -4980,56 +4987,29 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '加速域名的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'CB1A380B-09F0-41BB-802B-72F8FD6DA2FE', - ], - 'OutPutDomains' => [ - 'description' => '加速域名信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AclStatus' => [ - 'description' => 'ACL状态。取值:'."\n" - .'- **0**:关闭。'."\n" - .'- **1**:开通。', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => 'WAF域名状态。取值:'."\n" - .'- **1**:WAF域名创建成功或WAF域名有效。'."\n" - .'- **10**:WAF域名创建中。'."\n" - .'- **11**:WAF域名创建失败。', - 'type' => 'string', - 'example' => '1', - ], - 'Domain' => [ - 'description' => '域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CcStatus' => [ - 'description' => 'CC状态。取值:'."\n" - .'- **0**:关闭。'."\n" - .'- **1**:开通。', - 'type' => 'string', - 'example' => '1', - ], - 'WafStatus' => [ - 'description' => 'WAF状态。取值:'."\n" - .'- **0**:关闭。'."\n" - .'- **1**:开通。', - 'type' => 'string', - 'example' => '1', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC0E34AC-0239-44A7-AB0E-800DE522C8DC'], + 'CertificateListModel' => [ + 'description' => '证书信息类型。', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '证书个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'CertList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Cert' => [ + 'description' => '证书列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'yourCertName'], + 'Issuer' => ['description' => '证书发行商。', 'type' => 'string', 'example' => 'yourCertIssuer'], + 'CertIdentifier' => ['description' => '证书ID。', 'type' => 'string', 'example' => 'yourCertldentifier'], + 'Common' => ['description' => '证书公用名。', 'type' => 'string', 'example' => 'yourCertCommon'], + ], + ], + ], ], ], ], @@ -5038,42 +5018,33 @@ ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'InvalidParameter.', - ], - [ - 'errorCode' => 'InvalidParameterRegionId', - 'errorMessage' => 'Invalid Region ID.', - ], - [ - 'errorCode' => 'InvalidParameterDomain', - 'errorMessage' => 'Invalid Domain Name.', - ], - [ - 'errorCode' => 'DomainNotExist ', - 'errorMessage' => 'Specified Domain Not Exist.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CB1A380B-09F0-41BB-802B-72F8FD6DA2FE\\",\\n \\"OutPutDomains\\": [\\n {\\n \\"AclStatus\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"CcStatus\\": \\"1\\",\\n \\"WafStatus\\": \\"1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnWafDomainResponse>\\n<TotalCount>1</TotalCount>\\n<OutputDomains>\\n <AclStatus>1</AclStatus>\\n <CcStatus>1</CcStatus>\\n <Domain>example.com</Domain>\\n <Status>1</Status>\\n <WafStatus>1</WafStatus>\\n</OutputDomains>\\n<RequestId>CB1A380B-09F0-41BB-802B-72F8FD6DA2FE</RequestId>\\n</DescribeCdnWafDomainResponse>","errorExample":""}]', - 'title' => '查询WAF全量域名', - 'description' => '> 单用户调用频率:150次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC0E34AC-0239-44A7-AB0E-800DE522C8DC\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"CertName\\": \\"yourCertName\\",\\n \\"Issuer\\": \\"yourCertIssuer\\",\\n \\"CertIdentifier\\": \\"yourCertldentifier\\",\\n \\"Common\\": \\"yourCertCommon\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSMCertificateListResponse>\\n<CertificateListModel>\\n <Count>2</Count>\\n <CertList>\\n <Cert>\\n <CertName>yourCertName1</CertName>\\n <Issuer>yourCertIssuer1</Issuer>\\n <CertIdentifier>yourCertIdentifier1</CertIdentifier>\\n <Common>yourCertCommon1</Common>\\n </Cert>\\n <Cert>\\n <CertName>yourCertName2</CertName>\\n <Issuer>yourCertIssuer2</Issuer>\\n <CertIdentifier>yourCertIdentifier2</CertIdentifier>\\n <Common>yourCertCommon2</Common>\\n </Cert>\\n </CertList>\\n</CertificateListModel>\\n<RequestId>DC0E34AC-0239-44A7-AB0E-800DE522C8DC</RequestId>\\n</DescribeCdnSMCertificateListResponse>","errorExample":""}]', + 'title' => '查询国密证书列表', + 'description' => '>单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeBlockedRegions' => [ - 'summary' => '调用DescribeBlockedRegions查询区域封禁支持的国家和地区。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2022-10-25T15:57:24.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSMCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribeCdnSSLCertificateList' => [ + 'summary' => '调用DescribeCdnSSLCertificateList按照域名查询证书列表信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5082,244 +5053,303 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111717', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'abilityTreeCode' => '168239', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Language', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '语言。取值:'."\n" - ."\n" - .'- **zh**:简体中文。'."\n" - .'- **en**:英文。'."\n" - .'- **jp**:日文。', - 'type' => 'string', - 'required' => true, - 'example' => 'zh', - 'enum' => [ - 'zh', - 'en', - 'jp', - ], - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n"], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页码。默认值:**1** 。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小。'."\n" + .'取值:**1**~**1000**之间的任意整数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'default' => '1000'], + ], + [ + 'name' => 'SearchKeyword', + 'in' => 'query', + 'schema' => ['description' => '证书名称模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'certabc'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23', - ], - 'InfoList' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC'], + 'CertificateListModel' => [ + 'description' => '证书列表信息。', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'InfoItem' => [ - 'description' => '信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CountriesAndRegions' => [ - 'description' => '国家地区缩写。', - 'type' => 'string', - 'example' => 'AF', - ], - 'Continent' => [ - 'description' => '国家地区所属大区。', - 'type' => 'string', - 'example' => '亚洲', - ], - 'CountriesAndRegionsName' => [ - 'description' => '国家地区名称。', - 'type' => 'string', - 'example' => '阿富汗', + 'Count' => ['description' => '证书数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'CertList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Cert' => [ + 'description' => '证书列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => '证书列表信息。', + 'type' => 'object', + 'properties' => [ + 'LastTime' => ['description' => '证书过期时间。单位:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1679896965'], + 'Fingerprint' => ['description' => '证书指纹。', 'type' => 'string', 'example' => '933c6ddee95c9c41a40f9f50493d82be03ad87bf'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'Certificate 1'], + 'Issuer' => ['description' => '证书发行商。', 'type' => 'string', 'example' => 'yourCertIssuer'], + 'CertId' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '9128192'], + 'Common' => ['description' => '证书中的CN属性,一般是一个域名。', 'type' => 'string', 'example' => 'example.com'], + 'CertRegion' => ['description' => '证书所在地域。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou** 。', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], ], ], ], + 'description' => '', ], + 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'PageSize' => ['description' => '每页大小,取值:1~1000之间的任意整数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MISS_PARAMETER', - 'errorMessage' => 'MISS_PARAMETER', - ], - [ - 'errorCode' => 'INVALID_PARAMETER', - 'errorMessage' => 'INVALID_PARAMETER', - ], - [ - 'errorCode' => 'FAILED', - 'errorMessage' => 'FAILED', - ], + ['errorCode' => 'NotFoundCertList', 'errorMessage' => 'The certList is null.', 'description' => '证书列表为空'], + ['errorCode' => 'InternalException', 'errorMessage' => 'Internal occasional exception, please try again later.', 'description' => '内部偶发异常,请稍后重试。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\",\\n \\"InfoList\\": {\\n \\"InfoItem\\": [\\n {\\n \\"CountriesAndRegions\\": \\"AF\\",\\n \\"Continent\\": \\"亚洲\\",\\n \\"CountriesAndRegionsName\\": \\"阿富汗\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeBlockedRegionsResponse>\\n<RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>\\n<InfoList>\\n <InfoItem>\\n <Continent>亚洲</Continent>\\n <CountriesAndRegions>AF</CountriesAndRegions>\\n <CountriesAndRegionsName>阿富汗</CountriesAndRegionsName>\\n </InfoItem>\\n</InfoList>\\n</DescribeBlockedRegionsResponse>","errorExample":""}]', - 'title' => '查询支持封禁的区域', - 'description' => '> 单用户调用频率:50次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RefreshObjectCacheByCacheTag' => [ - 'summary' => '当用户设置了缓存标签功能后,通过调用RefreshObjectCacheByCacheTag指定缓存标签对缓存进行刷新。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"LastTime\\": 1679896965,\\n \\"Fingerprint\\": \\"933c6ddee95c9c41a40f9f50493d82be03ad87bf\\",\\n \\"CertName\\": \\"Certificate 1\\",\\n \\"Issuer\\": \\"yourCertIssuer\\",\\n \\"CertId\\": 9128192,\\n \\"Common\\": \\"example.com\\",\\n \\"CertRegion\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 2,\\n \\"PageSize\\": 20\\n }\\n}","type":"json"}]', + 'title' => '查询证书列表-按域名', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-11-25T03:08:16.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSSLCertificateList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSSLCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '206248', - 'abilityTreeNodes' => [ - 'FEATUREcdnW2530F', + ], + 'DescribeCdnSecFuncInfo' => [ + 'summary' => '调用DescribeCdnSecFuncInfo查询CDN应用安全具体功能信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'SecFuncType', 'in' => 'query', 'schema' => [ - 'description' => '加速域名。', + 'title' => 'A short description of struct', + 'description' => '应用安全功能类型。'."\n" + ."\n" + .'- CipherSuiteGroupCustomize: 自定义加密算法套件'."\n" + .'- CipherSuiteGroupStrict: 默认加密算法套件', 'type' => 'string', 'required' => true, - 'example' => 'example.com', + 'enumValueTitles' => ['CipherSuiteGroupCustomize' => '自定义加密算法套件', 'CipherSuiteGroupStrict' => '默认加密算法套件'], + 'example' => 'CipherSuiteGroupCustomize', + 'enum' => ['CipherSuiteGroupStrict', 'CipherSuiteGroupCustomize'], ], ], [ - 'name' => 'CacheTag', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '缓存标签。多个用逗号隔开。', + 'title' => 'A short description of struct', + 'description' => '语言类型。'."\n" + ."\n" + .'- en: 英文'."\n" + .'- zh: 中文', 'type' => 'string', 'required' => true, - 'example' => 'tag1,tag2', - 'maxLength' => 16384, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', + 'enum' => ['zh', 'en'], ], ], - [ - 'name' => 'Force', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '是否强制刷新对应范围内的全部资源。默认为false。'."\n" - .'- **true**:刷新全部资源。选择 “true” 时,如果用户请求的内容匹配到了对应范围内的资源,CDN 节点将会直接回源拉取新资源返回给用户,并重新缓存该资源。'."\n" - .'- **false**:刷新变更资源。选择 “false” 时,如果用户请求的内容匹配到了对应范围内的资源,CDN 节点将会回源获取资源的 Last-Modified 信息,若与当前缓存资源一致,则直接返回已缓存资源,若不一致,则回源拉取新资源返回给用户,并重新缓存该资源。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'title' => 'Schema of Response', + 'description' => '返回应用安全功能信息数据。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761'], + 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => 'OK'], + 'RetCode' => ['description' => 'HTTP请求响应返回码。'."\n" + ."\n" + .'- 0:OK。'."\n" + .'- 非0:返回错误。', 'type' => 'string', 'example' => '0'], + 'HttpStatus' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'], + 'Content' => [ + 'description' => '查询到的数据。', + 'type' => 'array', + 'items' => [ + 'description' => '应用安全功能信息。', + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256'], + 'Value' => ['description' => '值。', 'type' => 'string', 'example' => 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256'], + ], + ], + ], + ], ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"Description\\": \\"OK\\",\\n \\"RetCode\\": \\"0\\",\\n \\"HttpStatus\\": \\"200\\",\\n \\"Content\\": [\\n {\\n \\"Label\\": \\"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\\",\\n \\"Value\\": \\"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询CDN应用安全具体功能信息', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSecFuncInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeCdnService' => [ + 'summary' => '调用DescribeCdnService查询CDN服务状态。包括:当前计费类型、服务开通时间、下次生效的计费类型、当前业务状态等。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111740', + 'abilityTreeNodes' => ['FEATUREcdnYC0IJ0'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2E5AD83F-BD7B-462E-8319-2E30E305519A', - ], - 'RefreshTaskId' => [ - 'description' => '刷新返回的任务ID。', - 'type' => 'string', - 'example' => '17772470184', + 'ChangingAffectTime' => ['description' => '下次计费类型生效时间,GMT时间。', 'type' => 'string', 'example' => '2019-11-27T16:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'ChangingChargeType' => ['description' => '下次生效的计费类型。'."\n" + ."\n" + .'- **PayByTraffic**:流量。'."\n" + ."\n" + .'- **PayByBandwidth**:带宽峰值。', 'type' => 'string', 'example' => 'PayByTraffic'], + 'OpeningTime' => ['description' => '开通服务时间,ISO 8601时间格式。', 'type' => 'string', 'example' => '2019-02-28T13:11:49Z'], + 'InternetChargeType' => ['description' => '当前计费类型。'."\n" + ."\n" + .'- **PayByTraffic**:流量。'."\n" + ."\n" + .'- **PayByBandwidth**:带宽峰值。', 'type' => 'string', 'example' => 'PayByTraffic'], + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'aliuidxx'], + 'OperationLocks' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'LockReason' => [ + 'description' => '业务锁定状态。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LockReason' => ['description' => '业务锁定的原因。financial:欠费。', 'type' => 'string', 'example' => 'financial'], + ], + ], + ], + ], ], + 'ChangingDynamicBillingType' => ['description' => '下次生效的动态加速计费方式。', 'type' => 'string', 'example' => 'DynamicHourTraffic'], + 'DynamicBillingType' => ['description' => '动态加速计费方式。', 'type' => 'string', 'example' => 'DynamicHourTraffic'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'SingleRequest.OverLimit', - 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', - ], - [ - 'errorCode' => 'InvalidObjectType.Malformed', - 'errorMessage' => 'The specified ObjectType is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Malformed', - 'errorMessage' => 'The specified ObjectPath is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Size.Malformed', - 'errorMessage' => 'The size of ObjectPath is bigger than 1000.', - ], - [ - 'errorCode' => 'QuotaExceeded.Refresh', - 'errorMessage' => 'You\'ve exceeded the prescribed refresh limits.', - ], - [ - 'errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', - 'errorMessage' => 'The specified ExtensiveDomain is not supported.', - ], - [ - 'errorCode' => 'QuotaPerMinuteExceeded.Refresh', - 'errorMessage' => 'You tried to refresh too frequently; please try again later.', - ], - [ - 'errorCode' => 'TooMany.Refresh', - 'errorMessage' => 'The refresh queue is full; please try again later.', - ], - [ - 'errorCode' => 'PreloadQueueFull', - 'errorMessage' => 'Preload queue is full, please try again later!', - ], - [ - 'errorCode' => 'InvalidStations.Malformed', - 'errorMessage' => 'The specified Stations is invalid.', - ], - [ - 'errorCode' => 'InvalidParameters', - 'errorMessage' => 'The parameters you provided are invalid.', - ], + ['errorCode' => 'UnsupportedParameter', 'errorMessage' => 'There is unsupported parameters', 'description' => '不支持该参数,请您检查该参数是否正确。'], + ['errorCode' => 'InternetChargeTypeInvalid', 'errorMessage' => 'The specified InternetChargeType is invalid.', 'description' => '指定的计费类型无效。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangingAffectTime\\": \\"2019-11-27T16:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"ChangingChargeType\\": \\"PayByTraffic\\",\\n \\"OpeningTime\\": \\"2019-02-28T13:11:49Z\\",\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"InstanceId\\": \\"aliuidxx\\",\\n \\"OperationLocks\\": {\\n \\"LockReason\\": [\\n {\\n \\"LockReason\\": \\"financial\\"\\n }\\n ]\\n },\\n \\"ChangingDynamicBillingType\\": \\"DynamicHourTraffic\\",\\n \\"DynamicBillingType\\": \\"DynamicHourTraffic\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnServiceResponse>\\n <ChangingAffectTime>2019-11-27T16:00:00Z</ChangingAffectTime>\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n <ChangingChargeType>PayByTraffic</ChangingChargeType>\\n <OpeningTime>2019-02-28T13:11:49Z</OpeningTime>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceId>aliuidxx</InstanceId>\\n <OperationLocks>\\n <LockReason>financial</LockReason>\\n </OperationLocks>\\n</DescribeCdnServiceResponse>","errorExample":""}]', + 'title' => '查询CDN服务状态', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-05T06:58:03.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E5AD83F-BD7B-462E-8319-2E30E305519A\\",\\n \\"RefreshTaskId\\": \\"17772470184\\"\\n}","type":"json"}]', - 'title' => '根据缓存标签刷新缓存', - ], - 'DescribeRefreshQuota' => [ - 'summary' => '调用DescribeRefreshQuota查询当天URL刷新、目录刷新、预热及封禁的最大限制数量和剩余量。', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnService'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnSubList' => [ + 'summary' => '调用DescribeCdnSubList查询已定制的报表任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5328,10 +5358,10 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111830', - 'abilityTreeNodes' => [ - 'FEATUREcdnW2530F', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111743', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], ], 'parameters' => [], 'responses' => [ @@ -5339,211 +5369,161 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PreloadRemain' => [ - 'description' => '当天L2节点剩余预热数量。', - 'type' => 'string', - 'example' => '400', - ], - 'BlockRemain' => [ - 'description' => '当天剩余封禁数量。', - 'type' => 'string', - 'example' => '100', - ], - 'RegexRemain' => [ - 'description' => '当天剩余正则刷新数量。', - 'type' => 'string', - 'example' => '10', - ], - 'UrlRemain' => [ - 'description' => '当天剩余URL刷新数量。', - 'type' => 'string', - 'example' => '1996', - ], - 'DirRemain' => [ - 'description' => '当天剩余目录刷新数量。', - 'type' => 'string', - 'example' => '99', - ], - 'UrlQuota' => [ - 'description' => '当天URL刷新数量上限。', - 'type' => 'string', - 'example' => '2000', - ], - 'BlockQuota' => [ - 'description' => '当天封禁数量上限。', - 'type' => 'string', - 'example' => '300', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '42E0554B-80F4-4921-AED6-ACFB22CAAAD0', - ], - 'DirQuota' => [ - 'description' => '当天目录刷新数量上限。', - 'type' => 'string', - 'example' => '100', - ], - 'PreloadEdgeQuota' => [ - 'description' => '当天L1节点预热数量上限。', - 'type' => 'string', - 'example' => '20', - ], - 'PreloadEdgeRemain' => [ - 'description' => '当前L1节点剩余预热数量。', - 'type' => 'string', - 'example' => '20', - ], - 'PreloadQuota' => [ - 'description' => '当天L2节点预热数量上限。', - 'type' => 'string', - 'example' => '500', - ], - 'RegexQuota' => [ - 'description' => '当天正则刷新数量上限。', - 'type' => 'string', - 'example' => '20', - ], - 'IgnoreParamsQuota' => [ - 'description' => '当天忽略参数刷新数量上限。', - 'type' => 'string', - 'example' => '100', - ], - 'IgnoreParamsRemain' => [ - 'description' => '当天剩余忽略参数刷新数量。', - 'type' => 'string', - 'example' => '10', + 'Content' => [ + 'description' => '已定制的报表任务。', + 'type' => 'object', + 'example' => '{"RequestId":"3250A51D-C11D-46BA-B6B3-95348EEDE652","Description":" succeeded","Content":{"data":[{"subId":5,"reportId":[1,2,3],"createTime":"2020-09-25T09:39:33Z","domains"["all"],"effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z","status":"enable"}]}}', + 'properties' => [ + 'data' => [ + 'title' => '运营报表定制信息主体', + 'type' => 'array', + 'items' => [ + 'title' => '运营报表定制信息主体', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['title' => '定制的创建时间', 'type' => 'string', 'example' => '2024-05-16T09:43:38Z'], + 'domains' => [ + 'title' => '定制域名,all表示全部域名', + 'type' => 'array', + 'items' => ['title' => '定制域名,all表示全部域名', 'type' => 'string', 'example' => 'a.b.com'], + ], + 'effectiveEnd' => ['title' => '定制有效截止时间', 'type' => 'string', 'example' => '2024-05-16T09:43:38Z'], + 'effectiveFrom' => ['title' => '定制有效开始时间', 'type' => 'string', 'example' => '2024-05-16T09:43:38Z'], + 'reportId' => [ + 'title' => '定制的报表ID列表', + 'type' => 'array', + 'items' => ['title' => '定制的报表ID列表', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'status' => ['title' => '定制状态', 'type' => 'string', 'example' => 'enable'], + 'subId' => ['title' => '定制记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], + ], + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3250A51D-C11D-46BA-B6B3-95348EEDE652'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PreloadRemain\\": \\"400\\",\\n \\"BlockRemain\\": \\"100\\",\\n \\"RegexRemain\\": \\"10\\",\\n \\"UrlRemain\\": \\"1996\\",\\n \\"DirRemain\\": \\"99\\",\\n \\"UrlQuota\\": \\"2000\\",\\n \\"BlockQuota\\": \\"300\\",\\n \\"RequestId\\": \\"42E0554B-80F4-4921-AED6-ACFB22CAAAD0\\",\\n \\"DirQuota\\": \\"100\\",\\n \\"PreloadEdgeQuota\\": \\"20\\",\\n \\"PreloadEdgeRemain\\": \\"20\\",\\n \\"PreloadQuota\\": \\"500\\",\\n \\"RegexQuota\\": \\"20\\",\\n \\"IgnoreParamsQuota\\": \\"100\\",\\n \\"IgnoreParamsRemain\\": \\"10\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeRefreshQuotaResponse>\\r\\n <RequestId>42E0554B-80F4-4921-AED6-ACFB22CAAAD0</RequestId>\\r\\n\\t<UrlQuota>2000</UrlQuota>\\r\\n <DirQuota>100</DirQuota>\\r\\n <UrlRemain>1996</UrlRemain>\\r\\n\\t<DirRemain>99</DirRemain>\\r\\n\\t<PreloadQuota>500</PreloadQuota>\\r\\n\\t<PreloadRemain>400</PreloadRemain>\\r\\n <BlockQuota>300</BlockQuota>\\r\\n <RegexQuota>20</RegexQuota>\\r\\n <RegexRemain>10</RegexRemain>\\r\\n <blockRemain>200</blockRemain>\\r\\n</DescribeRefreshQuotaResponse>\\t","errorExample":""}]', - 'title' => '查询刷新预热配额', - 'description' => '- 刷新预热类接口包含[RefreshObjectCaches](~~448057~~)刷新接口和[PushObjectCache](~~448058~~)预热接口。'."\n" - .'- 单用户调用频率:20次/秒。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2024-05-16T09:43:38Z\\",\\n \\"domains\\": [\\n \\"a.b.com\\"\\n ],\\n \\"effectiveEnd\\": \\"2024-05-16T09:43:38Z\\",\\n \\"effectiveFrom\\": \\"2024-05-16T09:43:38Z\\",\\n \\"reportId\\": [\\n 1\\n ],\\n \\"status\\": \\"enable\\",\\n \\"subId\\": 1\\n }\\n ]\\n },\\n \\"RequestId\\": \\"3250A51D-C11D-46BA-B6B3-95348EEDE652\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSubListResponse>\\n <RequestId>3250A51D-C11D-46BA-B6B3-95348EEDE652</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <subId>5</subId>\\n <reportId>1</reportId>\\n <reportId>2</reportId>\\n <reportId>3</reportId>\\n <createTime>2020-09-25T09:39:33Z</createTime>\\n <domains>www.example.com</domains>\\n <domains>www.example.com</domains>\\n <effectiveFrom>2020-09-17T00:00:00Z</effectiveFrom>\\n <effectiveEnd>2020-11-17T00:00:00Z</effectiveEnd>\\n <status>enable</status>\\n </data>\\n </Content>\\n</DescribeCdnSubListResponse>","errorExample":""}]', + 'title' => '查询报表定制任务', + 'description' => '- 调用该接口默认返回所有已定制的报表,但目前只支持展示单个定制任务,因此调用结果只会返回一个定制报表任务。'."\n" + .'- 单用户调用频率:3次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseParamsDescription' => '**data数据说明**'."\n" + ."\n" + .'|参数|类型|描述|'."\n" + .'|--------|------|------------|'."\n" + .'|subId|Long|任务的请求ID。|'."\n" + .'|reportId|Long[]|报表ID列表。|'."\n" + .'|createTime|String|报表创建时间。|'."\n" + .'|domains|String[]|定制报表的域名列表。|'."\n" + .'|effectiveFrom|String|定制任务开始时间。|'."\n" + .'|effectiveEnd|String|定制任务结束时间。|'."\n" + .'|status|String|定制任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|', 'extraInfo' => ' ', - ], - 'PushObjectCache' => [ - 'summary' => '将源站的内容主动预热到缓存节点上。您首次访问可直接命中缓存,缓解源站压力。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-25T08:28:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-06-25T08:15:12.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-25T08:14:57.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSubList'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSubList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnTaskList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111882', - 'abilityTreeNodes' => [ - 'FEATUREcdnKZKOWX', - ], + 'abilityTreeCode' => '197153', + 'abilityTreeNodes' => ['FEATUREcdnORORBI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ObjectPath', + 'name' => 'DiagnoseId', 'in' => 'query', - 'schema' => [ - 'description' => '预热URL,格式为**加速域名/预热的文件**。'."\n" - ."\n" - .'> 多个URL之间用换行符(\\n)或(\\r\\n)分隔,ObjectPath的单条长度最长为1024个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com/image/1.png\\nexample.org/image/2.png', - ], + 'schema' => ['description' => '诊断ID。', 'type' => 'string', 'required' => false, 'example' => 'f2xxx5'], ], [ - 'name' => 'Area', + 'name' => 'TraceId', 'in' => 'query', - 'schema' => [ - 'description' => '预热区域,取值:'."\n" - ."\n" - .'- **domestic**:**仅中国内地**。'."\n" - .'- **overseas**:**全球**(不包含中国内地)。'."\n" - ."\n" - .'如果不传该参数,默认的预热区域为您的域名所配置的CDN加速区域。'."\n" - ."\n" - .'> '."\n" - .'> - 如果需要预热区域为**全球**,则必须保证加速域名的加速区域为**全球**,然后该参数不传参。', - 'type' => 'string', - 'required' => false, - 'example' => 'domestic', - 'enum' => [ - 'domestic', - 'overseas', - ], - ], + 'schema' => ['description' => '诊断链路ID。', 'type' => 'string', 'required' => false, 'example' => '000000xxxxxxxxxxxxxxxxxxxxxx33427e'], ], [ - 'name' => 'L2Preload', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '是否直接预热到L2节点。取值:'."\n" - ."\n" - .'- **true**:代表预热的节点层级必须包含L2节点。'."\n" - .'- **false**:代表仅预热回源层节点(**false**为默认值,回源层节点可能是L2节点,也可能是L3节点)。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => '诊断任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxxxxx-x-x-xxxxxxxxxxxxxxxxx'], ], [ - 'name' => 'WithHeader', + 'name' => 'ClientIp', 'in' => 'query', - 'schema' => [ - 'description' => '预热请求默认携带的header是Accept-Encoding:gzip,如果您需要预热请求携带其他header,或者实现多副本预热,那么可以使用该参数来实现自定义预热header。用JSON串格式提交。'."\n" - ."\n" - .'> 若预热的时候不需要Accept-Encoding头部,则按如下提交'."\n" - .'> - {"Accept-Encoding": [" "]}', - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "Accept-Encoding": ['."\n" - .' "gzip, deflate, br"'."\n" - .' ]'."\n" - .'}', - ], + 'schema' => ['description' => '客户端IP。', 'type' => 'string', 'required' => false, 'example' => '60.xx.xxx.38'."\n"], ], [ - 'name' => 'QueryHashkey', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '该参数用于控制执行预热任务时是否开启hashkey查询模式。取值范围:'."\n" - .'- false:默认模式,不传参数的时候使用该模式,指的是直接使用提交的URL作为预热文件的hashkey。'."\n" - .'- true:根据域名的配置来查询预热URL实际使用的hashkey。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '被诊断的域名。', 'type' => 'string', 'required' => false, 'example' => 'http://www.example.com'], ], [ - 'name' => 'ConsistencyHash', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '如果域名加速区域为中国大陆并且开启了HASH回源,可通过此参数设置HASH预热,实现区域回源收敛,减少预热产生的回源带宽。'."\n" - ."\n" - .'- true: 开启HASH预热。'."\n" - .'- false: 缺省逻辑,不开启HASH预热。'."\n" - ."\n" - .'><notice>仅对加速区域为中国大陆的域名有效。></notice>', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '开始时间。', 'type' => 'string', 'required' => false, 'example' => '1644467126'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。', 'type' => 'string', 'required' => false, 'example' => '1644467126'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页码。默认值:**1** 。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小。'."\n" + .'取值:**1**~**1000**之间的任意整数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -5551,157 +5531,157 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PushTaskId' => [ - 'description' => '预热返回的任务ID,多个任务ID用半角逗号(,)分隔。预热返回的任务ID会按照以下两条规则对预热任务做合并:'."\n" - ."\n" - .'- 同一个域名、同一秒钟提交的预热任务(URL颗粒度)会被合并为同一个PushTaskId。'."\n" - .'- 同一个域名、同一秒钟提交的预热任务(URL颗粒度)如果超过500条,那么会按照每500条合并为一个PushTaskId的方式处理。', - 'type' => 'string', - 'example' => '9524xxxx', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + 'Content' => [ + 'description' => '诊断任务列表数据。', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'List' => [ + 'description' => '返回的列表信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Aliuid' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '1077********7468'], + 'ClientAddr' => ['description' => '本地DNS服务器IP地址。', 'type' => 'string', 'example' => 'xx.xx.xx.xx'], + 'ClientIp' => ['description' => '客户端IP地址。', 'type' => 'string', 'example' => 'xx.xx.xx.xx'], + 'CreateTime' => ['description' => '报告创建时间。', 'type' => 'string', 'example' => '2022-12-10 15:11:47'], + 'DiagnoseId' => ['description' => '诊断ID。', 'type' => 'string', 'example' => 'f2a18ad5'], + 'DiagnoseUrl' => ['description' => '诊断链接。', 'type' => 'string', 'example' => 'http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx'], + 'Domain' => ['description' => '被诊断的域名。', 'type' => 'string', 'example' => 'http://www.example.com'], + 'ExpireTime' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1669285111'], + 'RemainDiagnoseTimes' => ['description' => '剩余可用诊断次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'State' => ['description' => '报告生成状态。'."\n" + .'- 0:成功。'."\n" + .'- 1:失败。'."\n" + .'- 2:超时。'."\n" + .'- 3:运行中。'."\n" + .'- 4:等待中。', 'type' => 'string', 'example' => '0'], + 'Status' => ['description' => '诊断链接的状态。'."\n" + .'- 1:生效中。'."\n" + .'- 0:已失效。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e'], + 'TimeConsuming' => ['description' => '报告生成耗时。', 'type' => 'integer', 'format' => 'int64', 'example' => '1s'], + 'TraceId' => ['description' => '诊断链路ID。', 'type' => 'string', 'example' => '000000xxxxxxxxxxxxxxxxxxxxxx25941e'], + ], + 'description' => '', + ], + ], + 'PageNumber' => ['description' => '页码。默认值:**1** 。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '分页大小。'."\n" + .'取值:**1**~**1000**之间的任意整数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'SingleRequest.OverLimit', - 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', - ], - [ - 'errorCode' => 'QuotaExceeded.Preload', - 'errorMessage' => 'Your preload attempts have exceeded the daily limit.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Malformed', - 'errorMessage' => 'The specified ObjectPath is invalid.', - ], - [ - 'errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', - 'errorMessage' => 'The specified ExtensiveDomain is not supported.', - ], - [ - 'errorCode' => 'PreloadQueueFull', - 'errorMessage' => 'The warming queue is full,please try again later.', - ], - [ - 'errorCode' => 'QuotaPerMinuteExceeded.Refresh', - 'errorMessage' => 'You have exceeded the prescribed preload limits per minute.', - ], - [ - 'errorCode' => 'InvalidObjectPath.ExceedsMaximum', - 'errorMessage' => 'The maximum number of urls is exceeded.', - ], - [ - 'errorCode' => 'InvalidCustomHeader', - 'errorMessage' => 'Parse preload header failed.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取诊断任务列表', + 'summary' => '调用DescribeCdnTaskList获取诊断任务列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": {\\n \\"Count\\": 10,\\n \\"List\\": [\\n {\\n \\"Aliuid\\": \\"1077********7468\\",\\n \\"ClientAddr\\": \\"xx.xx.xx.xx\\",\\n \\"ClientIp\\": \\"xx.xx.xx.xx\\",\\n \\"CreateTime\\": \\"2022-12-10 15:11:47\\",\\n \\"DiagnoseId\\": \\"f2a18ad5\\",\\n \\"DiagnoseUrl\\": \\"http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx\\",\\n \\"Domain\\": \\"http://www.example.com\\",\\n \\"ExpireTime\\": 1669285111,\\n \\"RemainDiagnoseTimes\\": 10,\\n \\"State\\": \\"0\\",\\n \\"Status\\": 1,\\n \\"TaskId\\": \\"000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e\\",\\n \\"TimeConsuming\\": 0,\\n \\"TraceId\\": \\"000000xxxxxxxxxxxxxxxxxxxxxx25941e\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 6\\n },\\n \\"RequestId\\": \\"4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70\\"\\n}","type":"json"}]', + ], + 'DescribeCdnTypes' => [ + 'summary' => '调用DescribeCdnTypes获取域名类型列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111744', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BDA62CE4-3477-439A-B52E-D2D7C829D7C1'."\n"], + 'CdnTypes' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CdnType' => [ + 'description' => '域名业务类型。', + 'type' => 'array', + 'items' => [ + 'description' => '域名业务类型。', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '域名业务类型。', 'type' => 'string', 'example' => 'download'], + 'Desc' => ['description' => '域名业务类型描述。', 'type' => 'string', 'example' => 'Download Acceleration'], + ], + ], + ], + ], + ], + ], ], ], - 429 => [ - [ - 'errorCode' => 'TooManyRequests', - 'errorMessage' => 'System load fluctuates, please try again later.', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BDA62CE4-3477-439A-B52E-D2D7C829D7C1\\\\n\\",\\n \\"CdnTypes\\": {\\n \\"CdnType\\": [\\n {\\n \\"Type\\": \\"download\\",\\n \\"Desc\\": \\"Download Acceleration\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '获取 CDN 类型列表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PushTaskId\\": \\"9524xxxx\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":""},{"type":"xml","example":"<PushObjectCacheResponse>\\n <PushTaskId>9524xxxx</PushTaskId>\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n</PushObjectCacheResponse>","errorExample":""}]', - 'title' => '预热URL', - 'description' => '- 请求方式:支持POST请求,参数用form表单显示。'."\n" - .'- 相关接口:刷新预热类接口包含[RefreshObjectCaches](~~91164~~)刷新接口和[PushObjectCache](~~91161~~)预热接口。'."\n" - .'- URL预热配额(每日):默认情况下,一个账号每日最多可以提交1000条URL预热任务,如果您账号的日带宽峰值大于200 Mbps,可通过<props="china">[配额管理](~~256513~~)</props><props="intl">[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)</props>申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\n" - .'- 每次最多可以提交100条URL预热任务。'."\n" - .'- 预热队列规则:每个账号的预热队列最大为100000条URL,CDN根据URL提交的先后顺序进行预热;当预热队列中待预热的URL达到了100000条时,CDN将会拒绝接收新的预热任务。'."\n" - .'- 单用户调用频率:50次/秒。'."\n" - .'- 如果您需要自动化刷新或预热,请参见[刷新预热批处理脚本](~~151829~~)。'."\n" - ."\n" - .'## 注意事项'."\n" - .'- 提交预热任务并成功执行后,CDN节点会立即回源站加载所需资源,因此大批量提交预热任务会生成较多的并发下载任务,导致回源带宽和请求突增,增加源站压力。'."\n" - .'- 预热任务从提交到预热完成,实际执行时间视预热文件大小而定,大约需要5~30分钟,文件平均大小越小,预热速度越快。'."\n" - .'- 使用RAM用户来执行刷新或预热操作的,需要先获得授权,请参见[授予RAM用户刷新预热权限](~~260300~~)完成授权。'."\n" - .'- 预热请求默认携带的header是Accept-Encoding:gzip,如果您需要预热请求携带其他header,或者实现多副本预热,那么可以使用请求参数WithHeader来实现自定义预热header。'."\n" - .'- 预热时,如果源站返回307等重定向相关的状态码,预热任务并不会跟随重定向地址继续完成预热,最终会导致预热失败。如果源站返回的是301或者302状态码,并且CDN上已经开启了回源301/302跟随,这种情况下正常预热不受影响。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'RefreshObjectCaches' => [ - 'summary' => '刷新节点上的文件内容。被刷新的文件缓存将立即失效,新的请求将回源获取最新的文件,支持URL批量刷新。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnUserBillHistory' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111883', - 'abilityTreeNodes' => [ - 'FEATUREcdnW2530F', - 'FEATUREcdnMNEAI4', - 'FEATUREcdnMZ37V7', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111746', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ObjectPath', - 'in' => 'formData', - 'schema' => [ - 'description' => '- 单次提交多个URL或多个目录时,使用换行符(\\n)或(\\r\\n)分隔。'."\n" - .'- 单次提交的任务中所有URL的域名个数总和需要在10个以内。', - 'type' => 'string', - 'required' => true, - 'example' => 'http://example.com/image/1.png'."\n" - .'http://aliyundoc.com/image/2.png', - ], - ], - [ - 'name' => 'ObjectType', - 'in' => 'formData', - 'schema' => [ - 'description' => '刷新类型。取值范围:'."\n" - ."\n" - .'- **File**(默认值):URL。'."\n" - .'- **Directory**:目录。'."\n" - .'- **Regex**:正则刷新。'."\n" - .'- **IgnoreParams**:去参数刷新。去参数指的是去除请求URL中`?`及`?`之后的参数,去参数刷新指的是用户先通过接口提交去参数后的URL,然后用户提交的待刷新URL将会与已缓存资源的URL进行去参数匹配,如果已缓存资源的URL去参数以后与待刷新URL匹配,那么CDN节点将对缓存资源执行刷新处理。'."\n" - ."\n" - .'> - URL刷新和目录刷新的功能说明请参考[刷新和预热资源](~~64936~~)。'."\n" - .'>- 文件刷新将直接删除节点上的资源,当有新请求时回源拉取新资源。其它刷新类型默认只刷新发生变更的资源,需要强制刷新请配置Force参数为true,详见Force参数说明。', - 'type' => 'string', - 'required' => false, - 'example' => 'File', - 'default' => 'File', - ], + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取历史账单起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'最小数据粒度为5分钟。', 'type' => 'string', 'required' => true, 'example' => '2018-09-30T16:00:00Z'], ], [ - 'name' => 'Force', - 'in' => 'formData', - 'schema' => [ - 'description' => '是否直接删除CDN节点上的缓存。默认为false。'."\n" - ."\n" - .'- **true**:直接删除CDN节点上的缓存。直接删除意味着立即将指定的缓存资源从CDN的所有节点上删除,下一个对该资源的请求将需要访问源服务器去获取最新版本的数据,然后重新进行缓存。这种方式可以确保一旦执行了删除操作后,所有后续请求都将获得最新的内容,适合于需要立即更新缓存内容的情况,例如紧急修复安全漏洞或者发布重要更新时。但需要注意的是,这可能会瞬间增加源服务器的压力,因为所有相关请求都需要访问源服务器。'."\n" - ."\n" - .'- **false**:对CDN节点上的缓存标记过期。将缓存资源标记为过期之后,下一个对该资源的请求到达时,CDN节点将会回源验证该资源的最新版本,若与当前缓存资源一致,则直接返回已缓存资源,若不一致,则回源拉取新资源返回给用户,并重新缓存该资源。这种方法的好处是它允许逐渐更新缓存中的内容,而不是立即全部清除,适用于需要平滑过渡的情况,可以减少由于直接删除大量缓存而可能导致源站压力增大。'."\n" - ."\n" - .'> 此参数生效范围:使用目录刷新、正则刷新、去参数刷新这三种刷新方式的时候可以生效。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取历史账单结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2018-10-31T16:00:00Z'], ], ], 'responses' => [ @@ -5709,89 +5689,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RefreshTaskId' => [ - 'description' => '刷新返回的任务ID,多个任务ID用半角逗号(,)分隔。刷新返回的任务ID会按照以下两条规则对刷新任务做合并:'."\n" - ."\n" - .'- 同一个域名、同一秒钟提交的刷新任务(URL颗粒度)会被合并为同一个RefreshTaskId。'."\n" - .'- 同一个域名、同一秒钟提交的刷新任务(URL颗粒度)如果超过2000条,那么会按照每2000条合并为一个RefreshTaskId的方式处理。', - 'type' => 'string', - 'example' => '704222901', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC'], + 'BillHistoryData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BillHistoryDataItem' => [ + 'description' => '历史计费数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Dimension' => ['description' => '维度。', 'type' => 'string', 'example' => 'flow'], + 'BillType' => ['description' => '计费模式。', 'type' => 'string', 'example' => 'month_4th_day_bandwidth'], + 'BillTime' => ['description' => '计费周期起始时间。', 'type' => 'string', 'example' => '2018-09-30T16:00:00Z'], + 'BillingData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BillingDataItem' => [ + 'description' => '计费数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量,单位为字节。', 'type' => 'number', 'format' => 'float', 'example' => '24567'], + 'Bandwidth' => ['description' => '带宽,单位为Bps。', 'type' => 'number', 'format' => 'float', 'example' => '4041'], + 'Count' => ['description' => '请求个数,单位为个。', 'type' => 'number', 'format' => 'float', 'example' => '203601'], + 'CdnRegion' => ['description' => '计费大区。取值:'."\n" + .'- **CN**:中国内地。'."\n" + .'- **OverSeas**:全球(不包含中国内地)。'."\n" + .'- **AP1**:亚太1区。'."\n" + .'- **AP2**:亚太2区。'."\n" + .'- **AP3**:亚太3区。'."\n" + .'- **NA**:北美。'."\n" + .'- **SA** :南美。'."\n" + .'- **EU**:欧洲。'."\n" + .'- **MEAA**:中东、非洲。', 'type' => 'string', 'example' => 'AP1'], + 'ChargeType' => ['description' => '计费类型。取值:'."\n" + .'- **StaticHttp**:静态HTTP。'."\n" + .'- **DynamicHttp**:动态HTTP。'."\n" + .'- **DynamicHttps**:动态HTTPS。', 'type' => 'string', 'example' => 'DynamicHttp'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'SingleRequest.OverLimit', - 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', - ], - [ - 'errorCode' => 'InvalidObjectType.Malformed', - 'errorMessage' => 'The specified ObjectType is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Malformed', - 'errorMessage' => 'The specified ObjectPath is invalid.', - ], - [ - 'errorCode' => 'QuotaExceeded.Refresh', - 'errorMessage' => 'Your refresh attempts have exceeded the daily limit.', - ], - [ - 'errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', - 'errorMessage' => 'The specified ExtensiveDomain is not supported.', - ], - [ - 'errorCode' => 'QuotaPerMinuteExceeded.Refresh', - 'errorMessage' => 'You tried to refresh too frequently, please try again later.', - ], - [ - 'errorCode' => 'TooMany.Refresh', - 'errorMessage' => 'The refresh queue is full, please try again later.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidTimeSpan', 'errorMessage' => 'The time span exceeds the limit.', 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], ], - 429 => [ - [ - 'errorCode' => 'TooManyRequests', - 'errorMessage' => 'Too many requests, please try again later', + ], + 'title' => '查询历史账单', + 'summary' => '调用DescribeCdnUserBillHistory查询用户历史账单。', + 'description' => '- 最多查询一个月内的数据。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-07-05T02:39:04.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserBillHistory'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserBillHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RefreshTaskId\\": \\"704222901\\",\\n \\"RequestId\\": \\"D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C\\"\\n}","errorExample":"{\\n\\"RefreshTaskId\\":\\"704222904\\",\\"RequestId\\":\\"D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C\\"\\n}"},{"type":"xml","example":"<RefreshObjectCachesResponse>\\n<RefreshTaskId>704222904</RefreshTaskId>\\n<RequestId>D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C</RequestId>\\n</RefreshObjectCachesResponse>","errorExample":"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>,<RefreshObjectCachesResponse>,<RefreshTaskId>704225667</RefreshTaskId>,<RequestId>AB14769A-A5F2-4CCD-B85B-3368DFF63C0A</RequestId>,</RefreshObjectCachesResponse>"}]', - 'title' => '刷新缓存', - 'description' => '- 请求方式:支持POST请求,参数用form表单显示。'."\n" - .'- 相关接口:刷新预热类接口包含[RefreshObjectCaches](~~91164~~)刷新接口和[PushObjectCache](~~91161~~)预热接口。'."\n" - .'- 单用户调用频率:50次/秒。'."\n" - .'- 如果您需要自动化刷新或预热,请参见[刷新预热自动化脚本](~~151829~~)。'."\n" - ."\n" - .'## 注意事项'."\n" - .'- 提交刷新任务并成功执行后,CDN节点上对应的缓存资源将会失效,当您再次发起访问请求时,节点会回源站拉取所需资源,并重新缓存在节点上,因此大批量提交刷新任务会清空较多缓存,导致回源带宽和请求突增,增加源站压力。'."\n" - .'- 刷新任务从提交到生效,大约需要5~6分钟,如果文件或者目录配置的缓存过期时间少于5分钟,您无需执行刷新操作,等待文件或者目录缓存超时更新即可。'."\n" - .'- 使用RAM用户来执行刷新或预热操作的,需要先获得授权,请参见[授予RAM用户刷新预热权限](~~260300~~)完成授权。'."\n" - ."\n" - .'### URL刷新配额'."\n" - .'- 默认情况下,一个账号每日最多可以提交10000条URL刷新和100个目录刷新,目录刷新包含子目录。如果您的阿里云账号的日带宽峰值大于200 Mbps,您可以参考<props="china">[配额管理](~~256513~~)</props><props="intl">[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)</props>申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\n" - .'- 默认情况下,一个账号每日最多可以提交20个正则刷新、100个去参数刷新,如果您的阿里云账号的日带宽峰值大于10 Gbps,您可以通过<props="china">[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)</props><props="intl">[提交工单](https://workorder-intl.console.aliyun.com/#/ticket/createIndex)</props>来申请提升每日配额。'."\n" - .'- 每次请求最多支持提交1000条URL刷新或者100个目录刷新或者1个正则刷新。'."\n" - .'- 单个域名每分钟最多支持提交10000条URL刷新。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"BillHistoryData\\": {\\n \\"BillHistoryDataItem\\": [\\n {\\n \\"Dimension\\": \\"flow\\",\\n \\"BillType\\": \\"month_4th_day_bandwidth\\",\\n \\"BillTime\\": \\"2018-09-30T16:00:00Z\\",\\n \\"BillingData\\": {\\n \\"BillingDataItem\\": [\\n {\\n \\"Flow\\": 24567,\\n \\"Bandwidth\\": 4041,\\n \\"Count\\": 203601,\\n \\"CdnRegion\\": \\"AP1\\",\\n \\"ChargeType\\": \\"DynamicHttp\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserBillHistoryResponse>\\n<BillHistoryData>\\n <BillHistoryDataItem>\\n <BillType>month_4th_day_bandwidth</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Bandwidth>4041</Bandwidth>\\n <CdnRegion>AP1</CdnRegion>\\n <FLOW>24567</FLOW>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>3819</Bandwidth>\\n <CdnRegion>NA</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>272113</Bandwidth>\\n <CdnRegion>CN</CdnRegion>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>flow</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>month_avg_day_bandwidth</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Bandwidth>4389</Bandwidth>\\n <CdnRegion>AP1</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>4302</Bandwidth>\\n <CdnRegion>NA</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>291641</Bandwidth>\\n <CdnRegion>CN</CdnRegion>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>flow</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>hour_vas</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Count>205624</Count>\\n <ChargeType>DynamicHttp</ChargeType>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>vas</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>hour_vas</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Count>203601</Count>\\n <ChargeType>DynamicHttp</ChargeType>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>vas</Dimension>\\n <BillTime>2018-09-30T17:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n</BillHistoryData>\\n<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\n</DescribeCdnUserBillHistoryResponse>","errorExample":""}]', ], - 'DescribeRefreshTasks' => [ - 'summary' => '调用DescribeRefreshTasks查询刷新、预热状态是否在全网生效。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCdnUserBillPrediction' => [ + 'summary' => '调用DescribeCdnUserBillPrediction预测用户当月的用量数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5802,150 +5805,179 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111832', - 'abilityTreeNodes' => [ - 'FEATUREcdnW2530F', - ], + 'abilityTreeCode' => '111747', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '按任务ID查询刷新状态。', - 'type' => 'string', - 'required' => false, - 'example' => '1234321', - ], + 'schema' => ['description' => '默认为月初第一天的零点整, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2018-09-30T16:00:00Z'], ], [ - 'name' => 'ObjectPath', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '按路径查询,准确匹配。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/1.txt', - ], + 'schema' => ['description' => '默认为当前时间, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2018-10-25T10:00:00Z'], ], [ - 'name' => 'PageNumber', + 'name' => 'Dimension', 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围为:**1**~**100000**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '获取计费类型的维度,flow表示流量带宽。', 'type' => 'string', 'required' => false, 'example' => 'flow'], ], [ - 'name' => 'ObjectType', + 'name' => 'Area', 'in' => 'query', + 'schema' => ['description' => '计费大区。取值:'."\n" + ."\n" + .'- **CN**:中国内地。'."\n" + .'- **OverSeas**:全球(不包含中国内地)。'."\n" + .'- **AP1**:亚太1区。'."\n" + .'- **AP2**:亚太2区。'."\n" + .'- **AP3**:亚太3区。'."\n" + .'- **NA**:北美。'."\n" + .'- **SA**:南美。'."\n" + .'- **EU**:欧洲。'."\n" + .'- **MEAA**:中东、非洲。'."\n" + ."\n" + .'默认按用户当前计费模式决定,如果是海外分大区则为**CN**,**OverSeas**,否则为**CN**,**AP1**,**AP2**,**AP3**,**NA**,**SA**,**EU**或**MEAA**。'."\n" + ."\n" + .'> 各区域包含的具体国家地区,请参见[计费概述](~~142221~~)。', 'type' => 'string', 'required' => false, 'example' => 'CN,OverSeas'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '任务类型。取值:'."\n" - .'- **file**:文件刷新。'."\n" - .'- **directory**:目录刷新。'."\n" - .'- **regex**:正则刷新。'."\n" - .'- **preload**:文件预热。'."\n" - .'- **block**:URL封禁。'."\n" - .'- **unblock**:URL解封禁。'."\n" - ."\n" - .'> 当指定**DomainName**或**Status**参数时,**ObjectType**参数为必传参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'file', - 'enum' => [ - 'file', - 'directory', - 'preload', - 'regex', - 'IgnoreParams', - 'block', - 'unblock', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '预测结束时间。', 'type' => 'string', 'example' => '2018-10-25T10:00:00Z'], + 'StartTime' => ['description' => '预测开始时间。', 'type' => 'string', 'example' => '2018-09-30T16:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E'], + 'BillType' => ['description' => '用户计费类型。'."\n" + ."\n" + .'> 带**_overseas**后缀表示海外不分大区计费,例如: "BillType": "month_avg_day_bandwidth_overseas" 则表明该计费方式为月均日峰值海外不分区计费。'."\n" + ."\n" + .'计费模式取值如下所示:'."\n" + ."\n" + .'- hour_flow:按小时流量计费。'."\n" + .'- day_bandwidth:按日带宽计费。'."\n" + .'- month_95:按月95峰值带宽计费。'."\n" + .'- month_avg_day_bandwidth:按月均日峰值带宽计费。'."\n" + .'- month_4th_day_bandwidth:按月第四日峰值带宽计费。'."\n" + .'- month_avg_day_95:按月均日95峰值带宽计费。'."\n" + .'- month_95_night_half: 按夜间半价95峰值带宽计费。'."\n" + .'- hour_vas:按小时增值服务计费。'."\n" + .'- day_count:按日请求次数计费。', 'type' => 'string', 'example' => 'month_95_overseas'], + 'BillPredictionData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BillPredictionDataItem' => [ + 'description' => '账单预测数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '预测值。', 'type' => 'number', 'format' => 'float', 'example' => '10000'], + 'TimeStp' => ['description' => '预测值对应的时刻,仅95、夜间半价95和月第四日峰值有这个字段。', 'type' => 'string', 'example' => '2018-10-15T16:00:00Z'], + 'Area' => ['description' => '计费大区。', 'type' => 'string', 'example' => 'CN'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], ], + 'description' => '', ], ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名。仅支持单个查询,默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'BillTypeNotFound', 'errorMessage' => 'The user billing type is not found or the billing type of this user is not the monthly billing type.', 'description' => '用户账单类型不存在或不是月账单类型用户'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified Time is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidTimeSpan', 'errorMessage' => 'The time span exceeds the limit.', 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Complete**:完成。'."\n" - .'- **Refreshing**:处理中。'."\n" - .'- **Timeout**:超时未执行。'."\n" - .'- **Canceled**:取消。'."\n" - .'- **Failed**:失败。', - 'type' => 'string', - 'required' => false, - 'example' => 'Complete', - 'enum' => [ - 'Complete', - 'Refreshing', - 'Failed', + ], + 'title' => '查询预测用量', + 'description' => '用于预测用户当月的用量数据,按用户月初第一天的计费模式计算,只支持月度计费模式的预测,只支持用户粒度。 起始时间为月初1号0点,结束时间为当前时间前两个小时。'."\n" + ."\n" + .'- 月95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。 '."\n" + .'- 月均日峰值:每日峰值带宽求和/时间天数,不计算当天的数据。 '."\n" + .'- 月第四日峰值:请求时间内,第四高的峰值为预测值,如果请求时间小于4天,返回预测值为0。 '."\n" + .'- 月均日95:每日日95峰值求和/时间天数,不计算当天的数据。 '."\n" + .'- 夜间半价95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。'."\n" + ."\n" + .'> 单用户调用频率:1次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:21:21.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2023-01-09T06:08:31.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserBillPrediction'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserBillPrediction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2018-10-25T10:00:00Z\\",\\n \\"StartTime\\": \\"2018-09-30T16:00:00Z\\",\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\",\\n \\"BillType\\": \\"month_95_overseas\\",\\n \\"BillPredictionData\\": {\\n \\"BillPredictionDataItem\\": [\\n {\\n \\"Value\\": 10000,\\n \\"TimeStp\\": \\"2018-10-15T16:00:00Z\\",\\n \\"Area\\": \\"CN\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserBillPredictionResponse>\\n<RequestId>C370DAF1-C838-4288-A1A0-9A87633D248E</RequestId>\\n<StartTime>2018-09-30T16:00:00Z</StartTime>\\n<EndTime>2018-10-25T10:00:00Z</EndTime>\\n<BillType>month_95_overseas</BillType>\\n<BillPredictionData>\\n <BillPredictionDataItem>\\n <Value>10000</Value>\\n <Area>CN</Area>\\n <TimeStp>2018-10-15T16:00:00Z</TimeStp>\\n </BillPredictionDataItem>\\n <BillPredictionDataItem>\\n <Value>5000</Value>\\n <Area>OverSeas</Area>\\n <TimeStp>2018-10-10T:00:00Z</TimeStp>\\n </BillPredictionDataItem>\\n</BillPredictionData>\\n</DescribeCdnUserBillPredictionResponse>","errorExample":""}]', + ], + 'DescribeCdnUserBillType' => [ + 'summary' => '调用DescribeCdnUserBillType查询用户计费类型,最多查询一个月的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,默认**20**,最大**100**。取值:**1**~**100**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111748', + 'abilityTreeNodes' => ['FEATUREcdnYC0IJ0'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-21T08:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'最小数据粒度为5分钟。', 'type' => 'string', 'required' => true, 'example' => '2018-09-30T16:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-22T08:00:00Z', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmyuji4b6r4**', - ], + 'schema' => ['description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2018-10-31T16:00:00Z'], ], ], 'responses' => [ @@ -5953,219 +5985,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '174F6032-AA26-470D-B90E-36F0EB205BEE', - ], - 'PageNumber' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '整页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Tasks' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E'], + 'BillTypeData' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'CDNTask' => [ - 'description' => '任务列表。', + 'BillTypeDataItem' => [ + 'description' => '用户计费类型返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态。取值:'."\n" - ."\n" - .'- **Complete**:完成。'."\n" - .'- **Refreshing**:处理中。'."\n" - .'- **Failed**:失败。', - 'type' => 'string', - 'example' => 'Complete', - ], - 'CreationTime' => [ - 'description' => '任务对象创建时间,UTC+0时间。', - 'type' => 'string', - 'example' => '2014-11-27T08:23:22Z', - ], - 'ObjectType' => [ - 'description' => '任务类型。'."\n" - ."\n" - .'- **file**:文件刷新。'."\n" - ."\n" - .'- **directory**:目录刷新。'."\n" - ."\n" - .'- **regex**:正则刷新。'."\n" - ."\n" - .'- **preload**:文件预热。', - 'type' => 'string', - 'example' => 'file', - ], - 'Process' => [ - 'description' => '进度百分比。', - 'type' => 'string', - 'example' => '100%', - ], - 'Description' => [ - 'description' => '刷新预热失败返回的错误描述。'."\n" - ."\n" - .'- **InternalError**:内部错误。'."\n" - ."\n" - .'- **OriginTimeout**:源站响应超时。'."\n" - ."\n" - .'- **OriginReturnStatusCode 5XX**:源站响应5xx错误码。', - 'type' => 'string', - 'example' => 'Internal Error', - ], - 'ObjectPath' => [ - 'description' => '刷新对象路径。', - 'type' => 'string', - 'example' => 'http://example.com/1.txt', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '704225667', - ], + 'EndTime' => ['description' => '计费模式结束时间。', 'type' => 'string', 'example' => '2018-10-31T16:00:00Z'], + 'StartTime' => ['description' => '计费模式起始时间。', 'type' => 'string', 'example' => '2018-10-30T16:00:00Z'], + 'BillingCycle' => ['description' => '计费周期。', 'type' => 'string', 'example' => 'month'], + 'Product' => ['description' => '产品。', 'type' => 'string', 'example' => 'cdn'], + 'BillType' => ['description' => '计费模式。'."\n" + ."\n" + .'> 带**_overseas**后缀表示海外不分大区计费,例如:"BillType": "month\\_avg\\_day\\_bandwidth\\_overseas" 则表明该计费方式为月均日峰值海外不分区计费。'."\n" + ."\n" + .'计费模式取值如下所示:'."\n" + .'- hour_flow:按小时流量计费。'."\n" + .'- day_bandwidth:按日带宽计费。'."\n" + .'- month_95:按月结95峰值带宽计费。'."\n" + .'- month_avg_day_bandwidth:按月均日峰值带宽计费。'."\n" + .'- month_4th_day_bandwidth:按月第四日峰值带宽计费。'."\n" + .'- month_avg_day_95:按月均日95峰值带宽计费。'."\n" + .'- month_95_night_half:按夜间半价95峰值带宽计费。'."\n" + .'- hour_vas:按小时增值服务计费。'."\n" + .'- quic_hour_count:按小时QUIC请求数计费。'."\n" + .'- day_count:按日请求次数计费。'."\n" + .'- hour_count:按小时请求次数计费。'."\n" + .'- day_95:按日95峰值带宽计费.', 'type' => 'string', 'example' => 'month_avg_day_bandwidth_overseas'], + 'Dimension' => ['description' => '维度。取值如下所示:'."\n" + .'- flow:流量带宽。'."\n" + .'- vas:增值服务(https、动态请求)。'."\n" + .'- quic:QUIC 请求数。'."\n" + .'- websocket:websocket通信协议。'."\n" + .'- rtlog2sls:实时日志推送sls。'."\n" + .'- stationflow:流量内网化计费。', 'type' => 'string', 'example' => 'flow'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTaskId.Malformed', - 'errorMessage' => 'The specified TaskId is invalid.', - ], - [ - 'errorCode' => 'MissingParameter.ObjectType', - 'errorMessage' => 'The ObjectType parameter is required if DomainName or Status is specified.', - ], - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', - ], - [ - 'errorCode' => 'DomainNameOverLimit', - 'errorMessage' => 'A maximum of 500 domains are supported for each request.', - ], - [ - 'errorCode' => 'InvalidTime', - 'errorMessage' => 'The query time cannot exceed the last 3 days.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Malformed', - 'errorMessage' => 'The specified ObjectPath is invalid.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.ValueNotSupported', - 'errorMessage' => 'The specified EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectType.ValueNotSupported', - 'errorMessage' => 'The specified ObjectType is not supported.', - ], - [ - 'errorCode' => 'InvalidStatus.ValueNotSupported', - 'errorMessage' => 'The specified Status is not supported.', - ], - [ - 'errorCode' => 'InvalidParams', - 'errorMessage' => 'The parameter you provided is invalid.', - ], - ], - 429 => [ - [ - 'errorCode' => 'TooManyRequests', - 'errorMessage' => 'The server is busy. Please try again later.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterAliuid', 'errorMessage' => 'Invalid Parameter Aliuid.', 'description' => 'Aliuid参数错误'], + ['errorCode' => 'InvalidParameterStartTime', 'errorMessage' => 'The parameter StartTime is invalid.', 'description' => '参数StartTime无效。'], + ['errorCode' => 'InvalidParameterEndTime', 'errorMessage' => 'The parameter EndTime is invalid.', 'description' => '参数EndTime无效。'], + ['errorCode' => 'InvalidTimeRange', 'errorMessage' => 'Invalid StartTime and EndTime range.', 'description' => '开始时间和结束时间范围无效。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"174F6032-AA26-470D-B90E-36F0EB205BEE\\",\\n \\"PageNumber\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 2,\\n \\"Tasks\\": {\\n \\"CDNTask\\": [\\n {\\n \\"Status\\": \\"Complete\\",\\n \\"CreationTime\\": \\"2014-11-27T08:23:22Z\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"Process\\": \\"100%\\",\\n \\"Description\\": \\"Internal Error\\",\\n \\"ObjectPath\\": \\"http://example.com/1.txt\\",\\n \\"TaskId\\": \\"704225667\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<Tasks>\\n <CDNTask>\\n <CreationTime>2014-11-27T08:23:22Z</CreationTime>\\n <ObjectPath>http://example.com/1.txt</ObjectPath>\\n <Status>Complete</Status>\\n <TaskId>704225667</TaskId>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n </CDNTask>\\n <CDNTask>\\n <CreationTime>2014-11-27T08:18:38Z</CreationTime>\\n <ObjectPath>http://aliyundoc.com/1.txt</ObjectPath>\\n <Status>Complete</Status>\\n <TaskId>704222904</TaskId>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n </CDNTask>\\n</Tasks>\\n<PageNumber>1</PageNumber>\\n<PageSize>10</PageSize>\\n<TotalCount>2</TotalCount>\\n<RequestId>174F6032-AA26-470D-B90E-36F0EB205BEE</RequestId>","errorExample":""}]', - 'title' => '查询刷新预热任务', - 'description' => '- 支持根据任务ID或URL查询。'."\n" - .'- 支持同时传入**TaskId**和**ObjectPath**参数,如果不指定**TaskId**和**ObjectPath**,默认查询最近3天内第一页的数据(20条)。'."\n" - .'- 只能查询最近3天内的数据。'."\n" - .'- 任务状态需要由API的调用请求来触发异步更新。'."\n" - .'- 如果您在OSS控制台开启了CDN缓存自动刷新,则无法通过DescribeRefreshTasks接口查看OSS上的缓存自动刷新任务。'."\n" - .'- 单用户调用频率:5次/秒。如果您需要更高的调用频率,请使用仅支持通过任务编号查询刷新预热任务信息的接口[DescribeRefreshTaskById](~~187709~~)。', + 'title' => '查询计费类型', + 'description' => '- 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRefreshTaskById' => [ - 'summary' => '调用DescribeRefreshTaskById查询刷新状态和预热状态是否在全网生效。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:15:52.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserBillType'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserBillType', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\",\\n \\"BillTypeData\\": {\\n \\"BillTypeDataItem\\": [\\n {\\n \\"EndTime\\": \\"2018-10-31T16:00:00Z\\",\\n \\"StartTime\\": \\"2018-10-30T16:00:00Z\\",\\n \\"BillingCycle\\": \\"month\\",\\n \\"Product\\": \\"cdn\\",\\n \\"BillType\\": \\"month_avg_day_bandwidth_overseas\\",\\n \\"Dimension\\": \\"flow\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C370DAF1-C838-4288-A1A0-9A87633D248E</RequestId>\\n<BillTypeData>\\n <BillTypeDataItem>\\n <BillingCycle>month</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-31T16:00:00Z</EndTime>\\n <StartTime>2018-10-30T16:00:00Z</StartTime>\\n <BillType>month_avg_day_bandwidth_overseas</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>hour</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-30T16:00:00Z</EndTime>\\n <StartTime>2018-10-10T16:00:00Z</StartTime>\\n <BillType>hour_flow</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>hour</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>vas</Dimension>\\n <EndTime>2018-10-31T16:00:00Z</EndTime>\\n <StartTime>2018-09-30T16:00:00Z</StartTime>\\n <BillType>hour_vas</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>day</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-10T16:00:00Z</EndTime>\\n <StartTime>2018-09-30T16:00:00Z</StartTime>\\n <BillType>day_bandwidth</BillType>\\n </BillTypeDataItem>\\n</BillTypeData>","errorExample":""}]', + ], + 'DescribeCdnUserConfigs' => [ + 'summary' => '调用DescribeCdnUserConfigs查询安全功能相关的配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111831', - 'abilityTreeNodes' => [ - 'FEATUREcdnW2530F', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'description' => '待查询的任务ID。'."\n" - ."\n" - .'您可以调用[RefreshObjectCaches](~~91164~~)接口,从其返回值中获取刷新预热的任务ID,并通过任务ID查询源站资源的刷新状态。'."\n" - ."\n" - .'支持同时传入多个任务ID,多个任务ID之间用英文逗号(,)分隔,最多支持同时传入10个任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => '12345678', - ], + 'schema' => ['description' => '需要查询的配置,支持查询的配置如下:'."\n" + .'- **domain_business_control**:用户配置。'."\n" + .'- **waf**:WAF功能配置。', 'type' => 'string', 'required' => true, 'example' => 'domain_business_control'], ], ], 'responses' => [ @@ -6173,71 +6101,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '任务总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B', - ], - 'Tasks' => [ - 'description' => '任务列表。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '06D29681-B7CD-4034-A8CC-28AFFA213539'], + 'Configs' => [ + 'description' => '用户对应的配置。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Complete**:完成。'."\n" - .'- **Refreshing**:处理中。'."\n" - .'- **Timeout**:超时未执行。'."\n" - .'- **Canceled**:取消。'."\n" - .'- **Failed**:失败。', - 'type' => 'string', - 'example' => 'Complete', - ], - 'CreationTime' => [ - 'description' => '任务对象创建时间,使用UTC时间表示。', - 'type' => 'string', - 'example' => '2020-08-03T08:54:23Z', - ], - 'ObjectType' => [ - 'description' => '任务类型。取值:'."\n" - .'- **file**:单文件刷新。'."\n" - .'- **directory**:目录刷新。'."\n" - .'- **preload**:单文件预热。'."\n" - .'- **regex**:正则刷新。', - 'type' => 'string', - 'example' => 'file', - ], - 'Process' => [ - 'description' => '任务完成进度百分比。', - 'type' => 'string', - 'example' => '100%', - ], - 'Description' => [ - 'description' => '刷新预热失败后返回的错误描述。取值:'."\n" - .'- **Internal Error**:内部错误。'."\n" - .'- **Origin Timeout**:源站响应超时。'."\n" - .'- **Origin Return StatusCode 5XX**:源站响应5xx错误码。', - 'type' => 'string', - 'example' => 'Internal Error', - ], - 'ObjectPath' => [ - 'description' => '刷新对象的路径。', - 'type' => 'string', - 'example' => 'http://example.com/abc.jpg', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '24840', - ], + 'ArgValue' => ['description' => '配置值。取值:'."\n" + .'- **cc_rule**:CC规则。'."\n" + .'- **ddos_dispatch**:DDoS联动调度。'."\n" + .'- **edge_safe**:边缘应用安全。'."\n" + .'- **blocked_regions**:区域封禁。'."\n" + .'- **http_acl_policy**:精准访问控制。'."\n" + .'- **bot_manager**:机器流量管理。'."\n" + .'- **ip_reputation**:IP信誉库。', 'type' => 'string', 'example' => '{\\"dcdn_allow\\":[\\"cc_rule\\",\\"ddos_dispatch\\"]}'], + 'ArgName' => ['description' => '配置名称。'."\n" + ."\n" + .'政企用户相关配置。', 'type' => 'string', 'example' => 'allow_function'], + 'FunctionName' => ['description' => '功能名称。', 'type' => 'string', 'example' => 'domain_business_control'], ], ], ], @@ -6247,113 +6129,67 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTaskId.Malformed', - 'errorMessage' => 'The specified TaskId is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectPath.Malformed', - 'errorMessage' => 'The specified ObjectPath is invalid.', - ], - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'MissingParameter.ObjectType', - 'errorMessage' => 'The ObjectType parameter is required if DomainName or ObjectType is specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.ValueNotSupported', - 'errorMessage' => 'The specified EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidObjectType.ValueNotSupported', - 'errorMessage' => 'The specified ObjectType is not supported.', - ], - [ - 'errorCode' => 'InvalidStatus.ValueNotSupported', - 'errorMessage' => 'The specified Status is not supported.', - ], - [ - 'errorCode' => 'DomainNameOverLimit', - 'errorMessage' => 'A maximum of 500 domains are supported for each request.', - ], - [ - 'errorCode' => 'InvalidParameters', - 'errorMessage' => 'The parameters you provided are invalid.', - ], - [ - 'errorCode' => 'InvalidTime', - 'errorMessage' => 'The query time cannot exceed the last 3 days.', - ], - ], - 429 => [ - [ - 'errorCode' => 'TooManyRequests', - 'errorMessage' => 'Too many requests, please try again later', - ], + ['errorCode' => 'InvalidArgValue.Malformed', 'errorMessage' => 'The specified ArgValue is invalid.', 'description' => '参数格式错误,请检查更新后重试。'], + ['errorCode' => 'InvalidArgName.ValueNotSupported', 'errorMessage' => '%s', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"Complete\\",\\n \\"CreationTime\\": \\"2020-08-03T08:54:23Z\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"Process\\": \\"100%\\",\\n \\"Description\\": \\"Internal Error\\",\\n \\"ObjectPath\\": \\"http://example.com/abc.jpg\\",\\n \\"TaskId\\": \\"24840\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRefreshTaskByIdResponse>\\n<RequestId>E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B</RequestId>\\n<Tasks>\\n <CreationTime>2020-08-03T08:54:23Z</CreationTime>\\n <Description/>\\n <ObjectPath>http://example.com/abc.jpg</ObjectPath>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n <Status>Complete</Status>\\n <TaskId>12345678</TaskId>\\n</Tasks>\\n<Tasks>\\n <CreationTime>2020-08-03T09:12:44Z</CreationTime>\\n <Description/>\\n <ObjectPath>http://example.com/bcd.jpg</ObjectPath>\\n <ObjectType>file</ObjectType>\\n <Process>99.37%</Process>\\n <Status>Refreshing</Status>\\n <TaskId>23456789</TaskId>\\n</Tasks>\\n<TotalCount>2</TotalCount>\\n</DescribeRefreshTaskByIdResponse>","errorExample":""}]', - 'title' => '查询刷新预热任务-按ID', - 'description' => '- 支持查询3天内(包含3天)的数据。'."\n" - .'- 单用户调用频率为:30次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"06D29681-B7CD-4034-A8CC-28AFFA213539\\",\\n \\"Configs\\": [\\n {\\n \\"ArgValue\\": \\"{\\\\\\\\\\\\\\"dcdn_allow\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"cc_rule\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ddos_dispatch\\\\\\\\\\\\\\"]}\\",\\n \\"ArgName\\": \\"allow_function\\",\\n \\"FunctionName\\": \\"domain_business_control\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserConfigsResponse>\\n <RequestId>06D29681-B7CD-4034-A8CC-28AFFA213539</RequestId>\\n <Configs>\\n <FunctionName>domain_business_control</FunctionName>\\n <ArgValue>{\\"dcdn_allow\\":[\\"cc_rule\\",\\"ddos_dispatch\\"]}</ArgValue>\\n <ArgName>allow_function</ArgName>\\n </Configs>\\n</DescribeCdnUserConfigsResponse>","errorExample":""}]', + 'title' => '查询安全功能配置', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePreloadDetailById' => [ - 'summary' => '查询任务预热详情,包括任务下所有资源的预热进度。该接口需要申请白名单后才可以使用,带宽大于100Gbps的情况下,可以通过您的商务经理申请白名单。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnUserDomainsByFunc' => [ + 'summary' => '调用DescribeCdnUserDomainsByFunc查询用户名下配置了指定功能的所有的域名及其状态。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '165361', - 'abilityTreeNodes' => [ - 'FEATUREcdnKZKOWX', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'FuncId', 'in' => 'query', - 'schema' => [ - 'description' => '按任务ID查询预热任务详情。'."\n" - .'支持单次查询一个任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => '15423123921', - ], + 'schema' => ['description' => '功能ID,您可在[域名配置功能参数](~~388460~~)文档,根据功能名称搜索查询。'."\n" + .'例如:配置回源HOST(set_req_host_header)功能ID为18。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页码,默认值:**1**。'."\n" + ."\n" + .'取值范围:**1**~**100000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '单页显示域名的数量,默认值:**20**。'."\n" + ."\n" + .'取值范围:**1**~**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'example' => '20', 'default' => '20'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxxx'], ], ], 'responses' => [ @@ -6361,88 +6197,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的总任务数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求的ID。用于定位日志,排查问题。', - 'type' => 'string', - 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC', - ], - 'UrlDetails' => [ - 'description' => '任务详情。包括任务ID、起止时间、域名、成功率、状态、返回错误码、以及所有url资源的完成详情。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => '待查询的任务ID。'."\n" - ."\n" - .'您可以调用PushObjectCache接口,从其返回值中获取预热任务的ID,并通过任务ID查询源站资源的预热状态。'."\n" - ."\n" - .'支持同时传入单个任务ID。', - 'type' => 'string', - 'example' => '14286878547', - ], - 'Domain' => [ - 'description' => '预热资源的域名', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CreationTime' => [ - 'description' => '任务对象创建时间,使用UTC时间表示。', - 'type' => 'string', - 'example' => '2022-11-23T02:26:56Z', - ], - 'EndTime' => [ - 'description' => '任务对象结束时间,使用UTC时间表示。', - 'type' => 'string', - 'example' => '2022-11-23T02:27:00Z', - ], - 'RetCode' => [ - 'description' => '返回的错误码,`0`表示成功。', - 'type' => 'string', - 'example' => '0', - ], - 'Process' => [ - 'description' => '任务完成进度百分比,代表预热任务在多少边缘节点上已结束。', - 'type' => 'string', - 'example' => '100%', - ], - 'Status' => [ - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Complete**:完成。'."\n" - .'- **Refreshing**:进行中。'."\n" - .'- **Failed**:任务失败。', - 'type' => 'string', - 'example' => 'Complete', - ], - 'Urls' => [ - 'description' => '该任务下所有url资源的完成详情。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '预热资源的url。', - 'type' => 'string', - 'example' => '/abc.jpg'."\n", - ], - 'Success' => [ - 'description' => '成功百分比。表示该资源在多少边缘节点上预热成功。', - 'type' => 'string', - 'example' => '47%', - ], - 'Description' => [ - 'description' => '资源预热详情。'."\n" - .'- 若全部边缘节点成功,则返回"Successfully preloaded"'."\n" - .'- 若存在边缘节点失败,则返回失败详情,用"|"分隔。', - 'type' => 'string', - 'example' => 'Successfully preloaded', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AA75AADB-5E25-4970-B480-EAA1F5658483'], + 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '单页显示域名的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalCount' => ['description' => '域名总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'], + 'Domains' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'PageData' => [ + 'description' => '加速域名的配置数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreated' => ['description' => '加速域名创建时间。', 'type' => 'string', 'example' => '2015-10-28T11:05:52Z'], + 'SslProtocol' => ['description' => 'https开关。取值:'."\n" + .'- **on**:已开启。'."\n" + .'- **off**:未开启。', 'type' => 'string', 'example' => 'on'], + 'Description' => ['description' => '状态描述。', 'type' => 'string', 'example' => 'audit failed'], + 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-xxxxx'], + 'DomainStatus' => ['description' => '加速域名状态。取值:'."\n" + ."\n" + .'- **online**:启用。'."\n" + .'- **offline**:停用。'."\n" + .'- **configuring**:配置中。'."\n" + .'- **configure_failed**:配置失败。'."\n" + .'- **checking**:正在审核。'."\n" + .'- **check_failed**:审核失败。'."\n" + .'- **stopping**:停用中。'."\n" + .'- **deleting**:删除中。', 'type' => 'string', 'example' => 'configure_failed'], + 'Cname' => ['description' => '加速域名对应的CNAME域名。', 'type' => 'string', 'example' => 'example.com.w.alikunlun.com'], + 'GmtModified' => ['description' => '加速域名修改时间。', 'type' => 'string', 'example' => '2015-10-29T10:15:31Z'], + 'CdnType' => ['description' => '加速业务类型。取值:'."\n" + .'- **web**:图片小文件加速。'."\n" + .'- **download**:大文件下载加速。'."\n" + .'- **video**:视音频点播加速。'."\n" + .'- **liveStream**:直播流媒体加速。', 'type' => 'string', 'example' => 'web'], + 'DomainName' => ['description' => '加速域名名称。', 'type' => 'string', 'example' => 'example.com'], + 'Sources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Source' => [ + 'description' => '源站信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '源站类型。取值:'."\n" + ."\n" + .'- **ipaddr**:IP源站。'."\n" + .'- **domain**:域名源站。'."\n" + .'- **oss**:OSS Bucket为源站。'."\n" + .'- **fc_domain**:函数计算为源站。', 'type' => 'string', 'example' => 'ipaddr'], + 'Weight' => ['description' => '回源权重。', 'type' => 'string', 'example' => '10'], + 'Priority' => ['description' => '优先级。', 'type' => 'string', 'example' => '20'], + 'Port' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'Content' => ['description' => '源站地址。', 'type' => 'string', 'example' => '1.1.1.1'], + ], + ], + ], ], ], ], @@ -6456,45 +6271,41 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTaskId.Malformed', - 'errorMessage' => 'The specified TaskId is invalid.', - ], - [ - 'errorCode' => 'DomainNameOverLimit', - 'errorMessage' => 'A maximum of 500 domains are supported for each request.', - ], - [ - 'errorCode' => 'InvalidParameters', - 'errorMessage' => 'The parameters you provided are invalid.', - ], - [ - 'errorCode' => 'InvalidTime', - 'errorMessage' => 'The query time cannot exceed the last 3 days.', - ], + ['errorCode' => 'InvalidPageNumber.ValueNotSupported', 'errorMessage' => 'The specified value of PageNumber is not supported.', 'description' => ''], + ['errorCode' => 'InvalidPageSize.ValueNotSupported', 'errorMessage' => 'The specified value of PageSize is invalid.', 'description' => ''], + ['errorCode' => 'InvalidDomainStatus.ValueNotSupported', 'errorMessage' => 'The specified value of DomainStatus is invalid.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ['errorCode' => 'InvalidDomainSearchType.ValueNotSupported', 'errorMessage' => 'The specified value of DomainSearchType is invalid.', 'description' => ''], + ['errorCode' => 'InvalidChangeStartTime.Malformed', 'errorMessage' => 'The specified ChangeStartTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidChangeEndTime.Malformed', 'errorMessage' => 'The specified ChangeEndTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidCdnType.Malformed', 'errorMessage' => 'The specified CdnType is invalid.', 'description' => ''], ], - 429 => [ - [ - 'errorCode' => 'TooManyRequests', - 'errorMessage' => 'Too many requests, please try again later', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA75AADB-5E25-4970-B480-EAA1F5658483\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalCount\\": 16,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"GmtCreated\\": \\"2015-10-28T11:05:52Z\\",\\n \\"SslProtocol\\": \\"on\\",\\n \\"Description\\": \\"audit failed\\",\\n \\"ResourceGroupId\\": \\"rg-xxxxx\\",\\n \\"DomainStatus\\": \\"configure_failed\\",\\n \\"Cname\\": \\"example.com.w.alikunlun.com\\",\\n \\"GmtModified\\": \\"2015-10-29T10:15:31Z\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Sources\\": {\\n \\"Source\\": [\\n {\\n \\"Type\\": \\"ipaddr\\",\\n \\"Weight\\": \\"10\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<PageNumber>1</PageNumber>\\n<TotalCount>16</TotalCount>\\n<PageSize>5</PageSize>\\n<RequestId>AA75AADB-5E25-4970-B480-EAA1F5658483</RequestId>\\n<Domains>\\n <PageData>\\n <CdnType>download</CdnType>\\n <DomainStatus>configure_failed</DomainStatus>\\n <DomainName>example.com</DomainName>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n <GmtCreated>2015-10-28T09:32:51Z</GmtCreated>\\n <Description>audit failed</Description>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n <Sources>\\n <Source>\\n <Type>ipaddr</Type>\\n <Content>1.1.1.1</Content>\\n <Priority>20</Priority>\\n <Port>80</Port>\\n <Weight>10</Weight>\\n </Source>\\n </Sources>\\n </PageData>\\n <PageData>\\n <CdnType>web</CdnType>\\n <DomainStatus>configure_failed</DomainStatus>\\n <DomainName>example.org</DomainName>\\n <GmtModified>2015-10-28T11:05:50Z</GmtModified>\\n <GmtCreated>2015-10-28T09:31:59Z</GmtCreated>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n </PageData>\\n <PageData>\\n <Cname>example.edu.w.alikunlun.com</Cname>\\n <CdnType>video</CdnType>\\n <DomainStatus>online</DomainStatus>\\n <DomainName>example.edu</DomainName>\\n <GmtModified>2015-10-23T09:02:11Z</GmtModified>\\n <GmtCreated>2015-10-23T09:01:57Z</GmtCreated>\\n <ResourceGroupId>rg-xxxxx</ResourceGroupId>\\n </PageData>\\n</Domains>","errorExample":""}]', + 'title' => '查询域名-按功能', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserDomainsByFunc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"UrlDetails\\": [\\n {\\n \\"TaskId\\": \\"14286878547\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"CreationTime\\": \\"2022-11-23T02:26:56Z\\",\\n \\"EndTime\\": \\"2022-11-23T02:27:00Z\\",\\n \\"RetCode\\": \\"0\\",\\n \\"Process\\": \\"100%\\",\\n \\"Status\\": \\"Complete\\",\\n \\"Urls\\": [\\n {\\n \\"Url\\": \\"/abc.jpg\\\\n\\",\\n \\"Success\\": \\"47%\\",\\n \\"Description\\": \\"Successfully preloaded\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询预热任务详情', - 'description' => '- 支持查询3天内(包含3天)的数据。'."\n" - .'- 单用户调用频率为:30次/秒。', ], 'DescribeCdnUserQuota' => [ 'summary' => '调用DescribeCdnUserQuota查询用户配额上限和余量信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6504,9 +6315,7 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '111751', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -6515,77 +6324,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'BlockQuota' => [ - 'description' => '封禁上限,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RefreshUrlRemain' => [ - 'description' => '刷新URL余量,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'DomainQuota' => [ - 'description' => '加速域名数上限,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'BlockRemain' => [ - 'description' => '封禁余量,单位:个。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'PreloadRemain' => [ - 'description' => '预热URL余量,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EF4F084A-2F49-4E1C-9CA0-DC85BCE7F391', - ], - 'RefreshUrlQuota' => [ - 'description' => '刷新URL上限,单位:个。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'PreloadQuota' => [ - 'description' => '预热URL上限,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], - 'RefreshDirQuota' => [ - 'description' => '刷新目录上限,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RefreshDirRemain' => [ - 'description' => '刷新目录余量,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], - 'IgnoreParamsQuota' => [ - 'description' => '忽略参数刷新上限,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'IgnoreParamsRemain' => [ - 'description' => '忽略参数刷新余量,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'BlockQuota' => ['description' => '封禁上限,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'RefreshUrlRemain' => ['description' => '刷新URL余量,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'DomainQuota' => ['description' => '加速域名数上限,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'BlockRemain' => ['description' => '封禁余量,单位:个。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'PreloadRemain' => ['description' => '预热URL余量,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EF4F084A-2F49-4E1C-9CA0-DC85BCE7F391'], + 'RefreshUrlQuota' => ['description' => '刷新URL上限,单位:个。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'PreloadQuota' => ['description' => '预热URL上限,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'], + 'RefreshDirQuota' => ['description' => '刷新目录上限,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'RefreshDirRemain' => ['description' => '刷新目录余量,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'], + 'IgnoreParamsQuota' => ['description' => '忽略参数刷新上限,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'IgnoreParamsRemain' => ['description' => '忽略参数刷新余量,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], @@ -6596,16 +6346,27 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainPathData' => [ - 'summary' => '调用DescribeDomainPathData按目录维度获取监控数据,包括流量和访问次数。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-03-29T08:00:51.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-11-17T06:55:22.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnUserResourcePackage' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6614,82 +6375,30 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111783', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111752', + 'abilityTreeNodes' => ['FEATUREcdnG9C3XR'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页。从**1**开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。'."\n" - .'取值:**1**~**1000**之间的任意整数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], - ], - [ - 'name' => 'Path', + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '路径,以正斜线(/)开头,不填表示查询所有路径。如果路径是目录,需要以正斜线(/)结尾。'."\n" + 'description' => '资源包状态,默认值为valid。取值:'."\n" ."\n" - .'> 路径信息不支持模糊匹配,需要指定查询的目录深度,只能设置为一个固定值,例如设置一级目录/path/,表示数据统计时,固定统计一级目录的带宽。', - 'type' => 'string', - 'required' => false, - 'example' => '/path/', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" - .'例如:2016-10-20T04:00:00Z。', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。开始时间和结束时间,间隔小于30天。例如:2016-10-21T04:00:00Z。', + .'- **valid**:有效。'."\n" + ."\n" + .'- **closed**:无效。'."\n" + ."\n" + .'- **exhaust**:耗尽。', 'type' => 'string', 'required' => false, - 'example' => '2016-10-21T04:00:00Z', - ], - ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名。'."\n" - .'>仅支持单个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + 'enumValueTitles' => [], + 'example' => 'valid', + 'default' => 'valid', + 'enum' => ['valid', 'closed', 'exhaust'], ], ], ], @@ -6698,166 +6407,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2017-09-30T17:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2017-09-30T16:00:00Z', - ], - 'PageSize' => [ - 'description' => '页面大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageNumber' => [ - 'description' => '当前页码,从**1**开始计数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '路径带宽数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'PathDataPerInterval' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '84839536-2B7E-457D-9D8C-82E6C7D4E1A3'], + 'ResourcePackageInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UsageData' => [ - 'description' => '路径带宽数据列表。', + 'ResourcePackageInfo' => [ + 'description' => '由ResourcePackageInfo组成的数组格式。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Path' => [ - 'description' => '路径。', - 'type' => 'string', - 'example' => '/path/', - ], - 'Time' => [ - 'description' => '时间点。', - 'type' => 'string', - 'example' => '2017-09-30T16:00:00Z', - ], - 'Acc' => [ - 'description' => '访问次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Traffic' => [ - 'description' => '流量(B)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '346', - ], + 'EndTime' => ['description' => '失效时间。', 'type' => 'string', 'example' => '2018-07-01T08:00:00Z'], + 'Status' => ['description' => '资源包状态。取值:'."\n" + ."\n" + .'- **valid**:有效。'."\n" + ."\n" + .'- **closed**:无效。'."\n" + ."\n" + .'- **exhaust**:耗尽。', 'type' => 'string', 'example' => 'valid'], + 'DisplayName' => ['description' => '套餐包名称。', 'type' => 'string', 'example' => 'Data Transfer Plan in Asia Pacific 1'], + 'StartTime' => ['description' => '生效时间。', 'type' => 'string', 'example' => '2017-12-05T19:10:58Z'], + 'CommodityCode' => ['description' => '资源包商品编码。', 'type' => 'string', 'example' => 'cdnflowbag'], + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'FP-ilttxc23a'], + 'TemplateName' => ['description' => '模版名称。', 'type' => 'string', 'example' => 'FPT_cdn_bag_intl_deadlineAcc_1569491944'], + 'CurrCapacity' => ['description' => '实例当前剩余容量。'."\n" + .'- 流量包单位:Byte。'."\n" + ."\n" + .'- 请求数包单位:次。', 'type' => 'string', 'example' => '53661095687'], + 'InitCapacity' => ['description' => '资源包总量。'."\n" + .'- 流量包单位:Byte。'."\n" + ."\n" + .'- 请求数包单位:次。', 'type' => 'string', 'example' => '107374182400'], + 'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'CN'], + 'CurrCapacityShowValue' => ['description' => '实例当前显示剩余容量。', 'type' => 'string', 'example' => '49.975789'], + 'CurrCapacityShowUnit' => ['description' => '实例当前显示剩余容量单位。', 'type' => 'string', 'example' => 'GB'], + 'CurrCapacityBaseUnit' => ['description' => '实例当前剩余容量单位。', 'type' => 'string', 'example' => 'Byte'], + 'InitCapacityShowValue' => ['description' => '资源包显示总量。', 'type' => 'string', 'example' => '100.000000'], + 'InitCapacityShowUnit' => ['description' => '资源包显示总量单位。', 'type' => 'string', 'example' => 'GB'], + 'InitCapacityBaseUnit' => ['description' => '资源包总量单位。', 'type' => 'string', 'example' => 'Byte'], ], ], ], ], ], - 'RequestId' => [ - 'description' => '请求ID。'."\n", - 'type' => 'string', - 'example' => 'DE81639B-DAC1-4C76-AB72-F34B836837D5', - ], ], ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidPageSize.Malformed', - 'errorMessage' => 'PageSize must be of type Integer', - ], - [ - 'errorCode' => 'InvalidPageSize.ExceedsMaximum', - 'errorMessage' => 'PageSize should be less than or equal to 1000', - ], - [ - 'errorCode' => 'InvalidPageSize.ExceedsMinimum', - 'errorMessage' => 'PageSize should be greater than or equal to 1', - ], - [ - 'errorCode' => 'InvalidPath.Malformed', - 'errorMessage' => 'Path must be of type String', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'StartTime must be of type String', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'EndTime must be of type String', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'DomainName must be of type String', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'DomainName is required', - ], - [ - 'errorCode' => 'InvalidDomainName.TooShort', - 'errorMessage' => 'DomainName should be at least 1 chars long', - ], - [ - 'errorCode' => 'InvalidPageNumber.Malformed', - 'errorMessage' => 'PageNumber must be of type Integer', - ], - [ - 'errorCode' => 'InvalidPageNumber.ExceedsMinimum', - 'errorMessage' => 'PageNumber should be greater than or equal to 1', - ], - [ - 'errorCode' => 'InvalidTime.OverRange', - 'errorMessage' => 'Specified StartTime or EndTime is over range', - ], + 403 => [ + ['errorCode' => 'CdnServiceNotFound', 'errorMessage' => 'Your account does not open CDN service yet.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-09-30T17:00:00Z\\",\\n \\"StartTime\\": \\"2017-09-30T16:00:00Z\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 2,\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"PathDataPerInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Path\\": \\"/path/\\",\\n \\"Time\\": \\"2017-09-30T16:00:00Z\\",\\n \\"Acc\\": 10,\\n \\"Traffic\\": 346\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DE81639B-DAC1-4C76-AB72-F34B836837D5\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainPathDataResponse>\\n<DataInterval>300</DataInterval>\\n<EndTime>2017-09-30T17:00:00Z</EndTime>\\n<PageNumber>1</PageNumber>\\n<PageSize>20</PageSize>\\n<PathDataPerInterval>\\n <UsageData>\\n <Acc>10</Acc>\\n <Path>/path/</Path>\\n <Time>2017-09-30T16:00:00Z</Time>\\n <Traffic>346</Traffic>\\n </UsageData>\\n <UsageData>\\n <Acc>12</Acc>\\n <Path>/path/</Path>\\n <Time>2017-09-30T16:05:00Z</Time>\\n <Traffic>400</Traffic>\\n </UsageData>\\n</PathDataPerInterval>\\n<StartTime>2017-09-30T16:00:00Z</StartTime>\\n<TotalCount>2</TotalCount>\\n</DescribeDomainPathDataResponse>","errorExample":""}]', - 'title' => '按目录维度获取监控数据', - 'description' => '- 该接口仅支持白名单用户(域名峰值带宽10 Gbps以上)调用,需要<props="china">[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</props><props="intl">[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</props>申请,符合条件的情况下将在后台进行配置。'."\n" - .'- 单用户调用频率:6000次/分。'."\n" - .'- 目前仅支持对账号下的指定域名开启目录维度带宽统计,不支持对全部域名开启。'."\n" - .'- 域名下所有文件的平均大小需要大于1 MB。'."\n" - .'- 每个域名的目录数量不超过100个,超过100个目录的情况下,数据的精度将会降低,查询的不准确。'."\n" - .'- 不指定StartTime和EndTime时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" - .'- 最多可获取最近30天的数据。'."\n" - ."\n\n", + 'title' => '查询资源包', + 'summary' => '调用DescribeCdnUserResourcePackage查询CDN用户当前资源包信息。', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainQpsData' => [ - 'summary' => '调用DescribeDomainQpsData获取5分钟计算粒度加速域名的每秒访问次数QPS,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-08T06:55:48.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserResourcePackage'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserResourcePackage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"84839536-2B7E-457D-9D8C-82E6C7D4E1A3\\",\\n \\"ResourcePackageInfos\\": {\\n \\"ResourcePackageInfo\\": [\\n {\\n \\"EndTime\\": \\"2018-07-01T08:00:00Z\\",\\n \\"Status\\": \\"valid\\",\\n \\"DisplayName\\": \\"Data Transfer Plan in Asia Pacific 1\\",\\n \\"StartTime\\": \\"2017-12-05T19:10:58Z\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InstanceId\\": \\"FP-ilttxc23a\\",\\n \\"TemplateName\\": \\"FPT_cdn_bag_intl_deadlineAcc_1569491944\\",\\n \\"CurrCapacity\\": \\"53661095687\\",\\n \\"InitCapacity\\": \\"107374182400\\",\\n \\"Region\\": \\"CN\\",\\n \\"CurrCapacityShowValue\\": \\"49.975789\\",\\n \\"CurrCapacityShowUnit\\": \\"GB\\",\\n \\"CurrCapacityBaseUnit\\": \\"Byte\\",\\n \\"InitCapacityShowValue\\": \\"100.000000\\",\\n \\"InitCapacityShowUnit\\": \\"GB\\",\\n \\"InitCapacityBaseUnit\\": \\"Byte\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"ResourcePackageInfos\\": {\\n \\"ResourcePackageInfo\\": [\\n {\\n \\"Status\\": \\"closed\\",\\n \\"InstanceId\\": \\"FP-mkqgwsyui\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InitCapacity\\": \\"10995116277760\\",\\n \\"EndTime\\": \\"2017-01-30T08:00:00Z\\",\\n \\"StartTime\\": \\"2016-01-30T03:40:06Z\\",\\n \\"DisplayName\\": \\"CDN流量包(国内版)\\",\\n \\"CurrCapacity\\": \\"10995089554629\\"\\n },\\n {\\n \\"Status\\": \\"valid\\",\\n \\"InstanceId\\": \\"FP-ilttxc23a\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InitCapacity\\": \\"536870912000\\",\\n \\"EndTime\\": \\"2018-07-01T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-07-01T01:26:41Z\\",\\n \\"DisplayName\\": \\"CDN流量包(国内版)\\",\\n \\"CurrCapacity\\": \\"0\\"\\n },\\n {\\n \\"Status\\": \\"valid\\",\\n \\"InstanceId\\": \\"CDNHTTPSBAG-cn-v0h0dnlq4000m9\\",\\n \\"CommodityCode\\": \\"cdnhttpsbag\\",\\n \\"InitCapacity\\": \\"10000000\\",\\n \\"EndTime\\": \\"2018-12-06T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-05T19:10:58Z\\",\\n \\"DisplayName\\": \\"CDN HTTPS请求数资源包\\",\\n \\"CurrCapacity\\": \\"9999645\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"84839536-2B7E-457D-9D8C-82E6C7D4E1A3\\"\\n}"},{"type":"xml","example":"<DescribeCdnUserResourcePackageResponse>\\r\\n\\t<ResourcePackageInfos>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>closed</Status>\\r\\n\\t\\t\\t<InstanceId>FP-mkqgwsyui</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnflowbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>10995116277760</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2017-01-30T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2016-01-30T03:40:06Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN流量包(中国内地版)</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>10995089554629</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>valid</Status>\\r\\n\\t\\t\\t<InstanceId>FP-ilttxc23a</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnflowbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>536870912000</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2018-07-01T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2017-07-01T01:26:41Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN流量包(中国内地版)</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>0</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>valid</Status>\\r\\n\\t\\t\\t<InstanceId>CDNHTTPSBAG-cn-v0h0dnlq4000m9</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnhttpsbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>10000000</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2018-12-06T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2017-12-05T19:10:58Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN HTTPS请求数资源包</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>9999645</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t</ResourcePackageInfos>\\r\\n\\t<RequestId>84839536-2B7E-457D-9D8C-82E6C7D4E1A3</RequestId>\\r\\n</DescribeCdnUserResourcePackageResponse>","errorExample":""}]', + ], + 'DescribeCdnWafDomain' => [ + 'summary' => '调用DescribeCdnWafDomain查询WAF全量域名列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6865,78 +6502,139 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111786', - 'abilityTreeNodes' => [ - 'FEATUREcdnL8FLP3', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111755', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'RegionId', 'in' => 'query', 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + 'description' => 'WAF管控区域。取值:'."\n" + .'- **cn-hangzhou**:WAF中国内地(大陆)管控区域。'."\n" + .'- **ap-southeast-1**:WAF非中国内地(大陆)管控区域。'."\n" ."\n" - .'默认查询所有加速域名。', + .'> 非中国内地(大陆)包含中国香港、中国澳门、中国台湾以及其他国家和地区。', 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'required' => true, + 'example' => 'cn-hangzhou', + 'enum' => ['cn-hangzhou', 'ap-southeast-1'], ], ], [ - 'name' => 'StartTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '待查询的域名。'."\n" + ."\n" + .'仅支持填写单个域名,详细见以下三种填写方式:'."\n" + .'- 填写精确域名:例如example.com,则查询example.com域名的配置信息。'."\n" + .'- 填写关键字:例如example,则查询所有包含example的域名配置信息。'."\n" + .'- 不填该参数:则默认返回所有开通了WAF的加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'EndTime', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => '1234'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '加速域名的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CB1A380B-09F0-41BB-802B-72F8FD6DA2FE'], + 'OutPutDomains' => [ + 'description' => '加速域名信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AclStatus' => ['description' => 'ACL状态。取值:'."\n" + .'- **0**:关闭。'."\n" + .'- **1**:开通。', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => 'WAF域名状态。取值:'."\n" + .'- **1**:WAF域名创建成功或WAF域名有效。'."\n" + .'- **10**:WAF域名创建中。'."\n" + .'- **11**:WAF域名创建失败。', 'type' => 'string', 'example' => '1'], + 'Domain' => ['description' => '域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'CcStatus' => ['description' => 'CC状态。取值:'."\n" + .'- **0**:关闭。'."\n" + .'- **1**:开通。', 'type' => 'string', 'example' => '1'], + 'WafStatus' => ['description' => 'WAF状态。取值:'."\n" + .'- **0**:关闭。'."\n" + .'- **1**:开通。', 'type' => 'string', 'example' => '1'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'InvalidParameter.', 'description' => ''], + ['errorCode' => 'InvalidParameterRegionId', 'errorMessage' => 'Invalid Region ID.', 'description' => ''], + ['errorCode' => 'InvalidParameterDomain', 'errorMessage' => 'Invalid Domain Name.', 'description' => ''], + ['errorCode' => 'DomainNotExist ', 'errorMessage' => 'Specified Domain Not Exist.', 'description' => ''], + ], + ], + 'title' => '查询WAF全量域名', + 'description' => '> 单用户调用频率:150次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:23.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnWafDomain'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**接口说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnWafDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CB1A380B-09F0-41BB-802B-72F8FD6DA2FE\\",\\n \\"OutPutDomains\\": [\\n {\\n \\"AclStatus\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"CcStatus\\": \\"1\\",\\n \\"WafStatus\\": \\"1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnWafDomainResponse>\\n<TotalCount>1</TotalCount>\\n<OutputDomains>\\n <AclStatus>1</AclStatus>\\n <CcStatus>1</CcStatus>\\n <Domain>example.com</Domain>\\n <Status>1</Status>\\n <WafStatus>1</WafStatus>\\n</OutputDomains>\\n<RequestId>CB1A380B-09F0-41BB-802B-72F8FD6DA2FE</RequestId>\\n</DescribeCdnWafDomainResponse>","errorExample":""}]', + ], + 'DescribeCertificateInfoByID' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111756', + 'abilityTreeNodes' => ['FEATUREcdnD4PEWG', 'FEATUREcdn4R6KLH'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'LocationNameEn', + 'name' => 'CertId', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '证书ID,仅支持查询单个。', 'type' => 'string', 'required' => true, 'example' => '1644xx'], ], ], 'responses' => [ @@ -6944,165 +6642,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B8333EDB-4595-46E0-AFE9-29BAA290D0E0', - ], - 'DomainName' => [ - 'description' => '加速域名信息。'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'QpsDataInterval' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5C1E43DC-9E51-4771-82C0-7D5ECEB547A1'], + 'CertInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间间隔的QPS数据列表。', + 'CertInfo' => [ + 'description' => '证书信息列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AccValue' => [ - 'description' => '总访问次数。', - 'type' => 'string', - 'example' => '0', - ], - 'AccDomesticValue' => [ - 'description' => '中国内地访问次数。', - 'type' => 'string', - 'example' => '0', - ], - 'AccOverseasValue' => [ - 'description' => '全球(不包含中国内地)访问次数。', - 'type' => 'string', - 'example' => '0', - ], - 'HttpsValue' => [ - 'description' => '节点HTTPS的QPS值。'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'HttpsOverseasValue' => [ - 'description' => '节点HTTPS全球(不包含中国内地)QPS值。'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DomesticValue' => [ - 'description' => '中国内地QPS。', - 'type' => 'string', - 'example' => '0', - ], - 'HttpsAccOverseasValue' => [ - 'description' => '节点全球(不包含中国内地)HTTPS请求数。'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'HttpsDomesticValue' => [ - 'description' => '节点HTTPS中国内地QPS值。'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'HttpsAccValue' => [ - 'description' => '节点HTTPS请求数。'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Value' => [ - 'description' => '总QPS。', - 'type' => 'string', - 'example' => '0', - ], - 'OverseasValue' => [ - 'description' => '全球(不包含中国内地)QPS。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'HttpsAccDomesticValue' => [ - 'description' => '节点中国内地HTTPS请求数。'."\n", - 'type' => 'string', - 'example' => '1', - ], + 'CertExpireTime' => ['description' => '证书过期时间。', 'type' => 'string', 'example' => '2098-02-08 08:02:07 +0000 UTC'], + 'CreateTime' => ['description' => '证书开始时间。', 'type' => 'string', 'example' => '2015-12-21 08:02:07 +0000 UTC'], + 'CertType' => ['description' => '证书类型。'."\n" + .'- free:免费证书。'."\n" + ."\n" + .'- cas:云盾证书。'."\n" + ."\n" + .'- upload:自定义上传。', 'type' => 'string', 'example' => 'cas'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'example_cert'], + 'CertId' => ['description' => '证书ID。', 'type' => 'string', 'example' => '1644xx'], + 'DomainList' => ['description' => '使用此证书的域名列表。', 'type' => 'string', 'example' => '["example.com"]'], + 'HttpsCrt' => ['description' => '证书内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\nxxx-----END CERTIFICATE-----\\n'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ['errorCode' => 'CertNotExisted', 'errorMessage' => 'The Cert doesn\'t exist.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'SignatureDoesNotMatch', 'errorMessage' => 'The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.', 'description' => ''], + ], + ], + 'title' => '查询证书信息-按ID', + 'summary' => '调用DescribeCertificateInfoByID按照证书ID查询指定证书信息。', + 'description' => '- 单用户调用频率:100次/秒。'."\n" + .'- 域名绑定证书后,但证书未启用时,通过该接口查询会提示证书不存在。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCertificateInfoByID'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCertificateInfoByID', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertExpireTime\\": \\"2098-02-08 08:02:07 +0000 UTC\\",\\n \\"CreateTime\\": \\"2015-12-21 08:02:07 +0000 UTC\\",\\n \\"CertType\\": \\"cas\\",\\n \\"CertName\\": \\"example_cert\\",\\n \\"CertId\\": \\"1644xx\\",\\n \\"DomainList\\": \\"[\\\\\\"example.com\\\\\\"]\\",\\n \\"HttpsCrt\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxx-----END CERTIFICATE-----\\\\\\\\n\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCertificateInfoByIDResponse>\\n <RequestId>5C1E43DC-9E51-4771-82C0-7D5ECEB547A1</RequestId>\\n <CertInfos>\\n <CertExpireTime>2098-02-08 08:02:07 +0000 UTC</CertExpireTime>\\n <CreateTime>2015-12-21 08:02:07 +0000 UTC</CreateTime>\\n <CertType>cas</CertType>\\n <CertName>example_cert</CertName>\\n <CertId>1644xx</CertId>\\n <DomainList>[\\"example.com\\"]</DomainList>\\n <HttpsCrt>-----BEGIN CERTIFICATE-----\\\\nxxx-----END CERTIFICATE-----\\\\n</HttpsCrt>\\n </CertInfos>\\n</DescribeCertificateInfoByIDResponse>","errorExample":""}]', + ], + 'DescribeCustomLogConfig' => [ + 'summary' => '调用DescribeCustomLogConfig根据configId查询自定义日志配置详细信息。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111761', + 'abilityTreeNodes' => ['FEATUREcdnEK7SNH'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ConfigId', + 'in' => 'query', + 'schema' => ['description' => '自定义配置ID。', 'type' => 'string', 'required' => true, 'example' => '123'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Tag' => ['description' => '日志配置tag信息。', 'type' => 'string', 'example' => 'img1'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '94E3559F-7B6A-4A5E-AFFD-44E2A208A249'], + 'Remark' => ['description' => '具体配置格式。', 'type' => 'string', 'example' => '$time_iso8601_$request_method_$'], + 'Sample' => ['description' => '样例。', 'type' => 'string', 'example' => '"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\"-\\" \\"GEThttp: //www.aliyun.com/index.html\\" 200'], + ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"B8333EDB-4595-46E0-AFE9-29BAA290D0E0\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"QpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"AccValue\\": \\"0\\",\\n \\"AccDomesticValue\\": \\"0\\",\\n \\"AccOverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"1\\",\\n \\"HttpsOverseasValue\\": \\"1\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"HttpsAccOverseasValue\\": \\"1\\",\\n \\"HttpsDomesticValue\\": \\"1\\",\\n \\"HttpsAccValue\\": \\"1\\",\\n \\"Value\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"HttpsAccDomesticValue\\": \\"1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainQpsDataResponse>\\n <EndTime>2019-11-30T05:40:00Z</EndTime>\\n <StartTime>2019-11-30T05:33:00Z</StartTime>\\n <RequestId>B8333EDB-4595-46E0-AFE9-29BAA290D0E0</RequestId>\\n <DomainName>example.com</DomainName>\\n <DataInterval>300</DataInterval>\\n <QpsDataInterval>\\n <AccValue>0</AccValue>\\n <AccDomesticValue>0</AccDomesticValue>\\n <AccOverseasValue>0</AccOverseasValue>\\n <HttpsValue>1</HttpsValue>\\n <HttpsOverseasValue>1</HttpsOverseasValue>\\n <DomesticValue>0</DomesticValue>\\n <HttpsAccOverseasValue>1</HttpsAccOverseasValue>\\n <HttpsDomesticValue>1</HttpsDomesticValue>\\n <HttpsAccValue>1</HttpsAccValue>\\n <Value>0</Value>\\n <OverseasValue>0</OverseasValue>\\n <TimeStamp>2019-11-30T05:40:00Z</TimeStamp>\\n <HttpsAccDomesticValue>1</HttpsAccDomesticValue>\\n </QpsDataInterval>\\n</DescribeDomainQpsDataResponse>","errorExample":""}]', - 'title' => '查询QPS', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'InvalidConfigId', 'errorMessage' => 'Illegal ConfigId', 'description' => ''], + ], + [ + ['errorCode' => 'Config.NotFound', 'errorMessage' => 'Config does not exist or does not belong to the current user ', 'description' => ''], + ], + ], + 'title' => '查询自定义日志配置-按日志配置ID', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainQpsDataByLayer' => [ - 'summary' => '调用DescribeDomainQpsDataByLayer查询加速域名的每秒访问次数QPS,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:23.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-01-03T07:44:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLogConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Tag\\": \\"img1\\",\\n \\"RequestId\\": \\"94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\",\\n \\"Remark\\": \\"$time_iso8601_$request_method_$\\",\\n \\"Sample\\": \\"\\\\\\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\\\\\\\\\\\\"-\\\\\\\\\\\\\\" \\\\\\\\\\\\\\"GEThttp: //www.aliyun.com/index.html\\\\\\\\\\\\\\" 200\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLogConfigResponse>\\n <Tag>img1</Tag>\\n <RequestId>94E3559F-7B6A-4A5E-AFFD-44E2A208A249</RequestId>\\n <Remark>$time_iso8601_$request_method_$</Remark>\\n <Sample>\\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\\\\"-\\\\\\" \\\\\\"GEThttp: //www.aliyun.com/index.html\\\\\\" 200</Sample>\\n</DescribeCustomLogConfigResponse>","errorExample":""}]', + ], + 'DescribeDomainAverageResponseTime' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7111,93 +6804,61 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111787', - 'abilityTreeNodes' => [ - 'FEATUREcdnL8FLP3', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111763', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ + 'name' => 'TimeMerge', + 'in' => 'query', + 'schema' => ['description' => '是否自适应计算Interval值,如果**timeMerge**=**1**,会根据startTime和endTime计算出合适的inteval值,和Interval参数任选。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'DomainType', + 'in' => 'query', + 'schema' => ['description' => '查询类型。传dynamic时,查询全站加速动态资源的平均响应时间和静态资源的平均响应时间;默认不传,查询静态资源的平均响应时间。'."\n", 'type' => 'string', 'required' => false, 'example' => 'domaintype'], + ], + [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。获取日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '查询数据的时间粒度,单位:秒。根据您指定**StartTime**和**EndTime**两者的时间跨度,该参数取值如下:'."\n" + ."\n" + .'- 3天以内(不包含3天整)支持**300**、**3600**、 **86400**,如果不传该参数,默认值为**300**。'."\n" + ."\n" + .'- 3-31天(不包含31天整)支持**3600**和**86400**,如果不传该参数,默认值为**3600**。'."\n" + ."\n" + .'- 31天及以上支持**86400**,如果不传该参数,默认值为**86400**。', 'type' => 'string', 'required' => false, 'example' => '300'], ], [ 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], ], [ 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], - ], - [ - 'name' => 'Layer', - 'in' => 'query', - 'schema' => [ - 'description' => '查询维度。取值:'."\n" - ."\n" - .'- **网络层**:**IPv4**、**IPv6**。'."\n" - ."\n" - .'- **应用层**:**http**、**https**、**quic**。'."\n" - ."\n" - .'- **all**(默认值):包含网络层和应用层。', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -7205,141 +6866,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664', - ], - 'Layer' => [ - 'description' => '返回的查询维度。', - 'type' => 'string', - 'example' => 'all', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'QpsDataInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '数据时间间隔。', 'type' => 'string', 'example' => '300'], + 'AvgRTPerInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataModule' => [ - 'description' => '每个时间间隔的QPS数据列表。', + 'description' => '每个时间点平均响应时间列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'QPS总数。', - 'type' => 'string', - 'example' => '0.56', - ], - 'AccValue' => [ - 'description' => '总请求次数。', - 'type' => 'string', - 'example' => '56', - ], - 'AccDomesticValue' => [ - 'description' => '中国内地请求数。', - 'type' => 'string', - 'example' => '12', - ], - 'OverseasValue' => [ - 'description' => '全球(不包含中国内地)QPS。', - 'type' => 'string', - 'example' => '0.44', - ], - 'AccOverseasValue' => [ - 'description' => '全球(不包含中国内地)请求数。', - 'type' => 'string', - 'example' => '44', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], - 'DomesticValue' => [ - 'description' => '中国内地QPS。', - 'type' => 'string', - 'example' => '0.12', - ], + 'Value' => ['description' => '平均响应时间。', 'type' => 'string', 'example' => '3'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified StartTime is invalid.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidIspParameter', 'errorMessage' => 'The specified Isp is invalid.', 'description' => '指定的Isp无效。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Layer\\": \\"all\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"QpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0.56\\",\\n \\"AccValue\\": \\"56\\",\\n \\"AccDomesticValue\\": \\"12\\",\\n \\"OverseasValue\\": \\"0.44\\",\\n \\"AccOverseasValue\\": \\"44\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\",\\n \\"DomesticValue\\": \\"0.12\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainQpsDataByLayerResponse>\\n <EndTime>2019-11-30T05:40:00Z</EndTime>\\n <StartTime>2019-11-30T05:33:00Z</StartTime>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <Layer>all</Layer>\\n <DomainName>example.com</DomainName>\\n <DataInterval>300</DataInterval>\\n <QpsDataInterval>\\n <Value>0.56</Value>\\n <AccValue>56</AccValue>\\n <AccDomesticValue>12</AccDomesticValue>\\n <OverseasValue>0.44</OverseasValue>\\n <AccOverseasValue>44</AccOverseasValue>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <DomesticValue>0.12</DomesticValue>\\n </QpsDataInterval>\\n</DescribeDomainQpsDataByLayerResponse>","errorExample":""}]', - 'title' => '查询QPS-按协议', - 'description' => '- 单用户调用频率:20次/秒。'."\n" - .'- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + 'title' => '获取平均响应时间数据', + 'summary' => '调DescribeDomainAverageResponseTime获取加速域名的平均响应时间,支持获取最近90天的数据', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" + .'> - 单用户调用频率:100次/秒。'."\n" + .'> - 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:14:19.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAverageResponseTime'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainAverageResponseTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ['validationType' => 'conditional', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"AvgRTPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"3\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-11T21:00:00Z\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"AvgRTPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"3\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:05:00Z\\",\\n \\"Value\\": \\"3\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeDomainAverageResponseTimeResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\r\\n\\t<StartTime>2019-11-30T05:33:00Z</StartTime>\\r\\n\\t<EndTime>2019-11-30T05:40:00Z</EndTime>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<AvgRTPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:33:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>3</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:38:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>3</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</AvgRTPerInterval>\\r\\n</DescribeDomainAverageResponseTimeResponse>\\r\\n\\t\\r\\n","errorExample":""}]', ], 'DescribeDomainBpsData' => [ - 'summary' => '调用DescribeDomainBpsData查询带宽数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7348,81 +6951,51 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111764', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名使用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名使用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-14T09:50:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-05-14T09:50:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-14T10:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2020-05-14T10:00:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], [ 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -7430,41 +7003,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2020-05-14T09:50:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F', - ], - 'IspNameEn' => [ - 'description' => '运营商英文名。', - 'type' => 'string', - 'example' => 'unicom', - ], - 'LocationNameEn' => [ - 'description' => '地域英文名。', - 'type' => 'string', - 'example' => 'beijing', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔。单位:秒。', - 'type' => 'string', - 'example' => '300', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2015-12-10T20:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2020-05-14T09:50:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F'], + 'IspNameEn' => ['description' => '运营商英文名。', 'type' => 'string', 'example' => 'unicom'], + 'LocationNameEn' => ['description' => '地域英文名。', 'type' => 'string', 'example' => 'beijing'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔。单位:秒。', 'type' => 'string', 'example' => '300'], 'BpsDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, @@ -7475,72 +7020,35 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'HttpsDomesticValue' => [ - 'description' => '边缘节点HTTPS中国内地带宽。当按区域运营商查询时,此值为空。', - 'type' => 'string', - 'example' => '11286111', - ], - 'Value' => [ - 'description' => '带宽。单位:bit/s。', - 'type' => 'string', - 'example' => '11288111', - ], - 'OverseasValue' => [ - 'description' => '全球(不包含中国内地)带宽。当按区域运营商查询时,此值为空。', - 'type' => 'string', - 'example' => '2000', - ], - 'HttpsValue' => [ - 'description' => '边缘节点HTTPS的带宽数据值。单位:bit/s。', - 'type' => 'string', - 'example' => '11288111', - ], - 'HttpsOverseasValue' => [ - 'description' => '边缘节点全球(不包含中国内地)HTTPS带宽。当按区域运营商查询时,此值为空。', - 'type' => 'string', - 'example' => '2000', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'DomesticValue' => [ - 'description' => '中国内地带宽。当按区域运营商查询时,此值为空。', - 'type' => 'string', - 'example' => '11286111', - ], + 'HttpsDomesticValue' => ['description' => '边缘节点HTTPS中国内地带宽。当按区域运营商查询时,此值为空。', 'type' => 'string', 'example' => '11286111'], + 'Value' => ['description' => '带宽。单位:bit/s。', 'type' => 'string', 'example' => '11288111'], + 'OverseasValue' => ['description' => '全球(不包含中国内地)带宽。当按区域运营商查询时,此值为空。', 'type' => 'string', 'example' => '2000'], + 'HttpsValue' => ['description' => '边缘节点HTTPS的带宽数据值。单位:bit/s。', 'type' => 'string', 'example' => '11288111'], + 'HttpsOverseasValue' => ['description' => '边缘节点全球(不包含中国内地)HTTPS带宽。当按区域运营商查询时,此值为空。', 'type' => 'string', 'example' => '2000'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'DomesticValue' => ['description' => '中国内地带宽。当按区域运营商查询时,此值为空。', 'type' => 'string', 'example' => '11286111'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T20:00Z\\",\\n \\"StartTime\\": \\"2020-05-14T09:50:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"IspNameEn\\": \\"unicom\\",\\n \\"LocationNameEn\\": \\"beijing\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"BpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"HttpsDomesticValue\\": \\"11286111\\",\\n \\"Value\\": \\"11288111\\",\\n \\"OverseasValue\\": \\"2000\\",\\n \\"HttpsValue\\": \\"11288111\\",\\n \\"HttpsOverseasValue\\": \\"2000\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticValue\\": \\"11286111\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainBpsDataResponse>\\n<RequestId>0AD87822-E8CE-436B-B434-C13F53B5B2D4</RequestId>\\n<EndTime>2020-05-14T10:00:00Z</EndTime>\\n<DataInterval>300</DataInterval>\\n<StartTime>2020-05-14T09:50:00Z</StartTime>\\n<BpsDataPerInterval>\\n <DataModule>\\n <OverseasValue>0</OverseasValue>\\n <HttpsValue>0</HttpsValue>\\n <Value>83.48266666666667</Value>\\n <HttpsDomesticValue>0</HttpsDomesticValue>\\n <TimeStamp>2020-05-14T09:50:00Z</TimeStamp>\\n <HttpsOverseasValue>0</HttpsOverseasValue>\\n <DomesticValue>83.48266666666667</DomesticValue>\\n </DataModule>\\n <DataModule>\\n <OverseasValue>0</OverseasValue>\\n <HttpsValue>0</HttpsValue>\\n <Value>83.424</Value>\\n <HttpsDomesticValue>0</HttpsDomesticValue>\\n <TimeStamp>2020-05-14T09:55:00Z</TimeStamp>\\n <HttpsOverseasValue>0</HttpsOverseasValue>\\n <DomesticValue>83.424</DomesticValue>\\n </DataModule>\\n</BpsDataPerInterval>\\n</DescribeDomainBpsDataResponse>","errorExample":""}]', 'title' => '查询带宽', + 'summary' => '调用DescribeDomainBpsData查询带宽数据。', 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" .'**支持查询的时间粒度**'."\n" @@ -7554,17 +7062,34 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainBpsDataByLayer' => [ - 'summary' => '调用DescribeDomainBpsDataByLayer按协议分类获取带宽数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T20:00Z\\",\\n \\"StartTime\\": \\"2020-05-14T09:50:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"IspNameEn\\": \\"unicom\\",\\n \\"LocationNameEn\\": \\"beijing\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"BpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"HttpsDomesticValue\\": \\"11286111\\",\\n \\"Value\\": \\"11288111\\",\\n \\"OverseasValue\\": \\"2000\\",\\n \\"HttpsValue\\": \\"11288111\\",\\n \\"HttpsOverseasValue\\": \\"2000\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticValue\\": \\"11286111\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainBpsDataResponse>\\n<RequestId>0AD87822-E8CE-436B-B434-C13F53B5B2D4</RequestId>\\n<EndTime>2020-05-14T10:00:00Z</EndTime>\\n<DataInterval>300</DataInterval>\\n<StartTime>2020-05-14T09:50:00Z</StartTime>\\n<BpsDataPerInterval>\\n <DataModule>\\n <OverseasValue>0</OverseasValue>\\n <HttpsValue>0</HttpsValue>\\n <Value>83.48266666666667</Value>\\n <HttpsDomesticValue>0</HttpsDomesticValue>\\n <TimeStamp>2020-05-14T09:50:00Z</TimeStamp>\\n <HttpsOverseasValue>0</HttpsOverseasValue>\\n <DomesticValue>83.48266666666667</DomesticValue>\\n </DataModule>\\n <DataModule>\\n <OverseasValue>0</OverseasValue>\\n <HttpsValue>0</HttpsValue>\\n <Value>83.424</Value>\\n <HttpsDomesticValue>0</HttpsDomesticValue>\\n <TimeStamp>2020-05-14T09:55:00Z</TimeStamp>\\n <HttpsOverseasValue>0</HttpsOverseasValue>\\n <DomesticValue>83.424</DomesticValue>\\n </DataModule>\\n</BpsDataPerInterval>\\n</DescribeDomainBpsDataResponse>","errorExample":""}]', + ], + 'DescribeDomainBpsDataByLayer' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7573,96 +7098,61 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111765', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'> 不传该参数,默认返回所有加速域名合并后的数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'> 不传该参数,默认返回所有加速域名合并后的数据。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-06T07:10:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-05-06T07:10:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-06T07:20:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2020-05-06T07:20:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], [ 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名。通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)接口获得,默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], + 'schema' => ['description' => '运营商英文名。通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)接口获得,默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], ], [ 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名。通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)接口获得,默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '地域英文名。通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)接口获得,默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], [ 'name' => 'Layer', 'in' => 'query', - 'schema' => [ - 'description' => '查询维度。'."\n" - .'- 网络层:**IPv4**、**IPv6**。'."\n" - .'- 应用层:**http**、**https**、**quic**。'."\n" - .'- **all**:包含网络层和应用层。'."\n" - ."\n" - .'默认值为**all**。', - 'type' => 'string', - 'required' => false, - 'example' => 'IPv4', - ], + 'schema' => ['description' => '查询维度。'."\n" + .'- 网络层:**IPv4**、**IPv6**。'."\n" + .'- 应用层:**http**、**https**、**quic**。'."\n" + .'- **all**:包含网络层和应用层。'."\n" + ."\n" + .'默认值为**all**。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'], ], ], 'responses' => [ @@ -7670,16 +7160,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位为秒。', - 'type' => 'string', - 'example' => '300', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C565B910-BC3B-467B-9046-2A48566EA967', - ], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位为秒。', 'type' => 'string', 'example' => '300'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C565B910-BC3B-467B-9046-2A48566EA967'], 'BpsDataInterval' => [ 'type' => 'object', 'itemNode' => true, @@ -7690,62 +7172,35 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '峰值带宽,单位:bps。', - 'type' => 'string', - 'example' => '75.68', - ], - 'TrafficValue' => [ - 'description' => '总流量,单位:Byte。', - 'type' => 'string', - 'example' => '2838', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2020-05-06T07:10:00Z', - ], + 'Value' => ['description' => '峰值带宽,单位:bps。', 'type' => 'string', 'example' => '75.68'], + 'TrafficValue' => ['description' => '总流量,单位:Byte。', 'type' => 'string', 'example' => '2838'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2020-05-06T07:10:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'InvaildParameter', - 'errorMessage' => 'The parameter you provided is invalid.', - ], + ['errorCode' => 'InvaildParameter', 'errorMessage' => 'The parameter you provided is invalid.', 'description' => '域名不能包含下划线、斜杠等特殊符号,请检查域名格式后重新填写'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DataInterval\\": \\"300\\",\\n \\"RequestId\\": \\"C565B910-BC3B-467B-9046-2A48566EA967\\",\\n \\"BpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"75.68\\",\\n \\"TrafficValue\\": \\"2838\\",\\n \\"TimeStamp\\": \\"2020-05-06T07:10:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainBpsDataByLayerResponse>\\n <RequestId>C565B910-BC3B-467B-9046-2A48566EA967</RequestId>\\n <DataInterval>300</DataInterval>\\n <BpsDataInterval>\\n <DataModule>\\n <Value>75.68</Value>\\n <TrafficValue>2838</TrafficValue>\\n <TimeStamp>2020-05-06T07:10:00Z</TimeStamp>\\n </DataModule>\\n <DataModule>\\n <Value>99138.85333333333</Value>\\n <TrafficValue>3717707</TrafficValue>\\n <TimeStamp>2020-05-06T07:15:00Z</TimeStamp>\\n </DataModule>\\n </BpsDataInterval>\\n</DescribeDomainBpsDataByLayerResponse>","errorExample":""}]', 'title' => '查询带宽-按协议', + 'summary' => '调用DescribeDomainBpsDataByLayer按协议分类获取带宽数据。', 'description' => '- 单用户调用频率:20次/秒。'."\n" .'- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" @@ -7761,17 +7216,35 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-01-22T02:52:50.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-06-13T07:29:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsDataByLayer'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DataInterval\\": \\"300\\",\\n \\"RequestId\\": \\"C565B910-BC3B-467B-9046-2A48566EA967\\",\\n \\"BpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"75.68\\",\\n \\"TrafficValue\\": \\"2838\\",\\n \\"TimeStamp\\": \\"2020-05-06T07:10:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainBpsDataByLayerResponse>\\n <RequestId>C565B910-BC3B-467B-9046-2A48566EA967</RequestId>\\n <DataInterval>300</DataInterval>\\n <BpsDataInterval>\\n <DataModule>\\n <Value>75.68</Value>\\n <TrafficValue>2838</TrafficValue>\\n <TimeStamp>2020-05-06T07:10:00Z</TimeStamp>\\n </DataModule>\\n <DataModule>\\n <Value>99138.85333333333</Value>\\n <TrafficValue>3717707</TrafficValue>\\n <TimeStamp>2020-05-06T07:15:00Z</TimeStamp>\\n </DataModule>\\n </BpsDataInterval>\\n</DescribeDomainBpsDataByLayerResponse>","errorExample":""}]', ], 'DescribeDomainBpsDataByTimeStamp' => [ - 'summary' => '调用DescribeDomainBpsDataByTimeStamp查询加速域名的在某个时刻不同运营商和区域的带宽数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7780,57 +7253,37 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111766', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的域名,仅支持查询单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '要查询的域名,仅支持查询单个。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'TimePoint', 'in' => 'query', - 'schema' => [ - 'description' => '查询目标时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 查询数据粒度为5分钟。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '查询目标时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 查询数据粒度为5分钟。', 'type' => 'string', 'required' => true, 'example' => '2019-11-30T05:40:00Z'], ], [ 'name' => 'IspNames', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,多个用半角逗号(,)分隔。'."\n" - ."\n" - .'通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'unicom,telecom', - ], + 'schema' => ['description' => '运营商英文名,多个用半角逗号(,)分隔。'."\n" + ."\n" + .'通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', 'type' => 'string', 'required' => true, 'example' => 'unicom,telecom'], ], [ 'name' => 'LocationNames', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,多个用半角逗号(,)隔开。'."\n" - ."\n" - .'通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'liaoning,guangxi', - ], + 'schema' => ['description' => '地域英文名,多个用半角逗号(,)隔开。'."\n" + ."\n" + .'通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', 'type' => 'string', 'required' => true, 'example' => 'liaoning,guangxi'], ], ], 'responses' => [ @@ -7838,21 +7291,9 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时刻。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], + 'TimeStamp' => ['description' => '时刻。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], 'BpsDataList' => [ 'type' => 'object', 'itemNode' => true, @@ -7863,58 +7304,32 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'LocationName' => [ - 'description' => '地域英文名。', - 'type' => 'string', - 'example' => 'Liaoning', - ], - 'TimeStamp' => [ - 'description' => '时间片起始片刻。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'IspName' => [ - 'description' => '运营商英文名。', - 'type' => 'string', - 'example' => 'unicom', - ], - 'Bps' => [ - 'description' => '对应的带宽值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '52119553', - ], + 'LocationName' => ['description' => '地域英文名。', 'type' => 'string', 'example' => 'Liaoning'], + 'TimeStamp' => ['description' => '时间片起始片刻。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'IspName' => ['description' => '运营商英文名。', 'type' => 'string', 'example' => 'unicom'], + 'Bps' => ['description' => '对应的带宽值。', 'type' => 'integer', 'format' => 'int64', 'example' => '52119553'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"BpsDataList\\": {\\n \\"BpsDataModel\\": [\\n {\\n \\"LocationName\\": \\"Liaoning\\",\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"IspName\\": \\"unicom\\",\\n \\"Bps\\": 52119553\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainBpsDataByTimeStampResponse>\\r\\n <BpsDataList>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Liaoning</LocationName>\\r\\n\\t\\t\\t<Bps>880996111</Bps>\\r\\n\\t\\t\\t<IspName>telecom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Liaoning</LocationName>\\r\\n\\t\\t\\t<Bps>52119553</Bps>\\r\\n\\t\\t\\t<IspName>unicom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Guangxi</LocationName>\\r\\n\\t\\t\\t<Bps>51295137</Bps>\\r\\n\\t\\t\\t<IspName>telecom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Guangxi</LocationName>\\r\\n\\t\\t\\t<Bps>18673571</Bps>\\r\\n\\t\\t\\t<IspName>unicom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n <TimeStamp>2016-08-01T22:00Z</TimeStamp>\\r\\n\\t<RequestId>7682DE14-3B4D-48D0-9B7C-DD3C8C3E1C78</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n </BpsDataList>\\r\\n</DescribeDomainBpsDataByTimeStampResponse>\\r\\n\\r\\n","errorExample":""}]', 'title' => '查询带宽-按时间戳', + 'summary' => '调用DescribeDomainBpsDataByTimeStamp查询加速域名的在某个时刻不同运营商和区域的带宽数据。', 'description' => '- 获取数据单位:bit/second。'."\n" .'- 不支持批量域名查询。'."\n" .'- 数据精确到5分钟粒度。'."\n" @@ -7930,17 +7345,34 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainTrafficData' => [ - 'summary' => '调用DescribeDomainTrafficData查询加速域名的网络流量监控数据,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsDataByTimeStamp'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsDataByTimeStamp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"BpsDataList\\": {\\n \\"BpsDataModel\\": [\\n {\\n \\"LocationName\\": \\"Liaoning\\",\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"IspName\\": \\"unicom\\",\\n \\"Bps\\": 52119553\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainBpsDataByTimeStampResponse>\\r\\n <BpsDataList>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Liaoning</LocationName>\\r\\n\\t\\t\\t<Bps>880996111</Bps>\\r\\n\\t\\t\\t<IspName>telecom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Liaoning</LocationName>\\r\\n\\t\\t\\t<Bps>52119553</Bps>\\r\\n\\t\\t\\t<IspName>unicom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Guangxi</LocationName>\\r\\n\\t\\t\\t<Bps>51295137</Bps>\\r\\n\\t\\t\\t<IspName>telecom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n\\t\\t<BpsDataModel>\\r\\n\\t\\t\\t<LocationName>Guangxi</LocationName>\\r\\n\\t\\t\\t<Bps>18673571</Bps>\\r\\n\\t\\t\\t<IspName>unicom</IspName>\\r\\n\\t\\t</BpsDataModel>\\r\\n <TimeStamp>2016-08-01T22:00Z</TimeStamp>\\r\\n\\t<RequestId>7682DE14-3B4D-48D0-9B7C-DD3C8C3E1C78</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n </BpsDataList>\\r\\n</DescribeDomainBpsDataByTimeStampResponse>\\r\\n\\r\\n","errorExample":""}]', + ], + 'DescribeDomainCcActivityLog' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7948,161 +7380,340 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111814', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111767', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的加速域名。支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'若参数为空,默认返回所有加速域名合并后的数据。'."\n", 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-10T20:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'最小数据粒度为5分钟。'."\n" + ."\n" + .'若该参数为空,默认读取过去24小时数据。', 'type' => 'string', 'required' => false, 'example' => '2018-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-10T21:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2018-12-10T21:00:00Z'], ], [ - 'name' => 'Interval', + 'name' => 'TriggerObject', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '触发对象。'."\n" + ."\n" + .'若该参数为空,则查询所有拦截事件。', 'type' => 'string', 'required' => false, 'example' => 'IP'], ], [ - 'name' => 'IspNameEn', + 'name' => 'Value', 'in' => 'query', + 'schema' => ['description' => '触发对象值'."\n" + ."\n" + .'若该参数为空,则查询所有拦截事件。', 'type' => 'string', 'required' => false, 'example' => '1.2.3.4'], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => '自定义规则名。取值:'."\n" + .'- 正常模式规则:default_normal。'."\n" + .'- 紧急模式规则:default_attack。'."\n" + ."\n" + .'若该参数为空,则查询所有拦截事件。', 'type' => 'string', 'required' => false, 'example' => 'test2'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '单页显示数量。默认值:**30**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'example' => '30', 'default' => '30'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页码。默认值:**1** 。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)获得。'."\n" - ."\n" - .'默认查询所有运营商数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '返回数据的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F'], + 'PageSize' => ['description' => '单页显示数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'Total' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'ActivityLog' => [ + 'description' => '拦截事件日志列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '触发对象值。', 'type' => 'string', 'example' => '1.2.3.4'], + 'Ttl' => ['description' => '生效时长,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'Action' => ['description' => '拦截动作。', 'type' => 'string', 'example' => 'deny'], + 'TriggerObject' => ['description' => '触发对象。', 'type' => 'string', 'example' => 'Ip'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'RuleName' => ['description' => '拦截自定义规则名称。', 'type' => 'string', 'example' => 'test'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '用户参数中EndTime早于StartTime'], + ], + ], + 'title' => '查询频次控制规则拦截日志', + 'summary' => '调用DescribeDomainCcActivityLog查询频次控制规则拦截日志。', + 'description' => '- 不指定StartTime和EndTime时,该接口默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持20个域名查询。'."\n" + .'- 最多可获取30天的数据。'."\n" + .'- 单用户调用频率:50次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCcActivityLog'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCcActivityLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"PageSize\\": 30,\\n \\"Total\\": 20,\\n \\"ActivityLog\\": [\\n {\\n \\"Value\\": \\"1.2.3.4\\",\\n \\"Ttl\\": 300,\\n \\"Action\\": \\"deny\\",\\n \\"TriggerObject\\": \\"Ip\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainCcActivityLogResponse>\\n<Total>20</Total>\\n<PageSize>30</PageSize>\\n<PageIndex>1</PageIndex>\\n<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\n<ActivityLog>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <Value>1.2.3.4</Value>\\n <TriggerObject>Ip</TriggerObject>\\n <DomainName>example.com</DomainName>\\n <Ttl>300</Ttl>\\n <Action>deny</Action>\\n <RuleName>test2</RuleName>\\n</ActivityLog>\\n<ActivityLog>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <Value>safari 5.1 – Windows</Value>\\n <TriggerObject>Header_UserAgent</TriggerObject>\\n <DomainName>example.com</DomainName>\\n <Ttl>300</Ttl>\\n <Action>deny</Action>\\n <RuleName>test2</RuleName>\\n</ActivityLog>\\n</DescribeDomainCcActivityLogResponse>","errorExample":""}]', + ], + 'DescribeDomainCertificateInfo' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'LocationNameEn', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111768', + 'abilityTreeNodes' => ['FEATUREcdnD4PEWG', 'FEATUREcdn4R6KLH'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', 'in' => 'query', + 'schema' => ['description' => '加速域名,仅支持单个查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)获得。'."\n" - ."\n" - .'默认查询所有地域数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5C1E43DC-9E51-4771-82C0-7D5ECEB547A1'], + 'CertInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CertInfo' => [ + 'description' => '证书信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CertExpireTime' => ['description' => '证书过期时间。', 'type' => 'string', 'example' => '2018-06-03T22:03:39Z'], + 'CertLife' => ['description' => '证书时长单位。'."\n" + ."\n" + .'- **months**:月。'."\n" + .'- **years**:年。', 'type' => 'string', 'example' => 'months'], + 'Status' => ['description' => '证书状态。'."\n" + ."\n" + .'- **success**:已生效。'."\n" + .'- **checking**:检测域名是否在阿里云CDN。'."\n" + .'- **cname_error**:域名没有切到阿里云CDN。'."\n" + .'- **top\\_domain\\_cname\\_error**:顶级域名没有切到阿里云CDN。'."\n" + .'- **domain\\_invalid**:域名包含非法字符。'."\n" + .'- **unsupport\\_wildcard**:不支持泛域名。'."\n" + .'- **applying**:证书申请中。'."\n" + .'- **get\\_token\\_timeout**:证书申请超时。'."\n" + .'- **check\\_token\\_timeout**:校验超时。'."\n" + .'- **get\\_cert\\_timeout**:获取证书超时。'."\n" + .'- **failed**:证书申请失败。', 'type' => 'string', 'example' => 'success'], + 'CertUpdateTime' => ['description' => '证书更新时间。', 'type' => 'string', 'example' => '2018-06-03T22:03:39Z'], + 'CertDomainName' => ['description' => '证书匹配的域名。', 'type' => 'string', 'example' => 'example.com'], + 'ServerCertificateStatus' => ['description' => 'https开启状态。'."\n" + ."\n" + .'- **on**:已开启。'."\n" + ."\n" + .'- **off**:未开启。', 'type' => 'string', 'example' => 'on'], + 'CertOrg' => ['description' => '该证书签发的CA名称。', 'type' => 'string', 'example' => 'Let\'s Encrypt'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'CertStartTime' => ['description' => '证书开始时间。', 'type' => 'string', 'example' => '2018-06-03T22:03:39Z'], + 'CertType' => ['description' => '证书类型。'."\n" + ."\n" + .'- **free**:免费证书。'."\n" + ."\n" + .'- **cas**:云盾证书。'."\n" + ."\n" + .'- **upload**:自定义上传。', 'type' => 'string', 'example' => 'free'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'example.com'], + 'DomainCnameStatus' => ['description' => '域名CNAME状态。'."\n" + ."\n" + .'- **ok**:域名CNAME已切到阿里云CDN。'."\n" + ."\n" + .'- **cname_error**:域名CNAME错误,没有切到阿里云CDN。'."\n" + ."\n" + .'- **top_domain_cname_error**:顶级域名CNAME错误,没有切到阿里云CDN。'."\n" + ."\n" + .'- **unsupport_wildcard**:不支持泛域名。', 'type' => 'string', 'example' => 'ok'], + 'ServerCertificate' => ['description' => '证书公钥。', 'type' => 'string', 'example' => 'asdadaxxxx'], + 'CertId' => ['description' => '证书ID。', 'type' => 'string', 'example' => '9002448'], + 'CertRegion' => ['description' => '证书区域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + 'description' => '', ], ], ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'SignatureDoesNotMatch', 'errorMessage' => 'The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to internal error.', 'description' => ''], + ], + ], + 'title' => '查询域名证书信息', + 'summary' => '调用DescribeDomainCertificateInfo查询指定加速域名证书信息。', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-09-16T05:42:26.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-12T03:03:46.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCertificateInfo'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCertificateInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertExpireTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertLife\\": \\"months\\",\\n \\"Status\\": \\"success\\",\\n \\"CertUpdateTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertDomainName\\": \\"example.com\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertOrg\\": \\"Let\'s Encrypt\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CertStartTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertType\\": \\"free\\",\\n \\"CertName\\": \\"example.com\\",\\n \\"DomainCnameStatus\\": \\"ok\\",\\n \\"ServerCertificate\\": \\"asdadaxxxx\\",\\n \\"CertId\\": \\"9002448\\",\\n \\"CertRegion\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainCertificateInfoResponse>\\n <RequestId>5C1E43DC-9E51-4771-82C0-7D5ECEB547A1</RequestId>\\n <CertInfos>\\n <CertExpireTime>2018-06-03T22:03:39Z</CertExpireTime>\\n <CertLife>months</CertLife>\\n <Status>success</Status>\\n <CertUpdateTime>2018-06-03T22:03:39Z</CertUpdateTime>\\n <CertDomainName>example.com</CertDomainName>\\n <ServerCertificateStatus>on</ServerCertificateStatus>\\n <CertOrg>Let\'s Encrypt</CertOrg>\\n <DomainName>example.com</DomainName>\\n <CertStartTime>2018-06-03T22:03:39Z</CertStartTime>\\n <CertType>free</CertType>\\n <CertName>example.com</CertName>\\n <DomainCnameStatus>ok</DomainCnameStatus>\\n <ServerCertificate>asdadaxxxx</ServerCertificate>\\n </CertInfos>\\n</DescribeDomainCertificateInfoResponse>","errorExample":""}]', + ], + 'DescribeDomainCname' => [ + 'summary' => '调用接口对加速域名 Cname 进行解析检测,查看解析结果判断是否完成Cname配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111769', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '需要查询的加速域名,多个用逗号(,)分隔。参数不可为空', 'type' => 'string', 'required' => true, 'example' => 'example.com,example.org'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '检测结果', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。'."\n", - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。'."\n", - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B955107D-E658-4E77-B913-E0AC3D31693E', - ], - 'DomainName' => [ - 'description' => '加速域名信息。'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'TrafficDataPerInterval' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '06D29681-B7CD-4034-A8CC-28AFFA213539'], + 'CnameDatas' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间间隔的流量数据列表。单位:Byte。', + 'Data' => [ + 'description' => 'Cname检测结果数组。', 'type' => 'array', 'items' => [ + 'description' => 'Cname信息', 'type' => 'object', 'properties' => [ - 'HttpsDomesticValue' => [ - 'description' => 'L1节点的HTTPS流量(中国内地)。', - 'type' => 'string', - 'example' => '0', - ], - 'Value' => [ - 'description' => '总流量。'."\n", - 'type' => 'string', - 'example' => '423304182', - ], - 'OverseasValue' => [ - 'description' => '全球(不包含中国内地)流量。'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'HttpsValue' => [ - 'description' => 'L1节点的HTTPS总流量。'."\n", - 'type' => 'string', - 'example' => '423304182', - ], - 'HttpsOverseasValue' => [ - 'description' => 'L1节点的HTTPS流量(全球(不包含中国内地))。'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。'."\n", - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'DomesticValue' => [ - 'description' => '中国内地流量。'."\n", - 'type' => 'string', + 'Status' => [ + 'description' => 'Cname检查结果。取值:'."\n" + ."\n" + .'- 0 表示通过域名解析检测到分配给域名的cname。'."\n" + .'- 1 表示通过域名解析暂未监测到分配给域名的cname。'."\n" + .'- -1 表示通过域名解析检测到分配给域名的cname超时', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['0', '1', -1 => '-1'], 'example' => '0', ], + 'Domain' => ['description' => '输入参数中的加速域名。', 'type' => 'string', 'example' => 'a.com'], + 'Cname' => ['description' => '阿里云CDN分配给域名的Cname', 'type' => 'string', 'example' => 'a.com.w.alikunlun.net'], + 'Passed' => ['description' => '通过域名解析检测到分配给域名的cname是否通过,取值:'."\n" + .'- true: 通过'."\n" + .'- false: 不通过'."\n" + .'- timeout: 超时', 'type' => 'string', 'example' => 'true'], + 'ErrMsg' => ['description' => '通过域名解析检测到分配给域名的cname不通过或超时的错误信息。', 'type' => 'string', 'example' => 'timeout'], ], ], ], @@ -8114,54 +7725,116 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ['errorCode' => 'DomainNameOverLimit', 'errorMessage' => 'A maximum of 30 domains are supported for each request.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'InvaildParameter', 'errorMessage' => 'The parameter you provided is invalid.', 'description' => '域名不能包含下划线、斜杠等特殊符号,请检查域名格式后重新填写'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D29681-B7CD-4034-A8CC-28AFFA213539\\",\\n \\"CnameDatas\\": {\\n \\"Data\\": [\\n {\\n \\"Status\\": 0,\\n \\"Domain\\": \\"a.com\\",\\n \\"Cname\\": \\"a.com.w.alikunlun.net\\",\\n \\"Passed\\": \\"true\\",\\n \\"ErrMsg\\": \\"timeout\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '检测加速域名的Cname是否完成配置', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-21T08:09:19.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-07-20T08:32:30.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCname'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCname', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + ], + ], + ], + 'DescribeDomainCustomLogConfig' => [ + 'summary' => '调用DescribeDomainCustomLogConfig查询域名自定义日志格式配置信息。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111770', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '域名,只支持单个查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ConfigId' => ['description' => '日志配置ID。', 'type' => 'string', 'example' => '123'], + 'Tag' => ['description' => '日志配置tag信息。', 'type' => 'string', 'example' => 'book'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '94E3559F-7B6A-4A5E-AFFD-44E2A208A249'], + 'Remark' => ['description' => '具体配置格式。', 'type' => 'string', 'example' => '$time_iso8601_$request_method_$'], + 'Sample' => ['description' => '样例。', 'type' => 'string', 'example' => '[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\\"-\\"\\"GET http://www.aliyun.com/index.html\\'], + ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"Value\\": \\"423304182\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsOverseasValue\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticValue\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"423304182\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:05:00Z\\",\\n \\"Value\\": \\"454680793\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:10:00Z\\",\\n \\"Value\\": \\"501718342\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<TrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>423304182</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:05:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>454680793</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:10:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>501718342</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</TrafficDataPerInterval>\\r\\n\\t<RequestId>B955107D-E658-4E77-B913-E0AC3D31693E</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n</DescribeDomainTrafficDataResponse>","errorExample":""}]', - 'title' => '查询流量', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'Config.NotFound', 'errorMessage' => 'The domain provided doesn\'t apply any custom log config, please refer to the standard log config.', 'description' => '该域名不存在对应的定制日志格式 '], + ], + ], + 'title' => '查询自定义日志配置-按域名', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainHttpCodeData' => [ - 'summary' => '调用DescribeDomainHttpCodeData查询加速域名5分钟粒度的HTTP返回码总数和占比数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCustomLogConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#domainId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigId\\": \\"123\\",\\n \\"Tag\\": \\"book\\",\\n \\"RequestId\\": \\"94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\",\\n \\"Remark\\": \\"$time_iso8601_$request_method_$\\",\\n \\"Sample\\": \\"[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\\\\\\\\\\\\\\"-\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"GET http://www.aliyun.com/index.html\\\\\\\\\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainCustomLogConfigResponse>\\r\\n\\t<ConfigId>25473b84-d598-498e-b148-f23d0a27df52</ConfigId>\\r\\n\\t<Tag>book</Tag>\\r\\n\\t<Remark>$time_iso8601_$request_method_$server_protocol.....</Remark>\\r\\n\\t<Sample>[9/Jun/2015:01:58:09+0800]188.165.15.75-1542"-""GET http://www.aliyun.com/index.html"2001912830MISS"Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)</Sample>\\r\\n\\t<RequestId>1805F349-0A2B-41D9-B4AD-33632AFC27F1</RequestId>\\r\\n</DescribeDomainCustomLogConfigResponse>","errorExample":""}]', + ], + 'DescribeDomainDetailDataByLayer' => [ + 'summary' => '调用DescribeDomainDetailDataByLayer按协议类型获取加速域名的数据明细(域名维度)。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8170,79 +7843,54 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111775', - 'abilityTreeNodes' => [ - 'FEATUREcdn86PAS0', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111771', + 'abilityTreeNodes' => ['FEATUREcdnTN0ZSC'], ], 'parameters' => [ [ + 'name' => 'Field', + 'in' => 'query', + 'schema' => ['description' => '需要查询的指标。支持多指标查询,多个指标用英文逗号(,)分隔,包含**bps**、**qps**、**traf**、**acc**、**ipv6_traf**、**ipv6_bps**、**ipv6_acc**、**ipv6_qps**、**http_code**。', 'type' => 'string', 'required' => true, 'example' => 'bps,ipv6_traf,traf,http_code,qps'], + ], + [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的域名。支持批量域名查询,多个域名用半角逗号(,)分隔,一次最多支持30个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2021-06-29T05:30:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2020-07-05T22:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2021-06-29T05:45:00Z', - ], + 'schema' => ['description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间,且间隔不超过1小时。', 'type' => 'string', 'required' => true, 'example' => '2020-07-05T22:05:00Z'], ], [ - 'name' => 'Interval', + 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'不传值代表所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ - 'name' => 'IspNameEn', + 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过DescribeCdnRegionAndIsp接口获得。如不填该参数,则代表默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], + 'schema' => ['description' => '区域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'不传值代表所有区域。', 'type' => 'string', 'required' => false, 'example' => 'hangzhou'], ], [ - 'name' => 'LocationNameEn', + 'name' => 'Layer', 'in' => 'query', - 'schema' => [ - 'description' => '区域英文名,通过DescribeCdnRegionAndIsp接口获得。如不填该参数,则代表默认查询所有区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '查询维度,应用层(**http**、**https**、**quic**)或**all**。'."\n" + ."\n" + .'默认为**all**。', 'type' => 'string', 'required' => false, 'example' => 'all'], ], ], 'responses' => [ @@ -8250,136 +7898,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2021-06-29T05:45:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2021-06-29T05:30:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '时间间隔。', - 'type' => 'string', - 'example' => '300', - ], - 'HttpCodeData' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'], + 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UsageData' => [ - 'description' => '每个时间间隔的HTTP返回码占比数据列表。', + 'DataModule' => [ + 'description' => '查询的加速域名返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。'."\n", - 'type' => 'string', - 'example' => '2021-06-29T05:40:00Z', - ], - 'Value' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'CodeProportionData' => [ - 'description' => '各返回码占比使用数据列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'HTTP返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Proportion' => [ - 'description' => '占比使用数据。', - 'type' => 'string', - 'example' => '66.046511627907', - ], - 'Count' => [ - 'description' => '总数。', - 'type' => 'string', - 'example' => '300', - ], - ], - ], - ], - ], - ], + 'Traf' => ['description' => '流量,单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '789756701818'], + 'Qps' => ['description' => 'QPS(每秒请求次数)数据。', 'type' => 'number', 'format' => 'float', 'example' => '5998.47'], + 'Ipv6Qps' => ['description' => 'IPv6的QPS。', 'type' => 'number', 'format' => 'float', 'example' => '0'], + 'Ipv6Bps' => ['description' => 'IPv6带宽,单位:bps。', 'type' => 'number', 'format' => 'float', 'example' => '0'], + 'Acc' => ['description' => '请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Ipv6Traf' => ['description' => 'IPv6流量,单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '141718944482'], + 'Ipv6Acc' => ['description' => 'IPv6请求数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2020-07-05T22:00:00Z'], + 'HttpCode' => ['description' => 'http状态码分布。', 'type' => 'string', 'example' => '200:44349|206:1753719|304:45|403:1095|416:1|499:332'], + 'Bps' => ['description' => '带宽,单位:bps。', 'type' => 'number', 'format' => 'float', 'example' => '21060178715.146667'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2021-06-29T05:45:00Z\\",\\n \\"StartTime\\": \\"2021-06-29T05:30:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2021-06-29T05:40:00Z\\",\\n \\"Value\\": {\\n \\"CodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Count\\": \\"300\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainHttpCodeDataResponse>\\n<RequestId>BC858082-736F-4A25-867B-E5B67C85ACF7</RequestId>\\n<EndTime>2021-06-29T05:45:00Z</EndTime>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<StartTime>2021-06-29T05:30:00Z</StartTime>\\n<HttpCodeData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>64.26332288401254</Proportion>\\n <Count>205</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>22.570532915360502</Proportion>\\n <Count>72</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>10.344827586206897</Proportion>\\n <Count>33</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>2.8213166144200628</Proportion>\\n <Count>9</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:30:00Z</TimeStamp>\\n </UsageData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>66.96969696969697</Proportion>\\n <Count>221</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>18.787878787878785</Proportion>\\n <Count>62</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>12.121212121212121</Proportion>\\n <Count>40</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>2.1212121212121215</Proportion>\\n <Count>7</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:35:00Z</TimeStamp>\\n </UsageData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>79.6976241900648</Proportion>\\n <Count>369</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>15.118790496760258</Proportion>\\n <Count>70</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>4.535637149028078</Proportion>\\n <Count>21</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>0.21598272138228944</Proportion>\\n <Count>1</Count>\\n <Code>502</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>0.4319654427645789</Proportion>\\n <Count>2</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:40:00Z</TimeStamp>\\n </UsageData>\\n</HttpCodeData>\\n</DescribeDomainHttpCodeDataResponse>","errorExample":""}]', - 'title' => '查询HTTP状态码', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + 'title' => '按协议类型获取详细数据', + 'description' => '单用户调用频率:20次/秒。'."\n" ."\n" .'**支持查询的时间粒度**'."\n" ."\n" .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - ."\n" .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + .'|5分钟|1小时|93天|15分钟|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainHttpCodeDataByLayer' => [ - 'summary' => '调用DescribeDomainHttpCodeDataByLayer按协议分类获取HTTP状态码数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-24T06:02:12.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-24T01:30:02.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T09:02:04.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:20:51.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainDetailDataByLayer'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainDetailDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Data\\": {\\n \\"DataModule\\": [\\n {\\n \\"Traf\\": 789756701818,\\n \\"Qps\\": 5998.47,\\n \\"Ipv6Qps\\": 0,\\n \\"Ipv6Bps\\": 0,\\n \\"Acc\\": 2,\\n \\"Ipv6Traf\\": 141718944482,\\n \\"Ipv6Acc\\": 1,\\n \\"TimeStamp\\": \\"2020-07-05T22:00:00Z\\",\\n \\"HttpCode\\": \\"200:44349|206:1753719|304:45|403:1095|416:1|499:332\\",\\n \\"Bps\\": 21060178715.146667,\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainDetailDataByLayerResponse>\\n<Data>\\n <Acc>2</Acc>\\n <Ipv6Bps>0</Ipv6Bps>\\n <HttpCode>200:2</HttpCode>\\n <Ipv6Qps>0</Ipv6Qps>\\n <Bps>268.8986666666667</Bps>\\n <Traf>10083</Traf>\\n <Ipv6Acc>0</Ipv6Acc>\\n <DomainName>example.com</DomainName>\\n <Qps>0.006666666666666667</Qps>\\n <Ipv6Traf>0</Ipv6Traf>\\n <TimeStamp>2020-09-07T03:35:00Z</TimeStamp>\\n</Data>\\n<RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DescribeDomainDetailDataByLayerResponse>","errorExample":""}]', + ], + 'DescribeDomainHitRateData' => [ + 'summary' => '调用DescribeDomainHitRateData查询字节命中率(命中字节百分比)。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8388,93 +7994,41 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111776', - 'abilityTreeNodes' => [ - 'FEATUREcdn86PAS0', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111774', + 'abilityTreeNodes' => ['FEATUREcdn3CRD2L'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的加速域名。支持批量域名查询,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'若参数为空,默认返回所有加速域名合并后的数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-07-05T22:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-30T08:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-07-06T22:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-30T08:10:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], - ], - [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'不传值代表所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], - ], - [ - 'name' => 'LocationNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'不传值代表所有区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'hangzhou', - ], - ], - [ - 'name' => 'Layer', - 'in' => 'query', - 'schema' => [ - 'description' => '查询维度,可选应用层(**http**、**https**、**quic**)或 **all**。'."\n" - ."\n" - .'默认为**all**。', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -8482,80 +8036,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664', - ], - 'HttpCodeDataInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-30T08:10:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-30T08:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'HitRateInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataModule' => [ - 'description' => '每个时间间隔的HTTPCode分布情况列表。', + 'description' => '每个时间间隔的字节命中百分占比数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '每个HTTPCode对应的响应次数。', - 'type' => 'string', - 'example' => '{ "200": 10, "206": 100}', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T20:35:00Z', - ], - 'TotalValue' => [ - 'description' => '总响应次数。', - 'type' => 'string', - 'example' => '110', - ], + 'Value' => ['description' => '命中率信息。', 'type' => 'string', 'example' => '100.0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-30T08:00:00Z'], + 'HttpsValue' => ['description' => 'HTTPS字节命中率。', 'type' => 'string', 'example' => '50.0'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DataInterval\\": \\"300\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"HttpCodeDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"{ \\\\\\"200\\\\\\": 10, \\\\\\"206\\\\\\": 100}\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"TotalValue\\": \\"110\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainHttpCodeDataByLayerResponse>\\n<HttpCodeDataInterval>\\n <DataModule>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <Value>\\n <200>10</200>\\n <206>100</206>\\n </Value>\\n <TotalValue>110</TotalValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\n <Value>\\n <200>12</200>\\n <206>120</206>\\n </Value>\\n <TotalValue>132</TotalValue>\\n </DataModule>\\n</HttpCodeDataInterval>\\n<DataInterval>300</DataInterval>\\n<RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DescribeDomainHttpCodeDataByLayerResponse>","errorExample":""}]', - 'title' => '查询HTTP状态码-按协议', - 'description' => '- 单用户调用频率:20次/秒。'."\n" - .'- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + 'title' => '查询字节命中率', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" - .'### 支持查询的时间粒度'."\n" + .'**支持查询的时间粒度**'."\n" ."\n" .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" ."\n" @@ -8563,21 +8086,39 @@ .'|---------------|--------|---|---|'."\n" .'|5分钟|3天|93天|15分钟|'."\n" .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|90天|366天|一般延迟4小时,不超过24小时|', + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainHitRateData' => [ - 'summary' => '调用DescribeDomainHitRateData查询字节命中率(命中字节百分比)。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:23.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:46.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHitRateData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-30T08:10:00Z\\",\\n \\"StartTime\\": \\"2019-12-30T08:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HitRateInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"100.0\\",\\n \\"TimeStamp\\": \\"2019-12-30T08:00:00Z\\",\\n \\"HttpsValue\\": \\"50.0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainHitRateDataResponse>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<RequestId>0A521165-99B6-41EF-B166-5B8B8068E1CF</RequestId>\\n<EndTime>2019-12-30T08:10:00Z</EndTime>\\n<StartTime>2019-12-30T08:00:00Z</StartTime>\\n<HitRateInterval>\\n <DataModule>\\n <TimeStamp>2019-12-30T08:00:00Z</TimeStamp>\\n <Value>74.82824427480917</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-30T08:05:00Z</TimeStamp>\\n <Value>62.83283497081019</Value>\\n <HttpsValue>100</HttpsValue>\\n </DataModule>\\n</HitRateInterval>\\n</DescribeDomainHitRateDataResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainHttpCodeData' => [ + 'summary' => '调用DescribeDomainHttpCodeData查询加速域名5分钟粒度的HTTP返回码总数和占比数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8586,61 +8127,49 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111774', - 'abilityTreeNodes' => [ - 'FEATUREcdn3CRD2L', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111775', + 'abilityTreeNodes' => ['FEATUREcdn86PAS0'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-30T08:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-06-29T05:30:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-30T08:10:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2021-06-29T05:45:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。'."\n", 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + 'schema' => ['description' => '运营商英文名,通过DescribeCdnRegionAndIsp接口获得。如不填该参数,则代表默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '区域英文名,通过DescribeCdnRegionAndIsp接口获得。如不填该参数,则代表默认查询所有区域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -8648,91 +8177,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-30T08:10:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-30T08:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'HitRateInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2021-06-29T05:45:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2021-06-29T05:30:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '时间间隔。', 'type' => 'string', 'example' => '300'], + 'HttpCodeData' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间间隔的字节命中百分占比数据列表。', + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ + 'TimeStamp' => ['description' => '时间片起始时刻。'."\n", 'type' => 'string', 'example' => '2021-06-29T05:40:00Z'], 'Value' => [ - 'description' => '命中率信息。', - 'type' => 'string', - 'example' => '100.0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-30T08:00:00Z', - ], - 'HttpsValue' => [ - 'description' => 'HTTPS字节命中率。', - 'type' => 'string', - 'example' => '50.0', + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CodeProportionData' => [ + 'description' => '各返回码占比使用数据列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'HTTP返回码。', 'type' => 'string', 'example' => '200'], + 'Proportion' => ['description' => '占比使用数据。', 'type' => 'string', 'example' => '66.046511627907'], + 'Count' => ['description' => '总数。', 'type' => 'string', 'example' => '300'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-30T08:10:00Z\\",\\n \\"StartTime\\": \\"2019-12-30T08:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HitRateInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"100.0\\",\\n \\"TimeStamp\\": \\"2019-12-30T08:00:00Z\\",\\n \\"HttpsValue\\": \\"50.0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainHitRateDataResponse>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<RequestId>0A521165-99B6-41EF-B166-5B8B8068E1CF</RequestId>\\n<EndTime>2019-12-30T08:10:00Z</EndTime>\\n<StartTime>2019-12-30T08:00:00Z</StartTime>\\n<HitRateInterval>\\n <DataModule>\\n <TimeStamp>2019-12-30T08:00:00Z</TimeStamp>\\n <Value>74.82824427480917</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-30T08:05:00Z</TimeStamp>\\n <Value>62.83283497081019</Value>\\n <HttpsValue>100</HttpsValue>\\n </DataModule>\\n</HitRateInterval>\\n</DescribeDomainHitRateDataResponse>\\n","errorExample":""}]', - 'title' => '查询字节命中率', + 'title' => '查询HTTP状态码', 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" .'**支持查询的时间粒度**'."\n" @@ -8747,17 +8249,34 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainReqHitRateData' => [ - 'summary' => '调用DescribeDomainReqHitRateData查询请求命中率(命中请求百分比)。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:17.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHttpCodeData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2021-06-29T05:45:00Z\\",\\n \\"StartTime\\": \\"2021-06-29T05:30:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2021-06-29T05:40:00Z\\",\\n \\"Value\\": {\\n \\"CodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Count\\": \\"300\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainHttpCodeDataResponse>\\n<RequestId>BC858082-736F-4A25-867B-E5B67C85ACF7</RequestId>\\n<EndTime>2021-06-29T05:45:00Z</EndTime>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<StartTime>2021-06-29T05:30:00Z</StartTime>\\n<HttpCodeData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>64.26332288401254</Proportion>\\n <Count>205</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>22.570532915360502</Proportion>\\n <Count>72</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>10.344827586206897</Proportion>\\n <Count>33</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>2.8213166144200628</Proportion>\\n <Count>9</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:30:00Z</TimeStamp>\\n </UsageData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>66.96969696969697</Proportion>\\n <Count>221</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>18.787878787878785</Proportion>\\n <Count>62</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>12.121212121212121</Proportion>\\n <Count>40</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>2.1212121212121215</Proportion>\\n <Count>7</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:35:00Z</TimeStamp>\\n </UsageData>\\n <UsageData>\\n <Value>\\n <CodeProportionData>\\n <Proportion>79.6976241900648</Proportion>\\n <Count>369</Count>\\n <Code>200</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>15.118790496760258</Proportion>\\n <Count>70</Count>\\n <Code>403</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>4.535637149028078</Proportion>\\n <Count>21</Count>\\n <Code>499</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>0.21598272138228944</Proportion>\\n <Count>1</Count>\\n <Code>502</Code>\\n </CodeProportionData>\\n <CodeProportionData>\\n <Proportion>0.4319654427645789</Proportion>\\n <Count>2</Count>\\n <Code>504</Code>\\n </CodeProportionData>\\n </Value>\\n <TimeStamp>2021-06-29T05:40:00Z</TimeStamp>\\n </UsageData>\\n</HttpCodeData>\\n</DescribeDomainHttpCodeDataResponse>","errorExample":""}]', + ], + 'DescribeDomainHttpCodeDataByLayer' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8766,61 +8285,58 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111801', - 'abilityTreeNodes' => [ - 'FEATUREcdn3CRD2L', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111776', + 'abilityTreeNodes' => ['FEATUREcdn86PAS0'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的加速域名。支持批量域名查询,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'若参数为空,默认返回所有加速域名合并后的数据。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-21T08:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-07-05T22:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-22T08:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2020-07-06T22:00:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'不传值代表所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" + ."\n" + .'不传值代表所有区域。', 'type' => 'string', 'required' => false, 'example' => 'hangzhou'], + ], + [ + 'name' => 'Layer', + 'in' => 'query', + 'schema' => ['description' => '查询维度,可选应用层(**http**、**https**、**quic**)或 **all**。'."\n" + ."\n" + .'默认为**all**。', 'type' => 'string', 'required' => false, 'example' => 'all'], ], ], 'responses' => [ @@ -8828,88 +8344,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2017-12-22T08:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2017-12-21T08:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'ReqHitRateInterval' => [ + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'], + 'HttpCodeDataInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataModule' => [ - 'description' => '每个时间间隔的请求命中百分占比数据列表。', + 'description' => '每个时间间隔的HTTPCode分布情况列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '命中率信息。', - 'type' => 'string', - 'example' => '100.0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2017-12-22T08:00:00:00Z', - ], - 'HttpsValue' => [ - 'description' => 'HTTPS请求命中率。', - 'type' => 'string', - 'example' => '50.0', - ], + 'Value' => ['description' => '每个HTTPCode对应的响应次数。', 'type' => 'string', 'example' => '{ "200": 10, "206": 100}'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:35:00Z'], + 'TotalValue' => ['description' => '总响应次数。', 'type' => 'string', 'example' => '110'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-12-22T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-21T08:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"ReqHitRateInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"100.0\\",\\n \\"TimeStamp\\": \\"2017-12-22T08:00:00:00Z\\",\\n \\"HttpsValue\\": \\"50.0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainReqHitRateDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<RequestId>5ADA5190-EE5B-4EF2-BE00-DC441B8D81DD</RequestId>\\r\\n\\t<StartTime>2017-12-21T08:00:00Z</StartTime>\\r\\n\\t<EndTime>2017-12-22T08:00:00Z</EndTime>\\r\\n\\t<ReqHitRateInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>100.0</Value>\\r\\n\\t\\t\\t<HttpsValue>50.0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>100.0</Value>\\r\\n\\t\\t\\t<HttpsValue>50.0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</ReqHitRateInterval>\\r\\n</DescribeDomainReqHitRateDataResponse>","errorExample":""}]', - 'title' => '查询请求命中率', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + 'title' => '查询HTTP状态码-按协议', + 'summary' => '调用DescribeDomainHttpCodeDataByLayer按协议分类获取HTTP状态码数据。', + 'description' => '- 单用户调用频率:20次/秒。'."\n" + .'- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" - .'**支持查询的时间粒度**'."\n" + .'### 支持查询的时间粒度'."\n" ."\n" .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + ."\n" .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" .'|---------------|--------|---|---|'."\n" .'|5分钟|3天|93天|15分钟|'."\n" @@ -8918,17 +8397,35 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainsUsageByDay' => [ - 'summary' => '调用DescribeDomainsUsageByDay查询加速域名天粒度的监控统计数据,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:50.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHttpCodeDataByLayer'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHttpCodeDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DataInterval\\": \\"300\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"HttpCodeDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"{ \\\\\\"200\\\\\\": 10, \\\\\\"206\\\\\\": 100}\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"TotalValue\\": \\"110\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainHttpCodeDataByLayerResponse>\\n<HttpCodeDataInterval>\\n <DataModule>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <Value>\\n <200>10</200>\\n <206>100</206>\\n </Value>\\n <TotalValue>110</TotalValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\n <Value>\\n <200>12</200>\\n <206>120</206>\\n </Value>\\n <TotalValue>132</TotalValue>\\n </DataModule>\\n</HttpCodeDataInterval>\\n<DataInterval>300</DataInterval>\\n<RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DescribeDomainHttpCodeDataByLayerResponse>","errorExample":""}]', + ], + 'DescribeDomainISPData' => [ + 'summary' => '调用DescribeDomainISPData查询加速域名天粒度的用户运营商分布数据统计,支持获取最近90天的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8937,49 +8434,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111810', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111778', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,只支持填写一个域名。'."\n" - ."\n" - .'默认查询当前用户下所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-22T08:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-29T05:33:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-23T09:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], ], 'responses' => [ @@ -8987,289 +8467,145 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-23T09:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-22T08:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C88EF8ED-72F0-45EA-9E86-95114E224FC5', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '86400', - ], - 'UsageTotal' => [ - 'description' => '汇总数据。', - 'type' => 'object', - 'properties' => [ - 'MaxSrcBpsTime' => [ - 'description' => '回源带宽峰值时刻。', - 'type' => 'string', - 'example' => '2019-12-23 11:45:00', - ], - 'RequestHitRate' => [ - 'description' => '请求命中率(百分比数据)。', - 'type' => 'string', - 'example' => '69.92610837438424', - ], - 'MaxBps' => [ - 'description' => '带宽峰值,单位:bps。', - 'type' => 'string', - 'example' => '1.0747912780000001E8', - ], - 'TotalAccess' => [ - 'description' => '总访问量。', - 'type' => 'string', - 'example' => '1319500', - ], - 'BytesHitRate' => [ - 'description' => '字节命中率(百分比数据)。', - 'type' => 'string', - 'example' => '97.03110726801242', - ], - 'TotalTraffic' => [ - 'description' => '总流量,单位:Byte。', - 'type' => 'string', - 'example' => '1117711832100', - ], - 'MaxBpsTime' => [ - 'description' => '带宽峰值时刻。', - 'type' => 'string', - 'example' => '2019-12-23 10:55:00', - ], - 'MaxSrcBps' => [ - 'description' => '回源带宽峰值,单位:bps。', - 'type' => 'string', - 'example' => '72584.072', - ], - ], - ], - 'UsageByDays' => [ + 'EndTime' => ['description' => '获取数据结束时间点。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '获取数据起始时间点。', 'type' => 'string', 'example' => '2019-11-29T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE81639B-DAC1-4C76-AB72-F34B836837D5'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '时间间隔,单位:秒。', 'type' => 'string', 'example' => '86400'], + 'Value' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UsageByDay' => [ - 'description' => '每个时间间隔统计数据。', + 'ISPProportionData' => [ + 'description' => '各运营商访问占比数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'MaxSrcBpsTime' => [ - 'description' => '回源带宽峰值时刻。', - 'type' => 'string', - 'example' => '2019-12-23 11:45:00', - ], - 'Qps' => [ - 'description' => '每秒访问量(次/秒)。', - 'type' => 'string', - 'example' => '7.466354166666667', - ], - 'RequestHitRate' => [ - 'description' => '请求命中率(百分比数据)。', - 'type' => 'string', - 'example' => '70.24770071912111', - ], - 'MaxBps' => [ - 'description' => '带宽峰值,单位:bps。', - 'type' => 'string', - 'example' => '306747.76', - ], - 'TotalAccess' => [ - 'description' => '总访问量。', - 'type' => 'string', - 'example' => '645093', - ], - 'TimeStamp' => [ - 'description' => '查询数据的时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-22', - ], - 'BytesHitRate' => [ - 'description' => '字节命中率(百分比数据)。', - 'type' => 'string', - 'example' => '97.46250599529726', - ], - 'TotalTraffic' => [ - 'description' => '总流量,单位:Byte。', - 'type' => 'string', - 'example' => '564300099309', - ], - 'MaxSrcBps' => [ - 'description' => '回源带宽峰值,单位:bps。', - 'type' => 'string', - 'example' => '72584.072', - ], - 'MaxBpsTime' => [ - 'description' => '带宽峰值时刻。', - 'type' => 'string', - 'example' => '2019-12-23 10:55:00', - ], + 'TotalQuery' => ['description' => '总请求次数。', 'type' => 'string', 'example' => '1'], + 'TotalBytes' => ['description' => '总流量。', 'type' => 'string', 'example' => '7081884'], + 'AvgResponseRate' => ['description' => '平均响应速度,单位:byte/毫秒。', 'type' => 'string', 'example' => '88.92594866772144'], + 'AvgResponseTime' => ['description' => '平均响应时间,单位:毫秒。', 'type' => 'string', 'example' => '79638.0'], + 'ReqErrRate' => ['description' => '请求错误率。', 'type' => 'string', 'example' => '0.0'], + 'AvgObjectSize' => ['description' => '响应平均大小,单位:byte。', 'type' => 'string', 'example' => '7081884.7'], + 'Bps' => ['description' => '带宽。', 'type' => 'string', 'example' => '1311.4601296296296'], + 'Qps' => ['description' => '每秒查询率。', 'type' => 'string', 'example' => '2.3148148148148147E-5'], + 'Proportion' => ['description' => '占比使用数据。', 'type' => 'string', 'example' => '0.004509176173513099'], + 'IspEname' => ['description' => '运营商英文名称。', 'type' => 'string', 'example' => 'alibaba'], + 'ISP' => ['description' => '运营商信息。', 'type' => 'string', 'example' => '阿里巴巴'], + 'BytesProportion' => ['description' => '总流量占比。', 'type' => 'string', 'example' => '0.012220518530445479'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], ], 404 => [ - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-23T09:00:00Z\\",\\n \\"StartTime\\": \\"2019-12-22T08:00:00Z\\",\\n \\"RequestId\\": \\"C88EF8ED-72F0-45EA-9E86-95114E224FC5\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"UsageTotal\\": {\\n \\"MaxSrcBpsTime\\": \\"2019-12-23 11:45:00\\",\\n \\"RequestHitRate\\": \\"69.92610837438424\\",\\n \\"MaxBps\\": \\"1.0747912780000001E8\\",\\n \\"TotalAccess\\": \\"1319500\\",\\n \\"BytesHitRate\\": \\"97.03110726801242\\",\\n \\"TotalTraffic\\": \\"1117711832100\\",\\n \\"MaxBpsTime\\": \\"2019-12-23 10:55:00\\",\\n \\"MaxSrcBps\\": \\"72584.072\\"\\n },\\n \\"UsageByDays\\": {\\n \\"UsageByDay\\": [\\n {\\n \\"MaxSrcBpsTime\\": \\"2019-12-23 11:45:00\\",\\n \\"Qps\\": \\"7.466354166666667\\",\\n \\"RequestHitRate\\": \\"70.24770071912111\\",\\n \\"MaxBps\\": \\"306747.76\\",\\n \\"TotalAccess\\": \\"645093\\",\\n \\"TimeStamp\\": \\"2019-12-22\\",\\n \\"BytesHitRate\\": \\"97.46250599529726\\",\\n \\"TotalTraffic\\": \\"564300099309\\",\\n \\"MaxSrcBps\\": \\"72584.072\\",\\n \\"MaxBpsTime\\": \\"2019-12-23 10:55:00\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainsUsageByDayResponse>\\n<UsageTotal>\\n <RequestHitRate>0.46869615163699024</RequestHitRate>\\n <MaxSrcBpsTime>2019-12-23 11:45:00</MaxSrcBpsTime>\\n <MaxSrcBps>72584.072</MaxSrcBps>\\n <MaxBps>306747.76</MaxBps>\\n <TotalTraffic>220090843</TotalTraffic>\\n <TotalAccess>1741</TotalAccess>\\n <MaxBpsTime>2019-12-23 10:55:00</MaxBpsTime>\\n <BytesHitRate>0.9338625414779297</BytesHitRate>\\n</UsageTotal>\\n<UsageByDays>\\n <UsageByDay>\\n <TimeStamp>2019-12-23</TimeStamp>\\n <RequestHitRate>0.46869615163699024</RequestHitRate>\\n <MaxSrcBpsTime>2019-12-23 11:45:00</MaxSrcBpsTime>\\n <MaxSrcBps>72584.072</MaxSrcBps>\\n <MaxBps>306747.76</MaxBps>\\n <TotalTraffic>220090843</TotalTraffic>\\n <TotalAccess>1741</TotalAccess>\\n <MaxBpsTime>2019-12-23 10:55:00</MaxBpsTime>\\n <Qps>0.020150462962962964</Qps>\\n <BytesHitRate>0.9338625398107486</BytesHitRate>\\n </UsageByDay>\\n</UsageByDays>\\n<RequestId>0DE5531F-A7C2-4788-A35A-38883193B2D8</RequestId>\\n<EndTime>2019-12-23T09:00:00Z</EndTime>\\n<StartTime>2019-12-22T08:00:00Z</StartTime>\\n<DomainName>example.com</DomainName>\\n<DataInterval>86400</DataInterval>\\n</DescribeDomainsUsageByDayResponse>\\n","errorExample":""}]', - 'title' => '查询用量-按天', - 'description' => '- 单用户调用频率:10次/秒。'."\n" - .'- 如果您不指定StartTime和EndTime时,默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" - .'- 您只能查询单个域名或当前用户下所有域名的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" + 'title' => '查询用户运营商分布数据', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|1天|90天|366天|一般延迟4小时,不超过24小时。|', + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 如果您不指定StartTime和EndTime时,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" + .'> - 该接口只支持获取一个域名或当前账户下所有域名的数据。'."\n" + .'> - 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainDetailDataByLayer' => [ - 'summary' => '调用DescribeDomainDetailDataByLayer按协议类型获取加速域名的数据明细(域名维度)。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:13:06.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainISPData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainISPData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T05:33:00Z\\",\\n \\"RequestId\\": \\"DE81639B-DAC1-4C76-AB72-F34B836837D5\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"Value\\": {\\n \\"ISPProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"1\\",\\n \\"TotalBytes\\": \\"7081884\\",\\n \\"AvgResponseRate\\": \\"88.92594866772144\\",\\n \\"AvgResponseTime\\": \\"79638.0\\",\\n \\"ReqErrRate\\": \\"0.0\\",\\n \\"AvgObjectSize\\": \\"7081884.7\\",\\n \\"Bps\\": \\"1311.4601296296296\\",\\n \\"Qps\\": \\"2.3148148148148147E-5\\",\\n \\"Proportion\\": \\"0.004509176173513099\\",\\n \\"IspEname\\": \\"alibaba\\",\\n \\"ISP\\": \\"阿里巴巴\\",\\n \\"BytesProportion\\": \\"0.012220518530445479\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainISPDataResponse>\\r\\n\\t<Value>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1</TotalQuery>\\r\\n\\t\\t\\t<Bps>1311.4601296296296</Bps>\\r\\n\\t\\t\\t<Proportion>0.004509176173513099</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>88.92594866772144</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>alibaba</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>7081884.7</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>阿里巴巴</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>2.3148148148148147E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>79638.0</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>7081884</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.012220518530445479</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>3</TotalQuery>\\r\\n\\t\\t\\t<Bps>444.455</Bps>\\r\\n\\t\\t\\t<Proportion>0.013527528520539298</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>154.3345765545624</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>overseas</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>800019.0</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>海外ISP</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>6.944444444444444E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5183.666666666667</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2400057</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.004141544558417533</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>82</TotalQuery>\\r\\n\\t\\t\\t<Bps>45838.64816666667</Bps>\\r\\n\\t\\t\\t<Proportion>0.3697524462280741</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1025.5028528460102</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>drpeng</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>3018642.684146342</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>鹏博士</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0018981481481481482</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2943.5731707317073</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>247528700</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.42713616424581613</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>114</TotalQuery>\\r\\n\\t\\t\\t<Bps>65933.51396296297</Bps>\\r\\n\\t\\t\\t<Proportion>0.5140460837804933</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>484.6396117340071</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>cernet</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>3123166.4508771934</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>教育网</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.002638888888888889</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>6444.30701754386</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>356040975</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6143852267848392</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>207</TotalQuery>\\r\\n\\t\\t\\t<Bps>81128.73735185186</Bps>\\r\\n\\t\\t\\t<Proportion>0.9333994679172115</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>752.2096624205244</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>tietong</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2116401.843961353</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>铁通</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.004791666666666666</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2813.5797101449275</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>438095181</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.7559781771177001</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.00000000000001</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>256</TotalQuery>\\r\\n\\t\\t\\t<Bps>129137.37100000001</Bps>\\r\\n\\t\\t\\t<Proportion>1.1543491004193533</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>321.5924922592767</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>other</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2723991.4195312504</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>其他</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.005925925925925926</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>8470.3203125</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>697341803</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>1.2033348171432345</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.14745652563326</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>2866</TotalQuery>\\r\\n\\t\\t\\t<Bps>879955.1972037038</Bps>\\r\\n\\t\\t\\t<Proportion>12.923298913288543</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1004.5513789924338</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>mobile</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>1657975.598360084</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>移动</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.06634259259259259</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1650.463712491277</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>97.3831123517097</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4751758064</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>8.19964599032574</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99981717005271</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>6534</TotalQuery>\\r\\n\\t\\t\\t<Bps>3194660.60262963</Bps>\\r\\n\\t\\t\\t<Proportion>29.46295711773459</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1171.525957981939</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>unicom</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2640215.374074074</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>联通</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.15125</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2253.6550352004897</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>99.96939087848179</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>17251167254</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>29.768658772680293</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99968869093071</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>12114</TotalQuery>\\r\\n\\t\\t\\t<Bps>6333214.260796296</Bps>\\r\\n\\t\\t\\t<Proportion>54.62416016593768</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>984.184264638081</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>telecom</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2823126.71357933</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>电信</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.28041666666666665</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2868.494056463596</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>99.97523526498266</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>34199357008</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>59.01449878861353</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t</Value>\\r\\n\\t<DataInterval>86400</DataInterval>\\r\\n\\t<RequestId>DE81639B-DAC1-4C76-AB72-F34B836837D5</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2019-11-29T05:33:00Z</EndTime>\\r\\n\\t<StartTime>2019-11-29T05:33:00Z</StartTime>\\r\\n</DescribeDomainISPDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeDomainMax95BpsData' => [ + 'summary' => '调用DescribeDomainMax95BpsData查询加速域名95带宽峰值监控数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111771', - 'abilityTreeNodes' => [ - 'FEATUREcdnTN0ZSC', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'Field', - 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的指标。支持多指标查询,多个指标用英文逗号(,)分隔,包含**bps**、**qps**、**traf**、**acc**、**ipv6_traf**、**ipv6_bps**、**ipv6_acc**、**ipv6_qps**、**http_code**。', - 'type' => 'string', - 'required' => true, - 'example' => 'bps,ipv6_traf,traf,http_code,qps', - ], - ], - [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的域名。支持批量域名查询,多个域名用半角逗号(,)分隔,一次最多支持30个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的加速域名。若参数为空,默认返回所有加速域名合并后的数据。'."\n" + ."\n" + .'> 不支持批量域名查询。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2020-07-05T22:00:00Z', - ], + 'schema' => ['description' => '获取起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-21T08:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间,且间隔不超过1小时。', - 'type' => 'string', - 'required' => true, - 'example' => '2020-07-05T22:05:00Z', - ], + 'schema' => ['description' => '获取结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2017-12-22T08:00:00Z'], ], [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'不传值代表所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], - ], - [ - 'name' => 'LocationNameEn', + 'name' => 'TimePoint', 'in' => 'query', - 'schema' => [ - 'description' => '区域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得。'."\n" - ."\n" - .'不传值代表所有区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'hangzhou', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-21T10:00:00Z'], ], [ - 'name' => 'Layer', + 'name' => 'Cycle', 'in' => 'query', 'schema' => [ - 'description' => '查询维度,应用层(**http**、**https**、**quic**)或**all**。'."\n" + 'description' => '95带宽峰值周期,默认值为**day**。取值:'."\n" ."\n" - .'默认为**all**。', + .'- **day**:按日查询95峰值。'."\n" + .'- **month**:按月查询95峰值。', 'type' => 'string', 'required' => false, - 'example' => 'all', + 'example' => 'month', + 'enum' => ['day', 'month'], ], ], ], @@ -9278,84 +8614,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664', - ], - 'Data' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'EndTime' => ['description' => '获取数据的结束时间。', 'type' => 'string', 'example' => '2015-12-11T21:00:00Z'], + 'StartTime' => ['description' => '获取数据的开始时间。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'DomesticMax95Bps' => ['description' => '中国内地95带宽峰值。', 'type' => 'string', 'example' => '16777590.28'], + 'OverseasMax95Bps' => ['description' => '全球(不含中国内地)95带宽峰值。', 'type' => 'string', 'example' => '0'], + 'Max95Bps' => ['description' => '95带宽峰值。', 'type' => 'string', 'example' => '16777590.28'], + 'DetailData' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '查询的加速域名返回数据。', + 'Max95Detail' => [ + 'description' => '95带宽明细数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Traf' => [ - 'description' => '流量,单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '789756701818', - ], - 'Qps' => [ - 'description' => 'QPS(每秒请求次数)数据。', - 'type' => 'number', - 'format' => 'float', - 'example' => '5998.47', - ], - 'Ipv6Qps' => [ - 'description' => 'IPv6的QPS。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'Ipv6Bps' => [ - 'description' => 'IPv6带宽,单位:bps。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'Acc' => [ - 'description' => '请求数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Ipv6Traf' => [ - 'description' => 'IPv6流量,单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '141718944482', - ], - 'Ipv6Acc' => [ - 'description' => 'IPv6请求数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2020-07-05T22:00:00Z', - ], - 'HttpCode' => [ - 'description' => 'http状态码分布。', - 'type' => 'string', - 'example' => '200:44349|206:1753719|304:45|403:1095|416:1|499:332', - ], - 'Bps' => [ - 'description' => '带宽,单位:bps。', - 'type' => 'number', - 'format' => 'float', - 'example' => '21060178715.146667', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-11T21:00:00Z'], + 'Area' => ['description' => '95带宽对应的区域。', 'type' => 'string', 'example' => 'CN'], + 'Max95BpsPeakTime' => ['description' => '95带宽峰值时间。', 'type' => 'string', 'example' => '2015-12-11T21:05:00Z'], + 'Max95Bps' => ['description' => '95带宽峰值。', 'type' => 'number', 'format' => 'float', 'example' => '16777590.28'], ], ], ], @@ -9367,56 +8646,58 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidTimePoint.Malformed', 'errorMessage' => 'Specified TimePoint is malformed.', 'description' => 'TimePoint参数格式错误。'], + ['errorCode' => 'InvalidTimeSpan', 'errorMessage' => 'The time span exceeds the limit.', 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ], + 404 => [ + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Data\\": {\\n \\"DataModule\\": [\\n {\\n \\"Traf\\": 789756701818,\\n \\"Qps\\": 5998.47,\\n \\"Ipv6Qps\\": 0,\\n \\"Ipv6Bps\\": 0,\\n \\"Acc\\": 2,\\n \\"Ipv6Traf\\": 141718944482,\\n \\"Ipv6Acc\\": 1,\\n \\"TimeStamp\\": \\"2020-07-05T22:00:00Z\\",\\n \\"HttpCode\\": \\"200:44349|206:1753719|304:45|403:1095|416:1|499:332\\",\\n \\"Bps\\": 21060178715.146667,\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainDetailDataByLayerResponse>\\n<Data>\\n <Acc>2</Acc>\\n <Ipv6Bps>0</Ipv6Bps>\\n <HttpCode>200:2</HttpCode>\\n <Ipv6Qps>0</Ipv6Qps>\\n <Bps>268.8986666666667</Bps>\\n <Traf>10083</Traf>\\n <Ipv6Acc>0</Ipv6Acc>\\n <DomainName>example.com</DomainName>\\n <Qps>0.006666666666666667</Qps>\\n <Ipv6Traf>0</Ipv6Traf>\\n <TimeStamp>2020-09-07T03:35:00Z</TimeStamp>\\n</Data>\\n<RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DescribeDomainDetailDataByLayerResponse>","errorExample":""}]', - 'title' => '按协议类型获取详细数据', - 'description' => '单用户调用频率:20次/秒。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|1小时|93天|15分钟|', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"EndTime\\": \\"2015-12-11T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticMax95Bps\\": \\"16777590.28\\",\\n \\"OverseasMax95Bps\\": \\"0\\",\\n \\"Max95Bps\\": \\"16777590.28\\",\\n \\"DetailData\\": {\\n \\"Max95Detail\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-11T21:00:00Z\\",\\n \\"Area\\": \\"CN\\",\\n \\"Max95BpsPeakTime\\": \\"2015-12-11T21:05:00Z\\",\\n \\"Max95Bps\\": 16777590.28\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainMax95BpsDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-11T21:00:00Z</EndTime>\\r\\n\\t<Max95Bps>16777590.28</Max95Bps>\\r\\n\\t<DomesticMax95Bps>16777590.28</DomesticMax95Bps>\\r\\n\\t<OverseasMax95Bps>0</OverseasMax95Bps>\\r\\n </DescribeDomainMax95BpsDataResponse>","errorExample":""}]', + 'title' => '查询95带宽峰值', + 'description' => '**分三种方式查询:**'."\n" + .'- 当同时指定StartTime和EndTime时,若EndTime与StartTime差值在24小时内,则查询StartTime所在当天的95峰值,否则查询StartTime所在月份的95峰值。'."\n" + .'- 当同时指定TimePoint和Cycle时,返回TimePoint所在周期的95峰值。'."\n" + .'- 当指定StartTime和EndTime时,若额外指定了Cycle,可以返回查询范围内所有指定cycle对应的95峰值。<br>'."\n" + .'<br>'."\n" + .'当这三种方式都不指定时,默认返回过去24小时的95峰值。<br>'."\n" + .'<br>'."\n" + .'* 数据最大查询跨度:90天'."\n" + .'* 数据最小查询粒度:1天'."\n" + .'* 数据最大查询范围:90天<br>'."\n" + .'<br>'."\n" + .'- 单用户调用频率:100次/秒。'."\n" + .'- 获取数据单位:bit/s。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRangeDataByLocateAndIspService' => [ - 'summary' => '调用DescribeRangeDataByLocateAndIspService获取按运营商和地域获取带宽数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-06-13T07:21:15.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-04-13T07:11:45.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-06T07:23:28.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainMax95BpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribeDomainMultiUsageData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9425,71 +8706,31 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111826', - 'abilityTreeNodes' => [ - 'FEATUREcdnF7OM8K', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111781', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'DomainNames', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'> - 单次查询最多可添加30个域名。'."\n" + .'> - 若参数为空,默认返回所有加速域名分组数据。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据开始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间大于开始时间,并且结束时间和开始时间相差不超过1小时。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-11-30T05:40:00Z', - ], - ], - [ - 'name' => 'IspNames', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商名,每次只能传入一个参数。'."\n" - ."\n" - .'运营商名通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], - ], - [ - 'name' => 'LocationNames', - 'in' => 'query', - 'schema' => [ - 'description' => '地域名,多个地域名用英文逗号(,)分隔。'."\n" - ."\n" - .'地域名通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'liaoning,guangxi', - ], + 'schema' => ['description' => '获取数据的结束时间点。日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2017-12-10T21:00:00Z'], ], ], 'responses' => [ @@ -9497,67 +8738,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'JsonResult' => [ - 'description' => 'JSON格式的返回结果。'."\n" - .'从左到右依次为:unix时间,地区,运营商,HTTP状态码分布,响应时长,带宽(单位:bps),响应平均速率,页面浏览量,缓存命中率,请求命中率。'."\n" - .'><notice>地区、运营商维度不支持计算命中率,统一返回 0。></notice>', - 'type' => 'string', - 'example' => '{"1472659200":{"天津市":{"电信":{"http_codes":{"000":0,"200":6,"400":0},"rt":4183,"bandwidth":46639,"avg_speed":7773,"pv":6,"hit_rate":0.93,"request_hit_rate":0}}}}', + 'EndTime' => ['description' => '查询用量的结束时间。', 'type' => 'string', 'example' => '2017-12-10T21:00:00Z'], + 'StartTime' => ['description' => '查询用量的开始时间。', 'type' => 'string', 'example' => '2017-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F'], + 'RequestPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RequestDataModule' => [ + 'description' => '每五分钟各请求计量数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'> CDN产品只有Simple。', 'type' => 'string', 'example' => 'Simple'], + 'TimeStamp' => ['description' => '返回数据中,请求数所在时间片段起始时刻。', 'type' => 'string', 'example' => '2017-12-10T20:00:00Z'], + 'Domain' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'Request' => ['description' => '请求数,单位:个。', 'type' => 'integer', 'format' => 'int64', 'example' => '11288111'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + 'TrafficPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TrafficDataModule' => [ + 'description' => '每五分钟各流量计量数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '请求数类型。取值:'."\n" + ."\n" + .'- **StaticHttps**:静态HTTPS请求数。'."\n" + .'- **DynamicHttps**:动态HTTPS请求数。'."\n" + .'- **DynamicHttp**:动态HTTP请求数。'."\n" + .'- **StaticQuic**:静态QUIC请求数。'."\n" + .'- **DynamicQuic**:动态QUIC请求数。', 'type' => 'string', 'example' => 'DynamicHttp'], + 'Domain' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'], + 'TimeStamp' => ['description' => '返回数据中,用量数据所在时间片段起始时刻。', 'type' => 'string', 'example' => '2017-12-10T20:00:00Z'], + 'Area' => ['description' => '大区名称。', 'type' => 'string', 'example' => 'CN'], + 'Bps' => ['description' => '比特率,单位:bit/second。', 'type' => 'number', 'format' => 'float', 'example' => '11288111.1'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.ValueNotSupported', - 'errorMessage' => 'StartTime or EndTime is miss match.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName', 'errorMessage' => 'The specified DomainNames is invalid.', 'description' => '未指定域名或指定的域名超过限制,请确认传入的域名符合API文档说明。'], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidTimeSpan', 'errorMessage' => 'The time span exceeds the limit.', 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"JsonResult\\": \\"{\\\\\\"1472659200\\\\\\":{\\\\\\"天津市\\\\\\":{\\\\\\"电信\\\\\\":{\\\\\\"http_codes\\\\\\":{\\\\\\"000\\\\\\":0,\\\\\\"200\\\\\\":6,\\\\\\"400\\\\\\":0},\\\\\\"rt\\\\\\":4183,\\\\\\"bandwidth\\\\\\":46639,\\\\\\"avg_speed\\\\\\":7773,\\\\\\"pv\\\\\\":6,\\\\\\"hit_rate\\\\\\":0.93,\\\\\\"request_hit_rate\\\\\\":0}}}}\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeRangeDataByLocateAndIspServiceResponse>\\n<JsonResult>\\n <1472659200>\\n <天津市>\\n <电信>\\n <bandwidth>9889849.592</bandwidth>\\n <pv>5739</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5675</200>\\n <206>5</206>\\n <302>5</302>\\n <304>45</304>\\n <400>1</400>\\n <403>8</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </天津市>\\n <北京市>\\n <电信>\\n <bandwidth>9889849.592</bandwidth>\\n <pv>5739</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5675</200>\\n <206>5</206>\\n <302>5</302>\\n <304>45</304>\\n <400>1</400>\\n <403>8</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </北京市>\\n </1472659200>\\n <1472659500>\\n <天津市>\\n <电信>\\n <bandwidth>7024681.44</bandwidth>\\n <pv>5819</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5716</200>\\n <206>11</206>\\n <302>3</302>\\n <304>72</304>\\n <400>1</400>\\n <403>16</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </天津市>\\n </1472659500>\\n</JsonResult>\\n<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n</DescribeRangeDataByLocateAndIspServiceResponse>","errorExample":""}]', - 'title' => '查询访问数据-按运营商和地域', - 'description' => '- 查询的数据时间粒度为5分钟。'."\n" - .'- 单用户调用频率:20次/秒。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|1小时|93天|15分钟|', + 'title' => '批量查询加速域名的流量和请求数', + 'summary' => '调用DescribeDomainMultiUsageData批量查询加速域名的流量和请求数类五分钟粒度的数据。', + 'description' => '- 如果您未指定StartTime和EndTime,该接口默认返回过去10分钟的数据。'."\n" + .'- StartTime和EndTime间隔最长为1小时。'."\n" + .'- 最多可获取最近90天的数据。'."\n" + .'- 支持查询已删除的加速域名的流量和请求数。'."\n" + .'- 单用户调用频率:50次/秒', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainSrcBpsData' => [ - 'summary' => '调用DescribeDomainSrcBpsData查询加速域名的回源带宽监控数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:15:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainMultiUsageData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainMultiUsageData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"RequestPerInterval\\": {\\n \\"RequestDataModule\\": [\\n {\\n \\"Type\\": \\"Simple\\",\\n \\"TimeStamp\\": \\"2017-12-10T20:00:00Z\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"Request\\": 11288111\\n }\\n ]\\n },\\n \\"TrafficPerInterval\\": {\\n \\"TrafficDataModule\\": [\\n {\\n \\"Type\\": \\"DynamicHttp\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"TimeStamp\\": \\"2017-12-10T20:00:00Z\\",\\n \\"Area\\": \\"CN\\",\\n \\"Bps\\": 11288111.1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainMultiUsageDataResesponse>\\n<TrafficPerInterval>\\n <TrafficDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Bps>11288111.1</Bps>\\n <Type>Simple</Type>\\n <Area>CN</Area>\\n </TrafficDataModule>\\n</TrafficPerInterval>\\n<RequestPerInterval>\\n <RequestDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Request>11288111</Request>\\n <Type>DynamicHttp</Type>\\n </RequestDataModule>\\n <RequestDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Request>11288111</Request>\\n <Type>StaticHttps</Type>\\n </RequestDataModule>\\n</RequestPerInterval>\\n<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\n<StartTime>2017-12-10T20:00:00Z</StartTime>\\n<EndTime>2017-12-10T21:00:00Z</EndTime>\\n</DescribeDomainMultiUsageDataResesponse>","errorExample":""}]', + ], + 'DescribeDomainPathData' => [ + 'summary' => '调用DescribeDomainPathData按目录维度获取监控数据,包括流量和访问次数。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9565,62 +8854,47 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111804', - 'abilityTreeNodes' => [ - 'FEATUREcdnE9OF3Y', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111783', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '取得第几页。从**1**开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小。'."\n" + .'取值:**1**~**1000**之间的任意整数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '20', 'default' => '20'], + ], + [ + 'name' => 'Path', + 'in' => 'query', + 'schema' => ['description' => '路径,以正斜线(/)开头,不填表示查询所有路径。如果路径是目录,需要以正斜线(/)结尾。'."\n" + ."\n" + .'> 路径信息不支持模糊匹配,需要指定查询的目录深度,只能设置为一个固定值,例如设置一级目录/path/,表示数据统计时,固定统计一级目录的带宽。', 'type' => 'string', 'required' => false, 'example' => '/path/'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:00:00Z', - ], + 'schema' => ['description' => '开始时间,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" + .'例如:2016-10-20T04:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2016-10-20T04:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:30:00Z', - ], + 'schema' => ['description' => '结束时间,日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。开始时间和结束时间,间隔小于30天。例如:2016-10-21T04:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2016-10-21T04:00:00Z'], ], [ - 'name' => 'Interval', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '加速域名。'."\n" + .'>仅支持单个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -9628,123 +8902,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:30:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'SrcBpsDataPerInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2017-09-30T17:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2017-09-30T16:00:00Z'], + 'PageSize' => ['description' => '页面大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '当前页码,从**1**开始计数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '路径带宽数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'PathDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间间隔的回源带宽数据列表。单位:bit/s。', + 'UsageData' => [ + 'description' => '路径带宽数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '500', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-10T20:00:00Z', - ], - 'HttpsValue' => [ - 'description' => 'Https回源带宽。', - 'type' => 'string', - 'example' => '10', - ], + 'Path' => ['description' => '路径。', 'type' => 'string', 'example' => '/path/'], + 'Time' => ['description' => '时间点。', 'type' => 'string', 'example' => '2017-09-30T16:00:00Z'], + 'Acc' => ['description' => '访问次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Traffic' => ['description' => '流量(B)。', 'type' => 'integer', 'format' => 'int32', 'example' => '346'], ], + 'description' => '', ], ], ], + 'description' => '', ], + 'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => 'DE81639B-DAC1-4C76-AB72-F34B836837D5'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'StartTime and EndTime can not be single.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Overlimit', - 'errorMessage' => 'Too many DomainNames are specified.', - ], - [ - 'errorCode' => 'InvalidInterval.Malformed', - 'errorMessage' => 'Specified Interval is malformed.', - ], + ['errorCode' => 'InvalidPageSize.Malformed', 'errorMessage' => 'PageSize must be of type Integer', 'description' => ''], + ['errorCode' => 'InvalidPageSize.ExceedsMaximum', 'errorMessage' => 'PageSize should be less than or equal to 1000', 'description' => ''], + ['errorCode' => 'InvalidPageSize.ExceedsMinimum', 'errorMessage' => 'PageSize should be greater than or equal to 1', 'description' => ''], + ['errorCode' => 'InvalidPath.Malformed', 'errorMessage' => 'Path must be of type String', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'StartTime must be of type String', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'EndTime must be of type String', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'DomainName must be of type String', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'DomainName is required', 'description' => ''], + ['errorCode' => 'InvalidDomainName.TooShort', 'errorMessage' => 'DomainName should be at least 1 chars long', 'description' => ''], + ['errorCode' => 'InvalidPageNumber.Malformed', 'errorMessage' => 'PageNumber must be of type Integer', 'description' => ''], + ['errorCode' => 'InvalidPageNumber.ExceedsMinimum', 'errorMessage' => 'PageNumber should be greater than or equal to 1', 'description' => ''], + ['errorCode' => 'InvalidTime.OverRange', 'errorMessage' => 'Specified StartTime or EndTime is over range', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:30:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"500\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:00:00Z\\",\\n \\"HttpsValue\\": \\"10\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainSrcBpsDataResponse>\\n<SrcBpsDataPerInterval>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:05:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:10:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:15:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:20:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:25:00Z</TimeStamp>\\n <Value>43.32533333333333</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n</SrcBpsDataPerInterval>\\n<DataInterval>300</DataInterval>\\n<RequestId>28B4EBA6-0AF4-407A-AAC9-6BC5F8D8158B</RequestId>\\n<EndTime>2019-12-10T20:30:00Z</EndTime>\\n<StartTime>2019-12-10T20:00:00Z</StartTime>\\n</DescribeDomainSrcBpsDataResponse>\\n","errorExample":""}]', - 'title' => '查询回源带宽', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + 'title' => '按目录维度获取监控数据', + 'description' => '- 该接口仅支持白名单用户(域名峰值带宽10 Gbps以上)调用,需要<props="china">[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</props><props="intl">[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</props>申请,符合条件的情况下将在后台进行配置。'."\n" + .'- 单用户调用频率:6000次/分。'."\n" + .'- 目前仅支持对账号下的指定域名开启目录维度带宽统计,不支持对全部域名开启。'."\n" + .'- 域名下所有文件的平均大小需要大于1 MB。'."\n" + .'- 每个域名的目录数量不超过100个,超过100个目录的情况下,数据的精度将会降低,查询的不准确。'."\n" + .'- 不指定StartTime和EndTime时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" + .'- 最多可获取最近30天的数据。'."\n" + ."\n\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainSrcHttpCodeData' => [ - 'summary' => '调用DescribeDomainSrcHttpCodeData查询加速域名回源HTTP返回码的总数和占比数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-20T02:00:23.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainPathData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainPathData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-09-30T17:00:00Z\\",\\n \\"StartTime\\": \\"2017-09-30T16:00:00Z\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 2,\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"PathDataPerInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Path\\": \\"/path/\\",\\n \\"Time\\": \\"2017-09-30T16:00:00Z\\",\\n \\"Acc\\": 10,\\n \\"Traffic\\": 346\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DE81639B-DAC1-4C76-AB72-F34B836837D5\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainPathDataResponse>\\n<DataInterval>300</DataInterval>\\n<EndTime>2017-09-30T17:00:00Z</EndTime>\\n<PageNumber>1</PageNumber>\\n<PageSize>20</PageSize>\\n<PathDataPerInterval>\\n <UsageData>\\n <Acc>10</Acc>\\n <Path>/path/</Path>\\n <Time>2017-09-30T16:00:00Z</Time>\\n <Traffic>346</Traffic>\\n </UsageData>\\n <UsageData>\\n <Acc>12</Acc>\\n <Path>/path/</Path>\\n <Time>2017-09-30T16:05:00Z</Time>\\n <Traffic>400</Traffic>\\n </UsageData>\\n</PathDataPerInterval>\\n<StartTime>2017-09-30T16:00:00Z</StartTime>\\n<TotalCount>2</TotalCount>\\n</DescribeDomainPathDataResponse>","errorExample":""}]', + ], + 'DescribeDomainPvData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9752,58 +8999,29 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111806', - 'abilityTreeNodes' => [ - 'FEATUREcdnUQAZK1', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111785', + 'abilityTreeNodes' => ['FEATUREcdnF7OM8K'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com,example.org', - ], + 'schema' => ['description' => '加速域名,仅支持查询一个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2015-11-28T00:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。'."\n", 'type' => 'string', 'required' => false, 'example' => '2015-11-29T00:00:00Z'], ], ], 'responses' => [ @@ -9811,136 +9029,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。'."\n", - 'type' => 'string', - 'example' => '2015-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。'."\n", - 'type' => 'string', - 'example' => '2015-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。'."\n", - 'type' => 'string', - 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7', - ], - 'DomainName' => [ - 'description' => '加速域名信息。'."\n", - 'type' => 'string', - 'example' => 'example.com,example.org', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。'."\n", - 'type' => 'string', - 'example' => '300', - ], - 'HttpCodeData' => [ + 'EndTime' => ['description' => '结束时间。'."\n", 'type' => 'string', 'example' => '2015-11-28T04:00:00Z'], + 'StartTime' => ['description' => '开始时间。'."\n", 'type' => 'string', 'example' => '2015-11-28T03:00:00Z'], + 'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位为秒。', 'type' => 'string', 'example' => '3600'], + 'PvDataInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '每个时间间隔的HTTP返回码占比数据。'."\n", + 'description' => '每个时间间隔的页面访问次数列表。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。'."\n", - 'type' => 'string', - 'example' => '2015-11-30T05:30:00Z', - ], - 'Value' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'CodeProportionData' => [ - 'description' => '各返回码占比使用数据列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'HTTP返回码。'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Proportion' => [ - 'description' => '占比使用数据。', - 'type' => 'string', - 'example' => '67.1458998935037', - ], - 'Count' => [ - 'description' => '总数。'."\n", - 'type' => 'string', - 'example' => '2300', - ], - ], - ], - ], - ], - ], + 'Value' => ['description' => '详细使用数据。'."\n", 'type' => 'string', 'example' => '9292'], + 'TimeStamp' => ['description' => '时间片起始时刻。'."\n", 'type' => 'string', 'example' => '2015-11-28T03:00:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com,example.org\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:30:00Z\\",\\n \\"Value\\": {\\n \\"CodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"67.1458998935037\\",\\n \\"Count\\": \\"2300\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcHttpCodeDataResponse>\\t\\n<HttpCodeData>\\n <UsageData>\\n <TimeStamp>2019-11-30T05:35:00Z</TimeStamp>\\n <Value>\\n <CodeProportionData>\\n <Count>1</Count>\\n <Proportion>100</Proportion>\\n <Code>200</Code>\\n </CodeProportionData>\\n </Value>\\n </UsageData>\\n</HttpCodeData>\\n<DataInterval>300</DataInterval>\\n<RequestId>A2E05931-13B7-40C3-843F-ECD9423959C1</RequestId>\\n<EndTime>2019-11-30T05:40:00Z</EndTime>\\n<StartTime>2019-11-30T05:33:00Z</StartTime>\\n</DescribeDomainSrcHttpCodeDataResponse>\\t\\n","errorExample":""}]', - 'title' => '查询回源HTTP状态码', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - ."\n" - .'**支持查询的时间粒度**'."\n" + 'title' => '获取PV页面访问统计', + 'summary' => '调用DescribeDomainPvData按小时粒度获取加速域名的PV页面访问统计,支持获取最近90天的数据。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" ."\n" - .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" ."\n" - .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" - .'|---------------|--------|---|---|'."\n" - .'|5分钟|3天|93天|15分钟|'."\n" - .'|1小时|31天|186天|一般延迟3-4小时|'."\n" - .'|1天|366天|366天|一般延迟4小时,不超过24小时|', + .' >- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" + .'- 单用户调用频率:50次/秒。'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainSrcTrafficData' => [ - 'summary' => '调用DescribeDomainSrcTrafficData查询加速域名的回源流量监控数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainPvData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainPvData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-11-28T04:00:00Z\\",\\n \\"StartTime\\": \\"2015-11-28T03:00:00Z\\",\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"9292\\",\\n \\"TimeStamp\\": \\"2015-11-28T03:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainPvDataResponse>\\r\\n\\t<DataInterval>3600</DataInterval>\\r\\n\\t<RequestId>BCD7D917-76F1-442F-BB75-C810DE34C761</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2015-11-29T00:00:00Z</EndTime>\\r\\n\\t<PvDataInterval>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T03:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9292</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T23:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9239</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T07:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9464</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T12:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9379</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T22:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9243</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T10:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>10063</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T15:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9068</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T14:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9353</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T04:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9513</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T02:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9377</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T08:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9579</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9109</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T09:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>10631</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T06:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9587</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T01:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9108</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T16:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9454</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9285</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T19:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9059</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T00:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9470</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T05:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>11830</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T13:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9992</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T17:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9529</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T18:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9203</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T11:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9604</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t</PvDataInterval>\\r\\n\\t<StartTime>2015-11-28T00:00:00Z</StartTime>\\r\\n</DescribeDomainPvDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeDomainQpsData' => [ + 'summary' => '调用DescribeDomainQpsData获取5分钟计算粒度加速域名的每秒访问次数QPS,支持获取最近90天的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9949,61 +9113,47 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111809', - 'abilityTreeNodes' => [ - 'FEATUREcdnE9OF3Y', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111786', + 'abilityTreeNodes' => ['FEATUREcdnL8FLP3'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-10T20:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-10T21:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**接口说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -10011,99 +9161,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '300', - ], - 'SrcTrafficDataPerInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B8333EDB-4595-46E0-AFE9-29BAA290D0E0'], + 'DomainName' => ['description' => '加速域名信息。'."\n", 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'QpsDataInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataModule' => [ - 'description' => '每个时间间隔的回源流量数据列表。单位:Byte。', + 'description' => '每个时间间隔的QPS数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T20:35:00Z', - ], - 'HttpsValue' => [ - 'description' => 'Https回源流量。', - 'type' => 'string', - 'example' => '0', - ], + 'AccValue' => ['description' => '总访问次数。', 'type' => 'string', 'example' => '0'], + 'AccDomesticValue' => ['description' => '中国内地访问次数。', 'type' => 'string', 'example' => '0'], + 'AccOverseasValue' => ['description' => '全球(不包含中国内地)访问次数。', 'type' => 'string', 'example' => '0'], + 'HttpsValue' => ['description' => '节点HTTPS的QPS值。'."\n", 'type' => 'string', 'example' => '1'], + 'HttpsOverseasValue' => ['description' => '节点HTTPS全球(不包含中国内地)QPS值。'."\n", 'type' => 'string', 'example' => '1'], + 'DomesticValue' => ['description' => '中国内地QPS。', 'type' => 'string', 'example' => '0'], + 'HttpsAccOverseasValue' => ['description' => '节点全球(不包含中国内地)HTTPS请求数。'."\n", 'type' => 'string', 'example' => '1'], + 'HttpsDomesticValue' => ['description' => '节点HTTPS中国内地QPS值。'."\n", 'type' => 'string', 'example' => '1'], + 'HttpsAccValue' => ['description' => '节点HTTPS请求数。'."\n", 'type' => 'string', 'example' => '1'], + 'Value' => ['description' => '总QPS。', 'type' => 'string', 'example' => '0'], + 'OverseasValue' => ['description' => '全球(不包含中国内地)QPS。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'HttpsAccDomesticValue' => ['description' => '节点中国内地HTTPS请求数。'."\n", 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'StartTime and EndTime can not be single.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Overlimit', - 'errorMessage' => 'Too many DomainNames are specified.', - ], - [ - 'errorCode' => 'InvalidInterval.Malformed', - 'errorMessage' => 'Specified Interval is malformed.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"HttpsValue\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcFlowDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\",\\n \\"Value\\": \\"0\\",\\n \\"HttpsValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"Value\\": \\"0\\",\\n \\"HttpsValue\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainSrcTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<SrcFlowDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t\\t<HttpsValue>0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t\\t<HttpsValue>0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</SrcFlowDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n</DescribeDomainSrcTrafficDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询回源流量', + 'title' => '查询QPS', 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" .'**支持查询的时间粒度**'."\n" @@ -10117,17 +9224,34 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainSrcQpsData' => [ - 'summary' => '调用DescribeDomainSrcQpsData查询回源QPS数据,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:10.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainQpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"B8333EDB-4595-46E0-AFE9-29BAA290D0E0\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"QpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"AccValue\\": \\"0\\",\\n \\"AccDomesticValue\\": \\"0\\",\\n \\"AccOverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"1\\",\\n \\"HttpsOverseasValue\\": \\"1\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"HttpsAccOverseasValue\\": \\"1\\",\\n \\"HttpsDomesticValue\\": \\"1\\",\\n \\"HttpsAccValue\\": \\"1\\",\\n \\"Value\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\",\\n \\"HttpsAccDomesticValue\\": \\"1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainQpsDataResponse>\\n <EndTime>2019-11-30T05:40:00Z</EndTime>\\n <StartTime>2019-11-30T05:33:00Z</StartTime>\\n <RequestId>B8333EDB-4595-46E0-AFE9-29BAA290D0E0</RequestId>\\n <DomainName>example.com</DomainName>\\n <DataInterval>300</DataInterval>\\n <QpsDataInterval>\\n <AccValue>0</AccValue>\\n <AccDomesticValue>0</AccDomesticValue>\\n <AccOverseasValue>0</AccOverseasValue>\\n <HttpsValue>1</HttpsValue>\\n <HttpsOverseasValue>1</HttpsOverseasValue>\\n <DomesticValue>0</DomesticValue>\\n <HttpsAccOverseasValue>1</HttpsAccOverseasValue>\\n <HttpsDomesticValue>1</HttpsDomesticValue>\\n <HttpsAccValue>1</HttpsAccValue>\\n <Value>0</Value>\\n <OverseasValue>0</OverseasValue>\\n <TimeStamp>2019-11-30T05:40:00Z</TimeStamp>\\n <HttpsAccDomesticValue>1</HttpsAccDomesticValue>\\n </QpsDataInterval>\\n</DescribeDomainQpsDataResponse>","errorExample":""}]', + ], + 'DescribeDomainQpsDataByLayer' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10136,59 +9260,58 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111807', - 'abilityTreeNodes' => [ - 'FEATUREcdnE9OF3Y', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111787', + 'abilityTreeNodes' => ['FEATUREcdnL8FLP3'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '查询的加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" - ."\n" - .'默认读取过去24小时数据。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '查询数据的时间粒度,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。'."\n", 'type' => 'string', 'required' => false, 'example' => 'beijing'], + ], + [ + 'name' => 'Layer', + 'in' => 'query', + 'schema' => ['description' => '查询维度。取值:'."\n" + ."\n" + .'- **网络层**:**IPv4**、**IPv6**。'."\n" + ."\n" + .'- **应用层**:**http**、**https**、**quic**。'."\n" + ."\n" + .'- **all**(默认值):包含网络层和应用层。', 'type' => 'string', 'required' => false, 'example' => 'all'], ], ], 'responses' => [ @@ -10196,119 +9319,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7CBCD6AD-B016-42E5-AE0B-B3731DE8F755', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,以秒为单位。', - 'type' => 'string', - 'example' => '300', - ], - 'SrcQpsDataPerInterval' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'], + 'Layer' => ['description' => '返回的查询维度。', 'type' => 'string', 'example' => 'all'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'QpsDataInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DataModule' => [ - 'description' => '每个时间间隔的回源带宽数据。', + 'description' => '每个时间间隔的QPS数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], + 'Value' => ['description' => 'QPS总数。', 'type' => 'string', 'example' => '0.56'], + 'AccValue' => ['description' => '总请求次数。', 'type' => 'string', 'example' => '56'], + 'AccDomesticValue' => ['description' => '中国内地请求数。', 'type' => 'string', 'example' => '12'], + 'OverseasValue' => ['description' => '全球(不包含中国内地)QPS。', 'type' => 'string', 'example' => '0.44'], + 'AccOverseasValue' => ['description' => '全球(不包含中国内地)请求数。', 'type' => 'string', 'example' => '44'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + 'DomesticValue' => ['description' => '中国内地QPS。', 'type' => 'string', 'example' => '0.12'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'StartTime and EndTime can not be single.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Overlimit', - 'errorMessage' => 'Too many DomainNames are specified.', - ], - [ - 'errorCode' => 'InvalidInterval.Malformed', - 'errorMessage' => 'Specified Interval is malformed.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcQpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcQpsDataResponse>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<SrcQpsDataPerInterval>\\n <DataModule>\\n <TimeStamp>2019-11-30T05:33:00Z</TimeStamp>\\n <Value>0</Value>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-11-30T05:34:00Z</TimeStamp>\\n <Value>0</Value>\\n </DataModule>\\n</SrcQpsDataPerInterval>\\n<RequestId>7CBCD6AD-B016-42E5-AE0B-B3731DE8F755</RequestId>\\n<StartTime>2019-11-30T05:33:00Z</StartTime>\\n<EndTime>2019-11-30T05:40:00Z</EndTime>\\n</DescribeDomainSrcQpsDataResponse>\\n","errorExample":""}]', - 'title' => '查询回源QPS', - 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + 'title' => '查询QPS-按协议', + 'summary' => '调用DescribeDomainQpsDataByLayer查询加速域名的每秒访问次数QPS,支持获取最近90天的数据。', + 'description' => '- 单用户调用频率:20次/秒。'."\n" + .'- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" - .'### 支持查询的时间粒度'."\n" + .'**支持查询的时间粒度**'."\n" ."\n" .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" - ."\n" - .'| 时间粒度 | 单次查询的最大时间跨度 | 可查询历史数据时间范围 | 数据延迟 |'."\n" - .'| -------------- | -------------- | ------ |-----|'."\n" - .'| 5分钟 | 3天 | 93天 | 15分钟 |'."\n" - .'| 1小时 | 31天 | 186天 | 一般延迟3-4小时 |'."\n" - .'| 1天 | 366天 | 366天 | 一般延迟4小时,不超过24小时 |', + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainRealTimeTrafficData' => [ - 'summary' => '调用DescribeDomainRealTimeTrafficData查询加速域名的流量监控数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:21.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainQpsDataByLayer'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainQpsDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Layer\\": \\"all\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"QpsDataInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0.56\\",\\n \\"AccValue\\": \\"56\\",\\n \\"AccDomesticValue\\": \\"12\\",\\n \\"OverseasValue\\": \\"0.44\\",\\n \\"AccOverseasValue\\": \\"44\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\",\\n \\"DomesticValue\\": \\"0.12\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainQpsDataByLayerResponse>\\n <EndTime>2019-11-30T05:40:00Z</EndTime>\\n <StartTime>2019-11-30T05:33:00Z</StartTime>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <Layer>all</Layer>\\n <DomainName>example.com</DomainName>\\n <DataInterval>300</DataInterval>\\n <QpsDataInterval>\\n <Value>0.56</Value>\\n <AccValue>56</AccValue>\\n <AccDomesticValue>12</AccDomesticValue>\\n <OverseasValue>0.44</OverseasValue>\\n <AccOverseasValue>44</AccOverseasValue>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <DomesticValue>0.12</DomesticValue>\\n </QpsDataInterval>\\n</DescribeDomainQpsDataByLayerResponse>","errorExample":""}]', + ], + 'DescribeDomainRealTimeBpsData' => [ + 'summary' => '调用DescribeDomainRealTimeBpsData查询加速域名的带宽数据。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10317,184 +9416,120 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111799', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111788', + 'abilityTreeNodes' => ['FEATUREcdn5DW324'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'> 一次最多可以传500个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'StartTime', + 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:00:00Z', - ], + 'schema' => ['description' => '运营商英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ - 'name' => 'IspNameEn', + 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], + 'schema' => ['description' => '地域英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], [ - 'name' => 'LocationNameEn', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:01:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', - 'type' => 'string', - 'example' => '60', - ], - 'RealTimeTrafficDataPerInterval' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B49E6DDA-F413-422B-B58E-2FA23F286726'], + 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间间隔的流量数据,单位:Byte。', + 'BpsModel' => [ + 'description' => '返回数据。', 'type' => 'array', 'items' => [ - 'description' => '每个时间间隔的流量数据。', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], + 'Bps' => ['description' => '带宽数据,单位:bit/s。', 'type' => 'number', 'format' => 'float', 'example' => '16710625.733333332'], + 'TimeStamp' => ['description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间。', 'type' => 'string', 'example' => '2019-11-30T05:41:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'StartTime and EndTime can not be single.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Overlimit', - 'errorMessage' => 'Too many DomainNames are specified.', - ], - [ - 'errorCode' => 'InvalidInterval.Malformed', - 'errorMessage' => 'Specified Interval is malformed.', - ], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n} "},{"type":"xml","example":"<DescribeDomainRealTimeTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeTrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeTrafficDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeTrafficDataResponse>","errorExample":""}]', - 'title' => '查询实时流量', + 'title' => '查询实时带宽', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainRealTimeBpsData' => [ - 'summary' => '调用DescribeDomainRealTimeBpsData查询加速域名的带宽数据。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:39.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeBpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B49E6DDA-F413-422B-B58E-2FA23F286726\\",\\n \\"Data\\": {\\n \\"BpsModel\\": [\\n {\\n \\"Bps\\": 16710625.733333332,\\n \\"TimeStamp\\": \\"2019-11-30T05:41:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeBpsDataResponse>\\n<Data>\\n <BpsModel>\\n <TimeStamp>2019-11-30T05:41:00Z</TimeStamp>\\n <Bps>16710625.733333332</Bps>\\n </BpsModel>\\n <BpsModel>\\n <TimeStamp>2019-11-30T05:42:00Z</TimeStamp>\\n <Bps>59392614.8</Bps>\\n </BpsModel>\\n</Data>\\n<RequestId>B49E6DDA-F413-422B-B58E-2FA23F286726</RequestId>\\n</DescribeDomainRealTimeBpsDataResponse>","errorExample":""}]', + ], + 'DescribeDomainRealTimeByteHitRateData' => [ + 'summary' => '调用DescribeDomainRealTimeByteHitRateData查询域名字节命中率数据。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10503,73 +9538,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111788', - 'abilityTreeNodes' => [ - 'FEATUREcdn5DW324', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111789', + 'abilityTreeNodes' => ['FEATUREcdn3CRD2L'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'> 一次最多可以传500个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], - ], - [ - 'name' => 'LocationNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', - ], + 'schema' => ['description' => '获取数据起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-05-15T09:13:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '获取数据结束时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2020-05-15T09:15:00Z'], ], ], 'responses' => [ @@ -10577,70 +9571,226 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B49E6DDA-F413-422B-B58E-2FA23F286726', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '70A26B11-3673-479C-AEA8-E03FC5D3496D'], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'BpsModel' => [ + 'ByteHitRateDataModel' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Bps' => [ - 'description' => '带宽数据,单位:bit/s。', - 'type' => 'number', - 'format' => 'float', - 'example' => '16710625.733333332', - ], - 'TimeStamp' => [ - 'description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:41:00Z', - ], + 'ByteHitRate' => ['description' => '字节命中率(百分比数据)。', 'type' => 'number', 'format' => 'float', 'example' => '0.8956940476262277'], + 'TimeStamp' => ['description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ], + ], + 'title' => '查询实时字节命中率', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + .'- 由于存在多个域名合并存储的情况,可能会导致查询的命中率数据不准确,具体情况请您以实际配置为准。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeByteHitRateData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeByteHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"70A26B11-3673-479C-AEA8-E03FC5D3496D\\",\\n \\"Data\\": {\\n \\"ByteHitRateDataModel\\": [\\n {\\n \\"ByteHitRate\\": 0.8956940476262277,\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeByteHitRateDataResponse>\\n<RequestId>95C90452-100B-4226-A63D-2D570CE2A971</RequestId>\\n<Data>\\n <ByteHitRateDataModel>\\n <ByteHitRate>0.8956940476262277</ByteHitRate>\\n <TimeStamp>2020-05-15T09:13:00Z</TimeStamp>\\n </ByteHitRateDataModel>\\n <ByteHitRateDataModel>\\n <ByteHitRate>0.8429129920796812</ByteHitRate>\\n <TimeStamp>2020-05-15T09:14:00Z</TimeStamp>\\n </ByteHitRateDataModel>\\n</Data>\\n</DescribeDomainRealTimeByteHitRateDataResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainRealTimeDetailData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111790', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '待查询的加速域名,一次最多同时查询20个域名,域名之间用英文逗号分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据的起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。例如:2019-11-30T05:33:00Z。', 'type' => 'string', 'required' => true, 'example' => '2019-11-30T05:33:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据的结束时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。例如:2019-11-30T05:40:00Z。'."\n" + ."\n" + .'> 结束时间需大于开始时间,并且结束时间和开始时间相差不超过10分钟。', 'type' => 'string', 'required' => true, 'example' => '2019-11-30T05:40:00Z'], + ], + [ + 'name' => 'Field', + 'in' => 'query', + 'schema' => ['description' => '获取的类别信息,多个用英文逗号(,)分隔。取值:'."\n" + ."\n" + .'- **qps**:每秒访问次数。'."\n" + .'- **bps**:带宽数据。'."\n" + .'- **http_code**:HTTP返回码。', 'type' => 'string', 'required' => true, 'example' => 'qps'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '地域英文名,默认查询所有地域。您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取地域英文名。', 'type' => 'string', 'required' => false, 'example' => 'Guangdong'], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + 'schema' => ['description' => '运营商英文名,默认查询所有运营商。您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取运营商英文名。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], + ], + [ + 'name' => 'Merge', + 'in' => 'query', + 'schema' => ['description' => '是否输出汇总值。取值:'."\n" + ."\n" + .'- **true**:输出。'."\n" + .'- **false**:不输出。'."\n" + ."\n" + .'默认值为**false**。', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'MergeLocIsp', + 'in' => 'query', + 'schema' => ['description' => '是否输出汇总值。取值:'."\n" + ."\n" + .'- **true**:输出只会按照Domain进行分组,聚合地域和运营商。'."\n" + .'- **false**:输出只会按照Domain进行分组。'."\n" + ."\n" + .'默认值为**false**。', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => ['description' => '地区运营商详细数据。', 'type' => 'string', 'example' => '['."\n" + .' {'."\n" + .' "time_stp": "2018-06-05T20:00:00Z",'."\n" + .' "domain_name": "example.com",'."\n" + .' "location": "Guangdong",'."\n" + .' "isp": "telecom",'."\n" + .' "qps": 10'."\n" + .' },'."\n" + .' {'."\n" + .' "time_stp": "2018-06-05T20:00:00Z",'."\n" + .' "domain_name": "example.com",'."\n" + .' "location": "Jiangsu",'."\n" + .' "isp": "unicom",'."\n" + .' "qps": 11.1'."\n" + .' }'."\n" + .']'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B49E6DDA-F413-422B-B58E-2FA23F286726'], + ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B49E6DDA-F413-422B-B58E-2FA23F286726\\",\\n \\"Data\\": {\\n \\"BpsModel\\": [\\n {\\n \\"Bps\\": 16710625.733333332,\\n \\"TimeStamp\\": \\"2019-11-30T05:41:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeBpsDataResponse>\\n<Data>\\n <BpsModel>\\n <TimeStamp>2019-11-30T05:41:00Z</TimeStamp>\\n <Bps>16710625.733333332</Bps>\\n </BpsModel>\\n <BpsModel>\\n <TimeStamp>2019-11-30T05:42:00Z</TimeStamp>\\n <Bps>59392614.8</Bps>\\n </BpsModel>\\n</Data>\\n<RequestId>B49E6DDA-F413-422B-B58E-2FA23F286726</RequestId>\\n</DescribeDomainRealTimeBpsDataResponse>","errorExample":""}]', - 'title' => '查询实时带宽', - 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ], + ], + 'title' => '批量获取域名实时监控详细数据', + 'summary' => '调用DescribeDomainRealTimeDetailData批量获取域名实时监控详细数据。', + 'description' => '- 支持查询7天内的数据,查询粒度为1分钟。'."\n" + .'- 单个用户的调用频率:10次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseParamsDescription' => '>Data字段受API限制,按JSON字符串返回,具体结构及字段描述如下:'."\n" + ."\n" + .'### Data字段描述 (如对应字段没有数据则不返回该字段)'."\n" + .'| 名称 | 类型 | 描述 |示例值|'."\n" + .'|-------------|----------|----------------------------------------------|---|'."\n" + .'| domain_name | String | 查询域名。 | example.com |'."\n" + .'| isp | String | 运营商名称。 |unicom|'."\n" + .'| location | String | 地区名称。 | qingdao |'."\n" + .'| qps | Long |每秒访问次数。 | 40 |'."\n" + .'| bps | Long | 带宽数据,单位:bit/s。 | 100 |'."\n" + .'| http_code | Map| http_code明细。键为状态码名称,值为状态码数量。 |{"200": 1, "304": 2, "403": 3}|'."\n" + .'| time_stp | String | 数据起始时间,键为查询数据的起始时间,日期格式按照ISO8601表示法,并使用UTC时间,<br>例如:2016-10-20T04:00:00Z.。|2022-10-20T04:00:00Z|', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:21:10.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeDetailData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeDetailData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"[\\\\n {\\\\n \\\\\\"time_stp\\\\\\": \\\\\\"2018-06-05T20:00:00Z\\\\\\",\\\\n \\\\\\"domain_name\\\\\\": \\\\\\"example.com\\\\\\",\\\\n \\\\\\"location\\\\\\": \\\\\\"Guangdong\\\\\\",\\\\n \\\\\\"isp\\\\\\": \\\\\\"telecom\\\\\\",\\\\n \\\\\\"qps\\\\\\": 10\\\\n },\\\\n {\\\\n \\\\\\"time_stp\\\\\\": \\\\\\"2018-06-05T20:00:00Z\\\\\\",\\\\n \\\\\\"domain_name\\\\\\": \\\\\\"example.com\\\\\\",\\\\n \\\\\\"location\\\\\\": \\\\\\"Jiangsu\\\\\\",\\\\n \\\\\\"isp\\\\\\": \\\\\\"unicom\\\\\\",\\\\n \\\\\\"qps\\\\\\": 11.1\\\\n }\\\\n]\\",\\n \\"RequestId\\": \\"B49E6DDA-F413-422B-B58E-2FA23F286726\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainRealTimeDetailDataResponse>\\n<Data>\\n <2018-06-05T20:00:00Z>\\n <example.com>\\n <Guangdong>\\n <telecom>\\n <qps>10</qps>\\n <http_code>\\n <200>1</200>\\n <304>2</304>\\n </http_code>\\n </telecom>\\n </Guangdong>\\n <Jiangsu>\\n <unicom>\\n <qps>11.1</qps>\\n <http_code>\\n <200>1</200>\\n <304>2</304>\\n <403>3</403>\\n </http_code>\\n </unicom>\\n </Jiangsu>\\n </example.com>\\n </2018-06-05T20:00:00Z>\\n</Data>\\n<RequestId>B49E6DDA-F413-422B-B58E-2FA23F286726</RequestId>\\n</DescribeDomainRealTimeDetailDataResponse>","errorExample":""}]', ], 'DescribeDomainRealTimeHttpCodeData' => [ 'summary' => '调用DescribeDomainRealTimeHttpCodeData查询加速域名HTTP返回码的总数和占比数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10649,69 +9799,44 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111791', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'> 一次最多可以传100个域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com,example.org', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'> 一次最多可以传100个域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com,example.org'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:39:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:39:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名。通过[DescribeCdnRegionAndIsp](~~91077~~)获得,默认查询所有运营商。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', - ], + 'schema' => ['description' => '运营商英文名。通过[DescribeCdnRegionAndIsp](~~91077~~)获得,默认查询所有运营商。'."\n", 'type' => 'string', 'required' => false, 'example' => 'unicom'], ], [ 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名。通过[DescribeCdnRegionAndIsp](~~91077~~)获得,默认查询所有地域。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '地域英文名。通过[DescribeCdnRegionAndIsp](~~91077~~)获得,默认查询所有地域。'."\n", 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -10719,33 +9844,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-29T05:42:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-29T05:39:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com,example.org', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', - 'type' => 'string', - 'example' => '60', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-29T05:42:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-29T05:39:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com,example.org'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', 'type' => 'string', 'example' => '60'], 'RealTimeHttpCodeData' => [ 'type' => 'object', 'itemNode' => true, @@ -10756,11 +9861,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-11-29T05:39:00Z', - ], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-11-29T05:39:00Z'], 'Value' => [ 'type' => 'object', 'itemNode' => true, @@ -10771,75 +9872,71 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => 'HTTP返回码。', - 'type' => 'string', - 'example' => '500', - ], - 'Proportion' => [ - 'description' => '占比使用数据。', - 'type' => 'string', - 'example' => '28.4496124031008', - ], - 'Count' => [ - 'description' => '总数。', - 'type' => 'string', - 'example' => '100', - ], + 'Code' => ['description' => 'HTTP返回码。', 'type' => 'string', 'example' => '500'], + 'Proportion' => ['description' => '占比使用数据。', 'type' => 'string', 'example' => '28.4496124031008'], + 'Count' => ['description' => '总数。', 'type' => 'string', 'example' => '100'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-29T05:42:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T05:39:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com,example.org\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2019-11-29T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Code\\": \\"500\\",\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Count\\": \\"100\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RealTimeHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n },\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"DataInterval\\": \\"60\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example1.com,example2.com\\",\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeHttpCodeDataResponse>\\n<DataInterval>60</DataInterval>\\n<RequestId>99E690FC-86A3-4533-8F61-CF9E319141A4</RequestId>\\n<DomainName>example.com,example.org</DomainName>\\n<EndTime>2019-11-29T05:42:00Z</EndTime>\\n<StartTime>2019-11-29T05:39:00Z</StartTime>\\n<RealTimeHttpCodeData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:39:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>2</Count>\\n <Proportion>100</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:40:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>50</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>50</Proportion>\\n <Code>304</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:41:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>11</Count>\\n <Proportion>91.66666666666666</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>8.333333333333332</Proportion>\\n <Code>206</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n</RealTimeHttpCodeData>\\n</DescribeDomainRealTimeHttpCodeDataResponse>","errorExample":""}]', 'title' => '查询实时状态码', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeHttpCodeData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-29T05:42:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T05:39:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com,example.org\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2019-11-29T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Code\\": \\"500\\",\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Count\\": \\"100\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RealTimeHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n },\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"DataInterval\\": \\"60\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example1.com,example2.com\\",\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeHttpCodeDataResponse>\\n<DataInterval>60</DataInterval>\\n<RequestId>99E690FC-86A3-4533-8F61-CF9E319141A4</RequestId>\\n<DomainName>example.com,example.org</DomainName>\\n<EndTime>2019-11-29T05:42:00Z</EndTime>\\n<StartTime>2019-11-29T05:39:00Z</StartTime>\\n<RealTimeHttpCodeData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:39:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>2</Count>\\n <Proportion>100</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:40:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>50</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>50</Proportion>\\n <Code>304</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T05:41:00Z</TimeStamp>\\n <Value>\\n <RealTimeCodeProportionData>\\n <Count>11</Count>\\n <Proportion>91.66666666666666</Proportion>\\n <Code>200</Code>\\n </RealTimeCodeProportionData>\\n <RealTimeCodeProportionData>\\n <Count>1</Count>\\n <Proportion>8.333333333333332</Proportion>\\n <Code>206</Code>\\n </RealTimeCodeProportionData>\\n </Value>\\n </UsageData>\\n</RealTimeHttpCodeData>\\n</DescribeDomainRealTimeHttpCodeDataResponse>","errorExample":""}]', ], 'DescribeDomainRealTimeQpsData' => [ 'summary' => '调用DescribeDomainRealTimeQpsData查询加速域名每秒访问次数数据。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10848,73 +9945,48 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111793', - 'abilityTreeNodes' => [ - 'FEATUREcdnL8FLP3', - ], + 'abilityTreeNodes' => ['FEATUREcdnL8FLP3'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'> 一次最多可以传500个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'> 一次最多可以传500个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取,不传该参数默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', - ], + 'schema' => ['description' => '运营商英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取,不传该参数默认查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名。'."\n" - ."\n" - .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取,不传该参数默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'schema' => ['description' => '地域英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取,不传该参数默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-02T11:25:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-02T11:25:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-02T11:26:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-02T11:26:00Z'], ], ], 'responses' => [ @@ -10922,11 +9994,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D'], 'Data' => [ 'type' => 'object', 'itemNode' => true, @@ -10937,54 +10005,59 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Qps' => [ - 'description' => 'QPS(每秒访问次数)数据。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1851.25', - ], - 'TimeStamp' => [ - 'description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间。', - 'type' => 'string', - 'example' => '2019-12-02T11:25:00Z', - ], + 'Qps' => ['description' => 'QPS(每秒访问次数)数据。', 'type' => 'number', 'format' => 'float', 'example' => '1851.25'], + 'TimeStamp' => ['description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间。', 'type' => 'string', 'example' => '2019-12-02T11:25:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D\\",\\n \\"Data\\": {\\n \\"QpsModel\\": [\\n {\\n \\"Qps\\": 1851.25,\\n \\"TimeStamp\\": \\"2019-12-02T11:25:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeQpsDataResponse>\\r\\n\\t<Data>\\r\\n\\t\\t<QpsModel>\\r\\n\\t\\t\\t<TimeStamp>2019-12-02T11:26:00Z</TimeStamp>\\r\\n\\t\\t\\t<Qps>1851.25</Qps>\\r\\n\\t\\t</QpsModel>\\r\\n\\t\\t<QpsModel>\\r\\n\\t\\t\\t<TimeStamp>2019-12-02T11:25:00Z</TimeStamp>\\r\\n\\t\\t\\t<Qps>8967.7</Qps>\\r\\n\\t\\t</QpsModel>\\r\\n\\t</Data>\\r\\n\\t<RequestId>32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D</RequestId>\\r\\n</DescribeDomainRealTimeQpsDataResponse>","errorExample":""}]', 'title' => '查询实时QPS', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainRealTimeReqHitRateData' => [ - 'summary' => '调用DescribeDomainRealTimeReqHitRateData查询加速域名请求命中率数据。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:23.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeQpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D\\",\\n \\"Data\\": {\\n \\"QpsModel\\": [\\n {\\n \\"Qps\\": 1851.25,\\n \\"TimeStamp\\": \\"2019-12-02T11:25:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeQpsDataResponse>\\r\\n\\t<Data>\\r\\n\\t\\t<QpsModel>\\r\\n\\t\\t\\t<TimeStamp>2019-12-02T11:26:00Z</TimeStamp>\\r\\n\\t\\t\\t<Qps>1851.25</Qps>\\r\\n\\t\\t</QpsModel>\\r\\n\\t\\t<QpsModel>\\r\\n\\t\\t\\t<TimeStamp>2019-12-02T11:25:00Z</TimeStamp>\\r\\n\\t\\t\\t<Qps>8967.7</Qps>\\r\\n\\t\\t</QpsModel>\\r\\n\\t</Data>\\r\\n\\t<RequestId>32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D</RequestId>\\r\\n</DescribeDomainRealTimeQpsDataResponse>","errorExample":""}]', + ], + 'DescribeDomainRealTimeReqHitRateData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10993,47 +10066,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111794', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-01-02T11:23:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2018-01-02T11:23:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-01-02T11:26:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2018-01-02T11:26:00Z'], ], ], 'responses' => [ @@ -11041,11 +10099,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '70A26B11-3673-479C-AEA8-E03FC5D3496D', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '70A26B11-3673-479C-AEA8-E03FC5D3496D'], 'Data' => [ 'type' => 'object', 'itemNode' => true, @@ -11056,177 +10110,63 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ReqHitRate' => [ - 'description' => '请求命中率数据。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8956940476262277', - ], - 'TimeStamp' => [ - 'description' => '数据时间戳,日期格式按照ISO8601表示法,并使用UTC时间。', - 'type' => 'string', - 'example' => '2018-01-02T11:26:00Z', - ], + 'ReqHitRate' => ['description' => '请求命中率数据。', 'type' => 'number', 'format' => 'float', 'example' => '0.8956940476262277'], + 'TimeStamp' => ['description' => '数据时间戳,日期格式按照ISO8601表示法,并使用UTC时间。', 'type' => 'string', 'example' => '2018-01-02T11:26:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"70A26B11-3673-479C-AEA8-E03FC5D3496D\\",\\n \\"Data\\": {\\n \\"ReqHitRateDataModel\\": [\\n {\\n \\"ReqHitRate\\": 0.8956940476262277,\\n \\"TimeStamp\\": \\"2018-01-02T11:26:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeReqHitRateDataResponse>\\r\\n\\t<Data>\\r\\n\\t\\t<ReqHitRateDataModel>\\r\\n\\t\\t\\t<TimeStamp>2018-01-02T11:26:00Z</TimeStamp>\\r\\n\\t\\t\\t<ReqHitRate>0.8956940476262277</ReqHitRate>\\r\\n\\t\\t</ReqHitRateDataModel>\\r\\n\\t\\t<ReqHitRateDataModel>\\r\\n\\t\\t\\t<TimeStamp>2018-01-02T11:25:00Z</TimeStamp>\\r\\n\\t\\t\\t<ReqHitRate>0.8429129920796812</ReqHitRate>\\r\\n\\t\\t</ReqHitRateDataModel>\\r\\n\\t</Data>\\r\\n\\t<RequestId>70A26B11-3673-479C-AEA8-E03FC5D3496D</RequestId>\\r\\n</DescribeDomainRealTimeReqHitRateDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', 'title' => '查询实时请求命中率', + 'summary' => '调用DescribeDomainRealTimeReqHitRateData查询加速域名请求命中率数据。', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" .'- Go语言默认是用POST方式请求,需手动修改使用GET方式请求,声明request.Method="GET"。'."\n" .'- 由于存在多域名合并存储的情况,可能会导致命中率数据不准确,具体情况请您以实际配置为准。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainRealTimeByteHitRateData' => [ - 'summary' => '调用DescribeDomainRealTimeByteHitRateData查询域名字节命中率数据。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:18.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111789', - 'abilityTreeNodes' => [ - 'FEATUREcdn3CRD2L', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeReqHitRateData'], ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-15T09:13:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-05-15T09:15:00Z', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '70A26B11-3673-479C-AEA8-E03FC5D3496D', - ], - 'Data' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ByteHitRateDataModel' => [ - 'description' => '返回数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ByteHitRate' => [ - 'description' => '字节命中率(百分比数据)。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8956940476262277', - ], - 'TimeStamp' => [ - 'description' => '数据时间戳。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - ], - ], - ], - ], - ], + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeReqHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"70A26B11-3673-479C-AEA8-E03FC5D3496D\\",\\n \\"Data\\": {\\n \\"ByteHitRateDataModel\\": [\\n {\\n \\"ByteHitRate\\": 0.8956940476262277,\\n \\"TimeStamp\\": \\"2019-11-30T05:40:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeByteHitRateDataResponse>\\n<RequestId>95C90452-100B-4226-A63D-2D570CE2A971</RequestId>\\n<Data>\\n <ByteHitRateDataModel>\\n <ByteHitRate>0.8956940476262277</ByteHitRate>\\n <TimeStamp>2020-05-15T09:13:00Z</TimeStamp>\\n </ByteHitRateDataModel>\\n <ByteHitRateDataModel>\\n <ByteHitRate>0.8429129920796812</ByteHitRate>\\n <TimeStamp>2020-05-15T09:14:00Z</TimeStamp>\\n </ByteHitRateDataModel>\\n</Data>\\n</DescribeDomainRealTimeByteHitRateDataResponse>\\n","errorExample":""}]', - 'title' => '查询实时字节命中率', - 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" - .'- 由于存在多个域名合并存储的情况,可能会导致查询的命中率数据不准确,具体情况请您以实际配置为准。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"70A26B11-3673-479C-AEA8-E03FC5D3496D\\",\\n \\"Data\\": {\\n \\"ReqHitRateDataModel\\": [\\n {\\n \\"ReqHitRate\\": 0.8956940476262277,\\n \\"TimeStamp\\": \\"2018-01-02T11:26:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRealTimeReqHitRateDataResponse>\\r\\n\\t<Data>\\r\\n\\t\\t<ReqHitRateDataModel>\\r\\n\\t\\t\\t<TimeStamp>2018-01-02T11:26:00Z</TimeStamp>\\r\\n\\t\\t\\t<ReqHitRate>0.8956940476262277</ReqHitRate>\\r\\n\\t\\t</ReqHitRateDataModel>\\r\\n\\t\\t<ReqHitRateDataModel>\\r\\n\\t\\t\\t<TimeStamp>2018-01-02T11:25:00Z</TimeStamp>\\r\\n\\t\\t\\t<ReqHitRate>0.8429129920796812</ReqHitRate>\\r\\n\\t\\t</ReqHitRateDataModel>\\r\\n\\t</Data>\\r\\n\\t<RequestId>70A26B11-3673-479C-AEA8-E03FC5D3496D</RequestId>\\r\\n</DescribeDomainRealTimeReqHitRateDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', ], 'DescribeDomainRealTimeSrcBpsData' => [ 'summary' => '调用DescribeDomainRealTimeSrcBpsData查询域名回源带宽数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11235,45 +10175,30 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111795', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:01:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:01:00Z'], ], ], 'responses' => [ @@ -11281,33 +10206,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7CBCD6AD-B016-42E5-AE0B-B3731DE8F755', - ], - 'DomainName' => [ - 'description' => '加速域名。'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见**使用说明**中返回数据时间粒度。', - 'type' => 'string', - 'example' => '60', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7CBCD6AD-B016-42E5-AE0B-B3731DE8F755'], + 'DomainName' => ['description' => '加速域名。'."\n", 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见**使用说明**中返回数据时间粒度。', 'type' => 'string', 'example' => '60'], 'RealTimeSrcBpsDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, @@ -11318,66 +10223,63 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据,单位:bit/s。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], + 'Value' => ['description' => '详细使用数据,单位:bit/s。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified StartTime is invalid.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"821\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeSrcBpsDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeSrcBpsDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>821</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeSrcBpsDataPerInterval>\\r\\n\\t<RequestId>7CBCD6AD-B016-42E5-AE0B-B3731DE8F755</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeSrcBpsDataResponse>\\t\\r\\n","errorExample":""}]', 'title' => '查询实时回源带宽', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:08.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcBpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"821\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeSrcBpsDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeSrcBpsDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>821</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeSrcBpsDataPerInterval>\\r\\n\\t<RequestId>7CBCD6AD-B016-42E5-AE0B-B3731DE8F755</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeSrcBpsDataResponse>\\t\\r\\n","errorExample":""}]', ], 'DescribeDomainRealTimeSrcHttpCodeData' => [ 'summary' => '调用DescribeDomainRealTimeSrcHttpCodeData查询加速域名回源HTTP返回码的总数和占比数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11386,43 +10288,28 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111797', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T04:40:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T04:40:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], ], 'responses' => [ @@ -11430,31 +10317,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '60', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '60'], 'RealTimeSrcHttpCodeData' => [ 'type' => 'object', 'itemNode' => true, @@ -11465,11 +10332,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-11-30T05:40:00Z', - ], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-11-30T05:40:00Z'], 'Value' => [ 'type' => 'object', 'itemNode' => true, @@ -11480,77 +10343,73 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => 'HTTP返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Proportion' => [ - 'description' => '占比使用数据。', - 'type' => 'string', - 'example' => '0.62015503875969', - ], - 'Count' => [ - 'description' => '总数。', - 'type' => 'string', - 'example' => '100', - ], + 'Code' => ['description' => 'HTTP返回码。', 'type' => 'string', 'example' => '200'], + 'Proportion' => ['description' => '占比使用数据。', 'type' => 'string', 'example' => '0.62015503875969'], + 'Count' => ['description' => '总数。', 'type' => 'string', 'example' => '100'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Count\\": \\"100\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RealTimeSrcHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n },\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"DataInterval\\": \\"60\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example1.com,example2.com\\",\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainRealTimeSrcHttpCodeDataResesponse>\\r\\n\\t<RealTimeSrcHttpCodeData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:40:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>66.046511627907</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>200</Code>\\r\\n <Count>100</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>4.72868217054264</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>206</Code>\\r\\n <Count>101</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.155038759689922</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>302</Code>\\r\\n <Count>112</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.62015503875969</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>304</Code>\\r\\n <Count>120</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>28.4496124031008</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>500</Code>\\r\\n <Count>200</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:39:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>66.046511627907</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>200</Code>\\r\\n <Count>100</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>4.72868217054264</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>206</Code>\\r\\n <Count>101</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.155038759689922</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>302</Code>\\r\\n <Count>112</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.62015503875969</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>304</Code>\\r\\n <Count>120</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>28.4496124031008</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>500</Code>\\r\\n <Count>200</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t</RealTimeSrcHttpCodeData>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RequestId>BC858082-736F-4A25-867B-E5B67C85ACF7</RequestId>\\r\\n\\t<DomainName>example.com,example.org</DomainName>\\r\\n\\t<EndTime>2019-11-30T05:40:00Z</EndTime>\\r\\n\\t<StartTime>2019-11-30T05:33:00Z</StartTime>\\r\\n</DescribeDomainRealTimeSrcHttpCodeDataResesponse>\\r\\n\\t\\r\\n","errorExample":""}]', 'title' => '查询实时回源状态码', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" .'- 最多支持查询过去7天内的数据,单次查询时间跨度最多一小时。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-04-27T07:43:40.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-06-13T07:26:53.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcHttpCodeData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Count\\": \\"100\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RealTimeSrcHttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:40:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n },\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:39:00Z\\",\\n \\"Value\\": {\\n \\"RealTimeSrcCodeProportionData\\": [\\n {\\n \\"Proportion\\": \\"66.046511627907\\",\\n \\"Code\\": \\"200\\"\\n },\\n {\\n \\"Proportion\\": \\"4.72868217054264\\",\\n \\"Code\\": \\"206\\"\\n },\\n {\\n \\"Proportion\\": \\"0.155038759689922\\",\\n \\"Code\\": \\"302\\"\\n },\\n {\\n \\"Proportion\\": \\"0.62015503875969\\",\\n \\"Code\\": \\"304\\"\\n },\\n {\\n \\"Proportion\\": \\"28.4496124031008\\",\\n \\"Code\\": \\"500\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"DataInterval\\": \\"60\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example1.com,example2.com\\",\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainRealTimeSrcHttpCodeDataResesponse>\\r\\n\\t<RealTimeSrcHttpCodeData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:40:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>66.046511627907</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>200</Code>\\r\\n <Count>100</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>4.72868217054264</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>206</Code>\\r\\n <Count>101</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.155038759689922</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>302</Code>\\r\\n <Count>112</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.62015503875969</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>304</Code>\\r\\n <Count>120</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>28.4496124031008</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>500</Code>\\r\\n <Count>200</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:39:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>66.046511627907</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>200</Code>\\r\\n <Count>100</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>4.72868217054264</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>206</Code>\\r\\n <Count>101</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.155038759689922</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>302</Code>\\r\\n <Count>112</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>0.62015503875969</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>304</Code>\\r\\n <Count>120</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t<RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t\\t\\t<Proportion>28.4496124031008</Proportion>\\r\\n\\t\\t\\t\\t\\t<Code>500</Code>\\r\\n <Count>200</Count>\\r\\n\\t\\t\\t\\t</RealTimeSrcCodeProportionData>\\r\\n\\t\\t\\t</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t</RealTimeSrcHttpCodeData>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RequestId>BC858082-736F-4A25-867B-E5B67C85ACF7</RequestId>\\r\\n\\t<DomainName>example.com,example.org</DomainName>\\r\\n\\t<EndTime>2019-11-30T05:40:00Z</EndTime>\\r\\n\\t<StartTime>2019-11-30T05:33:00Z</StartTime>\\r\\n</DescribeDomainRealTimeSrcHttpCodeDataResesponse>\\r\\n\\t\\r\\n","errorExample":""}]', ], 'DescribeDomainRealTimeSrcTrafficData' => [ 'summary' => '调用DescribeDomainRealTimeSrcTrafficData查询加速域名1分钟粒度的回源流量监控数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11559,47 +10418,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111798', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:00:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-10T20:01:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:01:00Z'], ], ], 'responses' => [ @@ -11607,33 +10451,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。'."\n" - ."\n" - .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', - 'type' => 'string', - 'example' => '60', - ], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', 'type' => 'string', 'example' => '60'], 'RealTimeSrcTrafficDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, @@ -11644,74 +10468,64 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '0', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-12-10T20:01:00Z', - ], + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'StartTime and EndTime can not be single.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidDomainName.Overlimit', - 'errorMessage' => 'Too many DomainNames are specified.', - ], - [ - 'errorCode' => 'InvalidInterval.Malformed', - 'errorMessage' => 'Specified Interval is malformed.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'StartTime and EndTime can not be single.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Overlimit', 'errorMessage' => 'Too many DomainNames are specified.', 'description' => '指定的域名数量超过了API的限制。'], + ['errorCode' => 'InvalidInterval.Malformed', 'errorMessage' => 'Specified Interval is malformed.', 'description' => '时间粒度格式不规范。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeSrcTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeSrcTrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeSrcTrafficDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeSrcTrafficDataResponse>","errorExample":""}]', 'title' => '查询实时回源流量', 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeEsExecuteData' => [ - 'summary' => '调用DescribeEsExecuteData查询ES规则的运行情况。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:21:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcTrafficData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeSrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n}\\n\\t\\t\\t"},{"type":"xml","example":"<DescribeDomainRealTimeSrcTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeSrcTrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeSrcTrafficDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeSrcTrafficDataResponse>","errorExample":""}]', + ], + 'DescribeDomainRealTimeTrafficData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11720,87 +10534,79 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111818', - 'abilityTreeNodes' => [ - 'FEATUREcdnT7HAK0', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111799', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持100个域名查询。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2021-02-17T20:00:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:00:00Z'], ], [ - 'name' => 'EndTime', + 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2021-02-18T20:00:00Z', - ], + 'schema' => ['description' => '运营商英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ - 'name' => 'RuleId', + 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', - 'type' => 'string', - 'required' => true, - 'example' => '212896**', - ], + 'schema' => ['description' => '地域英文名。'."\n" + ."\n" + .'您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取。不传该参数默认查询所有地域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:01:00Z'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '99D61AB3-6164-4CF2-A0DE-129C9B07618B', - ], - 'Contents' => [ - 'description' => 'ES规则内容。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'ES规则运行情况图表的表名。', - 'type' => 'string', - 'example' => 'Exception', - ], - 'Points' => [ - 'description' => '图表对应列的时间和数值的列表。', - 'type' => 'array', - 'items' => [ - 'description' => '图表对应列的时间和数值。', - 'type' => 'string', - 'example' => '2021-02-18T19:05:00Z,8', - ], - ], - 'Columns' => [ - 'description' => 'ES规则运行情况图表的时间和列名的列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ES规则运行情况图表的时间和列名。', - 'type' => 'string', - 'example' => 'time,Exception', + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数固定返回60(1分钟)、300(5分钟)或3600(1小时),具体请参见使用说明中返回数据时间粒度。', 'type' => 'string', 'example' => '60'], + 'RealTimeTrafficDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的流量数据,单位:Byte。', + 'type' => 'array', + 'items' => [ + 'description' => '每个时间间隔的流量数据。', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-10T20:01:00Z'], ], ], ], ], + 'description' => '', ], ], ], @@ -11808,37 +10614,49 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'StartTime and EndTime can not be single.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Overlimit', 'errorMessage' => 'Too many DomainNames are specified.', 'description' => '指定的域名数量超过了API的限制。'], + ['errorCode' => 'InvalidInterval.Malformed', 'errorMessage' => 'Specified Interval is malformed.', 'description' => '时间粒度格式不规范。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99D61AB3-6164-4CF2-A0DE-129C9B07618B\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"Exception\\",\\n \\"Points\\": [\\n \\"2021-02-18T19:05:00Z,8\\"\\n ],\\n \\"Columns\\": [\\n \\"time,Exception\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeEsExecuteDataResponse>\\n<Contents>\\n <Columns>time</Columns>\\n <Columns>Exception</Columns>\\n <Name>Exception</Name>\\n <Points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>6</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>6</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>8</1>\\n </Points>\\n</Contents>\\n<Contents>\\n <Columns>time</Columns>\\n <Columns>ExecutedAndHit</Columns>\\n <Name>ExecutedAndHit</Name>\\n <Points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </Points>\\n</Contents>\\n<RequestId>99D61AB3-6164-4CF2-A0DE-129C9B07618B</RequestId>\\n</DescribeEsExecuteDataResponse>","errorExample":""}]', - 'title' => '查询ES规则的运行情况', - 'description' => '- 单用户调用频率:30次/秒。', + 'title' => '查询实时流量', + 'summary' => '调用DescribeDomainRealTimeTrafficData查询加速域名的流量监控数据。', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeEsExceptionData' => [ - 'summary' => '调用DescribeEsExceptionData查询ES规则执行的异常情况。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:47.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeTrafficData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:01:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:01:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"60\\",\\n \\"RealTimeTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:01:00Z\\",\\n \\"Value\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T20:01:00Z\\"\\n} "},{"type":"xml","example":"<DescribeDomainRealTimeTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>60</DataInterval>\\r\\n\\t<RealTimeTrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-12-10T20:01:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</RealTimeTrafficDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2019-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2019-12-10T20:01:00Z</EndTime>\\r\\n</DescribeDomainRealTimeTrafficDataResponse>","errorExample":""}]', + ], + 'DescribeDomainRealtimeLogDelivery' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11847,48 +10665,116 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111817', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111792', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => '开启实时日志投递服务域名,仅支持查询单个。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2021-02-17T20:00:00Z', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '域名实时投递状态。取值:'."\n" + ."\n" + .'- **online**:投递中。'."\n" + .'- **offline**:停止投递。', 'type' => 'string', 'example' => 'online'], + 'Logstore' => ['description' => '实时投递sls的LogStoreName。', 'type' => 'string', 'example' => 'LogstoreName'], + 'Project' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'example' => 'ProjectName'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2F8F3852-912F-42AC-80EB-F1CF4284DE93'], + 'Region' => ['description' => '实时投递sls的地域。', 'type' => 'string', 'example' => 'cn-shanghai'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', 'description' => '没有开启实时投递授权。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'title' => '查询实时日志投递信息', + 'summary' => '调用DescribeDomainRealtimeLogDelivery查询域名实时日志投递信息。', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-05T03:20:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"online\\",\\n \\"Logstore\\": \\"LogstoreName\\",\\n \\"Project\\": \\"ProjectName\\",\\n \\"RequestId\\": \\"2F8F3852-912F-42AC-80EB-F1CF4284DE93\\",\\n \\"Region\\": \\"cn-shanghai\\"\\n}","errorExample":"{\\n \\"Project\\":\\"test\\",\\n \\"Logstore\\":\\"test\\",\\n \\"Region\\":\\"cn-shanghai\\",\\n \\"Status\\":\\"online\\",\\n \\"RequestId\\":\\"2F8F3852-912F-42AC-80EB-F1CF4284DE93\\"\\n}"},{"type":"xml","example":"<DescribeDomainRealtimeLogDeliveryResponse>\\r\\n\\t<Project>test</Project>\\r\\n\\t<Logstore>test</Logstore>\\r\\n\\t<Region>cn-shanghai</Region>\\r\\n\\t<Status>online</Status>\\r\\n\\t<RequestId>2F8F3852-912F-42AC-80EB-F1CF4284DE93</RequestId>\\r\\n</DescribeDomainRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeDomainRegionData' => [ + 'summary' => '调用DescribeDomainRegionData获取加速域名天粒度的用户区域分布数据统计,支持获取最近90天的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111800', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2021-02-18T20:00:00Z', - ], + 'schema' => ['description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'RuleId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', - 'type' => 'string', - 'required' => true, - 'example' => '212896**', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2015-12-05T12:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2015-12-07T12:00:00Z'], ], ], 'responses' => [ @@ -11896,64 +10782,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '99D61AB3-6164-4CF2-A0DE-129C9B07618B', - ], - 'Contents' => [ - 'description' => 'ES执行异常情况的规则内容。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'ES规则执行异常情况图表的表名。', - 'type' => 'string', - 'example' => '401', - ], - 'Points' => [ - 'description' => '图表对应列的时间和数值列表。', - 'type' => 'array', - 'items' => [ - 'description' => '图表对应列的时间和数值。', - 'type' => 'string', - 'example' => '2021-02-18T19:05:00Z,0', - ], - ], - 'Columns' => [ - 'description' => 'ES规则执行异常情况图表的时间和列名列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ES规则执行异常情况图表的时间和列名。', - 'type' => 'string', - 'example' => 'time,401', + 'EndTime' => ['description' => '获取数据结束时间。', 'type' => 'string', 'example' => '2015-12-07T12:00:00Z'], + 'StartTime' => ['description' => '获取数据起始时间。', 'type' => 'string', 'example' => '2015-12-05T12:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2E5AD83F-BD7B-462E-8319-2E30E305519A'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '86400'], + 'Value' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RegionProportionData' => [ + 'description' => '各地域访问占比数据列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TotalQuery' => ['description' => '总请求次数。', 'type' => 'string', 'example' => '3'], + 'TotalBytes' => ['description' => '总流量,单位:Byte。', 'type' => 'string', 'example' => '2400057'], + 'AvgResponseRate' => ['description' => '平均响应速度,单位:Bps。', 'type' => 'string', 'example' => '154.3345765545624'], + 'AvgResponseTime' => ['description' => '平均响应时间,单位:毫秒。', 'type' => 'string', 'example' => '5183.666666666667'], + 'ReqErrRate' => ['description' => '请求错误率,例如返回90即为90%。', 'type' => 'string', 'example' => '0.0'], + 'AvgObjectSize' => ['description' => '响应平均大小,单位:Byte。', 'type' => 'string', 'example' => '800019.0'], + 'Bps' => ['description' => '带宽。', 'type' => 'string', 'example' => '380.9614285714286'], + 'Qps' => ['description' => '每秒查询率。', 'type' => 'string', 'example' => '5.9523809523809524E-5'], + 'RegionEname' => ['description' => '地区英文名称。', 'type' => 'string', 'example' => 'japan'], + 'Region' => ['description' => '地域信息。', 'type' => 'string', 'example' => '日本'], + 'Proportion' => ['description' => '访问占比数据,例如返回90即为90%。', 'type' => 'string', 'example' => '0.01155980271270037'], + 'BytesProportion' => ['description' => '总流量占比,例如返回90即为90%。', 'type' => 'string', 'example' => '0.003544181046236794'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99D61AB3-6164-4CF2-A0DE-129C9B07618B\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"401\\",\\n \\"Points\\": [\\n \\"2021-02-18T19:05:00Z,0\\"\\n ],\\n \\"Columns\\": [\\n \\"time,401\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeEsExceptionDataResponse>\\n<content>\\n <columns>time</columns>\\n <columns>401</columns>\\n <name>401</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>402</columns>\\n <name>402</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>403</columns>\\n <name>403</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>404</columns>\\n <name>404</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>405</columns>\\n <name>405</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>406</columns>\\n <name>406</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>407</columns>\\n <name>407</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>6</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>6</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>8</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>408</columns>\\n <name>408</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>409</columns>\\n <name>409</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>410</columns>\\n <name>410</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>499</columns>\\n <name>499</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<RequestId>99D61AB3-6164-4CF2-A0DE-129C9B07618B</RequestId>\\n</DescribeEsExceptionDataResponse>","errorExample":""}]', - 'title' => '查询ES规则的异常情况', - 'description' => '- 单用户调用频率:30次/秒。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ], + 404 => [ + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => ''], + ], + ], + 'title' => '获取用户区域分布数据统计', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 如果不指定**StartTime**和**EndTime**,该接口返回过去**24**小时的数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" + .'> - 获取数据有一定延时,如果需要获取前一天的数据,建议您隔天获取。'."\n" + .'> - 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnUserBillHistory' => [ - 'summary' => '调用DescribeCdnUserBillHistory查询用户历史账单。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:15:03.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRegionData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRegionData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-07T12:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-05T12:00:00Z\\",\\n \\"RequestId\\": \\"2E5AD83F-BD7B-462E-8319-2E30E305519A\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"Value\\": {\\n \\"RegionProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"3\\",\\n \\"TotalBytes\\": \\"2400057\\",\\n \\"AvgResponseRate\\": \\"154.3345765545624\\",\\n \\"AvgResponseTime\\": \\"5183.666666666667\\",\\n \\"ReqErrRate\\": \\"0.0\\",\\n \\"AvgObjectSize\\": \\"800019.0\\",\\n \\"Bps\\": \\"380.9614285714286\\",\\n \\"Qps\\": \\"5.9523809523809524E-5\\",\\n \\"RegionEname\\": \\"japan\\",\\n \\"Region\\": \\"日本\\",\\n \\"Proportion\\": \\"0.01155980271270037\\",\\n \\"BytesProportion\\": \\"0.003544181046236794\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRegionDataResponse>\\r\\n\\t<Value>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>380.9614285714286</Bps>\\r\\n\\t\\t\\t<Proportion>0.01155980271270037</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2400057</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.003544181046236794</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>3</TotalQuery>\\r\\n\\t\\t\\t<RegionEname></RegionEname>\\r\\n\\t\\t\\t<Region>日本</Region>\\r\\n\\t\\t\\t<AvgResponseRate>154.3345765545624</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>800019.0</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>5.9523809523809524E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5183.666666666667</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>25110.431412698414</Bps>\\r\\n\\t\\t\\t<Proportion>0.31211467324291</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>158195717</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.23360872886644055</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>81</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>xizang</RegionEname>\\r\\n\\t\\t\\t<Region>西藏自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1397.1430909315718</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1953033.5543209878</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0016071428571428571</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1397.8765432098764</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>40343.86242857143</Bps>\\r\\n\\t\\t\\t<Proportion>0.33908754623921084</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>254166333</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.37532921137846464</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>88</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>zhongqing</RegionEname>\\r\\n\\t\\t\\t<Region>重庆市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>787.8073097249128</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2888253.7875</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.001746031746031746</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3666.193181818182</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>38835.2834920635</Bps>\\r\\n\\t\\t\\t<Proportion>0.37376695437731194</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>244662286</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.3612945179094354</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>97</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>tianjin</RegionEname>\\r\\n\\t\\t\\t<Region>天津市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1711.4277340197823</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2522291.608247423</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0019246031746031746</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1473.7938144329896</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>69358.64117460318</Bps>\\r\\n\\t\\t\\t<Proportion>0.5895499383477188</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.34640522875817</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>436959439</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6452610763393265</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99291705425965</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>153</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>qinghai</RegionEname>\\r\\n\\t\\t\\t<Region>青海省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1210.9708048576356</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2855944.0483660134</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0030357142857142857</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2358.392156862745</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>66239.68633333335</Bps>\\r\\n\\t\\t\\t<Proportion>0.6473489519112207</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>417310023</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6162446463192347</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>168</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hainan</RegionEname>\\r\\n\\t\\t\\t<Region>海南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>324.9427676080411</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2483988.2375000003</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0033333333333333335</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>7644.386904761905</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>62071.644380952384</Bps>\\r\\n\\t\\t\\t<Proportion>0.7745067817509248</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.50248756218906</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>391051359</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.5774682921278322</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99983347455928</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>201</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanghai</RegionEname>\\r\\n\\t\\t\\t<Region>上海市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1319.43005273653</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1945529.152238806</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0039880952380952385</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1474.5223880597016</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>86967.5461111111</Bps>\\r\\n\\t\\t\\t<Proportion>0.9286374845869297</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>96.2655601659751</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>547895540</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.8090811968039774</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>98.60251863101267</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>241</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>beijing</RegionEname>\\r\\n\\t\\t\\t<Region>北京市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1223.3552235839977</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2273425.479253112</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.004781746031746032</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1858.3526970954356</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>228242.86641269844</Bps>\\r\\n\\t\\t\\t<Proportion>1.9690197287299631</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1437930058</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.1234014270475434</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>511</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>ningxia</RegionEname>\\r\\n\\t\\t\\t<Region>宁夏回族自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>512.8134924297486</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2813953.1475538164</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.010138888888888888</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5487.283757338552</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>219378.5598888889</Bps>\\r\\n\\t\\t\\t<Proportion>2.250308261405672</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1382084927</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.040934529315853</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.00000000000001</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>584</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jilin</RegionEname>\\r\\n\\t\\t\\t<Region>吉林省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1152.4327405034373</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2366583.779623288</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.011587301587301587</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2053.554794520548</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>181938.64595238096</Bps>\\r\\n\\t\\t\\t<Proportion>2.3273736128236746</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1146213469</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>1.6926214892159708</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>604</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Gansu</RegionEname>\\r\\n\\t\\t\\t<Region>甘肃省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>476.60455862620415</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1897704.4197019867</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.011984126984126984</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3981.7168874172185</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>302711.6698571429</Bps>\\r\\n\\t\\t\\t<Proportion>2.8013255240443895</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.8624484181568</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1907083520</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.816203642467227</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99996931440107</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>727</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>xinjiang</RegionEname>\\r\\n\\t\\t\\t<Region>新疆维吾尔自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>786.5196031941114</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2623223.5489683636</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014424603174603175</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3335.2297111416783</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>330366.9671587302</Bps>\\r\\n\\t\\t\\t<Proportion>2.847564734895191</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.86468200270636</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2081311893</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.0734879058423363</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99996955766207</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>739</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>neimenggu</RegionEname>\\r\\n\\t\\t\\t<Region>内蒙古自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>537.274830290738</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2816389.5711772665</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014662698412698412</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5241.9905277401895</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>296377.9758412699</Bps>\\r\\n\\t\\t\\t<Proportion>2.8552712700369915</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1867181247</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.7572796764166547</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>741</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guizhou</RegionEname>\\r\\n\\t\\t\\t<Region>贵州省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>784.3618585093111</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2519812.7500674766</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014702380952380953</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3212.5641025641025</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>359904.2652857143</Bps>\\r\\n\\t\\t\\t<Proportion>3.0749075215782984</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2267396871</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.348280901477785</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>798</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanxixian</RegionEname>\\r\\n\\t\\t\\t<Region>陕西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>936.6710791561273</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2841349.462781955</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.015833333333333335</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3033.4548872180453</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>351643.65639682545</Bps>\\r\\n\\t\\t\\t<Proportion>3.101880394574599</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>98.88198757763975</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2215355035</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.2714303563604967</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.8809108401154</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>805</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jiangxi</RegionEname>\\r\\n\\t\\t\\t<Region>江西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1809.5402913913995</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2751993.832670808</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.01597222222222222</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1520.824844720497</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>337654.18080952385</Bps>\\r\\n\\t\\t\\t<Proportion>3.313810110974106</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.4186046511628</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2127221339</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.141282707530976</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99985277977696</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>860</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Fujian</RegionEname>\\r\\n\\t\\t\\t<Region>福建省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1154.391434785841</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2473513.185</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.017063492063492062</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2142.6988372093024</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>359782.1130793651</Bps>\\r\\n\\t\\t\\t<Proportion>3.4525277435265105</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.55357142857143</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2266627312</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.3471444884395347</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.88374126237764</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>896</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanxi</RegionEname>\\r\\n\\t\\t\\t<Region>山西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1235.7418245535987</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2529717.982589286</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.017777777777777778</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2047.125</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>400389.1932857143</Bps>\\r\\n\\t\\t\\t<Proportion>3.5103267570900125</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2522451917</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.7249224817393896</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>911</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>yunnan</RegionEname>\\r\\n\\t\\t\\t<Region>云南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1662.686634908582</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2768882.4563117456</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.018075396825396824</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1665.3062568605928</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>396200.5617777778</Bps>\\r\\n\\t\\t\\t<Proportion>3.695283600493218</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2496063539</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.685954577676852</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>959</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hebei</RegionEname>\\r\\n\\t\\t\\t<Region>河北省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1028.303387588414</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2602777.413138686</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.01902777777777778</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2531.1376433785194</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>487959.9617619048</Bps>\\r\\n\\t\\t\\t<Proportion>4.188501849568434</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.72401103955842</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3074147759</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.5396156096015785</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99993802509998</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1087</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hubei</RegionEname>\\r\\n\\t\\t\\t<Region>湖北省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>884.3783424312907</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2828102.81425943</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02156746031746032</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3197.8426862925485</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>451918.7006190476</Bps>\\r\\n\\t\\t\\t<Proportion>4.296393341553637</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.64125560538116</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2847087813</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.2043145921101575</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.91296907710742</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1115</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>zhejiang</RegionEname>\\r\\n\\t\\t\\t<Region>浙江省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1127.3220113227628</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2553441.9855605382</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.022123015873015874</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2265.0511210762334</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>508989.9772222223</Bps>\\r\\n\\t\\t\\t<Proportion>4.37345869297164</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.64757709251101</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3206636856</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.73526319123739</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.7790833225895</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1135</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jiangsu</RegionEname>\\r\\n\\t\\t\\t<Region>江苏省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1330.4354698914951</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2825230.7105726874</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02251984126984127</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2123.5383259911896</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>488243.6136984127</Bps>\\r\\n\\t\\t\\t<Proportion>4.37731196054254</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.03169014084507</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3075934766</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.54225449569792</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99857147165532</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1136</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hunan</RegionEname>\\r\\n\\t\\t\\t<Region>湖南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1339.8235569585188</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2707689.0548415496</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02253968253968254</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2020.9295774647887</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>508313.40790476196</Bps>\\r\\n\\t\\t\\t<Proportion>4.465937114673243</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3202374469</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.728968894829482</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1159</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Heilongjiang</RegionEname>\\r\\n\\t\\t\\t<Region>黑龙江省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1397.6178986771317</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2763049.585677308</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.022996031746031747</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1976.9706643658326</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>490651.66979365086</Bps>\\r\\n\\t\\t\\t<Proportion>4.519882860665844</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3091105519</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.564657253906334</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1173</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Liaoning</RegionEname>\\r\\n\\t\\t\\t<Region>辽宁省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1452.8561771775414</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2635213.5717817564</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.023273809523809523</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1813.8158567774935</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>493617.2470952381</Bps>\\r\\n\\t\\t\\t<Proportion>4.519882860665844</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.65899403239557</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3109788656</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.592246773671759</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.962662755313</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1173</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>anhui</RegionEname>\\r\\n\\t\\t\\t<Region>安徽省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1502.2255494727121</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2651141.2248081844</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.023273809523809523</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1764.8090366581416</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>544321.7694444446</Bps>\\r\\n\\t\\t\\t<Proportion>4.778051787916153</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>98.79032258064517</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3429227147</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>5.063963838946395</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.3034652219695</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1240</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guangxi</RegionEname>\\r\\n\\t\\t\\t<Region>广西壮族自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>469.5304824766785</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2765505.7641129037</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.024603174603174603</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5889.938709677419</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>518272.7902698413</Bps>\\r\\n\\t\\t\\t<Proportion>5.725955610357583</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.93270524899057</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3265118578</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.821623561583812</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99678589314689</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1486</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>sichuan</RegionEname>\\r\\n\\t\\t\\t<Region>四川省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>720.671411528823</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2197253.41769852</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.029484126984126984</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3048.897711978466</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>688129.0886031748</Bps>\\r\\n\\t\\t\\t<Proportion>6.022657213316893</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4335213258</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>6.4018398984302864</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1563</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shandong</RegionEname>\\r\\n\\t\\t\\t<Region>山东省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>2216.86197693452</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2773648.9175943704</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03101190476190476</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1251.1599488163788</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>650147.539904762</Bps>\\r\\n\\t\\t\\t<Proportion>6.149815043156597</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.93734335839599</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4095929501</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>6.048487892405889</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99998447727191</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1596</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Henan</RegionEname>\\r\\n\\t\\t\\t<Region>河南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1091.8003744598548</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2566371.868045113</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03166666666666667</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2350.5870927318297</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>764462.3847142858</Bps>\\r\\n\\t\\t\\t<Proportion>7.405980271270037</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.37565036420395</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4816113023</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>7.111987963257421</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.82548062184921</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1922</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guangdong</RegionEname>\\r\\n\\t\\t\\t<Region>广东省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1040.446859646019</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2505782.0102497404</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03813492063492063</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2408.3709677419356</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t</Value>\\r\\n\\t<DataInterval>86400</DataInterval>\\r\\n\\t<RequestId>2E5AD83F-BD7B-462E-8319-2E30E305519A</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2015-12-07T12:00:00Z</EndTime>\\r\\n\\t<StartTime>2015-12-05T12:00:00Z</StartTime>\\r\\n</DescribeDomainRegionDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeDomainReqHitRateData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11964,36 +10880,39 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111746', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '111801', + 'abilityTreeNodes' => ['FEATUREcdn3CRD2L'], ], 'parameters' => [ [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取历史账单起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'最小数据粒度为5分钟。', - 'type' => 'string', - 'required' => true, - 'example' => '2018-09-30T16:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-21T08:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取历史账单结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2018-10-31T16:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2017-12-22T08:00:00Z'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -12001,146 +10920,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC', - ], - 'BillHistoryData' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2017-12-22T08:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2017-12-21T08:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'ReqHitRateInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'BillHistoryDataItem' => [ - 'description' => '历史计费数据。', + 'DataModule' => [ + 'description' => '每个时间间隔的请求命中百分占比数据列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Dimension' => [ - 'description' => '维度。', - 'type' => 'string', - 'example' => 'flow', - ], - 'BillType' => [ - 'description' => '计费模式。', - 'type' => 'string', - 'example' => 'month_4th_day_bandwidth', - ], - 'BillTime' => [ - 'description' => '计费周期起始时间。', - 'type' => 'string', - 'example' => '2018-09-30T16:00:00Z', - ], - 'BillingData' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'BillingDataItem' => [ - 'description' => '计费数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量,单位为字节。', - 'type' => 'number', - 'format' => 'float', - 'example' => '24567', - ], - 'Bandwidth' => [ - 'description' => '带宽,单位为Bps。', - 'type' => 'number', - 'format' => 'float', - 'example' => '4041', - ], - 'Count' => [ - 'description' => '请求个数,单位为个。', - 'type' => 'number', - 'format' => 'float', - 'example' => '203601', - ], - 'CdnRegion' => [ - 'description' => '计费大区。取值:'."\n" - .'- **CN**:中国内地。'."\n" - .'- **OverSeas**:全球(不包含中国内地)。'."\n" - .'- **AP1**:亚太1区。'."\n" - .'- **AP2**:亚太2区。'."\n" - .'- **AP3**:亚太3区。'."\n" - .'- **NA**:北美。'."\n" - .'- **SA** :南美。'."\n" - .'- **EU**:欧洲。'."\n" - .'- **MEAA**:中东、非洲。', - 'type' => 'string', - 'example' => 'AP1', - ], - 'ChargeType' => [ - 'description' => '计费类型。取值:'."\n" - .'- **StaticHttp**:静态HTTP。'."\n" - .'- **DynamicHttp**:动态HTTP。'."\n" - .'- **DynamicHttps**:动态HTTPS。', - 'type' => 'string', - 'example' => 'DynamicHttp', - ], - ], - ], - ], - ], - ], + 'Value' => ['description' => '命中率信息。', 'type' => 'string', 'example' => '100.0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2017-12-22T08:00:00:00Z'], + 'HttpsValue' => ['description' => 'HTTPS请求命中率。', 'type' => 'string', 'example' => '50.0'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidTimeSpan', - 'errorMessage' => 'The time span exceeds the limit.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"BillHistoryData\\": {\\n \\"BillHistoryDataItem\\": [\\n {\\n \\"Dimension\\": \\"flow\\",\\n \\"BillType\\": \\"month_4th_day_bandwidth\\",\\n \\"BillTime\\": \\"2018-09-30T16:00:00Z\\",\\n \\"BillingData\\": {\\n \\"BillingDataItem\\": [\\n {\\n \\"Flow\\": 24567,\\n \\"Bandwidth\\": 4041,\\n \\"Count\\": 203601,\\n \\"CdnRegion\\": \\"AP1\\",\\n \\"ChargeType\\": \\"DynamicHttp\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserBillHistoryResponse>\\n<BillHistoryData>\\n <BillHistoryDataItem>\\n <BillType>month_4th_day_bandwidth</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Bandwidth>4041</Bandwidth>\\n <CdnRegion>AP1</CdnRegion>\\n <FLOW>24567</FLOW>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>3819</Bandwidth>\\n <CdnRegion>NA</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>272113</Bandwidth>\\n <CdnRegion>CN</CdnRegion>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>flow</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>month_avg_day_bandwidth</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Bandwidth>4389</Bandwidth>\\n <CdnRegion>AP1</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>4302</Bandwidth>\\n <CdnRegion>NA</CdnRegion>\\n </BillingDataItem>\\n <BillingDataItem>\\n <Bandwidth>291641</Bandwidth>\\n <CdnRegion>CN</CdnRegion>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>flow</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>hour_vas</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Count>205624</Count>\\n <ChargeType>DynamicHttp</ChargeType>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>vas</Dimension>\\n <BillTime>2018-09-30T16:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n <BillHistoryDataItem>\\n <BillType>hour_vas</BillType>\\n <BillingData>\\n <BillingDataItem>\\n <Count>203601</Count>\\n <ChargeType>DynamicHttp</ChargeType>\\n </BillingDataItem>\\n </BillingData>\\n <Dimension>vas</Dimension>\\n <BillTime>2018-09-30T17:00:00Z</BillTime>\\n </BillHistoryDataItem>\\n</BillHistoryData>\\n<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\n</DescribeCdnUserBillHistoryResponse>","errorExample":""}]', - 'title' => '查询历史账单', - 'description' => '- 最多查询一个月内的数据。'."\n" - .'- 单用户调用频率:100次/秒。', + 'title' => '查询请求命中率', + 'summary' => '调用DescribeDomainReqHitRateData查询请求命中率(命中请求百分比)。', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|90天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnUserBillType' => [ - 'summary' => '调用DescribeCdnUserBillType查询用户计费类型,最多查询一个月的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:41.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainReqHitRateData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainReqHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-12-22T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-21T08:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"ReqHitRateInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"100.0\\",\\n \\"TimeStamp\\": \\"2017-12-22T08:00:00:00Z\\",\\n \\"HttpsValue\\": \\"50.0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainReqHitRateDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<RequestId>5ADA5190-EE5B-4EF2-BE00-DC441B8D81DD</RequestId>\\r\\n\\t<StartTime>2017-12-21T08:00:00Z</StartTime>\\r\\n\\t<EndTime>2017-12-22T08:00:00Z</EndTime>\\r\\n\\t<ReqHitRateInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>100.0</Value>\\r\\n\\t\\t\\t<HttpsValue>50.0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>100.0</Value>\\r\\n\\t\\t\\t<HttpsValue>50.0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</ReqHitRateInterval>\\r\\n</DescribeDomainReqHitRateDataResponse>","errorExample":""}]', + ], + 'DescribeDomainSrcBpsData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12149,36 +11008,41 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111748', - 'abilityTreeNodes' => [ - 'FEATUREcdnYC0IJ0', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111804', + 'abilityTreeNodes' => ['FEATUREcdnE9OF3Y'], ], 'parameters' => [ [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'最小数据粒度为5分钟。', - 'type' => 'string', - 'required' => true, - 'example' => '2018-09-30T16:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2018-10-31T16:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-10T20:30:00Z'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -12186,127 +11050,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E', - ], - 'BillTypeData' => [ + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-10T20:30:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'SrcBpsDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'BillTypeDataItem' => [ - 'description' => '用户计费类型返回数据。', + 'DataModule' => [ + 'description' => '每个时间间隔的回源带宽数据列表。单位:bit/s。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '计费模式结束时间。', - 'type' => 'string', - 'example' => '2018-10-31T16:00:00Z', - ], - 'StartTime' => [ - 'description' => '计费模式起始时间。', - 'type' => 'string', - 'example' => '2018-10-30T16:00:00Z', - ], - 'BillingCycle' => [ - 'description' => '计费周期。', - 'type' => 'string', - 'example' => 'month', - ], - 'Product' => [ - 'description' => '产品。', - 'type' => 'string', - 'example' => 'cdn', - ], - 'BillType' => [ - 'description' => '计费模式。'."\n" - ."\n" - .'> 带**_overseas**后缀表示海外不分大区计费,例如:"BillType": "month\\_avg\\_day\\_bandwidth\\_overseas" 则表明该计费方式为月均日峰值海外不分区计费。'."\n" - ."\n" - .'计费模式取值如下所示:'."\n" - .'- hour_flow:按小时流量计费。'."\n" - .'- day_bandwidth:按日带宽计费。'."\n" - .'- month_95:按月结95峰值带宽计费。'."\n" - .'- month_avg_day_bandwidth:按月均日峰值带宽计费。'."\n" - .'- month_4th_day_bandwidth:按月第四日峰值带宽计费。'."\n" - .'- month_avg_day_95:按月均日95峰值带宽计费。'."\n" - .'- month_95_night_half:按夜间半价95峰值带宽计费。'."\n" - .'- hour_vas:按小时增值服务计费。'."\n" - .'- quic_hour_count:按小时QUIC请求数计费。'."\n" - .'- day_count:按日请求次数计费。'."\n" - .'- hour_count:按小时请求次数计费。'."\n" - .'- day_95:按日95峰值带宽计费.', - 'type' => 'string', - 'example' => 'month_avg_day_bandwidth_overseas', - ], - 'Dimension' => [ - 'description' => '维度。取值如下所示:'."\n" - .'- flow:流量带宽。'."\n" - .'- vas:增值服务(https、动态请求)。'."\n" - .'- quic:QUIC 请求数。'."\n" - .'- websocket:websocket通信协议。'."\n" - .'- rtlog2sls:实时日志推送sls。'."\n" - .'- stationflow:流量内网化计费。', - 'type' => 'string', - 'example' => 'flow', - ], + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '500'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-10T20:00:00Z'], + 'HttpsValue' => ['description' => 'Https回源带宽。', 'type' => 'string', 'example' => '10'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterAliuid', - 'errorMessage' => 'Invalid Parameter Aliuid.', - ], - [ - 'errorCode' => 'InvalidParameterStartTime', - 'errorMessage' => 'The parameter StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterEndTime', - 'errorMessage' => 'The parameter EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidTimeRange', - 'errorMessage' => 'Invalid StartTime and EndTime range.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'StartTime and EndTime can not be single.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Overlimit', 'errorMessage' => 'Too many DomainNames are specified.', 'description' => '指定的域名数量超过了API的限制。'], + ['errorCode' => 'InvalidInterval.Malformed', 'errorMessage' => 'Specified Interval is malformed.', 'description' => '时间粒度格式不规范。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\",\\n \\"BillTypeData\\": {\\n \\"BillTypeDataItem\\": [\\n {\\n \\"EndTime\\": \\"2018-10-31T16:00:00Z\\",\\n \\"StartTime\\": \\"2018-10-30T16:00:00Z\\",\\n \\"BillingCycle\\": \\"month\\",\\n \\"Product\\": \\"cdn\\",\\n \\"BillType\\": \\"month_avg_day_bandwidth_overseas\\",\\n \\"Dimension\\": \\"flow\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C370DAF1-C838-4288-A1A0-9A87633D248E</RequestId>\\n<BillTypeData>\\n <BillTypeDataItem>\\n <BillingCycle>month</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-31T16:00:00Z</EndTime>\\n <StartTime>2018-10-30T16:00:00Z</StartTime>\\n <BillType>month_avg_day_bandwidth_overseas</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>hour</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-30T16:00:00Z</EndTime>\\n <StartTime>2018-10-10T16:00:00Z</StartTime>\\n <BillType>hour_flow</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>hour</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>vas</Dimension>\\n <EndTime>2018-10-31T16:00:00Z</EndTime>\\n <StartTime>2018-09-30T16:00:00Z</StartTime>\\n <BillType>hour_vas</BillType>\\n </BillTypeDataItem>\\n <BillTypeDataItem>\\n <BillingCycle>day</BillingCycle>\\n <Product>cdn</Product>\\n <Dimension>flow</Dimension>\\n <EndTime>2018-10-10T16:00:00Z</EndTime>\\n <StartTime>2018-09-30T16:00:00Z</StartTime>\\n <BillType>day_bandwidth</BillType>\\n </BillTypeDataItem>\\n</BillTypeData>","errorExample":""}]', - 'title' => '查询计费类型', - 'description' => '- 单用户调用频率:100次/秒。', + 'title' => '查询回源带宽', + 'summary' => '调用DescribeDomainSrcBpsData查询加速域名的回源带宽监控数据。', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnUserBillPrediction' => [ - 'summary' => '调用DescribeCdnUserBillPrediction预测用户当月的用量数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcBpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-10T20:30:00Z\\",\\n \\"StartTime\\": \\"2019-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"500\\",\\n \\"TimeStamp\\": \\"2019-12-10T20:00:00Z\\",\\n \\"HttpsValue\\": \\"10\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainSrcBpsDataResponse>\\n<SrcBpsDataPerInterval>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:00:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:05:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:10:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:15:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:20:00Z</TimeStamp>\\n <Value>31.709333333333337</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-12-10T20:25:00Z</TimeStamp>\\n <Value>43.32533333333333</Value>\\n <HttpsValue>0</HttpsValue>\\n </DataModule>\\n</SrcBpsDataPerInterval>\\n<DataInterval>300</DataInterval>\\n<RequestId>28B4EBA6-0AF4-407A-AAC9-6BC5F8D8158B</RequestId>\\n<EndTime>2019-12-10T20:30:00Z</EndTime>\\n<StartTime>2019-12-10T20:00:00Z</StartTime>\\n</DescribeDomainSrcBpsDataResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainSrcHttpCodeData' => [ + 'summary' => '调用DescribeDomainSrcHttpCodeData查询加速域名回源HTTP返回码的总数和占比数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12315,68 +11143,37 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111747', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111806', + 'abilityTreeNodes' => ['FEATUREcdnUQAZK1'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '默认为月初第一天的零点整, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-09-30T16:00:00Z', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', 'type' => 'string', 'required' => false, 'example' => 'example.com,example.org'], ], [ - 'name' => 'EndTime', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '默认为当前时间, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-10-25T10:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ - 'name' => 'Dimension', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取计费类型的维度,flow表示流量带宽。', - 'type' => 'string', - 'required' => false, - 'example' => 'flow', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ - 'name' => 'Area', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '计费大区。取值:'."\n" - ."\n" - .'- **CN**:中国内地。'."\n" - .'- **OverSeas**:全球(不包含中国内地)。'."\n" - .'- **AP1**:亚太1区。'."\n" - .'- **AP2**:亚太2区。'."\n" - .'- **AP3**:亚太3区。'."\n" - .'- **NA**:北美。'."\n" - .'- **SA**:南美。'."\n" - .'- **EU**:欧洲。'."\n" - .'- **MEAA**:中东、非洲。'."\n" - ."\n" - .'默认按用户当前计费模式决定,如果是海外分大区则为**CN**,**OverSeas**,否则为**CN**,**AP1**,**AP2**,**AP3**,**NA**,**SA**,**EU**或**MEAA**。'."\n" - ."\n" - .'> 各区域包含的具体国家地区,请参见[计费概述](~~142221~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN,OverSeas', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -12384,198 +11181,147 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '预测结束时间。', - 'type' => 'string', - 'example' => '2018-10-25T10:00:00Z', - ], - 'StartTime' => [ - 'description' => '预测开始时间。', - 'type' => 'string', - 'example' => '2018-09-30T16:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E', - ], - 'BillType' => [ - 'description' => '用户计费类型。'."\n" - ."\n" - .'> 带**_overseas**后缀表示海外不分大区计费,例如: "BillType": "month_avg_day_bandwidth_overseas" 则表明该计费方式为月均日峰值海外不分区计费。'."\n" - ."\n" - .'计费模式取值如下所示:'."\n" - ."\n" - .'- hour_flow:按小时流量计费。'."\n" - .'- day_bandwidth:按日带宽计费。'."\n" - .'- month_95:按月95峰值带宽计费。'."\n" - .'- month_avg_day_bandwidth:按月均日峰值带宽计费。'."\n" - .'- month_4th_day_bandwidth:按月第四日峰值带宽计费。'."\n" - .'- month_avg_day_95:按月均日95峰值带宽计费。'."\n" - .'- month_95_night_half: 按夜间半价95峰值带宽计费。'."\n" - .'- hour_vas:按小时增值服务计费。'."\n" - .'- day_count:按日请求次数计费。', - 'type' => 'string', - 'example' => 'month_95_overseas', - ], - 'BillPredictionData' => [ + 'EndTime' => ['description' => '结束时间。'."\n", 'type' => 'string', 'example' => '2015-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。'."\n", 'type' => 'string', 'example' => '2015-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => 'BC858082-736F-4A25-867B-E5B67C85ACF7'], + 'DomainName' => ['description' => '加速域名信息。'."\n", 'type' => 'string', 'example' => 'example.com,example.org'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。'."\n", 'type' => 'string', 'example' => '300'], + 'HttpCodeData' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'BillPredictionDataItem' => [ - 'description' => '账单预测数据。', + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据。'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ + 'TimeStamp' => ['description' => '时间片起始时刻。'."\n", 'type' => 'string', 'example' => '2015-11-30T05:30:00Z'], 'Value' => [ - 'description' => '预测值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '10000', - ], - 'TimeStp' => [ - 'description' => '预测值对应的时刻,仅95、夜间半价95和月第四日峰值有这个字段。', - 'type' => 'string', - 'example' => '2018-10-15T16:00:00Z', - ], - 'Area' => [ - 'description' => '计费大区。', - 'type' => 'string', - 'example' => 'CN', + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CodeProportionData' => [ + 'description' => '各返回码占比使用数据列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'HTTP返回码。'."\n", 'type' => 'string', 'example' => '200'], + 'Proportion' => ['description' => '占比使用数据。', 'type' => 'string', 'example' => '67.1458998935037'], + 'Count' => ['description' => '总数。'."\n", 'type' => 'string', 'example' => '2300'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'BillTypeNotFound', - 'errorMessage' => 'The user billing type is not found or the billing type of this user is not the monthly billing type.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified Time is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidTimeSpan', - 'errorMessage' => 'The time span exceeds the limit.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2018-10-25T10:00:00Z\\",\\n \\"StartTime\\": \\"2018-09-30T16:00:00Z\\",\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\",\\n \\"BillType\\": \\"month_95_overseas\\",\\n \\"BillPredictionData\\": {\\n \\"BillPredictionDataItem\\": [\\n {\\n \\"Value\\": 10000,\\n \\"TimeStp\\": \\"2018-10-15T16:00:00Z\\",\\n \\"Area\\": \\"CN\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnUserBillPredictionResponse>\\n<RequestId>C370DAF1-C838-4288-A1A0-9A87633D248E</RequestId>\\n<StartTime>2018-09-30T16:00:00Z</StartTime>\\n<EndTime>2018-10-25T10:00:00Z</EndTime>\\n<BillType>month_95_overseas</BillType>\\n<BillPredictionData>\\n <BillPredictionDataItem>\\n <Value>10000</Value>\\n <Area>CN</Area>\\n <TimeStp>2018-10-15T16:00:00Z</TimeStp>\\n </BillPredictionDataItem>\\n <BillPredictionDataItem>\\n <Value>5000</Value>\\n <Area>OverSeas</Area>\\n <TimeStp>2018-10-10T:00:00Z</TimeStp>\\n </BillPredictionDataItem>\\n</BillPredictionData>\\n</DescribeCdnUserBillPredictionResponse>","errorExample":""}]', - 'title' => '查询预测用量', - 'description' => '用于预测用户当月的用量数据,按用户月初第一天的计费模式计算,只支持月度计费模式的预测,只支持用户粒度。 起始时间为月初1号0点,结束时间为当前时间前两个小时。'."\n" + 'title' => '查询回源HTTP状态码', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" ."\n" - .'- 月95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。 '."\n" - .'- 月均日峰值:每日峰值带宽求和/时间天数,不计算当天的数据。 '."\n" - .'- 月第四日峰值:请求时间内,第四高的峰值为预测值,如果请求时间小于4天,返回预测值为0。 '."\n" - .'- 月均日95:每日日95峰值求和/时间天数,不计算当天的数据。 '."\n" - .'- 夜间半价95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。'."\n" + .'**支持查询的时间粒度**'."\n" ."\n" - .'> 单用户调用频率:1次/秒。', + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + ."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateUserUsageDataExportTask' => [ - 'summary' => '调用CreateUserUsageDataExportTask创建账号历史用量数据导出任务,将历史用量生成PDF文件用于下载。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:23.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:31.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcHttpCodeData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2015-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"BC858082-736F-4A25-867B-E5B67C85ACF7\\",\\n \\"DomainName\\": \\"example.com,example.org\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"HttpCodeData\\": {\\n \\"UsageData\\": [\\n {\\n \\"TimeStamp\\": \\"2015-11-30T05:30:00Z\\",\\n \\"Value\\": {\\n \\"CodeProportionData\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Proportion\\": \\"67.1458998935037\\",\\n \\"Count\\": \\"2300\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcHttpCodeDataResponse>\\t\\n<HttpCodeData>\\n <UsageData>\\n <TimeStamp>2019-11-30T05:35:00Z</TimeStamp>\\n <Value>\\n <CodeProportionData>\\n <Count>1</Count>\\n <Proportion>100</Proportion>\\n <Code>200</Code>\\n </CodeProportionData>\\n </Value>\\n </UsageData>\\n</HttpCodeData>\\n<DataInterval>300</DataInterval>\\n<RequestId>A2E05931-13B7-40C3-843F-ECD9423959C1</RequestId>\\n<EndTime>2019-11-30T05:40:00Z</EndTime>\\n<StartTime>2019-11-30T05:33:00Z</StartTime>\\n</DescribeDomainSrcHttpCodeDataResponse>\\t\\n","errorExample":""}]', + ], + 'DescribeDomainSrcQpsData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111698', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111807', + 'abilityTreeNodes' => ['FEATUREcdnE9OF3Y'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点,数据粒度为5分钟。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2015-12-10T20:00:00Z', - ], + 'schema' => ['description' => '查询的加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'EndTime', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点,结束时间需大于起始时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2015-12-10T21:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" + ."\n" + .'默认读取过去24小时数据。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:33:00Z'], ], [ - 'name' => 'TaskName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '刷新', - ], + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-DDThh:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-11-30T05:40:00Z'], ], [ - 'name' => 'Language', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '导出文件的语言。'."\n" - ."\n" - .'- **zh-cn**(默认值):简体中文。'."\n" - ."\n" - .'- **en-us**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-cn', - ], + 'schema' => ['description' => '查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -12583,92 +11329,90 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '129456', + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-11-30T05:40:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-11-30T05:33:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7CBCD6AD-B016-42E5-AE0B-B3731DE8F755'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,以秒为单位。', 'type' => 'string', 'example' => '300'], + 'SrcQpsDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的回源带宽数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterAliuid', - 'errorMessage' => 'Invalid Parameter Aliuid.', - ], - [ - 'errorCode' => 'InvalidParameterStartTime', - 'errorMessage' => 'The parameter StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterEndTime', - 'errorMessage' => 'The parameter EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidTimeRange', - 'errorMessage' => 'Invalid StartTime and EndTime range.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'StartTime and EndTime can not be single.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Overlimit', 'errorMessage' => 'Too many DomainNames are specified.', 'description' => '指定的域名数量超过了API的限制。'], + ['errorCode' => 'InvalidInterval.Malformed', 'errorMessage' => 'Specified Interval is malformed.', 'description' => '时间粒度格式不规范。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"TaskId\\": \\"129456\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"TaskId\\": \\"129456\\"\\n}"},{"type":"xml","example":"<CreateUserUsageDataExportTaskResponse>\\r\\n\\t<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n\\t<TaskId>129456</TaskId>\\r\\n</CreateUserUsageDataExportTaskResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '创建用量数据导出任务', - 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" - .'- 单用户调用频率:100次/秒。', + 'title' => '查询回源QPS', + 'summary' => '调用DescribeDomainSrcQpsData查询回源QPS数据,支持获取最近90天的数据。', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + ."\n" + .'### 支持查询的时间粒度'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + ."\n" + .'| 时间粒度 | 单次查询的最大时间跨度 | 可查询历史数据时间范围 | 数据延迟 |'."\n" + .'| -------------- | -------------- | ------ |-----|'."\n" + .'| 5分钟 | 3天 | 93天 | 15分钟 |'."\n" + .'| 1小时 | 31天 | 186天 | 一般延迟3-4小时 |'."\n" + .'| 1天 | 366天 | 366天 | 一般延迟4小时,不超过24小时 |', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUserUsageDataExportTask' => [ - 'summary' => '调用DescribeUserUsageDataExportTask查询用户最近三个月的用量导出任务信息。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:27:52.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcQpsData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcQpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcQpsDataResponse>\\n<DomainName>example.com</DomainName>\\n<DataInterval>300</DataInterval>\\n<SrcQpsDataPerInterval>\\n <DataModule>\\n <TimeStamp>2019-11-30T05:33:00Z</TimeStamp>\\n <Value>0</Value>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2019-11-30T05:34:00Z</TimeStamp>\\n <Value>0</Value>\\n </DataModule>\\n</SrcQpsDataPerInterval>\\n<RequestId>7CBCD6AD-B016-42E5-AE0B-B3731DE8F755</RequestId>\\n<StartTime>2019-11-30T05:33:00Z</StartTime>\\n<EndTime>2019-11-30T05:40:00Z</EndTime>\\n</DescribeDomainSrcQpsDataResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainSrcTopUrlVisit' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12677,34 +11421,43 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111844', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111808', + 'abilityTreeNodes' => ['FEATUREcdnE9OF3Y'], ], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。默认值:**20**;最大值:**50**。'."\n" - ."\n" - .'取值:**1**~**50**之间的任意整数。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '加速域名,多个域名用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围:**1**~**100000**。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 如果不指定StartTime,默认读取前一天的数据。', 'type' => 'string', 'required' => false, 'example' => '2018-10-03T16:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间,并且结束时间和开始时间相差不超过7天。', 'type' => 'string', 'required' => false, 'example' => '2018-10-03T20:00:00Z'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => '排序方式,默认值为**pv**。取值:'."\n" + ."\n" + .'- **traf**:流量。'."\n" + ."\n" + .'- **pv**:访问量。', 'type' => 'string', 'required' => false, 'example' => 'pv'], ], ], 'responses' => [ @@ -12712,156 +11465,213 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52', + 'StartTime' => ['description' => '查询指定日期。', 'type' => 'string', 'example' => '2018-10-03T16:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'AllUrlList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '全部热门URL列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。'."\n", 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], - 'UsageDataPerPage' => [ - 'description' => '每页的用量数据。', + 'Url200List' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'PageSize' => [ - 'description' => '每页记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'UrlList' => [ + 'description' => '返回为2xx的URL列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], ], - 'PageNumber' => [ - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + ], + 'description' => '', + ], + 'Url300List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为3xx的URL列表。'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + ], + 'description' => '', + ], + 'Url400List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为4xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], ], - 'Data' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DataItem' => [ - 'description' => '任务信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '任务状态。'."\n" - .'- created:创建中。'."\n" - .'- success:成功。'."\n" - .'- failed:失败。'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'UpdateTime' => [ - 'description' => '任务最后更新时间。', - 'type' => 'string', - 'example' => '2019-12-31T08:45:02Z', - ], - 'DownloadUrl' => [ - 'description' => '下载地址。', - 'type' => 'string', - 'example' => 'https://cdn-polaris.xxxx', - ], - 'CreateTime' => [ - 'description' => '任务创建时间。', - 'type' => 'string', - 'example' => '2019-12-31T08:43:21Z', - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '刷新', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977', - ], - 'TaskConfig' => [ - 'description' => '任务配置。', - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '用量结束时间。', - 'type' => 'string', - 'example' => '2019-12-30T15:59:59Z', - ], - 'StartTime' => [ - 'description' => '用量起始时刻。', - 'type' => 'string', - 'example' => '2019-12-29T16:00:00Z', - ], - ], - ], - ], - ], + ], + 'description' => '', + ], + 'Url500List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为5xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量,单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], + ['errorCode' => 'InvalidDomainName.Mismatch', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"UpdateTime\\": \\"2019-12-31T08:45:02Z\\",\\n \\"DownloadUrl\\": \\"https://cdn-polaris.xxxx\\",\\n \\"CreateTime\\": \\"2019-12-31T08:43:21Z\\",\\n \\"TaskName\\": \\"刷新\\",\\n \\"TaskId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977\\",\\n \\"TaskConfig\\": {\\n \\"EndTime\\": \\"2019-12-30T15:59:59Z\\",\\n \\"StartTime\\": \\"2019-12-29T16:00:00Z\\"\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"TaskId\\": 11,\\n \\"UpdateTime\\": \\"2018-10-09T06:35:01Z\\",\\n \\"DownloadUrl\\": \\"example.com\\",\\n \\"UpdateTime\\": \\"2018-10-09T06:35:46Z\\",\\n \\"CreateTime\\": \\"2018-10-09T06:33:38Z\\",\\n \\"Status\\": \\"success\\"\\n \\"TaskConfig\\": {\\n \\"StartTime\\": \\"2018-07-31T16:00:00Z\\",\\n \\"EndTime\\": \\"2018-08-31T15:59:59Z\\"\\n },\\n }\\n ]\\n }\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUserUsageDataExportTaskResponse>\\r\\n\\t<UsageDataPerPage>\\r\\n\\t\\t<Data>\\r\\n\\t\\t\\t<DataItem>\\r\\n\\t\\t\\t\\t<Status>success</Status>\\r\\n\\t\\t\\t\\t<TaskConfig>\\r\\n\\t\\t\\t\\t\\t<EndTime>2019-12-30T15:59:59Z</EndTime>\\r\\n\\t\\t\\t\\t\\t<StartTime>2019-12-29T16:00:00Z</StartTime>\\r\\n\\t\\t\\t\\t</TaskConfig>\\r\\n\\t\\t\\t\\t<CreateTime>2019-12-31T08:43:21Z</CreateTime>\\r\\n\\t\\t\\t\\t<DownloadUrl>https://cdn-polaris.xxxx</DownloadUrl>\\r\\n\\t\\t\\t\\t<UpdateTime>2019-12-31T08:45:02Z</UpdateTime>\\r\\n\\t\\t\\t\\t<TaskId>11584</TaskId>\\r\\n\\t\\t\\t\\t<TaskName></TaskName>\\r\\n\\t\\t\\t</DataItem>\\r\\n\\t\\t</Data>\\r\\n\\t\\t<PageNumber>1</PageNumber>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<PageSize>10</PageSize>\\r\\n\\t</UsageDataPerPage>\\r\\n\\t<RequestId>FB7EC32A-356A-4B33-BA59-6DB1FFF61FD2</RequestId>\\r\\n </DescribeUserUsageDataExportTaskResponse>","errorExample":""}]', - 'title' => '查询用量数据导出任务', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '获取回源热门URL', + 'summary' => '调用DescribeDomainSrcTopUrlVisit获取加速域名的回源热门URL。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 查询的时间粒度为5分钟。'."\n" + .'> - 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteUserUsageDataExportTask' => [ - 'summary' => '调用DeleteUserUsageDataExportTask删除账号历史用量数据导出任务。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcTopUrlVisit'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcTopUrlVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2018-10-03T16:00:00Z\\",\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"AllUrlList\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url200List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url300List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url400List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url500List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcTopUrlVisitResponse>\\n<AllUrlList>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>37</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/ZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</AllUrlList>\\n<Url300List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url300List>\\n<Url400List>\\n <UrlList>\\n <VisitData>1884</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhb,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SEEwODgm,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url400List>\\n<RequestId>64D28B53-5902-409B-94F6-FD46680144FE</RequestId>\\n<DomainName>example.com</DomainName>\\n<Url200List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcG,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KDMlPTIwMTQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url200List>\\n<StartTime>2018-10-03T16:00:00Z</StartTime>\\n<Url500List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url500List>\\n</DescribeDomainSrcTopUrlVisitResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainSrcTrafficData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111713', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111809', + 'abilityTreeNodes' => ['FEATUREcdnE9OF3Y'], ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2015-12-10T20:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2015-12-10T21:00:00Z'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], ], 'responses' => [ @@ -12869,150 +11679,148 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A666D44F-19D6-490E-97CF-1A64AB962C57'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'SrcTrafficDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的回源流量数据列表。单位:Byte。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:35:00Z'], + 'HttpsValue' => ['description' => 'Https回源流量。', 'type' => 'string', 'example' => '0'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterAliuid', - 'errorMessage' => 'Invalid Parameter Aliuid.', - ], - [ - 'errorCode' => 'InvalidTaskId.Malformed', - 'errorMessage' => 'Specified TaskId is malformed.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'StartTime and EndTime can not be single.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Overlimit', 'errorMessage' => 'Too many DomainNames are specified.', 'description' => '指定的域名数量超过了API的限制。'], + ['errorCode' => 'InvalidInterval.Malformed', 'errorMessage' => 'Specified Interval is malformed.', 'description' => '时间粒度格式不规范。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteUserUsageDataExportTaskResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</DeleteUserUsageDataExportTaskResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '删除用量数据导出任务', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '查询回源流量', + 'summary' => '调用DescribeDomainSrcTrafficData查询加速域名的回源流量监控数据。', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateUsageDetailDataExportTask' => [ - 'summary' => '调用CreateUsageDetailDataExportTask创建用量明细数据导出任务,将详细用量生成Excel文件用于下载。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:28:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcTrafficData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"HttpsValue\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"SrcFlowDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T21:00:00Z\\",\\n \\"Value\\": \\"0\\",\\n \\"HttpsValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:35:00Z\\",\\n \\"Value\\": \\"0\\",\\n \\"HttpsValue\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A666D44F-19D6-490E-97CF-1A64AB962C57\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainSrcTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<SrcFlowDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t\\t<HttpsValue>0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:35:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>0</Value>\\r\\n\\t\\t\\t<HttpsValue>0</HttpsValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</SrcFlowDataPerInterval>\\r\\n\\t<RequestId>A666D44F-19D6-490E-97CF-1A64AB962C57</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n</DescribeDomainSrcTrafficDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeDomainTopClientIpVisit' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111697', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111811', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-12-10T20:00:00Z', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'EndTime', + 'name' => 'LocationNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需晚于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-12-10T21:00:00Z', - ], + 'schema' => ['description' => '地域英文名,多个用半角逗号(,)分隔,默认查询全部地域。'."\n" + ."\n" + .'通过[DescribeCdnRegionAndIsp](~~91077~~)获得。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], [ - 'name' => 'Group', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '域名组信息。如果该信息不为空,则忽略**DomainNames**字段。', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-09-30T16:00:00Z'], ], [ - 'name' => 'DomainNames', - 'in' => 'query', - 'schema' => [ - 'description' => '如果域名组为空,则以该字段提供的域名为准导出数据。'."\n" - ."\n" - .'如果未填写该参数,则导出用户维度数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Type', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '需要获取的用量类型。取值:'."\n" - .'- **flow**:流量带宽数据。'."\n" - ."\n" - .'- **vas**:请求数据。', - 'type' => 'string', - 'required' => true, - 'example' => 'flow', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-10-01T16:00:00Z'], ], [ - 'name' => 'TaskName', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '刷新', - ], + 'schema' => ['description' => '排序方式。取值:'."\n" + ."\n" + .'- **traf**(默认值):流量。'."\n" + .'- **acc**:访问次数。', 'type' => 'string', 'required' => false, 'example' => 'traf', 'default' => 'traf'], ], [ - 'name' => 'Language', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '导出文件的语言。取值:'."\n" - .'- **zh-cn**(默认值):简体中文。'."\n" - .'- **en-us**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'en-us', - 'default' => 'zh-cn', - ], + 'schema' => ['description' => '返回数据条目,最大值为100。'."\n" + ."\n" + .'默认为20,即返回TOP 20的数据条目。', 'type' => 'string', 'required' => false, 'example' => '20', 'default' => '20'], ], ], 'responses' => [ @@ -13020,100 +11828,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2015-12-10T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。'."\n", - 'type' => 'string', - 'example' => 'ED61C6C3-8241-4187-AAA7-5157AE175CEC', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '123456', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], + 'ClientIpList' => [ + 'description' => '客户端IP列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Rank' => ['description' => '代表该条记录是TopN。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ClientIp' => ['description' => 'IP地址,目前仅支持IPv4。', 'type' => 'string', 'example' => '1.1.xxx'], + 'Acc' => ['description' => '总请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '256'], + 'Traffic' => ['description' => '总流量,单位为Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingTimeParameter', - 'errorMessage' => 'The StartTime and EndTime must be both specified.', - ], - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterDimension', - 'errorMessage' => 'The parameter Dimension is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterBillType', - 'errorMessage' => 'The parameter BillType is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterAliuid', - 'errorMessage' => 'Invalid Parameter Aliuid.', - ], - [ - 'errorCode' => 'InvalidParameterStartTime', - 'errorMessage' => 'The specified StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterEndTime', - 'errorMessage' => 'The specified EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidTimeRange', - 'errorMessage' => 'Invalid StartTime and EndTime range.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"TaskId\\": \\"123456\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"ED61C6C3-8241-4187-AAA7-5157AE175CEC\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"TaskId\\": \\"123456\\"\\n}"},{"type":"xml","example":"<CreateUsageDetailDataExportTaskResponse>\\r\\n\\t<RequestId>ED61C6C3-8241-4187-AAA7-5157AE175CEC</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n\\t<TaskId>123456</TaskId>\\r\\n</CreateUsageDetailDataExportTaskResponse>","errorExample":""}]', - 'title' => '创建用量明细数据导出任务', - 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" - .'- 单用户调用频率:100次/秒。', + 'title' => '获取Client IP列表排序数据', + 'summary' => '调用DescribeDomainTopClientIpVisit查询加速域名在指定时间范围内按照访问次数或流量排序的客户端IP排行,支持获取最近90天的数据。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按照指定的时间查询。'."\n" + .'> - 该接口计算的数据粒度为1小时。'."\n" + .'> - 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUserUsageDetailDataExportTask' => [ - 'summary' => '调用DescribeUserUsageDetailDataExportTask查询您账户下单个或多个域名5分钟明细数据的导出任务。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:15:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopClientIpVisit'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopClientIpVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"ClientIpList\\": [\\n {\\n \\"Rank\\": 2,\\n \\"ClientIp\\": \\"1.1.xxx\\",\\n \\"Acc\\": 256,\\n \\"Traffic\\": 1024\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainTopClientIpVisitResponse>\\n<RequestId>64D28B53-5902-409B-94F6-FD46680144FE</RequestId>\\n<ClientIpList>\\n <Rank>1</Rank>\\n <ClientIp>1.1.xx</ClientIp>\\n <Traffic>1024</Traffic>\\n <Acc>128</Acc>\\n</ClientIpList>\\n<ClientIpList>\\n <Rank>2</Rank>\\n <ClientIp>2.2.xx</ClientIp>\\n <Traffic>2048</Traffic>\\n <Acc>256</Acc>\\n</ClientIpList>\\n</DescribeDomainTopClientIpVisitResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainTopReferVisit' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13121,35 +11903,42 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111845', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111812', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。默认值:**20**;最大值:**50**。'."\n" - ."\n" - .'取值:**1**~**50**之间的任意整数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '加速域名,多个域名用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围:**1**~**100000**。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '获取数据起始时间。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-21T12:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-22T12:00:00Z'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => '排序方式。取值:'."\n" + ."\n" + .'- **traf**:流量。'."\n" + ."\n" + .'- **pv**(默认值):访问次数。', 'type' => 'string', 'required' => false, 'example' => 'pv'], ], ], 'responses' => [ @@ -13157,154 +11946,129 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52', - ], - 'UsageDataPerPage' => [ - 'description' => '每页的用量数据。', + 'StartTime' => ['description' => '查询指定日期。', 'type' => 'string', 'example' => '2019-12-21T12:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '95994621-8382-464B-8762-C708E73568D1'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'TopReferList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'PageSize' => [ - 'description' => '每页记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总记录数。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Data' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DataItem' => [ - 'description' => '任务信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '任务状态。'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'UpdateTime' => [ - 'description' => '任务最后更新时间。', - 'type' => 'string', - 'example' => '2018-10-09T06:35:46Z', - ], - 'DownloadUrl' => [ - 'description' => '下载地址。', - 'type' => 'string', - 'example' => 'https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx', - ], - 'CreateTime' => [ - 'description' => '任务创建时间。', - 'type' => 'string', - 'example' => '2018-10-09T06:33:38Z', - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '刷新', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '11', - ], - 'TaskConfig' => [ - 'description' => '任务配置。', - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '查询用量数据的结束时间。', - 'type' => 'string', - 'example' => '2018-08-31T15:59:59Z', - ], - 'StartTime' => [ - 'description' => '查询用量数据的起始时间。', - 'type' => 'string', - 'example' => '2018-07-31T16:00:00Z', - ], - ], - ], - ], - ], + 'ReferList' => [ + 'description' => '全部热门页面列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '200'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '3'], + 'ReferDetail' => ['description' => '完整的热门页面地址。', 'type' => 'string', 'example' => 'learn.aliyundoc.com'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"UpdateTime\\": \\"2018-10-09T06:35:46Z\\",\\n \\"DownloadUrl\\": \\"https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx\\",\\n \\"CreateTime\\": \\"2018-10-09T06:33:38Z\\",\\n \\"TaskName\\": \\"刷新\\",\\n \\"TaskId\\": \\"11\\",\\n \\"TaskConfig\\": {\\n \\"EndTime\\": \\"2018-08-31T15:59:59Z\\",\\n \\"StartTime\\": \\"2018-07-31T16:00:00Z\\"\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"TotalCount\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"UsageDataPerPage\\": {\\n \\"UsageData\\": [\\n {\\n \\"StartTime\\": \\"2017-12-10T00:00:00Z\\",\\n \\"EndTime\\": \\"2017-12-11T00:00:00Z\\",\\n \\"CreateTime\\": \\"2017-12-15T12:33:10Z\\",\\n \\"ModifyTime\\": \\"2017-12-15T12:38:49Z\\",\\n \\"TaskName\\":\\"测试任务\\",\\n \\"TaskId\\":\\"34230590834\\"\\n \\"Status\\": \\"Success\\",\\n \\"DownloadUrl\\":\\"http://example.com/xxxx/xxxx.pdf\\",\\n \\"UpdateTime\\": \\"2017-12-15T12:41:49Z\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\"\\n}"},{"type":"xml","example":"<DescribeUserUsageDetailDataExportTaskResponse>\\n<RequestId>A91BE91F-0B34-4CBF-8E0F-A2977E15AA52</RequestId>\\n<UsageDataPerPage>\\n <PageSize>10</PageSize>\\n <TotalCount>1</TotalCount>\\n <PageNumber>1</PageNumber>\\n <Data>\\n <DataItem>\\n <TaskId>11</TaskId>\\n <UpdateTime>2018-10-09T06:35:46Z</UpdateTime>\\n <DownloadUrl>https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx</DownloadUrl>\\n <CreateTime>2018-10-09T06:33:38Z</CreateTime>\\n <Status>success</Status>\\n <TaskConfig>\\n <StartTime>2018-07-31T16:00:00Z</StartTime>\\n <EndTime>2018-08-31T15:59:59Z</EndTime>\\n </TaskConfig>\\n </DataItem>\\n </Data>\\n</UsageDataPerPage>\\n</DescribeUserUsageDetailDataExportTaskResponse>","errorExample":""}]', - 'title' => '查询用量明细导出任务详情', - 'description' => '- 该功能从2018年7月20日开始,最长可查询近三个月的数据。'."\n" - .'- 单用户调用频率:100次/秒。', + 'title' => '获取热门页面引用次数排名', + 'summary' => '调用DescribeDomainTopReferVisit获取加速域名某天的热门页面引用次数排名,支持获取最近90天的数据。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" + .'> - 该接口的数据计算粒度为5分钟。'."\n" + .'> - 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteUsageDetailDataExportTask' => [ - 'summary' => '调用DeleteUsageDetailDataExportTask删除用量明细数据导出任务。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:13:59.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopReferVisit'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopReferVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-12-21T12:00:00Z\\",\\n \\"RequestId\\": \\"95994621-8382-464B-8762-C708E73568D1\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TopReferList\\": {\\n \\"ReferList\\": [\\n {\\n \\"Flow\\": \\"200\\",\\n \\"FlowProportion\\": 0.5,\\n \\"VisitData\\": \\"3\\",\\n \\"ReferDetail\\": \\"learn.aliyundoc.com\\",\\n \\"VisitProportion\\": 0.5\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainTopReferVisitResponse>\\n<TopReferList>\\n <ReferList>\\n <Flow>1557043</Flow>\\n <VisitProportion>0.9078341013824884</VisitProportion>\\n <VisitData>591</VisitData>\\n <ReferDetail>-</ReferDetail>\\n <FlowProportion>0.07801388057582173</FlowProportion>\\n </ReferList>\\n <ReferList>\\n <Flow>18397394</Flow>\\n <VisitProportion>0.08602150537634409</VisitProportion>\\n <VisitData>56</VisitData>\\n <ReferDetail>learn.aliyundoc.com</ReferDetail>\\n <FlowProportion>0.9217806434519402</FlowProportion>\\n </ReferList>\\n <ReferList>\\n <Flow>4101</Flow>\\n <VisitProportion>0.006144393241167435</VisitProportion>\\n <VisitData>4</VisitData>\\n <ReferDetail>learn.aliyundoc.com</ReferDetail>\\n <FlowProportion>0.00020547597223804668</FlowProportion>\\n </ReferList>\\n</TopReferList>\\n<RequestId>BA64068A-D73C-4613-8AAB-E9374F78FB95</RequestId>\\n<DomainName>example.com</DomainName>\\n<StartTime>2019-12-21T12:00:00Z</StartTime>\\n</DescribeDomainTopReferVisitResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainTopUrlVisit' => [ + 'summary' => '获取加速域名某个指定时间段内的热门URL列表(TOP100)。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111712', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111813', + 'abilityTreeNodes' => ['FEATUREcdnB3I7MU'], ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID,可调用[DescribeUserUsageDataExportTask](~~91062~~)接口查询。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '待查询的域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始获取数据的时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'查询某天的数据,建议传参格式为yyyy-MM-ddT16:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2019-10-04T00:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于开始时间,并且结束时间和开始时间相差不超过7天。', 'type' => 'string', 'required' => false, 'example' => '2019-10-04T16:00:00Z'], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => '排序方式,默认值为**pv**。取值:'."\n" + ."\n" + .'- **traf**:流量。'."\n" + ."\n" + .'- **pv**:访问量。', 'type' => 'string', 'required' => false, 'example' => 'pv'], ], ], 'responses' => [ @@ -13312,52 +12076,172 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', + 'StartTime' => ['description' => '查询指定日期。', 'type' => 'string', 'example' => '2019-10-03T16:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'AllUrlList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '全部热门URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + 'Url200List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为2xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '访问次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + 'Url300List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为3xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + 'Url400List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为4xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '次数。', 'type' => 'string', 'example' => '1884'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + 'Url500List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UrlList' => [ + 'description' => '返回为5xx的URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Flow' => ['description' => '流量。单位:byte。', 'type' => 'string', 'example' => '460486880'], + 'UrlDetail' => ['description' => '完整的URL地址。', 'type' => 'string', 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8'], + 'FlowProportion' => ['description' => '流量占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + 'VisitData' => ['description' => '次数。', 'type' => 'string', 'example' => '161673'], + 'VisitProportion' => ['description' => '访问占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.35'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterProduct', - 'errorMessage' => 'Invalid Parameter Product.', - ], - [ - 'errorCode' => 'InvalidParameterAliuid', - 'errorMessage' => 'Invalid Parameter Aliuid.', - ], - [ - 'errorCode' => 'InvalidTaskId.Malformed', - 'errorMessage' => 'Specified TaskId is malformed.', - ], - [ - 'errorCode' => 'InvalidParameterOperator', - 'errorMessage' => 'Invalid Parameter Operator.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], + ['errorCode' => 'InvalidDomainName.Mismatch', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteUsageDetailDataExportTaskResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</DeleteUsageDetailDataExportTaskResponse>","errorExample":""}]', - 'title' => '删除用量明细数据导出任务', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '获取热门URL列表', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'>- 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" + .'- 支持获取最近90天的数据。'."\n" + .'- 该接口仅支持单个域名查询。'."\n" + .'- 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainMax95BpsData' => [ - 'summary' => '调用DescribeDomainMax95BpsData查询加速域名95带宽峰值监控数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:00.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopUrlVisit'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopUrlVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-10-03T16:00:00Z\\",\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"AllUrlList\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url200List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url300List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url400List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"1884\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url500List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainTopUrlVisitResponse>\\n<Url300List>\\n</Url300List>\\n<AllUrlList>\\n <UrlList>\\n <Flow>9304</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>2</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>3986</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>784</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</AllUrlList>\\n<Url400List>\\n <UrlList>\\n <Flow>3986</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>784</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</Url400List>\\n<RequestId>8E7A2ABF-1BB0-4E46-AE3E-58DB3151080C</RequestId>\\n<DomainName>example.com</DomainName>\\n<Url200List>\\n <UrlList>\\n <Flow>9304</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>2</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</Url200List>\\n<StartTime>2019-10-04T00:00:00Z</StartTime>\\n<Url500List>\\n</Url500List>\\n</DescribeDomainTopUrlVisitResponse>","errorExample":""}]', + ], + 'DescribeDomainTrafficData' => [ + 'summary' => '调用DescribeDomainTrafficData查询加速域名的网络流量监控数据,支持获取最近90天的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13366,78 +12250,53 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111780', - 'abilityTreeNodes' => [ - 'FEATUREcdn5DW324', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111814', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的加速域名。若参数为空,默认返回所有加速域名合并后的数据。'."\n" - ."\n" - .'> 不支持批量域名查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\n" + ."\n" + .'默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-21T08:00:00Z', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2015-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-22T08:00:00Z', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2015-12-10T21:00:00Z'], ], [ - 'name' => 'TimePoint', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-21T10:00:00Z', - ], + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', 'type' => 'string', 'required' => false, 'example' => '300'], ], [ - 'name' => 'Cycle', + 'name' => 'IspNameEn', 'in' => 'query', - 'schema' => [ - 'description' => '95带宽峰值周期,默认值为**day**。取值:'."\n" - ."\n" - .'- **day**:按日查询95峰值。'."\n" - .'- **month**:按月查询95峰值。', - 'type' => 'string', - 'required' => false, - 'example' => 'month', - 'enum' => [ - 'day', - 'month', - ], - ], + 'schema' => ['description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)获得。'."\n" + ."\n" + .'默认查询所有运营商数据。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => ['description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~DescribeCdnRegionAndIsp~~)获得。'."\n" + ."\n" + .'默认查询所有地域数据。', 'type' => 'string', 'required' => false, 'example' => 'beijing'], ], ], 'responses' => [ @@ -13445,148 +12304,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'EndTime' => [ - 'description' => '获取数据的结束时间。', - 'type' => 'string', - 'example' => '2015-12-11T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '获取数据的开始时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'DomesticMax95Bps' => [ - 'description' => '中国内地95带宽峰值。', - 'type' => 'string', - 'example' => '16777590.28', - ], - 'OverseasMax95Bps' => [ - 'description' => '全球(不含中国内地)95带宽峰值。', - 'type' => 'string', - 'example' => '0', - ], - 'Max95Bps' => [ - 'description' => '95带宽峰值。', - 'type' => 'string', - 'example' => '16777590.28', - ], - 'DetailData' => [ + 'EndTime' => ['description' => '结束时间。'."\n", 'type' => 'string', 'example' => '2015-12-10T21:00:00Z'], + 'StartTime' => ['description' => '开始时间。'."\n", 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B955107D-E658-4E77-B913-E0AC3D31693E'], + 'DomainName' => ['description' => '加速域名信息。'."\n", 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '300'], + 'TrafficDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Max95Detail' => [ - 'description' => '95带宽明细数据。', + 'DataModule' => [ + 'description' => '每个时间间隔的流量数据列表。单位:Byte。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-11T21:00:00Z', - ], - 'Area' => [ - 'description' => '95带宽对应的区域。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Max95BpsPeakTime' => [ - 'description' => '95带宽峰值时间。', - 'type' => 'string', - 'example' => '2015-12-11T21:05:00Z', - ], - 'Max95Bps' => [ - 'description' => '95带宽峰值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '16777590.28', - ], + 'HttpsDomesticValue' => ['description' => 'L1节点的HTTPS流量(中国内地)。', 'type' => 'string', 'example' => '0'], + 'Value' => ['description' => '总流量。'."\n", 'type' => 'string', 'example' => '423304182'], + 'OverseasValue' => ['description' => '全球(不包含中国内地)流量。'."\n", 'type' => 'string', 'example' => '0'], + 'HttpsValue' => ['description' => 'L1节点的HTTPS总流量。'."\n", 'type' => 'string', 'example' => '423304182'], + 'HttpsOverseasValue' => ['description' => 'L1节点的HTTPS流量(全球(不包含中国内地))。'."\n", 'type' => 'string', 'example' => '0'], + 'TimeStamp' => ['description' => '时间片起始时刻。'."\n", 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'DomesticValue' => ['description' => '中国内地流量。'."\n", 'type' => 'string', 'example' => '0'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidTimePoint.Malformed', - 'errorMessage' => 'Specified TimePoint is malformed.', - ], - [ - 'errorCode' => 'InvalidTimeSpan', - 'errorMessage' => 'The time span exceeds the limit.', - ], - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"EndTime\\": \\"2015-12-11T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticMax95Bps\\": \\"16777590.28\\",\\n \\"OverseasMax95Bps\\": \\"0\\",\\n \\"Max95Bps\\": \\"16777590.28\\",\\n \\"DetailData\\": {\\n \\"Max95Detail\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-11T21:00:00Z\\",\\n \\"Area\\": \\"CN\\",\\n \\"Max95BpsPeakTime\\": \\"2015-12-11T21:05:00Z\\",\\n \\"Max95Bps\\": 16777590.28\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainMax95BpsDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-11T21:00:00Z</EndTime>\\r\\n\\t<Max95Bps>16777590.28</Max95Bps>\\r\\n\\t<DomesticMax95Bps>16777590.28</DomesticMax95Bps>\\r\\n\\t<OverseasMax95Bps>0</OverseasMax95Bps>\\r\\n </DescribeDomainMax95BpsDataResponse>","errorExample":""}]', - 'title' => '查询95带宽峰值', - 'description' => '**分三种方式查询:**'."\n" - .'- 当同时指定StartTime和EndTime时,若EndTime与StartTime差值在24小时内,则查询StartTime所在当天的95峰值,否则查询StartTime所在月份的95峰值。'."\n" - .'- 当同时指定TimePoint和Cycle时,返回TimePoint所在周期的95峰值。'."\n" - .'- 当指定StartTime和EndTime时,若额外指定了Cycle,可以返回查询范围内所有指定cycle对应的95峰值。<br>'."\n" - .'<br>'."\n" - .'当这三种方式都不指定时,默认返回过去24小时的95峰值。<br>'."\n" - .'<br>'."\n" - .'* 数据最大查询跨度:90天'."\n" - .'* 数据最小查询粒度:1天'."\n" - .'* 数据最大查询范围:90天<br>'."\n" - .'<br>'."\n" - .'- 单用户调用频率:100次/秒。'."\n" - .'- 获取数据单位:bit/s。', + 'title' => '查询流量', + 'description' => '- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|3天|93天|15分钟|'."\n" + .'|1小时|31天|186天|一般延迟3-4小时|'."\n" + .'|1天|366天|366天|一般延迟4小时,不超过24小时|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:29:00.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTrafficData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"Value\\": \\"423304182\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsOverseasValue\\": \\"0\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomesticValue\\": \\"0\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"423304182\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:05:00Z\\",\\n \\"Value\\": \\"454680793\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:10:00Z\\",\\n \\"Value\\": \\"501718342\\",\\n \\"DomesticValue\\": \\"0\\",\\n \\"OverseasValue\\": \\"0\\",\\n \\"HttpsValue\\": \\"423304182\\",\\n \\"HttpsDomesticValue\\": \\"0\\",\\n \\"HttpsOverseasValue\\": \\"0\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T21:00:00Z\\"\\n}"},{"type":"xml","example":"<DescribeDomainTrafficDataResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<TrafficDataPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>423304182</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:05:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>454680793</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2015-12-10T20:10:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>501718342</Value>\\r\\n\\t\\t\\t<DomesticValue>0</DomesticValue>\\r\\n\\t\\t\\t<OverseasValue>0</OverseasValue>\\r\\n\\t\\t\\t<HttpsValue>423304182</HttpsValue>\\r\\n\\t\\t\\t<HttpsDomesticValue>0</HttpsDomesticValue>\\r\\n\\t\\t\\t<HttpsOverseasValue>0</HttpsOverseasValue>\\r\\n\\t\\t</DataModule>\\r\\n\\t</TrafficDataPerInterval>\\r\\n\\t<RequestId>B955107D-E658-4E77-B913-E0AC3D31693E</RequestId>\\r\\n\\t<StartTime>2015-12-10T20:00:00Z</StartTime>\\r\\n\\t<EndTime>2015-12-10T21:00:00Z</EndTime>\\r\\n</DescribeDomainTrafficDataResponse>","errorExample":""}]', ], 'DescribeDomainUsageData' => [ 'summary' => '调用DescribeDomainUsageData查询域名在特定计费区域的用量数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13595,139 +12398,93 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '111815', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的加速域名。支持批量查询,多个域名用英文逗号(,)分隔,一次最多可以查询100个域名。'."\n" - ."\n" - .'> 如果参数为空,默认返回账号下所有加速域名合并后的数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '需要查询的加速域名。支持批量查询,多个域名用英文逗号(,)分隔,一次最多可以查询100个域名。'."\n" + ."\n" + .'> 如果参数为空,默认返回账号下所有加速域名合并后的数据。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。'."\n" - ."\n" - .'日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 查询数据时间粒度为5分钟。', - 'type' => 'string', - 'required' => true, - 'example' => '2015-12-10T20:00:00Z', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 查询数据时间粒度为5分钟。', 'type' => 'string', 'required' => true, 'example' => '2015-12-10T20:00:00Z'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。'."\n" - ."\n" - .'日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需晚于起始时间,且时间相差不能超过31天。', - 'type' => 'string', - 'required' => true, - 'example' => '2015-12-10T22:00:00Z', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需晚于起始时间,且时间相差不能超过31天。', 'type' => 'string', 'required' => true, 'example' => '2015-12-10T22:00:00Z'], ], [ 'name' => 'Field', 'in' => 'query', - 'schema' => [ - 'description' => '请求的数据类型。取值:'."\n" - .'- **bps**:带宽。'."\n" - .'- **traf**:流量。'."\n" - .'- **acc**:请求数。'."\n" - ."\n" - .'> **acc**不支持根据**Area**参数查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'bps', - ], + 'schema' => ['description' => '请求的数据类型。取值:'."\n" + .'- **bps**:带宽。'."\n" + .'- **traf**:流量。'."\n" + .'- **acc**:请求数。'."\n" + ."\n" + .'> **acc**不支持根据**Area**参数查询。', 'type' => 'string', 'required' => true, 'example' => 'bps'], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '需要获取的用量类型。取值:'."\n" - .'- **static**:静态。'."\n" - .'- **dynamic**:动态。'."\n" - .'- **all**(默认):全部。', - 'type' => 'string', - 'required' => false, - 'example' => 'static', - 'default' => 'all', - ], + 'schema' => ['description' => '需要获取的用量类型。取值:'."\n" + .'- **static**:静态。'."\n" + .'- **dynamic**:动态。'."\n" + .'- **all**(默认):全部。', 'type' => 'string', 'required' => false, 'example' => 'static', 'default' => 'all'], ], [ 'name' => 'DataProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '需要获取的数据的协议。取值:'."\n" - .'- **http**:HTTP协议。'."\n" - .'- **https**:HTTPS协议。'."\n" - .'- **quic**:QUIC协议。'."\n" - .'- **all**(默认):以上全部协议。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'all', - 'default' => 'all', - ], + 'schema' => ['description' => '需要获取的数据的协议。取值:'."\n" + .'- **http**:HTTP协议。'."\n" + .'- **https**:HTTPS协议。'."\n" + .'- **quic**:QUIC协议。'."\n" + .'- **all**(默认):以上全部协议。'."\n", 'type' => 'string', 'required' => false, 'example' => 'all', 'default' => 'all'], ], [ 'name' => 'Area', 'in' => 'query', - 'schema' => [ - 'description' => '区域代号。取值:'."\n" - ."\n" - .'- **CN**(默认):中国内地。'."\n" - .'- **OverSeas**:全球(不包含中国内地)。'."\n" - .'- **AP1**:亚太1区。'."\n" - .'- **AP2**:亚太2区。'."\n" - .'- **AP3**:亚太3区。'."\n" - .'- **NA**:北美。'."\n" - .'- **SA**:南美。'."\n" - .'- **EU**:欧洲。'."\n" - .'- **MEAA**:中东、非洲。'."\n" - .'- **all**:以上全部区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - 'default' => 'CN', - ], + 'schema' => ['description' => '区域代号。取值:'."\n" + ."\n" + .'- **CN**(默认):中国内地。'."\n" + .'- **OverSeas**:全球(不包含中国内地)。'."\n" + .'- **AP1**:亚太1区。'."\n" + .'- **AP2**:亚太2区。'."\n" + .'- **AP3**:亚太3区。'."\n" + .'- **NA**:北美。'."\n" + .'- **SA**:南美。'."\n" + .'- **EU**:欧洲。'."\n" + .'- **MEAA**:中东、非洲。'."\n" + .'- **all**:以上全部区域。', 'type' => 'string', 'required' => false, 'example' => 'CN', 'default' => 'CN'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '强制指定获取指定时间粒度的数据,单位为秒。支持**300**(5分钟)、**3600**(1小时)和**86400**(1天)。'."\n" - .'- **Interval**=**300**:最长可查询最近半年的数据,单次查询的时间跨度最长为3天。'."\n" - .'- **Interval**=**3600**或**86400**:最长可查询最近1年的数据。'."\n" - .'- 不指定**Interval**:单次查询跨度最长为1个月。当查询时间为1~3天时,数据按小时粒度返回;当查询时间为4天及以上时,数据按天粒度返回。', - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], + 'schema' => ['description' => '强制指定获取指定时间粒度的数据,单位为秒。支持**300**(5分钟)、**3600**(1小时)和**86400**(1天)。'."\n" + .'- **Interval**=**300**:最长可查询最近半年的数据,单次查询的时间跨度最长为3天。'."\n" + .'- **Interval**=**3600**或**86400**:最长可查询最近1年的数据。'."\n" + .'- 不指定**Interval**:单次查询跨度最长为1个月。当查询时间为1~3天时,数据按小时粒度返回;当查询时间为4天及以上时,数据按天粒度返回。', 'type' => 'string', 'required' => false, 'example' => '300'], ], [ 'name' => 'ServiceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -13736,41 +12493,13 @@ 'description' => '参数列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B955107D-E658-4E77-B913-E0AC3D31693E', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2015-12-10T22:00:00Z', - ], - 'Type' => [ - 'description' => '用量类型。', - 'type' => 'string', - 'example' => 'bps', - ], - 'Area' => [ - 'description' => '用量区域。', - 'type' => 'string', - 'example' => 'CN', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位为秒。', - 'type' => 'string', - 'example' => '300', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B955107D-E658-4E77-B913-E0AC3D31693E'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2015-12-10T22:00:00Z'], + 'Type' => ['description' => '用量类型。', 'type' => 'string', 'example' => 'bps'], + 'Area' => ['description' => '用量区域。', 'type' => 'string', 'example' => 'CN'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位为秒。', 'type' => 'string', 'example' => '300'], 'UsageDataPerInterval' => [ 'type' => 'object', 'itemNode' => true, @@ -13783,34 +12512,19 @@ .'每个时间间隔的流量数据解释。', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '用量。', - 'type' => 'string', - 'example' => '423304182', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。'."\n" - ."\n" - .'> 返回数据中包含的多个**TimeStamp**称为时间片。', - 'type' => 'string', - 'example' => '2015-12-10T21:30:00Z', - ], - 'PeakTime' => [ - 'description' => '当**Field**为**bps**时,该值为峰值带宽时刻,否则值和**TimeStamp**相同。', - 'type' => 'string', - 'example' => '2015-12-10T21:30:00Z', - ], - 'SpecialValue' => [ - 'description' => '特殊用量。'."\n" - ."\n" - .'> 用来标记特殊情况下的用量值,没有特殊计费可忽略该参数。', - 'type' => 'string', - 'example' => '423304182', - ], + 'Value' => ['description' => '用量。', 'type' => 'string', 'example' => '423304182'], + 'TimeStamp' => ['description' => '时间片起始时刻。'."\n" + ."\n" + .'> 返回数据中包含的多个**TimeStamp**称为时间片。', 'type' => 'string', 'example' => '2015-12-10T21:30:00Z'], + 'PeakTime' => ['description' => '当**Field**为**bps**时,该值为峰值带宽时刻,否则值和**TimeStamp**相同。', 'type' => 'string', 'example' => '2015-12-10T21:30:00Z'], + 'SpecialValue' => ['description' => '特殊用量。'."\n" + ."\n" + .'> 用来标记特殊情况下的用量值,没有特殊计费可忽略该参数。', 'type' => 'string', 'example' => '423304182'], ], ], ], ], + 'description' => '', ], ], ], @@ -13818,49 +12532,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterType', - 'errorMessage' => 'The specified Type is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterField', - 'errorMessage' => 'The specified Field is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterStartTime', - 'errorMessage' => 'The parameter StartTime is invalid.', - ], - [ - 'errorCode' => 'InvalidParameterEndTime', - 'errorMessage' => 'The parameter EndTime is invalid.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidIntervalParameter', - 'errorMessage' => 'The specified Interval is invalid.', - ], - [ - 'errorCode' => 'InvalidTimeSpan', - 'errorMessage' => 'The time span exceeds the limit.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'InvalidParameterType', 'errorMessage' => 'The specified Type is invalid.', 'description' => 'Type参数错误,请确认后输入'], + ['errorCode' => 'InvalidParameterField', 'errorMessage' => 'The specified Field is invalid.', 'description' => 'Field参数错误,请确认后输入'], + ['errorCode' => 'InvalidParameterStartTime', 'errorMessage' => 'The parameter StartTime is invalid.', 'description' => '参数StartTime无效。'], + ['errorCode' => 'InvalidParameterEndTime', 'errorMessage' => 'The parameter EndTime is invalid.', 'description' => '参数EndTime无效。'], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['errorCode' => 'InvalidIntervalParameter', 'errorMessage' => 'The specified Interval is invalid.', 'description' => '指定的时间粒度无效。'], + ['errorCode' => 'InvalidTimeSpan', 'errorMessage' => 'The time span exceeds the limit.', 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.Malformed', 'errorMessage' => 'Specified StartTime or EndTime is malformed.', 'description' => '开始时间或结束时间格式错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T22:00:00Z\\",\\n \\"Type\\": \\"bps\\",\\n \\"Area\\": \\"CN\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"UsageDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"423304182\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:30:00Z\\",\\n \\"PeakTime\\": \\"2015-12-10T21:30:00Z\\",\\n \\"SpecialValue\\": \\"423304182\\"\\n }\\n ]\\n }\\n}","errorExample":"http://cdn.aliyuncs.com?Action=DescribeDomainUsageData&DomainName=example.com\\n&StartTime=2015-12-10T20:00:00Z\\n&EndTime=2015-12-10T22:00:00Z\\n&Field=bps\\n&Area=EU\\n&<公共请求参数>"},{"type":"xml","example":"<DescribeDomainUsageDataResponse>\\n<DomainName>example.com</DomainName>\\n<UsageDataPerInterval>\\n <DataModule>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <PeakTime>2015-12-10T20:05:00Z</PeakTime>\\n <Value>423304182</Value>\\n <SpecialValue>423304182</SpecialValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <PeakTime>2015-12-10T21:30:00Z</PeakTime>\\n <Value>454680793</Value>\\n <SpecialValue>423304182</SpecialValue>\\n </DataModule>\\n</UsageDataPerInterval>\\n<RequestId>B955107D-E658-4E77-B913-E0AC3D31693E</RequestId>\\n<StartTime>2015-12-10T20:00Z</StartTime>\\n<EndTime>2015-12-10T21:00Z</EndTime>\\n<Area>CN</Area>\\n<Type>traf</Type>\\n</DescribeDomainUsageDataResponse>","errorExample":"http://cdn.aliyuncs.com?Action=DescribeDomainUsageData&DomainName=example.com\\n&StartTime=2015-12-10T20:00:00Z\\n&EndTime=2015-12-10T22:00:00Z\\n&Type=static\\n&DataProtocol=https\\n&Field=acc\\n&Area=all\\n&<公共请求参数>"}]', 'title' => '查询用量数据', 'description' => '- 单用户调用频率:10次/秒。'."\n" .'- 支持查询的时间粒度:根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" @@ -13885,17 +12568,40 @@ .'| 静态QUIC请求数 | quic | static | acc | all |', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnUserResourcePackage' => [ - 'summary' => '调用DescribeCdnUserResourcePackage查询CDN用户当前资源包信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T09:10:26.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-14T07:11:07.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-03T09:02:18.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-24T06:02:14.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-24T01:30:03.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-06-13T03:35:39.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-06-13T07:14:34.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-03-16T02:33:36.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainUsageData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainUsageData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-10T22:00:00Z\\",\\n \\"Type\\": \\"bps\\",\\n \\"Area\\": \\"CN\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"UsageDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"423304182\\",\\n \\"TimeStamp\\": \\"2015-12-10T21:30:00Z\\",\\n \\"PeakTime\\": \\"2015-12-10T21:30:00Z\\",\\n \\"SpecialValue\\": \\"423304182\\"\\n }\\n ]\\n }\\n}","errorExample":"http://cdn.aliyuncs.com?Action=DescribeDomainUsageData&DomainName=example.com\\n&StartTime=2015-12-10T20:00:00Z\\n&EndTime=2015-12-10T22:00:00Z\\n&Field=bps\\n&Area=EU\\n&<公共请求参数>"},{"type":"xml","example":"<DescribeDomainUsageDataResponse>\\n<DomainName>example.com</DomainName>\\n<UsageDataPerInterval>\\n <DataModule>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <PeakTime>2015-12-10T20:05:00Z</PeakTime>\\n <Value>423304182</Value>\\n <SpecialValue>423304182</SpecialValue>\\n </DataModule>\\n <DataModule>\\n <TimeStamp>2015-12-10T21:00:00Z</TimeStamp>\\n <PeakTime>2015-12-10T21:30:00Z</PeakTime>\\n <Value>454680793</Value>\\n <SpecialValue>423304182</SpecialValue>\\n </DataModule>\\n</UsageDataPerInterval>\\n<RequestId>B955107D-E658-4E77-B913-E0AC3D31693E</RequestId>\\n<StartTime>2015-12-10T20:00Z</StartTime>\\n<EndTime>2015-12-10T21:00Z</EndTime>\\n<Area>CN</Area>\\n<Type>traf</Type>\\n</DescribeDomainUsageDataResponse>","errorExample":"http://cdn.aliyuncs.com?Action=DescribeDomainUsageData&DomainName=example.com\\n&StartTime=2015-12-10T20:00:00Z\\n&EndTime=2015-12-10T22:00:00Z\\n&Type=static\\n&DataProtocol=https\\n&Field=acc\\n&Area=all\\n&<公共请求参数>"}]', + ], + 'DescribeDomainUvData' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13906,35 +12612,26 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111752', - 'abilityTreeNodes' => [ - 'FEATUREcdnG9C3XR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '111816', + 'abilityTreeNodes' => ['FEATUREcdnF7OM8K'], ], 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '资源包状态,默认值为valid。取值:'."\n" - ."\n" - .'- **valid**:有效。'."\n" - ."\n" - .'- **closed**:无效。'."\n" - ."\n" - .'- **exhaust**:耗尽。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'valid', - 'default' => 'valid', - 'enum' => [ - 'valid', - 'closed', - 'exhaust', - ], - ], + 'schema' => ['description' => '加速域名,仅支持查询一个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-11-29T00:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-11-29T04:00:00Z'], ], ], 'responses' => [ @@ -13942,188 +12639,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '84839536-2B7E-457D-9D8C-82E6C7D4E1A3', - ], - 'ResourcePackageInfos' => [ + 'EndTime' => ['description' => '获取数据结束时间点。', 'type' => 'string', 'example' => '2019-11-29T04:00:00Z'], + 'StartTime' => ['description' => '获取数据起始时间点。', 'type' => 'string', 'example' => '2019-11-29T00:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '时间间隔,单位:秒。', 'type' => 'string', 'example' => '3600'], + 'UvDataInterval' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'ResourcePackageInfo' => [ - 'description' => '由ResourcePackageInfo组成的数组格式。', + 'UsageData' => [ + 'description' => '每个时间间隔的页面独立访问次数列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '失效时间。', - 'type' => 'string', - 'example' => '2018-07-01T08:00:00Z', - ], - 'Status' => [ - 'description' => '资源包状态。取值:'."\n" - ."\n" - .'- **valid**:有效。'."\n" - ."\n" - .'- **closed**:无效。'."\n" - ."\n" - .'- **exhaust**:耗尽。', - 'type' => 'string', - 'example' => 'valid', - ], - 'DisplayName' => [ - 'description' => '套餐包名称。', - 'type' => 'string', - 'example' => 'Data Transfer Plan in Asia Pacific 1', - ], - 'StartTime' => [ - 'description' => '生效时间。', - 'type' => 'string', - 'example' => '2017-12-05T19:10:58Z', - ], - 'CommodityCode' => [ - 'description' => '资源包商品编码。', - 'type' => 'string', - 'example' => 'cdnflowbag', - ], - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'FP-ilttxc23a', - ], - 'TemplateName' => [ - 'description' => '模版名称。', - 'type' => 'string', - 'example' => 'FPT_cdn_bag_intl_deadlineAcc_1569491944', - ], - 'CurrCapacity' => [ - 'description' => '实例当前剩余容量。'."\n" - .'- 流量包单位:Byte。'."\n" - ."\n" - .'- 请求数包单位:次。', - 'type' => 'string', - 'example' => '53661095687', - ], - 'InitCapacity' => [ - 'description' => '资源包总量。'."\n" - .'- 流量包单位:Byte。'."\n" - ."\n" - .'- 请求数包单位:次。', - 'type' => 'string', - 'example' => '107374182400', - ], - 'Region' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'CN', - ], - 'CurrCapacityShowValue' => [ - 'description' => '实例当前显示剩余容量。', - 'type' => 'string', - 'example' => '49.975789', - ], - 'CurrCapacityShowUnit' => [ - 'description' => '实例当前显示剩余容量单位。', - 'type' => 'string', - 'example' => 'GB', - ], - 'CurrCapacityBaseUnit' => [ - 'description' => '实例当前剩余容量单位。', - 'type' => 'string', - 'example' => 'Byte', - ], - 'InitCapacityShowValue' => [ - 'description' => '资源包显示总量。', - 'type' => 'string', - 'example' => '100.000000', - ], - 'InitCapacityShowUnit' => [ - 'description' => '资源包显示总量单位。', - 'type' => 'string', - 'example' => 'GB', - ], - 'InitCapacityBaseUnit' => [ - 'description' => '资源包总量单位。', - 'type' => 'string', - 'example' => 'Byte', - ], + 'Value' => ['description' => '详细使用数据。', 'type' => 'string', 'example' => '318'], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2019-11-29T00:00:00Z'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'CdnServiceNotFound', - 'errorMessage' => 'Your account does not open CDN service yet.', - ], + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"84839536-2B7E-457D-9D8C-82E6C7D4E1A3\\",\\n \\"ResourcePackageInfos\\": {\\n \\"ResourcePackageInfo\\": [\\n {\\n \\"EndTime\\": \\"2018-07-01T08:00:00Z\\",\\n \\"Status\\": \\"valid\\",\\n \\"DisplayName\\": \\"Data Transfer Plan in Asia Pacific 1\\",\\n \\"StartTime\\": \\"2017-12-05T19:10:58Z\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InstanceId\\": \\"FP-ilttxc23a\\",\\n \\"TemplateName\\": \\"FPT_cdn_bag_intl_deadlineAcc_1569491944\\",\\n \\"CurrCapacity\\": \\"53661095687\\",\\n \\"InitCapacity\\": \\"107374182400\\",\\n \\"Region\\": \\"CN\\",\\n \\"CurrCapacityShowValue\\": \\"49.975789\\",\\n \\"CurrCapacityShowUnit\\": \\"GB\\",\\n \\"CurrCapacityBaseUnit\\": \\"Byte\\",\\n \\"InitCapacityShowValue\\": \\"100.000000\\",\\n \\"InitCapacityShowUnit\\": \\"GB\\",\\n \\"InitCapacityBaseUnit\\": \\"Byte\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"ResourcePackageInfos\\": {\\n \\"ResourcePackageInfo\\": [\\n {\\n \\"Status\\": \\"closed\\",\\n \\"InstanceId\\": \\"FP-mkqgwsyui\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InitCapacity\\": \\"10995116277760\\",\\n \\"EndTime\\": \\"2017-01-30T08:00:00Z\\",\\n \\"StartTime\\": \\"2016-01-30T03:40:06Z\\",\\n \\"DisplayName\\": \\"CDN流量包(国内版)\\",\\n \\"CurrCapacity\\": \\"10995089554629\\"\\n },\\n {\\n \\"Status\\": \\"valid\\",\\n \\"InstanceId\\": \\"FP-ilttxc23a\\",\\n \\"CommodityCode\\": \\"cdnflowbag\\",\\n \\"InitCapacity\\": \\"536870912000\\",\\n \\"EndTime\\": \\"2018-07-01T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-07-01T01:26:41Z\\",\\n \\"DisplayName\\": \\"CDN流量包(国内版)\\",\\n \\"CurrCapacity\\": \\"0\\"\\n },\\n {\\n \\"Status\\": \\"valid\\",\\n \\"InstanceId\\": \\"CDNHTTPSBAG-cn-v0h0dnlq4000m9\\",\\n \\"CommodityCode\\": \\"cdnhttpsbag\\",\\n \\"InitCapacity\\": \\"10000000\\",\\n \\"EndTime\\": \\"2018-12-06T08:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-05T19:10:58Z\\",\\n \\"DisplayName\\": \\"CDN HTTPS请求数资源包\\",\\n \\"CurrCapacity\\": \\"9999645\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"84839536-2B7E-457D-9D8C-82E6C7D4E1A3\\"\\n}"},{"type":"xml","example":"<DescribeCdnUserResourcePackageResponse>\\r\\n\\t<ResourcePackageInfos>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>closed</Status>\\r\\n\\t\\t\\t<InstanceId>FP-mkqgwsyui</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnflowbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>10995116277760</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2017-01-30T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2016-01-30T03:40:06Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN流量包(中国内地版)</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>10995089554629</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>valid</Status>\\r\\n\\t\\t\\t<InstanceId>FP-ilttxc23a</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnflowbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>536870912000</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2018-07-01T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2017-07-01T01:26:41Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN流量包(中国内地版)</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>0</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t\\t<ResourcePackageInfo>\\r\\n\\t\\t\\t<Status>valid</Status>\\r\\n\\t\\t\\t<InstanceId>CDNHTTPSBAG-cn-v0h0dnlq4000m9</InstanceId>\\r\\n\\t\\t\\t<CommodityCode>cdnhttpsbag</CommodityCode>\\r\\n\\t\\t\\t<InitCapacity>10000000</InitCapacity>\\r\\n\\t\\t\\t<EndTime>2018-12-06T08:00:00Z</EndTime>\\r\\n\\t\\t\\t<StartTime>2017-12-05T19:10:58Z</StartTime>\\r\\n\\t\\t\\t<DisplayName>CDN HTTPS请求数资源包</DisplayName>\\r\\n\\t\\t\\t<CurrCapacity>9999645</CurrCapacity>\\r\\n\\t\\t</ResourcePackageInfo>\\r\\n\\t</ResourcePackageInfos>\\r\\n\\t<RequestId>84839536-2B7E-457D-9D8C-82E6C7D4E1A3</RequestId>\\r\\n</DescribeCdnUserResourcePackageResponse>","errorExample":""}]', - 'title' => '查询资源包', - 'description' => '> 单用户调用频率:30次/秒。', + 'title' => '获取UV页面独立访问统计', + 'summary' => '调用DescribeDomainUvData按小时粒度获取加速域名的UV页面独立访问统计,支持获取最近90天的数据。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + ."\n\n" + .'>- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" + .'- 您只可以查询一个域名或当前用户下所有域名的数据。'."\n" + .'- 单用户调用频率:100次/秒。'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteRealTimeLogLogstore' => [ - 'summary' => '调用DeleteRealTimeLogLogstore删除实时日志推送的Logstore。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainUvData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainUvData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-29T04:00:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T00:00:00Z\\",\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"UvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"318\\",\\n \\"TimeStamp\\": \\"2019-11-29T00:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainUvDataResponse>\\n<DataInterval>3600</DataInterval>\\n<RequestId>17276F0E-66F4-4547-B9C6-42E2547362D4</RequestId>\\n<DomainName>example.com</DomainName>\\n<EndTime>2019-11-29T04:00:00Z</EndTime>\\n<StartTime>2019-11-29T00:00:00Z</StartTime>\\n<UvDataInterval>\\n <UsageData>\\n <TimeStamp>2019-11-29T00:00:00Z</TimeStamp>\\n <Value>2</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T01:00:00Z</TimeStamp>\\n <Value>12</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T02:00:00Z</TimeStamp>\\n <Value>6</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T03:00:00Z</TimeStamp>\\n <Value>7</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T04:00:00Z</TimeStamp>\\n <Value>5</Value>\\n </UsageData>\\n</UvDataInterval>\\n</DescribeDomainUvDataResponse>\\n","errorExample":""}]', + ], + 'DescribeDomainVerifyData' => [ + 'summary' => '调用DescribeDomainVerifyData,根据加速域名是否开启全球资源计划,返回对应的校验内容。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111709', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178430', + 'abilityTreeNodes' => ['FEATUREcdnRLQ471'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Project', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递SLS的ProjectName。', - 'type' => 'string', - 'required' => true, - 'example' => 'ProjectName', - ], - ], - [ - 'name' => 'Logstore', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递SLS的LogStoreName。', - 'type' => 'string', - 'required' => true, - 'example' => 'LogstoreName', - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。', 'type' => 'string', 'required' => true, 'example' => 'www.yourdomain.com'], ], [ - 'name' => 'Region', + 'name' => 'GlobalResourcePlan', 'in' => 'query', 'schema' => [ - 'description' => '实时投递SLS的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。'."\n", + 'description' => '是否开启全球资源计划。'."\n" + .'支持:'."\n" + .'- **on**(开启)'."\n" + .'- **off**(不开启)', 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', + 'required' => false, + 'enumValueTitles' => ['off' => 'off', 'on' => 'on'], + 'example' => 'off', ], ], ], @@ -14132,120 +12757,149 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F61CDR30-E83C-4FDA-BF73-9A94CDD44229'], + 'Content' => [ + 'description' => '校验内容。', + 'type' => 'object', + 'properties' => [ + 'verifyCode' => ['description' => '校验的TXT记录目标值。', 'type' => 'string', 'example' => 'verify_2bc6e4836c9f6072869de1c5a269ef09'], + 'verifyKey' => ['description' => 'TXT记录的子域名。', 'type' => 'string', 'example' => 'verification'], + 'RootDomain' => [ + 'description' => '域名对应的根域名的名称。', + 'type' => 'string', + 'enumValueTitles' => ['example.com' => 'example.com'], + 'example' => 'example.com', + ], + ], + 'example' => '{'."\n" + .' "verifiCode": "uy0-DxxxxxxxxKl-JnJY4",'."\n" + .' "verifyKey": "_acxxxe-xxxx"'."\n" + .'}', ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', - ], - [ - 'errorCode' => 'DomainDeliveryConfigExist', - 'errorMessage' => 'Domain delivery configuration existed.', - ], - ], - 404 => [ - [ - 'errorCode' => 'LogstoreNotExist', - 'errorMessage' => 'Logstore does not exist.', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F61CDR30-E83C-4FDA-BF73-9A94CDD44229\\",\\n \\"Content\\": {\\n \\"verifyCode\\": \\"verify_2bc6e4836c9f6072869de1c5a269ef09\\",\\n \\"verifyKey\\": \\"verification\\",\\n \\"RootDomain\\": \\"example.com\\"\\n }\\n}","type":"json"}]', + 'title' => '查询域名归属校验内容', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:12.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainVerifyData'], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainVerifyData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteRealTimeLogLogstoreResponse>\\n <RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\n</DeleteRealTimeLogLogstoreResponse>","errorExample":""}]', - 'title' => '删除实时日志推送的Logstore', - 'description' => '> 单用户调用频率:100次/秒。', ], - 'CreateRealTimeLogDelivery' => [ - 'summary' => '调用CreateRealTimeLogDelivery创建域名实时日志投递。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeDomainsBySource' => [ + 'summary' => '调用DescribeDomainsBySource按源站查询加速域名。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '111696', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '111802', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Project', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ProjectName', - ], - ], - [ - 'name' => 'Logstore', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'LogstoreName', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'Sources', 'in' => 'query', - 'schema' => [ - 'description' => '开启实时日志投递服务域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '源站,多个用半角逗号(,)分隔,不支持模糊匹配。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F32C57AA-7BF8-49AE-A2CC-9F42390F5A19', + 'Sources' => ['description' => '请求的源站。', 'type' => 'string', 'example' => 'example.com,aliyundoc.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B0F074E5-A1AC-4B32-8EA2-6F450410D1E0'], + 'DomainsList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DomainsData' => [ + 'description' => '由DomainsData组成的数组格式,返回各个源站对应的域名名称列表。', + 'type' => 'array', + 'items' => [ + 'description' => '由DomainsData组成的数组格式,返回各个源站对应的域名名称列表。', + 'type' => 'object', + 'properties' => [ + 'Source' => ['description' => '请求的一个源站。', 'type' => 'string', 'example' => 'example.com'], + 'DomainInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'domainInfo' => [ + 'description' => '由domainInfo组成的列表格式,返回域名的详细信息。', + 'type' => 'array', + 'items' => [ + 'description' => '由domainInfo组成的列表格式,返回域名的详细信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '域名状态。取值:'."\n" + ."\n" + .'- **applying**:审核中'."\n" + .'- **configuring**:配置中'."\n" + .'- **online**:正常运行'."\n" + .'- **stopping**:停止中'."\n" + .'- **offline**:停止'."\n" + .'- **disabling**:删除中', 'type' => 'string', 'example' => 'online'], + 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-03-31T04:49:00+08:00'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2016-07-12T11:53:19+08:00'], + 'DomainCname' => ['description' => 'CNAME。', 'type' => 'string', 'example' => '***.alikunlun.com'], + 'CdnType' => ['description' => '加速域名的业务类型。取值:'."\n" + ."\n" + .'- **web**:图片小文件。'."\n" + ."\n" + .'- **download**:大文件下载。'."\n" + ."\n" + .'- **video**:视音频点播。', 'type' => 'string', 'example' => 'web'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.org'], + ], + ], + ], + ], + ], + 'Domains' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'domainNames' => [ + 'description' => '由domainNames组成的列表格式,返回单个域名对应的域名名称列表。', + 'type' => 'array', + 'items' => ['description' => '由domainNames组成的列表格式,返回单个域名对应的域名名称列表。', 'type' => 'string', 'example' => 'example.org'], + ], + ], + ], + ], + ], + ], + ], ], ], ], @@ -14253,91 +12907,72 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', - ], - ], - 404 => [ - [ - 'errorCode' => 'LogstoreNotExist', - 'errorMessage' => 'Logstore does not exist', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain does not exist, or it does not belong to you.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The parameter Sources miss.', 'description' => ''], + ['errorCode' => 'InvalidSources.Malformed', 'errorMessage' => 'Specified Sources is malformed.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidSources.NotFound', 'errorMessage' => 'The sources provided does not found in your domains', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\",\\n}"},{"type":"xml","example":"<CreateRealTimeLogDeliveryResponse>\\r\\n\\t<RequestId>F32C57AA-7BF8-49AE-A2CC-9F42390F5A19</RequestId>\\r\\n</CreateRealTimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '创建实时日志投递', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Sources\\": \\"example.com,aliyundoc.com\\",\\n \\"RequestId\\": \\"B0F074E5-A1AC-4B32-8EA2-6F450410D1E0\\",\\n \\"DomainsList\\": {\\n \\"DomainsData\\": [\\n {\\n \\"Source\\": \\"example.com\\",\\n \\"DomainInfos\\": {\\n \\"domainInfo\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"UpdateTime\\": \\"2017-03-31T04:49:00+08:00\\",\\n \\"CreateTime\\": \\"2016-07-12T11:53:19+08:00\\",\\n \\"DomainCname\\": \\"***.alikunlun.com\\",\\n \\"CdnType\\": \\"web\\",\\n \\"DomainName\\": \\"example.org\\"\\n }\\n ]\\n },\\n \\"Domains\\": {\\n \\"domainNames\\": [\\n \\"example.org\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainsBySourceResponse>\\n <Sources>example.com,aliyundoc.com</Sources>\\n <RequestId>B0F074E5-A1AC-4B32-8EA2-6F450410D1E0</RequestId>\\n <DomainsList>\\n <Source>example.com</Source>\\n <DomainInfos>\\n <Status>online</Status>\\n <UpdateTime>2017-03-31T04:49:00+08:00</UpdateTime>\\n <CreateTime>2016-07-12T11:53:19+08:00</CreateTime>\\n <DomainCname>***.alikunlun.com</DomainCname>\\n <CdnType>web</CdnType>\\n <DomainName>example.org</DomainName>\\n </DomainInfos>\\n <Domains>example.org</Domains>\\n </DomainsList>\\n</DescribeDomainsBySourceResponse>","errorExample":""}]', + 'title' => '查询域名-按源站', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyRealtimeLogDelivery' => [ - 'summary' => '调用ModifyRealtimeLogDelivery更改域名实时日志投递,一个域名仅支持投递单个Logstore。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainsBySource', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainsUsageByDay' => [ + 'summary' => '调用DescribeDomainsUsageByDay查询加速域名天粒度的监控统计数据,支持获取最近90天的数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111875', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111810', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'Project', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'required' => true, - 'example' => 'testProject', - ], + 'schema' => ['description' => '加速域名,只支持填写一个域名。'."\n" + ."\n" + .'默认查询当前用户下所有域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'Logstore', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName。', - 'type' => 'string', - 'required' => true, - 'example' => 'TestLog', - ], - ], - [ - 'name' => 'Region', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的地域,详情请参见[实时日志服务推送地域](~~144883~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'ch-shanghai', - ], + 'schema' => ['description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-12-22T08:00:00Z'], ], [ - 'name' => 'Domain', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '修改实时日志投递的域名,仅支持修改单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-12-23T09:00:00Z'], ], ], 'responses' => [ @@ -14345,112 +12980,146 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-23T09:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-22T08:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C88EF8ED-72F0-45EA-9E86-95114E224FC5'], + 'DomainName' => ['description' => '加速域名信息。', 'type' => 'string', 'example' => 'example.com'], + 'DataInterval' => ['description' => '每条记录的时间间隔,单位:秒。', 'type' => 'string', 'example' => '86400'], + 'UsageTotal' => [ + 'description' => '汇总数据。', + 'type' => 'object', + 'properties' => [ + 'MaxSrcBpsTime' => ['description' => '回源带宽峰值时刻。', 'type' => 'string', 'example' => '2019-12-23 11:45:00'], + 'RequestHitRate' => ['description' => '请求命中率(百分比数据)。', 'type' => 'string', 'example' => '69.92610837438424'], + 'MaxBps' => ['description' => '带宽峰值,单位:bps。', 'type' => 'string', 'example' => '1.0747912780000001E8'], + 'TotalAccess' => ['description' => '总访问量。', 'type' => 'string', 'example' => '1319500'], + 'BytesHitRate' => ['description' => '字节命中率(百分比数据)。', 'type' => 'string', 'example' => '97.03110726801242'], + 'TotalTraffic' => ['description' => '总流量,单位:Byte。', 'type' => 'string', 'example' => '1117711832100'], + 'MaxBpsTime' => ['description' => '带宽峰值时刻。', 'type' => 'string', 'example' => '2019-12-23 10:55:00'], + 'MaxSrcBps' => ['description' => '回源带宽峰值,单位:bps。', 'type' => 'string', 'example' => '72584.072'], + ], + ], + 'UsageByDays' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageByDay' => [ + 'description' => '每个时间间隔统计数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MaxSrcBpsTime' => ['description' => '回源带宽峰值时刻。', 'type' => 'string', 'example' => '2019-12-23 11:45:00'], + 'Qps' => ['description' => '每秒访问量(次/秒)。', 'type' => 'string', 'example' => '7.466354166666667'], + 'RequestHitRate' => ['description' => '请求命中率(百分比数据)。', 'type' => 'string', 'example' => '70.24770071912111'], + 'MaxBps' => ['description' => '带宽峰值,单位:bps。', 'type' => 'string', 'example' => '306747.76'], + 'TotalAccess' => ['description' => '总访问量。', 'type' => 'string', 'example' => '645093'], + 'TimeStamp' => ['description' => '查询数据的时间片起始时刻。', 'type' => 'string', 'example' => '2019-12-22'], + 'BytesHitRate' => ['description' => '字节命中率(百分比数据)。', 'type' => 'string', 'example' => '97.46250599529726'], + 'TotalTraffic' => ['description' => '总流量,单位:Byte。', 'type' => 'string', 'example' => '564300099309'], + 'MaxSrcBps' => ['description' => '回源带宽峰值,单位:bps。', 'type' => 'string', 'example' => '72584.072'], + 'MaxBpsTime' => ['description' => '带宽峰值时刻。', 'type' => 'string', 'example' => '2019-12-23 10:55:00'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'InternalException', - 'errorMessage' => 'Internal occasional exception, please try again later.', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], ], 404 => [ - [ - 'errorCode' => 'LogstoreNotExist', - 'errorMessage' => 'Logstore does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', - ], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<ModifyRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</ModifyRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '修改实时日志投递', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '查询用量-按天', + 'description' => '- 单用户调用频率:10次/秒。'."\n" + .'- 如果您不指定StartTime和EndTime时,默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" + .'- 您只能查询单个域名或当前用户下所有域名的数据。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|1天|90天|366天|一般延迟4小时,不超过24小时。|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteRealtimeLogDelivery' => [ - 'summary' => '调用DeleteRealtimeLogDelivery删除实时日志推送域名。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:20:43.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainsUsageByDay'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainsUsageByDay', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-12-23T09:00:00Z\\",\\n \\"StartTime\\": \\"2019-12-22T08:00:00Z\\",\\n \\"RequestId\\": \\"C88EF8ED-72F0-45EA-9E86-95114E224FC5\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"UsageTotal\\": {\\n \\"MaxSrcBpsTime\\": \\"2019-12-23 11:45:00\\",\\n \\"RequestHitRate\\": \\"69.92610837438424\\",\\n \\"MaxBps\\": \\"1.0747912780000001E8\\",\\n \\"TotalAccess\\": \\"1319500\\",\\n \\"BytesHitRate\\": \\"97.03110726801242\\",\\n \\"TotalTraffic\\": \\"1117711832100\\",\\n \\"MaxBpsTime\\": \\"2019-12-23 10:55:00\\",\\n \\"MaxSrcBps\\": \\"72584.072\\"\\n },\\n \\"UsageByDays\\": {\\n \\"UsageByDay\\": [\\n {\\n \\"MaxSrcBpsTime\\": \\"2019-12-23 11:45:00\\",\\n \\"Qps\\": \\"7.466354166666667\\",\\n \\"RequestHitRate\\": \\"70.24770071912111\\",\\n \\"MaxBps\\": \\"306747.76\\",\\n \\"TotalAccess\\": \\"645093\\",\\n \\"TimeStamp\\": \\"2019-12-22\\",\\n \\"BytesHitRate\\": \\"97.46250599529726\\",\\n \\"TotalTraffic\\": \\"564300099309\\",\\n \\"MaxSrcBps\\": \\"72584.072\\",\\n \\"MaxBpsTime\\": \\"2019-12-23 10:55:00\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainsUsageByDayResponse>\\n<UsageTotal>\\n <RequestHitRate>0.46869615163699024</RequestHitRate>\\n <MaxSrcBpsTime>2019-12-23 11:45:00</MaxSrcBpsTime>\\n <MaxSrcBps>72584.072</MaxSrcBps>\\n <MaxBps>306747.76</MaxBps>\\n <TotalTraffic>220090843</TotalTraffic>\\n <TotalAccess>1741</TotalAccess>\\n <MaxBpsTime>2019-12-23 10:55:00</MaxBpsTime>\\n <BytesHitRate>0.9338625414779297</BytesHitRate>\\n</UsageTotal>\\n<UsageByDays>\\n <UsageByDay>\\n <TimeStamp>2019-12-23</TimeStamp>\\n <RequestHitRate>0.46869615163699024</RequestHitRate>\\n <MaxSrcBpsTime>2019-12-23 11:45:00</MaxSrcBpsTime>\\n <MaxSrcBps>72584.072</MaxSrcBps>\\n <MaxBps>306747.76</MaxBps>\\n <TotalTraffic>220090843</TotalTraffic>\\n <TotalAccess>1741</TotalAccess>\\n <MaxBpsTime>2019-12-23 10:55:00</MaxBpsTime>\\n <Qps>0.020150462962962964</Qps>\\n <BytesHitRate>0.9338625398107486</BytesHitRate>\\n </UsageByDay>\\n</UsageByDays>\\n<RequestId>0DE5531F-A7C2-4788-A35A-38883193B2D8</RequestId>\\n<EndTime>2019-12-23T09:00:00Z</EndTime>\\n<StartTime>2019-12-22T08:00:00Z</StartTime>\\n<DomainName>example.com</DomainName>\\n<DataInterval>86400</DataInterval>\\n</DescribeDomainsUsageByDayResponse>\\n","errorExample":""}]', + ], + 'DescribeEsExceptionData' => [ + 'summary' => '调用DescribeEsExceptionData查询ES规则执行的异常情况。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111708', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111817', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '删除实时日志投递服务域名,多个用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Project', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'required' => true, - 'example' => 'ProjectName', - ], + 'schema' => ['description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2021-02-17T20:00:00Z'], ], [ - 'name' => 'Logstore', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName。', - 'type' => 'string', - 'required' => true, - 'example' => 'LogstoreName', - ], + 'schema' => ['description' => '获取数据的结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2021-02-18T20:00:00Z'], ], [ - 'name' => 'Region', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', 'type' => 'string', 'required' => true, 'example' => '212896**'], ], ], 'responses' => [ @@ -14458,112 +13127,99 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '99D61AB3-6164-4CF2-A0DE-129C9B07618B'], + 'Contents' => [ + 'description' => 'ES执行异常情况的规则内容。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'ES规则执行异常情况图表的表名。', 'type' => 'string', 'example' => '401'], + 'Points' => [ + 'description' => '图表对应列的时间和数值列表。', + 'type' => 'array', + 'items' => ['description' => '图表对应列的时间和数值。', 'type' => 'string', 'example' => '2021-02-18T19:05:00Z,0'], + ], + 'Columns' => [ + 'description' => 'ES规则执行异常情况图表的时间和列名列表。', + 'type' => 'array', + 'items' => ['description' => 'ES规则执行异常情况图表的时间和列名。', 'type' => 'string', 'example' => 'time,401'], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], - ], - 404 => [ - [ - 'errorCode' => 'LogstoreNotExist', - 'errorMessage' => 'Logstore does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<DeleteRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</DeleteRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '删除实时日志投递', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '查询ES规则的异常情况', + 'description' => '- 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableRealtimeLogDelivery' => [ - 'summary' => '调用DisableRealtimeLogDelivery暂停域名实时日志投递。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-05-29T02:30:00.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-01-10T07:02:55.000Z', 'description' => '响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEsExceptionData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeEsExceptionData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99D61AB3-6164-4CF2-A0DE-129C9B07618B\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"401\\",\\n \\"Points\\": [\\n \\"2021-02-18T19:05:00Z,0\\"\\n ],\\n \\"Columns\\": [\\n \\"time,401\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeEsExceptionDataResponse>\\n<content>\\n <columns>time</columns>\\n <columns>401</columns>\\n <name>401</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>402</columns>\\n <name>402</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>403</columns>\\n <name>403</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>404</columns>\\n <name>404</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>405</columns>\\n <name>405</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>406</columns>\\n <name>406</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>407</columns>\\n <name>407</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>6</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>6</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>8</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>408</columns>\\n <name>408</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>409</columns>\\n <name>409</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>410</columns>\\n <name>410</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<content>\\n <columns>time</columns>\\n <columns>499</columns>\\n <name>499</name>\\n <points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </points>\\n <points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </points>\\n</content>\\n<RequestId>99D61AB3-6164-4CF2-A0DE-129C9B07618B</RequestId>\\n</DescribeEsExceptionDataResponse>","errorExample":""}]', + ], + 'DescribeEsExecuteData' => [ + 'summary' => '调用DescribeEsExecuteData查询ES规则的运行情况。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111855', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111818', + 'abilityTreeNodes' => ['FEATUREcdnT7HAK0'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '暂停实时日志投递服务域名,多个用英文逗号(,)分隔。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Project', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'required' => false, - 'example' => 'ProjectName', - ], + 'schema' => ['description' => '获取数据的起始时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2021-02-17T20:00:00Z'], ], [ - 'name' => 'Logstore', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LogstoreName', - ], + 'schema' => ['description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => true, 'example' => '2021-02-18T20:00:00Z'], ], [ - 'name' => 'Region', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', 'type' => 'string', 'required' => true, 'example' => '212896**'], ], ], 'responses' => [ @@ -14571,98 +13227,161 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '99D61AB3-6164-4CF2-A0DE-129C9B07618B'], + 'Contents' => [ + 'description' => 'ES规则内容。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'ES规则运行情况图表的表名。', 'type' => 'string', 'example' => 'Exception'], + 'Points' => [ + 'description' => '图表对应列的时间和数值的列表。', + 'type' => 'array', + 'items' => ['description' => '图表对应列的时间和数值。', 'type' => 'string', 'example' => '2021-02-18T19:05:00Z,8'], + ], + 'Columns' => [ + 'description' => 'ES规则运行情况图表的时间和列名的列表。', + 'type' => 'array', + 'items' => ['description' => 'ES规则运行情况图表的时间和列名。', 'type' => 'string', 'example' => 'time,Exception'], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', - ], - ], - 404 => [ - [ - 'errorCode' => 'Domain.NotFound', - 'errorMessage' => 'Domain not found', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<DisableRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</DisableRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '暂停实时日志投递', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '查询ES规则的运行情况', + 'description' => '- 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EnableRealtimeLogDelivery' => [ - 'summary' => '调用EnableRealtimeLogDelivery开启域名实时日志投递。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-07T01:50:09.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-01-11T02:05:21.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEsExecuteData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeEsExecuteData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99D61AB3-6164-4CF2-A0DE-129C9B07618B\\",\\n \\"Contents\\": [\\n {\\n \\"Name\\": \\"Exception\\",\\n \\"Points\\": [\\n \\"2021-02-18T19:05:00Z,8\\"\\n ],\\n \\"Columns\\": [\\n \\"time,Exception\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeEsExecuteDataResponse>\\n<Contents>\\n <Columns>time</Columns>\\n <Columns>Exception</Columns>\\n <Name>Exception</Name>\\n <Points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>6</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>6</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>8</1>\\n </Points>\\n</Contents>\\n<Contents>\\n <Columns>time</Columns>\\n <Columns>ExecutedAndHit</Columns>\\n <Name>ExecutedAndHit</Name>\\n <Points>\\n <0>2021-02-18T19:07:00Z</0>\\n <1>0</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:06:00Z</0>\\n <1>0</1>\\n </Points>\\n <Points>\\n <0>2021-02-18T19:05:00Z</0>\\n <1>0</1>\\n </Points>\\n</Contents>\\n<RequestId>99D61AB3-6164-4CF2-A0DE-129C9B07618B</RequestId>\\n</DescribeEsExecuteDataResponse>","errorExample":""}]', + ], + 'DescribeFCTrigger' => [ + 'summary' => '调用DescribeFCTrigger查询指定的函数计算触发器。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111857', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'TriggerARN', 'in' => 'query', + 'schema' => ['description' => '函数计算服务对应的触发器。', 'type' => 'string', 'required' => true, 'example' => 'acs:cdn:{RegionID}:{AccountID}:{Filter}'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '开启实时日志投递服务域名,多个域名之间使用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E'], + 'FCTrigger' => [ + 'description' => 'FCT触发器。', + 'type' => 'object', + 'properties' => [ + 'TriggerARN' => ['description' => '函数计算服务对应的触发器。', 'type' => 'string', 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger'], + 'RoleARN' => ['description' => 'RAM授权的角色。', 'type' => 'string', 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole'], + 'SourceArn' => ['description' => '事件侦听的资源和过滤器。', 'type' => 'string', 'example' => 'acs:cdn:*:1234567890:domain/example.com'], + 'Notes' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'test'], + 'EventMetaName' => ['description' => '事件名称。', 'type' => 'string', 'example' => 'LogFileCreated'], + 'EventMetaVersion' => ['description' => '事件版本。', 'type' => 'string', 'example' => '1.0.0'], + ], + ], + ], ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'PermissionDeny', 'errorMessage' => 'No permission to operate this FCTrigger.', 'description' => ''], + ], [ - 'name' => 'Project', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'required' => false, - 'example' => 'ProjectName', + ['errorCode' => 'NotFound.FCTrigger', 'errorMessage' => 'FCTrigger not found.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\",\\n \\"FCTrigger\\": {\\n \\"TriggerARN\\": \\"acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\",\\n \\"RoleARN\\": \\"acs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\",\\n \\"SourceArn\\": \\"acs:cdn:*:1234567890:domain/example.com\\",\\n \\"Notes\\": \\"test\\",\\n \\"EventMetaName\\": \\"LogFileCreated\\",\\n \\"EventMetaVersion\\": \\"1.0.0\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\n<FCTrigger>\\n <TriggerARN>acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger</TriggerARN>\\n <SourceArn>acs:cdn:*:1234567890:domain/example.com</SourceArn>\\n <EventMetaName>LogFileCreated</EventMetaName>\\n <EventMetaVersion>1.0.0</EventMetaVersion>\\n <Notes>test</Notes>\\n <RoleARN>acs:ram:: 1234567890:role/aliyuncdneventnotificationrole</RoleARN>\\n</FCTrigger>","errorExample":""}]', + 'title' => '查询函数计算触发器', + 'responseParamsDescription' => '## 数据类型SourceArn'."\n" + .'SourceArn的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" + ."\n" + .'- **Filter**表示资源和过滤器,具体格式为: `{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" + ."\n" + .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)过滤,如果只需要对example.com域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" + ."\n" + .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeFCTrigger', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeIpInfo' => [ + 'summary' => '调用DescribeIpInfo验证指定的IP是否为阿里云CDN节点的IP地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Logstore', - 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LogstoreName', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'IP', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递SLS的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '指定IP地址,不支持批量。', 'type' => 'string', 'required' => true, 'example' => '192.168.0.1'], ], ], 'responses' => [ @@ -14670,114 +13389,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', - ], + 'CdnIp' => ['description' => '是否属于阿里云CDN节点。'."\n" + ."\n" + .'- **True**:属于。'."\n" + ."\n" + .'- **False**:不属于。', 'type' => 'string', 'example' => 'True'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '123847FA-9A00-4426-83B8-B4B45D475930'], + 'RegionEname' => ['description' => '所属地域英文名称。', 'type' => 'string', 'example' => 'China-Guizhou-guiyang'], + 'Region' => ['description' => '所属地域中文名称。', 'type' => 'string', 'example' => '中国-贵州省-贵阳市'], + 'IspEname' => ['description' => '所属运营商英文名称。', 'type' => 'string', 'example' => 'telecom'], + 'ISP' => ['description' => '所属运营商中文名称。', 'type' => 'string', 'example' => '电信'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', - ], - ], - 404 => [ - [ - 'errorCode' => 'Domain.NotFound', - 'errorMessage' => 'Domain not found', - ], + ['errorCode' => 'InvalidIP.ValueNotSupported', 'errorMessage' => 'The specified value of parameter IP is not supported.', 'description' => '不合法的IP参数'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<EnableRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</EnableRealtimeLogDeliveryResponse>\\r\\n\\r\\n","errorExample":""}]', - 'title' => '开启实时日志投递', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CdnIp\\": \\"True\\",\\n \\"RequestId\\": \\"123847FA-9A00-4426-83B8-B4B45D475930\\",\\n \\"RegionEname\\": \\"China-Guizhou-guiyang\\",\\n \\"Region\\": \\"中国-贵州省-贵阳市\\",\\n \\"IspEname\\": \\"telecom\\",\\n \\"ISP\\": \\"电信\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeIpInfoResponse>\\n <CdnIp>True</CdnIp>\\n <RequestId>123847FA-9A00-4426-83B8-B4B45D475930</RequestId>\\n <RegionEname>China-Guizhou-guiyang</RegionEname>\\n <Region>中国-贵州省-贵阳市</Region>\\n <IspEname>telecom</IspEname>\\n <ISP>电信</ISP>\\n</DescribeIpInfoResponse>","errorExample":""}]', + 'title' => '查询IP是否为CDN节点', + 'description' => '> 单用户调用频率:50次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListRealtimeLogDelivery' => [ - 'summary' => '查询用户下所有实时日志投递。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIpInfo'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeIpInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeIpStatus' => [ + 'summary' => '调用DescribeIpStatus查询节点IP可用状态,进而根据节点IP可用状态来了解节点加速服务的可用状态。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111862', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'Ips', + 'in' => 'query', + 'schema' => ['description' => '需要查询的IP地址列表,最多支持批量查询20个IP地址,IP地址之间使用下划线_分隔,如:ip1_ip2_ip3。', 'type' => 'string', 'required' => true, 'example' => '192.168.0.1_10.10.10.1'], ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '30559C03-86C9-4EEC-B840-0DC5F5A2189B', - ], - 'Content' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RealtimeLogDeliveryInfo' => [ - 'description' => '日志信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态。取值:'."\n" - .'- online:正在服务。'."\n" - .'- offline:停止服务。', - 'type' => 'string', - 'example' => 'online', - ], - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DmId' => [ - 'description' => '域名ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1001010', - ], - 'Region' => [ - 'description' => '实时投递sls的地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Logstore' => [ - 'description' => '实时投递sls的LogStoreName。', - 'type' => 'string', - 'example' => 'test', - ], - 'Project' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F61CDR30-E83C-4FDA-BF73-9A94CDD44229'], + 'IpStatus' => [ + 'description' => '节点IP地址状态列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ip' => ['description' => '节点IP地址。', 'type' => 'string', 'example' => '10.10.10.10'], + 'status' => ['description' => '状态。'."\n" + ."\n" + .'- **nonali**:非阿里云CDN节点。'."\n" + .'- **normal**:阿里云CDN节点,正常状态。'."\n" + .'- **abnormal**:阿里云CDN节点,异常状态。', 'type' => 'string', 'example' => 'abnormal'], ], ], ], @@ -14787,24 +13483,35 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', + ['errorCode' => 'InvalidArgIps.Malformed', 'errorMessage' => 'The specified ips is invalid.', 'description' => ''], + ['errorCode' => 'InvalidArgIps.IpCanNotFound', 'errorMessage' => 'The ips can not found.', 'description' => '输入参数未在系统中查询到,不是阿里云CDN的IP。'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F61CDR30-E83C-4FDA-BF73-9A94CDD44229\\",\\n \\"IpStatus\\": [\\n {\\n \\"ip\\": \\"10.10.10.10\\",\\n \\"status\\": \\"abnormal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeIpStatusResponse>\\n<Content>\\n <status>abnormal</status>\\n <ip>10.10.10.10</ip>\\n</Content>\\n<Content>\\n <status>normal</status>\\n <ip>192.168.0.1</ip>\\n</Content>\\n<Content>\\n <status>nonali</status>\\n <ip>172.16.0.1</ip>\\n</Content>\\n<Content>\\n <status>normal</status>\\n <ip>192.0.2.1</ip>\\n</Content>\\n<RequestId>F61CDR30-E83C-4FDA-BF73-9A94CDD44229</RequestId>\\n</DescribeIpStatusResponse>","errorExample":""}]', + 'title' => '查询节点IP状态', + 'description' => '> 单用户调用频率:50次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeIpStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30559C03-86C9-4EEC-B840-0DC5F5A2189B\\",\\n \\"Content\\": {\\n \\"RealtimeLogDeliveryInfo\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"DmId\\": 1001010,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Logstore\\": \\"test\\",\\n \\"Project\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '获取实时日志投递', ], - 'DescribeDomainRealtimeLogDelivery' => [ - 'summary' => '调用DescribeDomainRealtimeLogDelivery查询域名实时日志投递信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeL2VipsByDomain' => [ + 'summary' => '调用DescribeL2VipsByDomain查询指定域名的L2节点的IP地址。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14813,21 +13520,14 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111792', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'abilityTreeCode' => '111825', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '开启实时日志投递服务域名,仅支持查询单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '加速域名,仅支持查询单个域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -14835,145 +13535,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '域名实时投递状态。取值:'."\n" - ."\n" - .'- **online**:投递中。'."\n" - .'- **offline**:停止投递。', - 'type' => 'string', - 'example' => 'online', - ], - 'Logstore' => [ - 'description' => '实时投递sls的LogStoreName。', - 'type' => 'string', - 'example' => 'LogstoreName', - ], - 'Project' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'example' => 'ProjectName', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2F8F3852-912F-42AC-80EB-F1CF4284DE93', - ], - 'Region' => [ - 'description' => '实时投递sls的地域。', - 'type' => 'string', - 'example' => 'cn-shanghai', + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], + 'Vips' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Vip' => [ + 'description' => 'VIP列表。', + 'type' => 'array', + 'items' => ['description' => 'VIP地址。', 'type' => 'string', 'example' => '1.1.1.1/25'], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], + ['errorCode' => 'IllegalOperation', 'errorMessage' => 'Illegal domain operate is not permitted.', 'description' => '域名不支持当前操作'], + ['errorCode' => 'SingleRequest.OverLimit', 'errorMessage' => 'A maximum of 1 DomainName is supported for each request.', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', - ], + 403 => [ + ['errorCode' => 'SystemBusy', 'errorMessage' => 'The system is busy, please try again later.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"online\\",\\n \\"Logstore\\": \\"LogstoreName\\",\\n \\"Project\\": \\"ProjectName\\",\\n \\"RequestId\\": \\"2F8F3852-912F-42AC-80EB-F1CF4284DE93\\",\\n \\"Region\\": \\"cn-shanghai\\"\\n}","errorExample":"{\\n \\"Project\\":\\"test\\",\\n \\"Logstore\\":\\"test\\",\\n \\"Region\\":\\"cn-shanghai\\",\\n \\"Status\\":\\"online\\",\\n \\"RequestId\\":\\"2F8F3852-912F-42AC-80EB-F1CF4284DE93\\"\\n}"},{"type":"xml","example":"<DescribeDomainRealtimeLogDeliveryResponse>\\r\\n\\t<Project>test</Project>\\r\\n\\t<Logstore>test</Logstore>\\r\\n\\t<Region>cn-shanghai</Region>\\r\\n\\t<Status>online</Status>\\r\\n\\t<RequestId>2F8F3852-912F-42AC-80EB-F1CF4284DE93</RequestId>\\r\\n</DescribeDomainRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询实时日志投递信息', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"1.1.1.1/25\\"\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeL2VipsByDomainResponse>\\r\\n\\t<Vips>\\r\\n\\t\\t<Vip>xxx.111.111/25</Vip>\\r\\n\\t\\t<Vip>xxx.112.112/25</Vip>\\r\\n\\t\\t<Vip>xxx.33.190/25</Vip>\\r\\n\\t\\t<Vip>xxx.96.109/25</Vip>\\r\\n\\t\\t<Vip>xxx.20.226/25</Vip>\\r\\n\\t\\t<Vip>xxx.19.140/25</Vip>\\r\\n\\t\\t<Vip>xxx.215.140/25</Vip>\\r\\n\\t</Vips>\\r\\n\\t<RequestId>820E7900-5CA9-4AEF-B0DD-20ED5F64BE55</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n</DescribeL2VipsByDomainResponse>\\t\\r\\n","errorExample":""}]', + 'title' => '查询节点IP地址-L2', + 'description' => '该接口仅支持日峰值带宽为1Gbps以上的用户调用,如果您符合该条件,请提交工单申请该接口的调用权限。 '."\n" + .'- 单用户调用频率:40次/秒。'."\n" + .'- 本接口的返回结果仅支持CDN控制台接入域名查询相关L2节点地址,DCDN控制台接入域名不适用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRealtimeDeliveryAcc' => [ - 'summary' => '调用DescribeRealtimeDeliveryAcc查询实时日志投递次数。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL2VipsByDomain'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeL2VipsByDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribePreloadDetailById' => [ + 'summary' => '查询任务预热详情,包括任务下所有资源的预热进度。该接口需要申请白名单后才可以使用,带宽大于100Gbps的情况下,可以通过您的商务经理申请白名单。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111827', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取日志起始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取日志结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T05:00:00Z', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '查询数据的时间粒度,单位:秒。根据您指定**StartTime**和**EndTime**两者的时间跨度,该参数取值如下:'."\n" - ."\n" - .'- 3天以内(不包含3天整)支持**300**、**3600**、 **86400**,如果不传该参数,默认值为**300**。'."\n" - ."\n" - .'- 3-31天(不包含31天整)支持**3600**和**86400**,如果不传该参数,默认值为**3600**。'."\n" - ."\n" - .'- 31天及以上支持**86400**,如果不传该参数,默认值为**86400**。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '300', - ], - ], - [ - 'name' => 'Project', - 'in' => 'query', - 'schema' => [ - 'description' => '实时日志投递的Project。默认查询所有Project。', - 'type' => 'string', - 'required' => false, - 'example' => 'Project', - ], - ], - [ - 'name' => 'LogStore', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '实时日志投递的Logstore。默认查询所有Logstore。', - 'type' => 'string', - 'required' => false, - 'example' => 'LogStore', - ], + 'schema' => ['description' => '按任务ID查询预热任务详情。'."\n" + .'支持单次查询一个任务ID。', 'type' => 'string', 'required' => true, 'example' => '15423123921'], ], ], 'responses' => [ @@ -14981,37 +13618,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '684306D2-2511-4977-991D-CE97E91FD7C0', - ], - 'ReatTimeDeliveryAccData' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'AccData' => [ - 'description' => '实时日志信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2018-09-03T06:00:00Z', - ], - 'FailedNum' => [ - 'description' => '实时日志投递失败次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SuccessNum' => [ - 'description' => '实时日志投递成功次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', + 'TotalCount' => ['description' => '查询到的总任务数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '请求的ID。用于定位日志,排查问题。', 'type' => 'string', 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC'], + 'UrlDetails' => [ + 'description' => '任务详情。包括任务ID、起止时间、域名、成功率、状态、返回错误码、以及所有url资源的完成详情。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => '待查询的任务ID。'."\n" + ."\n" + .'您可以调用PushObjectCache接口,从其返回值中获取预热任务的ID,并通过任务ID查询源站资源的预热状态。'."\n" + ."\n" + .'支持同时传入单个任务ID。', 'type' => 'string', 'example' => '14286878547'], + 'Domain' => ['description' => '预热资源的域名', 'type' => 'string', 'example' => 'example.com'], + 'CreationTime' => ['description' => '任务对象创建时间,使用UTC时间表示。', 'type' => 'string', 'example' => '2022-11-23T02:26:56Z'], + 'EndTime' => ['description' => '任务对象结束时间,使用UTC时间表示。', 'type' => 'string', 'example' => '2022-11-23T02:27:00Z'], + 'RetCode' => ['description' => '返回的错误码,`0`表示成功。', 'type' => 'string', 'example' => '0'], + 'Process' => ['description' => '任务完成进度百分比,代表预热任务在多少边缘节点上已结束。', 'type' => 'string', 'example' => '100%'], + 'Status' => ['description' => '任务状态。取值:'."\n" + ."\n" + .'- **Complete**:完成。'."\n" + .'- **Refreshing**:进行中。'."\n" + .'- **Failed**:任务失败。', 'type' => 'string', 'example' => 'Complete'], + 'Urls' => [ + 'description' => '该任务下所有url资源的完成详情。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => '预热资源的url。', 'type' => 'string', 'example' => '/abc.jpg'."\n"], + 'Success' => ['description' => '成功百分比。表示该资源在多少边缘节点上预热成功。', 'type' => 'string', 'example' => '47%'], + 'Description' => ['description' => '资源预热详情。'."\n" + .'- 若全部边缘节点成功,则返回"Successfully preloaded"'."\n" + .'- 若存在边缘节点失败,则返回失败详情,用"|"分隔。', 'type' => 'string', 'example' => 'Successfully preloaded'], ], ], ], @@ -15024,40 +13664,40 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not math the specified start time.', + ['errorCode' => 'InvalidTaskId.Malformed', 'errorMessage' => 'The specified TaskId is invalid.', 'description' => ''], + ['errorCode' => 'DomainNameOverLimit', 'errorMessage' => 'A maximum of 500 domains are supported for each request.', 'description' => ''], + ['errorCode' => 'InvalidParameters', 'errorMessage' => 'The parameters you provided are invalid.', 'description' => ''], + ['errorCode' => 'InvalidTime', 'errorMessage' => 'The query time cannot exceed the last 3 days.', 'description' => ''], + ], + 429 => [ + ['errorCode' => 'TooManyRequests', 'errorMessage' => 'Too many requests, please try again later', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"UrlDetails\\": [\\n {\\n \\"TaskId\\": \\"14286878547\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"CreationTime\\": \\"2022-11-23T02:26:56Z\\",\\n \\"EndTime\\": \\"2022-11-23T02:27:00Z\\",\\n \\"RetCode\\": \\"0\\",\\n \\"Process\\": \\"100%\\",\\n \\"Status\\": \\"Complete\\",\\n \\"Urls\\": [\\n {\\n \\"Url\\": \\"/abc.jpg\\\\n\\",\\n \\"Success\\": \\"47%\\",\\n \\"Description\\": \\"Successfully preloaded\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询预热任务详情', + 'description' => '- 支持查询3天内(包含3天)的数据。'."\n" + .'- 单用户调用频率为:30次/秒。', + 'changeSet' => [ + ['createdAt' => '2023-03-23T03:11:33.000Z', 'description' => '响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribePreloadDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"684306D2-2511-4977-991D-CE97E91FD7C0\\",\\n \\"ReatTimeDeliveryAccData\\": {\\n \\"AccData\\": [\\n {\\n \\"TimeStamp\\": \\"2018-09-03T06:00:00Z\\",\\n \\"FailedNum\\": 2,\\n \\"SuccessNum\\": 2\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"684306D2-2511-4977-991D-CE97E91FD7C0\\",\\n \\"ReatTimeDeliveryAccData\\": {\\n \\"AccData\\": [\\n {\\n \\"TimeStamp\\": \\"2018-09-03T06:00:00Z\\",\\n \\"FailedNum\\": 0,\\n \\"SuccessNum\\": 321321\\n },\\n {\\n \\"TimeStamp\\": \\"2018-09-03T07:00:00Z\\",\\n \\"FailedNum\\": 0,\\n \\"SuccessNum\\": 32943\\n }\\n ...\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeRealtimeDeliveryAccResponse>\\r\\n\\t<RequestId>684306D2-2511-4977-991D-CE97E91FD7C0</RequestId>\\r\\n\\t<ReatTimeDeliveryAccData>\\r\\n\\t\\t<AccData>\\r\\n\\t\\t\\t<TimeStamp>2018-09-03T06:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<FailedNum>0</FailedNum>\\r\\n\\t\\t\\t<SuccessNum>321321</SuccessNum>\\r\\n\\t\\t</AccData>\\r\\n\\t\\t<AccData>\\r\\n\\t\\t\\t<TimeStamp>2018-09-03T07:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<FailedNum>0</FailedNum>\\r\\n\\t\\t\\t<SuccessNum>32943</SuccessNum>\\r\\n\\t\\t</AccData>\\r\\n\\t</ReatTimeDeliveryAccData>\\r\\n</DescribeRealtimeDeliveryAccResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询实时日志投递次数', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ListRealtimeLogDeliveryInfos' => [ - 'summary' => '调用ListRealtimeLogDeliveryInfos查询所有实时日志投递服务信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRangeDataByLocateAndIspService' => [ + 'summary' => '调用DescribeRangeDataByLocateAndIspService获取按运营商和地域获取带宽数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15065,87 +13705,113 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111864', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111826', + 'abilityTreeNodes' => ['FEATUREcdnF7OM8K'], + ], + 'parameters' => [ + [ + 'name' => 'DomainNames', + 'in' => 'query', + 'schema' => ['description' => '加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据开始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => true, 'example' => '2019-11-30T05:33:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据结束时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间大于开始时间,并且结束时间和开始时间相差不超过1小时。', 'type' => 'string', 'required' => true, 'example' => '2019-11-30T05:40:00Z'], + ], + [ + 'name' => 'IspNames', + 'in' => 'query', + 'schema' => ['description' => '运营商名,每次只能传入一个参数。'."\n" + ."\n" + .'运营商名通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', 'type' => 'string', 'required' => false, 'example' => 'unicom'], + ], + [ + 'name' => 'LocationNames', + 'in' => 'query', + 'schema' => ['description' => '地域名,多个地域名用英文逗号(,)分隔。'."\n" + ."\n" + .'地域名通过[DescribeCdnRegionAndIsp](~~91077~~)接口查询。', 'type' => 'string', 'required' => false, 'example' => 'liaoning,guangxi'], ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D', - ], - 'Content' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RealtimeLogDeliveryInfos' => [ - 'description' => '日志信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Logstore' => [ - 'description' => '实时投递sls的LogstoreName。', - 'type' => 'string', - 'example' => 'LogstoreName', - ], - 'Project' => [ - 'description' => '实时投递sls的ProjectName。', - 'type' => 'string', - 'example' => 'ProjectName', - ], - 'Region' => [ - 'description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', - 'type' => 'string', - 'example' => 'ch-shanghai', - ], - ], - ], - ], - ], - ], + 'JsonResult' => ['description' => 'JSON格式的返回结果。'."\n" + .'从左到右依次为:unix时间,地区,运营商,HTTP状态码分布,响应时长,带宽(单位:bps),响应平均速率,页面浏览量,缓存命中率,请求命中率。'."\n" + .'><notice>地区、运营商维度不支持计算命中率,统一返回 0。></notice>', 'type' => 'string', 'example' => '{"1472659200":{"Tianjin":{"China Telecom":{"http_codes":{"000":0,"200":6,"400":0},"rt":4183,"bandwidth":46639,"avg_speed":7773,"pv":6,"hit_rate":0.93,"request_hit_rate":0.66}}}}'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"Content\\": {\\n \\"RealtimeLogDeliveryInfos\\": [\\n {\\n \\"Logstore\\": \\"LogstoreName\\",\\n \\"Project\\": \\"ProjectName\\",\\n \\"Region\\": \\"ch-shanghai\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListRealtimeLogDeliveryInfosResponse>\\r\\n\\t<Content>\\r\\n\\t\\t<RealtimeLogDeliveryInfos>\\r\\n\\t\\t\\t<Project>test</Project>\\r\\n\\t\\t\\t<Logstore>test</Logstore>\\r\\n\\t\\t\\t<Region>cn-shanghai</Region>\\r\\n\\t\\t</RealtimeLogDeliveryInfos>\\r\\n\\t\\t<RealtimeLogDeliveryInfos>\\r\\n\\t\\t\\t<Project>test1</Project>\\r\\n\\t\\t\\t<Logstore>test2</Logstore>\\r\\n\\t\\t\\t<Region>cn-shanghai</Region>\\r\\n\\t\\t</RealtimeLogDeliveryInfos>\\r\\n\\t</Content>\\r\\n\\t<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>\\r\\n</ListRealtimeLogDeliveryInfosResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询实时日志投递信息列表', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"JsonResult\\": \\"{\\\\\\"1472659200\\\\\\":{\\\\\\"Tianjin\\\\\\":{\\\\\\"China Telecom\\\\\\":{\\\\\\"http_codes\\\\\\":{\\\\\\"000\\\\\\":0,\\\\\\"200\\\\\\":6,\\\\\\"400\\\\\\":0},\\\\\\"rt\\\\\\":4183,\\\\\\"bandwidth\\\\\\":46639,\\\\\\"avg_speed\\\\\\":7773,\\\\\\"pv\\\\\\":6,\\\\\\"hit_rate\\\\\\":0.93,\\\\\\"request_hit_rate\\\\\\":0.66}}}}\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeRangeDataByLocateAndIspServiceResponse>\\n<JsonResult>\\n <1472659200>\\n <天津市>\\n <电信>\\n <bandwidth>9889849.592</bandwidth>\\n <pv>5739</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5675</200>\\n <206>5</206>\\n <302>5</302>\\n <304>45</304>\\n <400>1</400>\\n <403>8</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </天津市>\\n <北京市>\\n <电信>\\n <bandwidth>9889849.592</bandwidth>\\n <pv>5739</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5675</200>\\n <206>5</206>\\n <302>5</302>\\n <304>45</304>\\n <400>1</400>\\n <403>8</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </北京市>\\n </1472659200>\\n <1472659500>\\n <天津市>\\n <电信>\\n <bandwidth>7024681.44</bandwidth>\\n <pv>5819</pv>\\n <hit_rate>0</hit_rate>\\n <http_codes>\\n <200>5716</200>\\n <206>11</206>\\n <302>3</302>\\n <304>72</304>\\n <400>1</400>\\n <403>16</403>\\n <404>0</404>\\n <405>0</405>\\n <408>0</408>\\n <412>0</412>\\n <416>0</416>\\n <500>0</500>\\n <501>0</501>\\n <502>0</502>\\n <503>0</503>\\n <504>0</504>\\n <000>0</000>\\n </http_codes>\\n <rt>0</rt>\\n </电信>\\n <联通/>\\n <移动/>\\n </天津市>\\n </1472659500>\\n</JsonResult>\\n<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n</DescribeRangeDataByLocateAndIspServiceResponse>","errorExample":""}]', + 'title' => '查询访问数据-按运营商和地域', + 'description' => '- 查询的数据时间粒度为5分钟。'."\n" + .'- 单用户调用频率:20次/秒。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|1小时|93天|15分钟|', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListRealtimeLogDeliveryDomains' => [ - 'summary' => '调用ListRealtimeLogDeliveryDomains查询实时日志投递服务下所有域名。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:21:01.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRangeDataByLocateAndIspService'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeRangeDataByLocateAndIspService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'DescribeRealtimeDeliveryAcc' => [ + 'summary' => '调用DescribeRealtimeDeliveryAcc查询实时日志投递次数。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15153,44 +13819,46 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111863', - 'abilityTreeNodes' => [ - 'FEATUREcdnXDFG0Q', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111827', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Project', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的ProjectName,多个用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'ProjectName', - ], + 'schema' => ['description' => '获取日志起始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2016-10-20T04:00:00Z'], ], [ - 'name' => 'Logstore', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的LogStoreName,多个用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'LogstoreName', - ], + 'schema' => ['description' => '获取日志结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2016-10-20T05:00:00Z'], ], [ - 'name' => 'Region', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '实时投递sls的地域,多个用英文逗号(,)分隔。'."\n" - ."\n" - .'地域详情请参见[实时日志投递用户Region列表](~~144883~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'ch-shanghai', - ], + 'schema' => ['description' => '查询数据的时间粒度,单位:秒。根据您指定**StartTime**和**EndTime**两者的时间跨度,该参数取值如下:'."\n" + ."\n" + .'- 3天以内(不包含3天整)支持**300**、**3600**、 **86400**,如果不传该参数,默认值为**300**。'."\n" + ."\n" + .'- 3-31天(不包含31天整)支持**3600**和**86400**,如果不传该参数,默认值为**3600**。'."\n" + ."\n" + .'- 31天及以上支持**86400**,如果不传该参数,默认值为**86400**。'."\n", 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => ['description' => '实时日志投递的Project。默认查询所有Project。', 'type' => 'string', 'required' => false, 'example' => 'Project'], + ], + [ + 'name' => 'LogStore', + 'in' => 'query', + 'schema' => ['description' => '实时日志投递的Logstore。默认查询所有Logstore。', 'type' => 'string', 'required' => false, 'example' => 'LogStore'], ], ], 'responses' => [ @@ -15198,88 +13866,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D', - ], - 'Content' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '684306D2-2511-4977-991D-CE97E91FD7C0'], + 'ReatTimeDeliveryAccData' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Domains' => [ - 'description' => '域名信息。', + 'AccData' => [ + 'description' => '实时日志信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态。取值:'."\n" - ."\n" - .'- **online**:正在服务。'."\n" - ."\n" - .'- **offline**:停止服务。', - 'type' => 'string', - 'example' => 'online', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com ', - ], + 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2018-09-03T06:00:00Z'], + 'FailedNum' => ['description' => '实时日志投递失败次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SuccessNum' => ['description' => '实时日志投递成功次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], - ], - 404 => [ - [ - 'errorCode' => 'LogstoreNotExist', - 'errorMessage' => 'Logstore does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', - ], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'Specified StartTime is malformed.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'Specified EndTime is malformed.', 'description' => '结束时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'Specified EndTime does not math the specified start time.', 'description' => '请检查时间设置是否正确,结束时间不能小于或等于开始时间。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"Content\\": {\\n \\"Domains\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"DomainName\\": \\"example.com \\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Content\\":{\\n \\"Domains\\":[\\n { \\n \\"DomainName\\":\\"a.xxx.com\\",\\n \\"Status\\":\\"online\\"\\n },\\n { \\n \\"DomainName\\":\\"b.xxx.com\\",\\n \\"Status\\":\\"offline\\"\\n }\\n ...\\n ]\\n },\\n \\"RequestId\\":\\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\"\\n}"},{"type":"xml","example":"<Content>\\n <Domains>\\n <DomainName>example.com</DomainName>\\n <Status>online</Status>\\n </Domains>\\n <Domains>\\n <DomainName>aliyundoc.com</DomainName>\\n <Status>offline</Status>\\n </Domains>\\n</Content>\\n<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>","errorExample":""}]', - 'title' => '查询实时日志投递域名', + 'title' => '查询实时日志投递次数', 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainCustomLogConfig' => [ - 'summary' => '调用DescribeDomainCustomLogConfig查询域名自定义日志格式配置信息。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRealtimeDeliveryAcc'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRealtimeDeliveryAcc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"684306D2-2511-4977-991D-CE97E91FD7C0\\",\\n \\"ReatTimeDeliveryAccData\\": {\\n \\"AccData\\": [\\n {\\n \\"TimeStamp\\": \\"2018-09-03T06:00:00Z\\",\\n \\"FailedNum\\": 2,\\n \\"SuccessNum\\": 2\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"684306D2-2511-4977-991D-CE97E91FD7C0\\",\\n \\"ReatTimeDeliveryAccData\\": {\\n \\"AccData\\": [\\n {\\n \\"TimeStamp\\": \\"2018-09-03T06:00:00Z\\",\\n \\"FailedNum\\": 0,\\n \\"SuccessNum\\": 321321\\n },\\n {\\n \\"TimeStamp\\": \\"2018-09-03T07:00:00Z\\",\\n \\"FailedNum\\": 0,\\n \\"SuccessNum\\": 32943\\n }\\n ...\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeRealtimeDeliveryAccResponse>\\r\\n\\t<RequestId>684306D2-2511-4977-991D-CE97E91FD7C0</RequestId>\\r\\n\\t<ReatTimeDeliveryAccData>\\r\\n\\t\\t<AccData>\\r\\n\\t\\t\\t<TimeStamp>2018-09-03T06:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<FailedNum>0</FailedNum>\\r\\n\\t\\t\\t<SuccessNum>321321</SuccessNum>\\r\\n\\t\\t</AccData>\\r\\n\\t\\t<AccData>\\r\\n\\t\\t\\t<TimeStamp>2018-09-03T07:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<FailedNum>0</FailedNum>\\r\\n\\t\\t\\t<SuccessNum>32943</SuccessNum>\\r\\n\\t\\t</AccData>\\r\\n\\t</ReatTimeDeliveryAccData>\\r\\n</DescribeRealtimeDeliveryAccResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'DescribeRefreshQuota' => [ + 'summary' => '调用DescribeRefreshQuota查询当天URL刷新、目录刷新、预热及封禁的最大限制数量和剩余量。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15288,81 +13941,63 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111770', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '域名,只支持单个查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], + 'abilityTreeCode' => '111830', + 'abilityTreeNodes' => ['FEATUREcdnW2530F'], ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConfigId' => [ - 'description' => '日志配置ID。', - 'type' => 'string', - 'example' => '123', - ], - 'Tag' => [ - 'description' => '日志配置tag信息。', - 'type' => 'string', - 'example' => 'book', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '94E3559F-7B6A-4A5E-AFFD-44E2A208A249', - ], - 'Remark' => [ - 'description' => '具体配置格式。', - 'type' => 'string', - 'example' => '$time_iso8601_$request_method_$', - ], - 'Sample' => [ - 'description' => '样例。', - 'type' => 'string', - 'example' => '[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\\"-\\"\\"GET http://www.aliyun.com/index.html\\', - ], + 'PreloadRemain' => ['description' => '当天L2节点剩余预热数量。', 'type' => 'string', 'example' => '400'], + 'BlockRemain' => ['description' => '当天剩余封禁数量。', 'type' => 'string', 'example' => '100'], + 'RegexRemain' => ['description' => '当天剩余正则刷新数量。', 'type' => 'string', 'example' => '10'], + 'UrlRemain' => ['description' => '当天剩余URL刷新数量。', 'type' => 'string', 'example' => '1996'], + 'DirRemain' => ['description' => '当天剩余目录刷新数量。', 'type' => 'string', 'example' => '99'], + 'UrlQuota' => ['description' => '当天URL刷新数量上限。', 'type' => 'string', 'example' => '2000'], + 'BlockQuota' => ['description' => '当天封禁数量上限。', 'type' => 'string', 'example' => '300'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '42E0554B-80F4-4921-AED6-ACFB22CAAAD0'], + 'DirQuota' => ['description' => '当天目录刷新数量上限。', 'type' => 'string', 'example' => '100'], + 'PreloadEdgeQuota' => ['description' => '当天L1节点预热数量上限。', 'type' => 'string', 'example' => '20'], + 'PreloadEdgeRemain' => ['description' => '当前L1节点剩余预热数量。', 'type' => 'string', 'example' => '20'], + 'PreloadQuota' => ['description' => '当天L2节点预热数量上限。', 'type' => 'string', 'example' => '500'], + 'RegexQuota' => ['description' => '当天正则刷新数量上限。', 'type' => 'string', 'example' => '20'], + 'IgnoreParamsQuota' => ['description' => '当天忽略参数刷新数量上限。', 'type' => 'string', 'example' => '100'], + 'IgnoreParamsRemain' => ['description' => '当天剩余忽略参数刷新数量。', 'type' => 'string', 'example' => '10'], ], ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'Config.NotFound', - 'errorMessage' => 'The domain provided doesn\'t apply any custom log config, please refer to the standard log config.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigId\\": \\"123\\",\\n \\"Tag\\": \\"book\\",\\n \\"RequestId\\": \\"94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\",\\n \\"Remark\\": \\"$time_iso8601_$request_method_$\\",\\n \\"Sample\\": \\"[9/Jun/2015:01:58:09+0800]188.165.15.75-1542\\\\\\\\\\\\\\"-\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"GET http://www.aliyun.com/index.html\\\\\\\\\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainCustomLogConfigResponse>\\r\\n\\t<ConfigId>25473b84-d598-498e-b148-f23d0a27df52</ConfigId>\\r\\n\\t<Tag>book</Tag>\\r\\n\\t<Remark>$time_iso8601_$request_method_$server_protocol.....</Remark>\\r\\n\\t<Sample>[9/Jun/2015:01:58:09+0800]188.165.15.75-1542"-""GET http://www.aliyun.com/index.html"2001912830MISS"Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)</Sample>\\r\\n\\t<RequestId>1805F349-0A2B-41D9-B4AD-33632AFC27F1</RequestId>\\r\\n</DescribeDomainCustomLogConfigResponse>","errorExample":""}]', - 'title' => '查询自定义日志配置-按域名', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PreloadRemain\\": \\"400\\",\\n \\"BlockRemain\\": \\"100\\",\\n \\"RegexRemain\\": \\"10\\",\\n \\"UrlRemain\\": \\"1996\\",\\n \\"DirRemain\\": \\"99\\",\\n \\"UrlQuota\\": \\"2000\\",\\n \\"BlockQuota\\": \\"300\\",\\n \\"RequestId\\": \\"42E0554B-80F4-4921-AED6-ACFB22CAAAD0\\",\\n \\"DirQuota\\": \\"100\\",\\n \\"PreloadEdgeQuota\\": \\"20\\",\\n \\"PreloadEdgeRemain\\": \\"20\\",\\n \\"PreloadQuota\\": \\"500\\",\\n \\"RegexQuota\\": \\"20\\",\\n \\"IgnoreParamsQuota\\": \\"100\\",\\n \\"IgnoreParamsRemain\\": \\"10\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeRefreshQuotaResponse>\\r\\n <RequestId>42E0554B-80F4-4921-AED6-ACFB22CAAAD0</RequestId>\\r\\n\\t<UrlQuota>2000</UrlQuota>\\r\\n <DirQuota>100</DirQuota>\\r\\n <UrlRemain>1996</UrlRemain>\\r\\n\\t<DirRemain>99</DirRemain>\\r\\n\\t<PreloadQuota>500</PreloadQuota>\\r\\n\\t<PreloadRemain>400</PreloadRemain>\\r\\n <BlockQuota>300</BlockQuota>\\r\\n <RegexQuota>20</RegexQuota>\\r\\n <RegexRemain>10</RegexRemain>\\r\\n <blockRemain>200</blockRemain>\\r\\n</DescribeRefreshQuotaResponse>\\t","errorExample":""}]', + 'title' => '查询刷新预热配额', + 'description' => '- 刷新预热类接口包含[RefreshObjectCaches](~~448057~~)刷新接口和[PushObjectCache](~~448058~~)预热接口。'."\n" + .'- 单用户调用频率:20次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCustomLogConfig' => [ - 'summary' => '调用DescribeCustomLogConfig根据configId查询自定义日志配置详细信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-03-29T08:00:51.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-11-17T07:05:59.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeRefreshTaskById' => [ + 'summary' => '调用DescribeRefreshTaskById查询刷新状态和预热状态是否在全网生效。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15371,22 +14006,21 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111761', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111831', + 'abilityTreeNodes' => ['FEATUREcdnW2530F'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ConfigId', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '自定义配置ID。', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], + 'schema' => ['description' => '待查询的任务ID。'."\n" + ."\n" + .'您可以调用[RefreshObjectCaches](~~91164~~)接口,从其返回值中获取刷新预热的任务ID,并通过任务ID查询源站资源的刷新状态。'."\n" + ."\n" + .'支持同时传入多个任务ID,多个任务ID之间用英文逗号(,)分隔,最多支持同时传入10个任务ID。', 'type' => 'string', 'required' => true, 'example' => '12345678'], ], ], 'responses' => [ @@ -15394,61 +14028,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Tag' => [ - 'description' => '日志配置tag信息。', - 'type' => 'string', - 'example' => 'img1', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '94E3559F-7B6A-4A5E-AFFD-44E2A208A249', - ], - 'Remark' => [ - 'description' => '具体配置格式。', - 'type' => 'string', - 'example' => '$time_iso8601_$request_method_$', - ], - 'Sample' => [ - 'description' => '样例。', - 'type' => 'string', - 'example' => '"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\"-\\" \\"GEThttp: //www.aliyun.com/index.html\\" 200', + 'TotalCount' => ['description' => '任务总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B'], + 'Tasks' => [ + 'description' => '任务列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '任务状态。取值:'."\n" + ."\n" + .'- **Complete**:完成。'."\n" + .'- **Refreshing**:处理中。'."\n" + .'- **Timeout**:超时未执行。'."\n" + .'- **Canceled**:取消。'."\n" + .'- **Failed**:失败。', 'type' => 'string', 'example' => 'Complete'], + 'CreationTime' => ['description' => '任务对象创建时间,使用UTC时间表示。', 'type' => 'string', 'example' => '2020-08-03T08:54:23Z'], + 'ObjectType' => ['description' => '任务类型。取值:'."\n" + .'- **file**:单文件刷新。'."\n" + .'- **directory**:目录刷新。'."\n" + .'- **preload**:单文件预热。'."\n" + .'- **regex**:正则刷新。', 'type' => 'string', 'example' => 'file'], + 'Process' => ['description' => '任务完成进度百分比。', 'type' => 'string', 'example' => '100%'], + 'Description' => ['description' => '刷新预热失败后返回的错误描述。取值:'."\n" + .'- **Internal Error**:内部错误。'."\n" + .'- **Origin Timeout**:源站响应超时。'."\n" + .'- **Origin Return StatusCode 5XX**:源站响应5xx错误码。', 'type' => 'string', 'example' => 'Internal Error'], + 'ObjectPath' => ['description' => '刷新对象的路径。', 'type' => 'string', 'example' => 'http://example.com/abc.jpg'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '24840'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'InvalidConfigId', - 'errorMessage' => 'Illegal ConfigId', - ], + 400 => [ + ['errorCode' => 'InvalidTaskId.Malformed', 'errorMessage' => 'The specified TaskId is invalid.', 'description' => ''], + ['errorCode' => 'InvalidObjectPath.Malformed', 'errorMessage' => 'The specified ObjectPath is invalid.', 'description' => ''], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'MissingParameter.ObjectType', 'errorMessage' => 'The ObjectType parameter is required if DomainName or ObjectType is specified.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified EndTime is invalid.', 'description' => '结束时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '用户参数中EndTime早于StartTime'], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.ValueNotSupported', 'errorMessage' => 'The specified EndTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidObjectType.ValueNotSupported', 'errorMessage' => 'The specified ObjectType is not supported.', 'description' => ''], + ['errorCode' => 'InvalidStatus.ValueNotSupported', 'errorMessage' => 'The specified Status is not supported.', 'description' => ''], + ['errorCode' => 'DomainNameOverLimit', 'errorMessage' => 'A maximum of 500 domains are supported for each request.', 'description' => ''], + ['errorCode' => 'InvalidParameters', 'errorMessage' => 'The parameters you provided are invalid.', 'description' => ''], + ['errorCode' => 'InvalidTime', 'errorMessage' => 'The query time cannot exceed the last 3 days.', 'description' => ''], ], - [ - [ - 'errorCode' => 'Config.NotFound', - 'errorMessage' => 'Config does not exist or does not belong to the current user ', - ], + 429 => [ + ['errorCode' => 'TooManyRequests', 'errorMessage' => 'Too many requests, please try again later', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Tag\\": \\"img1\\",\\n \\"RequestId\\": \\"94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\",\\n \\"Remark\\": \\"$time_iso8601_$request_method_$\\",\\n \\"Sample\\": \\"\\\\\\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\\\\\\\\\\\\"-\\\\\\\\\\\\\\" \\\\\\\\\\\\\\"GEThttp: //www.aliyun.com/index.html\\\\\\\\\\\\\\" 200\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLogConfigResponse>\\n <Tag>img1</Tag>\\n <RequestId>94E3559F-7B6A-4A5E-AFFD-44E2A208A249</RequestId>\\n <Remark>$time_iso8601_$request_method_$</Remark>\\n <Sample>\\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\\\\"-\\\\\\" \\\\\\"GEThttp: //www.aliyun.com/index.html\\\\\\" 200</Sample>\\n</DescribeCustomLogConfigResponse>","errorExample":""}]', - 'title' => '查询自定义日志配置-按日志配置ID', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"Complete\\",\\n \\"CreationTime\\": \\"2020-08-03T08:54:23Z\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"Process\\": \\"100%\\",\\n \\"Description\\": \\"Internal Error\\",\\n \\"ObjectPath\\": \\"http://example.com/abc.jpg\\",\\n \\"TaskId\\": \\"24840\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRefreshTaskByIdResponse>\\n<RequestId>E0C2EF95-B1EC-4C93-855E-2059A7DA2B7B</RequestId>\\n<Tasks>\\n <CreationTime>2020-08-03T08:54:23Z</CreationTime>\\n <Description/>\\n <ObjectPath>http://example.com/abc.jpg</ObjectPath>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n <Status>Complete</Status>\\n <TaskId>12345678</TaskId>\\n</Tasks>\\n<Tasks>\\n <CreationTime>2020-08-03T09:12:44Z</CreationTime>\\n <Description/>\\n <ObjectPath>http://example.com/bcd.jpg</ObjectPath>\\n <ObjectType>file</ObjectType>\\n <Process>99.37%</Process>\\n <Status>Refreshing</Status>\\n <TaskId>23456789</TaskId>\\n</Tasks>\\n<TotalCount>2</TotalCount>\\n</DescribeRefreshTaskByIdResponse>","errorExample":""}]', + 'title' => '查询刷新预热任务-按ID', + 'description' => '- 支持查询3天内(包含3天)的数据。'."\n" + .'- 单用户调用频率为:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnDomainLogs' => [ - 'summary' => '调用DescribeCdnDomainLogs查询域名的离线日志下载地址。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-09-16T06:04:46.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-09-16T05:44:37.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-08T03:09:55.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-08T01:39:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRefreshTaskById'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshTaskById', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeRefreshTasks' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15456,242 +14130,91 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111729', - 'abilityTreeNodes' => [ - 'FEATUREcdnGZSOSW', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111832', + 'abilityTreeNodes' => ['FEATUREcdnW2530F'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '域名,只支持单个查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '按任务ID查询刷新状态。', 'type' => 'string', 'required' => false, 'example' => '1234321'], ], [ - 'name' => 'PageSize', + 'name' => 'ObjectPath', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,默认**300**,最大**1000**,取值:**1**~**1000**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '1000', - 'example' => '300', - 'default' => '300', - ], + 'schema' => ['description' => '按路径查询,准确匹配。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/1.txt'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围:大于**1**的任意整数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - 'default' => '1', - ], + 'schema' => ['description' => '取得第几页,取值范围为:**1**~**100000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ - 'name' => 'StartTime', + 'name' => 'ObjectType', 'in' => 'query', 'schema' => [ - 'description' => '获取日志起始时间。'."\n" + 'description' => '任务类型。取值:'."\n" + .'- **file**:文件刷新。'."\n" + .'- **directory**:目录刷新。'."\n" + .'- **regex**:正则刷新。'."\n" + .'- **preload**:文件预热。'."\n" + .'- **block**:URL封禁。'."\n" + .'- **unblock**:URL解封禁。'."\n" ."\n" - .'日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', + .'> 当指定**DomainName**或**Status**参数时,**ObjectType**参数为必传参数。', 'type' => 'string', 'required' => false, - 'example' => '2017-12-21T08:00:00Z', + 'example' => 'file', + 'enum' => ['file', 'directory', 'preload', 'regex', 'IgnoreParams', 'block', 'unblock'], ], ], [ - 'name' => 'EndTime', + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名。仅支持单个查询,默认查询所有加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '获取日志结束时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + 'description' => '任务状态。取值:'."\n" ."\n" - .'> 结束时间需晚于起始时间。', + .'- **Complete**:完成。'."\n" + .'- **Refreshing**:处理中。'."\n" + .'- **Timeout**:超时未执行。'."\n" + .'- **Canceled**:取消。'."\n" + .'- **Failed**:失败。', 'type' => 'string', 'required' => false, - 'example' => '2017-12-22T08:00:00Z', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'DomainLogDetails' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DomainLogDetail' => [ - 'description' => 'DomainLogDetail组成的数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LogCount' => [ - 'description' => '本页返回的总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'LogInfos' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LogInfoDetail' => [ - 'description' => 'LogInfoDetail组成的数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。'."\n", - 'type' => 'string', - 'example' => '2015-05-23T14:00:00Z', - ], - 'LogSize' => [ - 'description' => '日志大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2015-05-23T13:00:00Z', - ], - 'LogName' => [ - 'description' => '日志名称。', - 'type' => 'string', - 'example' => 'demo.aliyundoc.com_2015_05_23_2100_2200.gz', - ], - 'LogPath' => [ - 'description' => '日志路径。', - 'type' => 'string', - 'example' => 'guide.aliyundoc.com-hangzhou.xxx', - ], - ], - ], - ], - ], - ], - 'PageInfos' => [ - 'description' => 'PageInfoDetail组成的数据。', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '返回数据的页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '整页大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Total' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'example' => 'Complete', + 'enum' => ['Complete', 'Refreshing', 'Failed'], ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', - ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小,默认**20**,最大**100**。取值:**1**~**100**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"DomainLogDetails\\": {\\n \\"DomainLogDetail\\": [\\n {\\n \\"LogCount\\": 10,\\n \\"DomainName\\": \\"example.com\\",\\n \\"LogInfos\\": {\\n \\"LogInfoDetail\\": [\\n {\\n \\"EndTime\\": \\"2015-05-23T14:00:00Z\\",\\n \\"LogSize\\": 258,\\n \\"StartTime\\": \\"2015-05-23T13:00:00Z\\",\\n \\"LogName\\": \\"demo.aliyundoc.com_2015_05_23_2100_2200.gz\\",\\n \\"LogPath\\": \\"guide.aliyundoc.com-hangzhou.xxx\\"\\n }\\n ]\\n },\\n \\"PageInfos\\": {\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 20\\n }\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeCdnDomainLogsResponse>\\n<RequestId>077D0284-F041-4A41-A932-B48377FDAA25</RequestId>\\n<DomainLogDetails>\\n <DomainLogDetail>\\n <LogInfos>\\n <LogInfoDetail>\\n <LogName>demo.aliyundoc.com_2018_03_25_180000_190000.gz</LogName>\\n <LogPath>guide.aliyundoc.com/image.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_180000_190000.gz?xxx</LogPath>\\n <EndTime>2018-05-31T04:00:00Z</EndTime>\\n <StartTime>2018-05-31T03:00:00Z</StartTime>\\n <LogSize>2645401</LogSize>\\n </LogInfoDetail>\\n <LogInfoDetail>\\n <LogName>demo.aliyundoc.com_2018_03_25_190000_200000.gz</LogName>\\n <LogPath>guide.aliyundoc.com/demo.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_190000_200000.gz?xxx</LogPath>\\n <EndTime>2018-05-31T06:00:00Z</EndTime>\\n <StartTime>2018-05-31T05:00:00Z</StartTime>\\n <LogSize>2653965</LogSize>\\n </LogInfoDetail>\\n </LogInfos>\\n <LogCount>20</LogCount>\\n <PageInfos>\\n <PageIndex>1</PageIndex>\\n <PageSize>20</PageSize>\\n <Total>20</Total>\\n </PageInfos>\\n <DomainName>example.com</DomainName>\\n </DomainLogDetail>\\n</DomainLogDetails>\\n</DescribeCdnDomainLogsResponse>","errorExample":""}]', - 'title' => '查询离线日志下载地址', - 'description' => '- 如果不指定**StartTime**和**EndTime**,该接口默认读取过去24小时的数据;指定**StartTime**和**EndTime**时,按指定的起止时间查询。'."\n" - .'- 查询数据的时间粒度为一小时。'."\n" - .'- 单个用户的调用频率为:100次/秒。'."\n" - .'- 仅支持查询最近一个月的日志记录(开始时间和当前时间跨度不大于31天)。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListDomainsByLogConfigId' => [ - 'summary' => '调用ListDomainsByLogConfigId按日志配置ID查询域名列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-21T08:00:00Z'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '111859', - 'abilityTreeNodes' => [ - 'FEATUREcdnGZSOSW', + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2017-12-22T08:00:00Z'], ], - ], - 'parameters' => [ [ - 'name' => 'ConfigId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '自定义配置ID。', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], + 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyuji4b6r4**'], ], ], 'responses' => [ @@ -15699,97 +14222,143 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', - ], - 'Domains' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '174F6032-AA26-470D-B90E-36F0EB205BEE'], + 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageSize' => ['description' => '整页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Tasks' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Domain' => [ - 'description' => '域名列表。', + 'CDNTask' => [ + 'description' => '任务列表。', 'type' => 'array', 'items' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。取值:'."\n" + ."\n" + .'- **Complete**:完成。'."\n" + .'- **Refreshing**:处理中。'."\n" + .'- **Failed**:失败。', 'type' => 'string', 'example' => 'Complete'], + 'CreationTime' => ['description' => '任务对象创建时间,UTC+0时间。', 'type' => 'string', 'example' => '2014-11-27T08:23:22Z'], + 'ObjectType' => ['description' => '任务类型。'."\n" + ."\n" + .'- **file**:文件刷新。'."\n" + ."\n" + .'- **directory**:目录刷新。'."\n" + ."\n" + .'- **regex**:正则刷新。'."\n" + ."\n" + .'- **preload**:文件预热。', 'type' => 'string', 'example' => 'file'], + 'Process' => ['description' => '进度百分比。', 'type' => 'string', 'example' => '100%'], + 'Description' => ['description' => '刷新预热失败返回的错误描述。'."\n" + ."\n" + .'- **InternalError**:内部错误。'."\n" + ."\n" + .'- **OriginTimeout**:源站响应超时。'."\n" + ."\n" + .'- **OriginReturnStatusCode 5XX**:源站响应5xx错误码。', 'type' => 'string', 'example' => 'Internal Error'], + 'ObjectPath' => ['description' => '刷新对象路径。', 'type' => 'string', 'example' => 'http://example.com/1.txt'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '704225667'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'InvalidConfigId', - 'errorMessage' => 'Illegal ConfigId', - ], + 400 => [ + ['errorCode' => 'InvalidTaskId.Malformed', 'errorMessage' => 'The specified TaskId is invalid.', 'description' => ''], + ['errorCode' => 'MissingParameter.ObjectType', 'errorMessage' => 'The ObjectType parameter is required if DomainName or Status is specified.', 'description' => ''], + ['errorCode' => 'MissingTimeParameter', 'errorMessage' => 'The StartTime and EndTime must be both specified.', 'description' => '请同时提供开始时间和结束时间。'], + ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '用户参数中EndTime早于StartTime'], + ['errorCode' => 'DomainNameOverLimit', 'errorMessage' => 'A maximum of 500 domains are supported for each request.', 'description' => ''], + ['errorCode' => 'InvalidTime', 'errorMessage' => 'The query time cannot exceed the last 3 days.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。请核对后重新提供。'], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified EndTime is invalid.', 'description' => '结束时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidObjectPath.Malformed', 'errorMessage' => 'The specified ObjectPath is invalid.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['errorCode' => 'InvalidEndTime.ValueNotSupported', 'errorMessage' => 'The specified EndTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidObjectType.ValueNotSupported', 'errorMessage' => 'The specified ObjectType is not supported.', 'description' => ''], + ['errorCode' => 'InvalidStatus.ValueNotSupported', 'errorMessage' => 'The specified Status is not supported.', 'description' => ''], + ['errorCode' => 'InvalidParams', 'errorMessage' => 'The parameter you provided is invalid.', 'description' => '输入的参数不合法。'], ], - [ - [ - 'errorCode' => 'Domains.NotFound', - 'errorMessage' => 'No domain used in this log config', - ], + 429 => [ + ['errorCode' => 'TooManyRequests', 'errorMessage' => 'The server is busy. Please try again later.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n \\"Domains\\": {\\n \\"Domain\\": [\\n \\"example.com\\"\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<ListDomainsByLogConfigIdResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n\\t<Domains>\\r\\n\\t\\t<Domain>example.com</Domain>\\r\\n\\t\\t<Domain>image.developer.aliyundoc.com</Domain>\\r\\n\\t</Domains>\\r\\n</ListDomainsByLogConfigIdResponse>","errorExample":""}]', - 'title' => '查询域名列表-按日志配置ID', - 'description' => '> 单用户调用频率:100次/秒。', + 'title' => '查询刷新预热任务', + 'summary' => '调用DescribeRefreshTasks查询刷新、预热状态是否在全网生效。', + 'description' => '- 支持根据任务ID或URL查询。'."\n" + .'- 支持同时传入**TaskId**和**ObjectPath**参数,如果不指定**TaskId**和**ObjectPath**,默认查询最近3天内第一页的数据(20条)。'."\n" + .'- 只能查询最近3天内的数据。'."\n" + .'- 任务状态需要由API的调用请求来触发异步更新。'."\n" + .'- 如果您在OSS控制台开启了CDN缓存自动刷新,则无法通过DescribeRefreshTasks接口查看OSS上的缓存自动刷新任务。'."\n" + .'- 单用户调用频率:5次/秒。如果您需要更高的调用频率,请使用仅支持通过任务编号查询刷新预热任务信息的接口[DescribeRefreshTaskById](~~187709~~)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListUserCustomLogConfig' => [ - 'summary' => '调用ListUserCustomLogConfig查询用户下所有自定义日志配置信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-08-25T08:08:58.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-02-22T02:00:50.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-03-29T08:00:51.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRefreshTasks'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"174F6032-AA26-470D-B90E-36F0EB205BEE\\",\\n \\"PageNumber\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 2,\\n \\"Tasks\\": {\\n \\"CDNTask\\": [\\n {\\n \\"Status\\": \\"Complete\\",\\n \\"CreationTime\\": \\"2014-11-27T08:23:22Z\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"Process\\": \\"100%\\",\\n \\"Description\\": \\"Internal Error\\",\\n \\"ObjectPath\\": \\"http://example.com/1.txt\\",\\n \\"TaskId\\": \\"704225667\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<Tasks>\\n <CDNTask>\\n <CreationTime>2014-11-27T08:23:22Z</CreationTime>\\n <ObjectPath>http://example.com/1.txt</ObjectPath>\\n <Status>Complete</Status>\\n <TaskId>704225667</TaskId>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n </CDNTask>\\n <CDNTask>\\n <CreationTime>2014-11-27T08:18:38Z</CreationTime>\\n <ObjectPath>http://aliyundoc.com/1.txt</ObjectPath>\\n <Status>Complete</Status>\\n <TaskId>704222904</TaskId>\\n <ObjectType>file</ObjectType>\\n <Process>100%</Process>\\n </CDNTask>\\n</Tasks>\\n<PageNumber>1</PageNumber>\\n<PageSize>10</PageSize>\\n<TotalCount>2</TotalCount>\\n<RequestId>174F6032-AA26-470D-B90E-36F0EB205BEE</RequestId>","errorExample":""}]', + ], + 'DescribeStagingIp' => [ + 'summary' => '调用DescribeStagingIp查询模拟环境的节点IP地址。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '111866', - 'abilityTreeNodes' => [ - 'FEATUREcdnGZSOSW', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D', - ], - 'ConfigIds' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381'], + 'IPV4s' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'ConfigId' => [ - 'description' => '日志配置ID列表。', + 'IPV4' => [ + 'description' => 'IPv4格式的IP地址列表。', 'type' => 'array', - 'items' => [ - 'description' => '日志配置ID。', - 'type' => 'string', - 'example' => 'c3bb2c78-2915-4d5a-b6a1-557789255555', - ], + 'items' => ['description' => 'IPv4地址。', 'type' => 'string', 'example' => 'xx.xx.xx.xx'], ], ], ], @@ -15797,140 +14366,135 @@ ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ConfgIds.NotFound', - 'errorMessage' => 'You don\'t have any custom log config, please add first.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"ConfigIds\\": {\\n \\"ConfigId\\": [\\n \\"c3bb2c78-2915-4d5a-b6a1-557789255555\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListUserCustomLogConfigResponse>\\r\\n\\t<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>\\r\\n\\t<ConfigIds>\\r\\n\\t\\t<ConfigId>c3bb2c78-2915-4d5a-b6a1-557789255555</ConfigId>\\r\\n\\t\\t<ConfigId>25473b84-d598-498e-b148-f23d0a255555</ConfigId>\\r\\n\\t\\t<ConfigId>1f1e6c6e-6701-4193-ae4d-54bf3e555555</ConfigId>\\r\\n\\t</ConfigIds>\\r\\n</ListUserCustomLogConfigResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询自定义日志配置ID', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381\\",\\n \\"IPV4s\\": {\\n \\"IPV4\\": [\\n \\"xx.xx.xx.xx\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeStagingIpResponse>\\n<IPV4s>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n</IPV4s>\\n<RequestId>1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381</RequestId>\\n</DescribeStagingIpResponse>","errorExample":""}]', + 'title' => '查询节点IP列表-模拟环境-L1', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'OpenCdnService' => [ - 'summary' => '调用OpenCdnService开通CDN服务。开通服务后才能进行域名操作。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeStagingIp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTagResources' => [ + 'summary' => '调用DescribeTagResources查询资源对应的标签。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111877', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'InternetChargeType', + 'name' => 'ResourceType', 'in' => 'query', + 'schema' => ['description' => '固定值:**DOMAIN**。', 'type' => 'string', 'required' => true, 'example' => 'DOMAIN'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '开通服务的计费类型。取值为**PayByTraffic**,表示按流量计费。', - 'type' => 'string', + 'description' => '资源ID列表,最大元素数量:50。', + 'type' => 'array', + 'items' => ['description' => '资源ID,CDN为加速域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], 'required' => true, - 'example' => 'PayByTraffic', + 'example' => '1', + 'maxItems' => 50, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签组合列表。最大元素数量:20。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value'], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '响应数据结构。', + 'description' => '请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB'], + 'TagResources' => [ + 'description' => '标签资源列表。', + 'type' => 'array', + 'items' => [ + 'description' => '标签解释。', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'example.com'], + 'Tag' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '标签解释。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'env'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'product'], + ], + ], + ], + ], + ], ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidInternetChargeType.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter InternetChargeType is not valid.', - ], - [ - 'errorCode' => 'CdnService.HasOpened', - 'errorMessage' => 'Your cdn service has opened.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', - ], - [ - 'errorCode' => 'NoRealNameAuthentication', - 'errorMessage' => 'Real name authentication is needed.', - ], - [ - 'errorCode' => 'VertifyFailInvalidPayMethod', - 'errorMessage' => 'INVALID PAY METHOD', - ], - [ - 'errorCode' => 'VertifyFailUserProfileComplete', - 'errorMessage' => 'MISSING USERPROFILE', - ], - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed', - ], - [ - 'errorCode' => 'QueryInfoError', - 'errorMessage' => 'Create order failed', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter OwnerId or OwnerAccount that is mandatory for processing this request is not supplied.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.Intl', - 'errorMessage' => 'User not authorized to open Intl service.', - ], - [ - 'errorCode' => 'Forbidden.BidUser', - 'errorMessage' => 'Bid user is limited to open service.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<OpenCdnServiceResponse>\\r\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\r\\n</OpenCdnServiceResponse>","errorExample":""}]', - 'title' => '开通CDN服务', - 'description' => '- 一个用户只能开通一次,且要求阿里云账号已通过实名认证。'."\n" - .'- 单用户调用频率:5次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"example.com\\",\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"product\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeTagResourcesResponse>\\n <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n <TagResources>\\n <ResourceId>example.com</ResourceId>\\n <Tag>\\n <Key>env</Key>\\n <Value>product</Value>\\n </Tag>\\n </TagResources>\\n</DescribeTagResourcesResponse>","errorExample":""}]', + 'title' => '查询资源标签', + 'description' => '> 单用户调用频率:10次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnRegionAndIsp' => [ - 'summary' => '调用DescribeCdnRegionAndIsp查询地域和运营商列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTopDomainsByFlow' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15939,95 +14503,118 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111736', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111838', + 'abilityTreeNodes' => ['FEATUREcdnGZSOSW'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据的起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> StartTime必须设置为北京时间0点对应的UTC时间,例如:北京时间06月01日0点,需要设置为UTC时间“2021-05-31T16:00:00Z”。'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-12-22T08:00:00Z'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。'."\n", 'type' => 'string', 'required' => false, 'example' => '2019-12-23T08:00:00Z'], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => '域名获取数量限制,默认为**20**,取值**1**~**100**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2387C335-932C-4E1E-862C-1C4363B6DE72', - ], - 'Regions' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Region' => [ - 'description' => '地域列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NameEn' => [ - 'description' => '英文名称。', - 'type' => 'string', - 'example' => 'liaoning', - ], - 'NameZh' => [ - 'description' => '中文名称。', - 'type' => 'string', - 'example' => '辽宁省', - ], - ], - ], - ], - ], - ], - 'Isps' => [ + 'DomainOnlineCount' => ['description' => '账号下状态为**正在运行**的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '68'], + 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-12-23T08:00:00Z'], + 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2019-12-22T08:00:00Z'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70'], + 'DomainCount' => ['description' => '账号下的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '68'], + 'TopDomains' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Isp' => [ - 'description' => '运营商列表。', + 'TopDomain' => [ + 'description' => '排名域名列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'NameEn' => [ - 'description' => '英文名称。', - 'type' => 'string', - 'example' => 'unicom', - ], - 'NameZh' => [ - 'description' => '中文名称。', - 'type' => 'string', - 'example' => '联通', - ], + 'MaxBps' => ['description' => '带宽峰值。', 'type' => 'number', 'format' => 'float', 'example' => '22139626'], + 'Rank' => ['description' => '排名。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalAccess' => ['description' => '访问次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '107784230'], + 'TrafficPercent' => ['description' => '流量占比。', 'type' => 'string', 'example' => '30.64191989360235'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'TotalTraffic' => ['description' => '总流量。', 'type' => 'string', 'example' => '2043859876683.9001'], + 'MaxBpsTime' => ['description' => '带宽峰值时刻。', 'type' => 'string', 'example' => '1457111400'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2387C335-932C-4E1E-862C-1C4363B6DE72\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"NameEn\\": \\"liaoning\\",\\n \\"NameZh\\": \\"辽宁省\\"\\n }\\n ]\\n },\\n \\"Isps\\": {\\n \\"Isp\\": [\\n {\\n \\"NameEn\\": \\"unicom\\",\\n \\"NameZh\\": \\"联通\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<Isps>\\n <Isp>\\n <NameZh>电信</NameZh>\\n <NameEn>telecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>移动</NameZh>\\n <NameEn>mobile</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>教育网</NameZh>\\n <NameEn>cernet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>铁通</NameZh>\\n <NameEn>tietong</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>其他</NameZh>\\n <NameEn>other</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>鹏博士</NameZh>\\n <NameEn>drpeng</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>联通</NameZh>\\n <NameEn>unicom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>阿里巴巴</NameZh>\\n <NameEn>alibaba</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中信网络</NameZh>\\n <NameEn>citic</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>方正宽带</NameZh>\\n <NameEn>dounder</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>海外ISP</NameZh>\\n <NameEn>overseas</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>有线通</NameZh>\\n <NameEn>ocn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>华数</NameZh>\\n <NameEn>wasu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖北广电</NameZh>\\n <NameEn>hrtn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>重庆有线</NameZh>\\n <NameEn>cqccn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>歌华有线</NameZh>\\n <NameEn>bjctv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>天威视讯</NameZh>\\n <NameEn>topway</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中国香港宽频</NameZh>\\n <NameEn>hkbn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>澳大利亚电信</NameZh>\\n <NameEn>telstra</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>江西广电</NameZh>\\n <NameEn>jxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南广电</NameZh>\\n <NameEn>gbs</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中国澳门电讯</NameZh>\\n <NameEn>ctm</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>黑龙江广电</NameZh>\\n <NameEn>ljwl</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>中华电信</NameZh>\\n <NameEn>cht</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>陕西广电</NameZh>\\n <NameEn>sxbctv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广电</NameZh>\\n <NameEn>ccn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>长城宽带</NameZh>\\n <NameEn>gwbn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>华数传媒</NameZh>\\n <NameEn>wasumedia</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广东广电</NameZh>\\n <NameEn>gcable</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>辽宁广电</NameZh>\\n <NameEn>lnsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>河南广电</NameZh>\\n <NameEn>hensarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>山东广电</NameZh>\\n <NameEn>sdsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>江苏广电</NameZh>\\n <NameEn>jssarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>四川艾普</NameZh>\\n <NameEn>aipu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>吉视传媒</NameZh>\\n <NameEn>jilincatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>四川广电</NameZh>\\n <NameEn>sicsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>安徽广电</NameZh>\\n <NameEn>anhuicatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>福建广电</NameZh>\\n <NameEn>fujiancatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>新疆广电</NameZh>\\n <NameEn>xjsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>贵州广电</NameZh>\\n <NameEn>guizhoucatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>局域网</NameZh>\\n <NameEn>local area network</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南巨亚</NameZh>\\n <NameEn>hunanjy</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>珠江数码</NameZh>\\n <NameEn>zhujiangsm</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>北京宝联之星</NameZh>\\n <NameEn>baolian</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Telin</NameZh>\\n <NameEn>telin</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Indosat</NameZh>\\n <NameEn>indosat</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>上海驰联</NameZh>\\n <NameEn>shchilian</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>上海企舜</NameZh>\\n <NameEn>shqishun</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>皓宽网络</NameZh>\\n <NameEn>cnix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度Sify</NameZh>\\n <NameEn>sify</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印尼Zenlayer</NameZh>\\n <NameEn>zenlayer</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度TATA</NameZh>\\n <NameEn>tata</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>印度AirTel</NameZh>\\n <NameEn>airtel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telstra Global</NameZh>\\n <NameEn>telstraglobal</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Maxis</NameZh>\\n <NameEn>maxis</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>内蒙古广电</NameZh>\\n <NameEn>nmgcatv</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>JasTel</NameZh>\\n <NameEn>jastel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Taiwan Fixed Network</NameZh>\\n <NameEn>taiwanfixednetwork</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Digital United</NameZh>\\n <NameEn>digitalunited</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>NTT</NameZh>\\n <NameEn>ntt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>KDDI</NameZh>\\n <NameEn>kddi</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Korea Telecom</NameZh>\\n <NameEn>koreatelecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TM Net</NameZh>\\n <NameEn>tmnet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>True Internet</NameZh>\\n <NameEn>trueinternet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>PT Aplikanusa Lintasarta</NameZh>\\n <NameEn>ptaplikanusalintasarta</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>VNPT</NameZh>\\n <NameEn>vnpt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>EITC-DU</NameZh>\\n <NameEn>eitcdu</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Rostelecom</NameZh>\\n <NameEn>rostelecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>GLOBALNET</NameZh>\\n <NameEn>globalnet</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>ER-Telecom Holding</NameZh>\\n <NameEn>ertelecomholding</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Business Network Ltd</NameZh>\\n <NameEn>businessnetworkltd</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Vodafone</NameZh>\\n <NameEn>vodafone</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Level</NameZh>\\n <NameEn>level</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TATA Communications(America)</NameZh>\\n <NameEn>tatacommunications</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>ENTER S.r.l.</NameZh>\\n <NameEn>entersrl</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Vodacom ENS</NameZh>\\n <NameEn>vodacomens</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Hurricane Electric</NameZh>\\n <NameEn>hurricaneelectric</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>CTA</NameZh>\\n <NameEn>cta</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telefonica USA</NameZh>\\n <NameEn>telefonicausa</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Verizon Business</NameZh>\\n <NameEn>verizonbusiness</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Telefonica Data S.A.</NameZh>\\n <NameEn>telefonicadatasa</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>PLDT</NameZh>\\n <NameEn>pldt</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Viettel</NameZh>\\n <NameEn>viettel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>RETN</NameZh>\\n <NameEn>retn</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>AIMS</NameZh>\\n <NameEn>aims</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>广西广电</NameZh>\\n <NameEn>guangxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>河北广电</NameZh>\\n <NameEn>hebsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>湖南有线</NameZh>\\n <NameEn>hunsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>山东青岛广电</NameZh>\\n <NameEn>sdqdsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Level3</NameZh>\\n <NameEn>level3</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>宁夏广电</NameZh>\\n <NameEn>nxsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Zain</NameZh>\\n <NameEn>zain</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Singtel</NameZh>\\n <NameEn>singtel</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>BBIX</NameZh>\\n <NameEn>bbix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>MSK-IX</NameZh>\\n <NameEn>mskix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TPIX</NameZh>\\n <NameEn>tpix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Equinix</NameZh>\\n <NameEn>equinix</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>台湾之星</NameZh>\\n <NameEn>taiwanstar</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>阿里云</NameZh>\\n <NameEn>aliyun</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>TelekomMalaysia</NameZh>\\n <NameEn>telekommalaysia</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>KINX</NameZh>\\n <NameEn>kinx</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>SKBB</NameZh>\\n <NameEn>skbb</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>CAT</NameZh>\\n <NameEn>cat</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Ooredoo</NameZh>\\n <NameEn>ooredoo</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>Fareastone</NameZh>\\n <NameEn>fareastone telecom</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>全部</NameZh>\\n <NameEn>all</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>JIO</NameZh>\\n <NameEn>jio</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>甘肃广电</NameZh>\\n <NameEn>gssarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>天津广电</NameZh>\\n <NameEn>tjsarft</NameEn>\\n </Isp>\\n <Isp>\\n <NameZh>大连理工大学</NameZh>\\n <NameEn>dlut</NameEn>\\n </Isp>\\n</Isps>\\n<RequestId>9CEF1678-CAE9-4173-88C9-31DA0931BBAF</RequestId>\\n<Regions>\\n <Region>\\n <NameZh>河北省</NameZh>\\n <NameEn>hebei</NameEn>\\n </Region>\\n <Region>\\n <NameZh>宁夏回族自治区</NameZh>\\n <NameEn>ningxia</NameEn>\\n </Region>\\n <Region>\\n <NameZh>贵州省</NameZh>\\n <NameEn>guizhou</NameEn>\\n </Region>\\n <Region>\\n <NameZh>新疆维吾尔自治区</NameZh>\\n <NameEn>xinjiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>北京市</NameZh>\\n <NameEn>beijing</NameEn>\\n </Region>\\n <Region>\\n <NameZh>福建省</NameZh>\\n <NameEn>fujian</NameEn>\\n </Region>\\n <Region>\\n <NameZh>海南省</NameZh>\\n <NameEn>hainan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>黑龙江省</NameZh>\\n <NameEn>heilongjiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>广东省</NameZh>\\n <NameEn>guangdong</NameEn>\\n </Region>\\n <Region>\\n <NameZh>广西壮族自治区</NameZh>\\n <NameEn>guangxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>浙江省</NameZh>\\n <NameEn>zhejiang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>青海省</NameZh>\\n <NameEn>qinghai</NameEn>\\n </Region>\\n <Region>\\n <NameZh>江苏省</NameZh>\\n <NameEn>jiangsu</NameEn>\\n </Region>\\n <Region>\\n <NameZh>山西省</NameZh>\\n <NameEn>shanxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>河南省</NameZh>\\n <NameEn>henan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>云南省</NameZh>\\n <NameEn>yunnan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>西藏自治区</NameZh>\\n <NameEn>xizang</NameEn>\\n </Region>\\n <Region>\\n <NameZh>辽宁省</NameZh>\\n <NameEn>liaoning</NameEn>\\n </Region>\\n <Region>\\n <NameZh>湖南省</NameZh>\\n <NameEn>hunan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国香港</NameZh>\\n <NameEn>China(Hong Kong)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>陕西省</NameZh>\\n <NameEn>shaanxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国澳门</NameZh>\\n <NameEn>China(Macao)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>安徽省</NameZh>\\n <NameEn>anhui</NameEn>\\n </Region>\\n <Region>\\n <NameZh>天津市</NameZh>\\n <NameEn>tianjin</NameEn>\\n </Region>\\n <Region>\\n <NameZh>江西省</NameZh>\\n <NameEn>jiangxi</NameEn>\\n </Region>\\n <Region>\\n <NameZh>湖北省</NameZh>\\n <NameEn>hubei</NameEn>\\n </Region>\\n <Region>\\n <NameZh>重庆市</NameZh>\\n <NameEn>chongqing</NameEn>\\n </Region>\\n <Region>\\n <NameZh>甘肃省</NameZh>\\n <NameEn>gansu</NameEn>\\n </Region>\\n <Region>\\n <NameZh>中国台湾</NameZh>\\n <NameEn>China(Taiwan)</NameEn>\\n </Region>\\n <Region>\\n <NameZh>山东省</NameZh>\\n <NameEn>shandong</NameEn>\\n </Region>\\n <Region>\\n <NameZh>吉林省</NameZh>\\n <NameEn>jilin</NameEn>\\n </Region>\\n <Region>\\n <NameZh>上海市</NameZh>\\n <NameEn>shanghai</NameEn>\\n </Region>\\n <Region>\\n <NameZh>四川省</NameZh>\\n <NameEn>sichuan</NameEn>\\n </Region>\\n <Region>\\n <NameZh>内蒙古自治区</NameZh>\\n <NameEn>neimenggu</NameEn>\\n </Region>\\n</Regions>","errorExample":""}]', - 'title' => '查询地域和运营商列表', - 'description' => '- CDN支持的地域及运营商列表会不定时更新,请您及时关注官网最新信息。'."\n" - .'- 单用户调用频率:30次/秒。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The specified value of parameter StartTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The specified value of parameter EndTime is malformed.', 'description' => ''], + ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified value of parameter StartTime is not supported.', 'description' => ''], + ], + ], + 'title' => '获取按流量排名的加速域名', + 'summary' => '调用DescribeTopDomainsByFlow获取用户按流量排名的域名,支持获取最近30天的数据。', + 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + ."\n" + .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" + .'>- 如果您不指定**StartTime**和**EndTime**,该接口返回当月数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" + .'- 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnOrderCommodityCode' => [ - 'summary' => '调用DescribeCdnOrderCommodityCode查询客户UID对应的商品Code。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-13T07:14:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTopDomainsByFlow'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeTopDomainsByFlow', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainOnlineCount\\": 68,\\n \\"EndTime\\": \\"2019-12-23T08:00:00Z\\",\\n \\"StartTime\\": \\"2019-12-22T08:00:00Z\\",\\n \\"RequestId\\": \\"4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70\\",\\n \\"DomainCount\\": 68,\\n \\"TopDomains\\": {\\n \\"TopDomain\\": [\\n {\\n \\"MaxBps\\": 22139626,\\n \\"Rank\\": 1,\\n \\"TotalAccess\\": 107784230,\\n \\"TrafficPercent\\": \\"30.64191989360235\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TotalTraffic\\": \\"2043859876683.9001\\",\\n \\"MaxBpsTime\\": \\"1457111400\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeTopDomainsByFlowResponse>\\n<DomainCount>4</DomainCount>\\n<DomainOnlineCount>4</DomainOnlineCount>\\n<RequestId>6796A2B4-15A7-4142-85C0-5A93406034B5</RequestId>\\n<TopDomains>\\n <TopDomain>\\n <MaxBps>26.752000000000002</MaxBps>\\n <Rank>3</Rank>\\n <TrafficPercent>0.000910078753253719</TrafficPercent>\\n <TotalTraffic>2003</TotalTraffic>\\n <TotalAccess>2</TotalAccess>\\n <DomainName>example.com</DomainName>\\n <MaxBpsTime>2019-12-22T20:50:00Z</MaxBpsTime>\\n </TopDomain>\\n</TopDomains>\\n<EndTime>2019-12-23T08:00:00Z</EndTime>\\n<StartTime>2019-12-22T08:00:00Z</StartTime>\\n</DescribeTopDomainsByFlowResponse>","errorExample":""}]', + ], + 'DescribeUserCdnStatus' => [ + 'summary' => '调用DescribeUserCdnStatus获取用户状态信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16036,58 +14623,49 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '137446', - 'abilityTreeNodes' => [ - 'FEATUREcdnYC0IJ0', - ], + 'abilityTreeCode' => '111839', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'CommodityCode', - 'in' => 'query', - 'schema' => [ - 'description' => '原始商品Code。', - 'type' => 'string', - 'required' => true, - 'example' => 'xxx', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OrderCommodityCode' => [ - 'description' => '包含多组织单位OU(Organizational Unit)售卖的商品Code。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23', - ], + 'InDebt' => ['description' => '是否欠费。'."\n" + ."\n" + .'- true:欠费。'."\n" + .'- false:未欠费。', 'type' => 'boolean', 'example' => 'false'], + 'OnService' => ['description' => '服务是否可用。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA'], + 'InDebtOverdue' => ['description' => '是否欠费超期。', 'type' => 'boolean', 'example' => 'false'], + 'Enabled' => ['description' => '是否开通了Cdn服务。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderCommodityCode\\": \\"xxx\\",\\n \\"RequestId\\": \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnOrderCommodityCodeResponse>\\n <OrderCommodityCode>xxx</OrderCommodityCode>\\n <RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>\\n</DescribeCdnOrderCommodityCodeResponse>","errorExample":""}]', - 'title' => '查询商品Code', - ], - 'DescribeCdnService' => [ - 'summary' => '调用DescribeCdnService查询CDN服务状态。包括:当前计费类型、服务开通时间、下次生效的计费类型、当前业务状态等。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InDebt\\": false,\\n \\"OnService\\": true,\\n \\"RequestId\\": \\"39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA\\",\\n \\"InDebtOverdue\\": false,\\n \\"Enabled\\": true\\n}","type":"json"}]', + 'title' => '获取用户状态信息', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserCdnStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUserCertificateExpireCount' => [ + 'summary' => '调用DescribeUserCertificateExpireCount查询用户证书过期的域名数。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16096,10 +14674,10 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111740', - 'abilityTreeNodes' => [ - 'FEATUREcdnYC0IJ0', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111840', + 'abilityTreeNodes' => ['FEATUREcdnD4PEWG', 'FEATUREcdn4R6KLH'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -16108,157 +14686,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ChangingAffectTime' => [ - 'description' => '下次计费类型生效时间,GMT时间。', - 'type' => 'string', - 'example' => '2019-11-27T16:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'ChangingChargeType' => [ - 'description' => '下次生效的计费类型。'."\n" - ."\n" - .'- **PayByTraffic**:流量。'."\n" - ."\n" - .'- **PayByBandwidth**:带宽峰值。', - 'type' => 'string', - 'example' => 'PayByTraffic', - ], - 'OpeningTime' => [ - 'description' => '开通服务时间,ISO 8601时间格式。', - 'type' => 'string', - 'example' => '2019-02-28T13:11:49Z', - ], - 'InternetChargeType' => [ - 'description' => '当前计费类型。'."\n" - ."\n" - .'- **PayByTraffic**:流量。'."\n" - ."\n" - .'- **PayByBandwidth**:带宽峰值。', - 'type' => 'string', - 'example' => 'PayByTraffic', - ], - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'aliuidxx', - ], - 'OperationLocks' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'LockReason' => [ - 'description' => '业务锁定状态。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LockReason' => [ - 'description' => '业务锁定的原因。financial:欠费。', - 'type' => 'string', - 'example' => 'financial', - ], - ], - ], - ], - ], - ], - 'ChangingDynamicBillingType' => [ - 'description' => '下次生效的动态加速计费方式。', - 'type' => 'string', - 'example' => 'DynamicHourTraffic', - ], - 'DynamicBillingType' => [ - 'description' => '动态加速计费方式。', - 'type' => 'string', - 'example' => 'DynamicHourTraffic', - ], + 'ExpireWithin30DaysCount' => ['description' => '30天内证书即将过期的域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5E8DF64-7175-4186-9B06-F002C0BBD0C5'], + 'ExpiredCount' => ['description' => '证书已过期的域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UnsupportedParameter', - 'errorMessage' => 'There is unsupported parameters', - ], - [ - 'errorCode' => 'InternetChargeTypeInvalid', - 'errorMessage' => 'The specified InternetChargeType is invalid.', - ], + ['errorCode' => 'NoHttpsDomain', 'errorMessage' => 'Your account doesn\'t have https domain.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangingAffectTime\\": \\"2019-11-27T16:00:00Z\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"ChangingChargeType\\": \\"PayByTraffic\\",\\n \\"OpeningTime\\": \\"2019-02-28T13:11:49Z\\",\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"InstanceId\\": \\"aliuidxx\\",\\n \\"OperationLocks\\": {\\n \\"LockReason\\": [\\n {\\n \\"LockReason\\": \\"financial\\"\\n }\\n ]\\n },\\n \\"ChangingDynamicBillingType\\": \\"DynamicHourTraffic\\",\\n \\"DynamicBillingType\\": \\"DynamicHourTraffic\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnServiceResponse>\\n <ChangingAffectTime>2019-11-27T16:00:00Z</ChangingAffectTime>\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n <ChangingChargeType>PayByTraffic</ChangingChargeType>\\n <OpeningTime>2019-02-28T13:11:49Z</OpeningTime>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <InstanceId>aliuidxx</InstanceId>\\n <OperationLocks>\\n <LockReason>financial</LockReason>\\n </OperationLocks>\\n</DescribeCdnServiceResponse>","errorExample":""}]', - 'title' => '查询CDN服务状态', - 'description' => '> 单用户调用频率:30次/秒。', + 'title' => '查询证书过期的域名数', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnDomainByCertificate' => [ - 'summary' => '调用DescribeCdnDomainByCertificate根据证书信息获取加速域名。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:13.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserCertificateExpireCount'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserCertificateExpireCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireWithin30DaysCount\\": 0,\\n \\"RequestId\\": \\"F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\",\\n \\"ExpiredCount\\": 6\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserCertificateExpireCountResponse>\\n <ExpireWithin30DaysCount>0</ExpireWithin30DaysCount>\\n <RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>\\n <ExpiredCount>6</ExpiredCount>\\n</DescribeUserCertificateExpireCountResponse>","errorExample":""}]', + ], + 'DescribeUserConfigs' => [ + 'summary' => '调用DescribeUserConfigs查询安全功能相关的配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111726', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], + 'abilityTreeCode' => '111841', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SSLPub', - 'in' => 'query', - 'schema' => [ - 'description' => '证书公钥,需要base64编码后再进行encodeURIComponent。'."\n" - ."\n" - .'支持pem格式。', - 'type' => 'string', - 'required' => true, - 'example' => '******', - ], - ], - [ - 'name' => 'SSLStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '表示返回的域名列表只包含开启或关闭HTTPS的域名。'."\n" - ."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'Exact', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '表示返回的域名列表是否与证书精准匹配。'."\n" - .'- true:开启'."\n" - .'- false:关闭', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '需要查询的配置,支持持单个查询。当前支持oss、green_manager、waf、cc_rule、ddos_dispatch、edge_safe、blocked_regions、http_acl_policy、bot_manager和ip_reputation配置。', 'type' => 'string', 'required' => true, 'example' => 'oss'], ], ], 'responses' => [ @@ -16266,75 +14757,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D', - ], - 'CertInfos' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84'], + 'Configs' => [ + 'description' => '对应的配置数据。', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'CertInfo' => [ - 'description' => '证书信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CertStartTime' => [ - 'description' => '证书开始时间。', - 'type' => 'string', - 'example' => 'Nov 29 23:59:59 2017 GMT', - ], - 'CertExpireTime' => [ - 'description' => '证书过期时间。', - 'type' => 'string', - 'example' => 'Nov 29 00:00:00 2016 GMT', - ], - 'CertCaIsLegacy' => [ - 'description' => '证书CA废弃状态。取值:'."\n" - ."\n" - .'- **yes**:已废弃。'."\n" - ."\n" - .'- **no**:正常,未废弃。', - 'type' => 'string', - 'example' => 'yes', - ], - 'CertSubjectCommonName' => [ - 'description' => '证书所有者名称。', - 'type' => 'string', - 'example' => 'owner', - ], - 'CertType' => [ - 'description' => '证书类型,取值:**RSA**、**DSA**、**ECDSA**。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'DomainNames' => [ - 'description' => '证书匹配的域名(DNS字段),多个用英文逗号(,)分隔。', - 'type' => 'string', - 'example' => '*.example.com,aliyundoc.com', - ], - 'CertExpired' => [ - 'description' => '证书过期状态。 取值:'."\n" - ."\n" - .'- **yes**:已过期。'."\n" - ."\n" - .'- **no**:未过期。', - 'type' => 'string', - 'example' => 'yes', - ], - 'Issuer' => [ - 'description' => '证书颁发机构。', - 'type' => 'string', - 'example' => 'C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1', - ], - 'DomainList' => [ - 'description' => '如果该返回值不为空,则将该列表与证书做匹配,多个用英文逗号(,)分隔。', - 'type' => 'string', - 'example' => 'example.com,aliyundoc.com', - ], - ], + 'OssLogConfig' => [ + 'description' => 'OSS日志存储配置。', + 'type' => 'object', + 'properties' => [ + 'Prefix' => ['description' => '前缀。', 'type' => 'string', 'example' => 'test'], + 'Enable' => ['description' => '是否开启存储空间。', 'type' => 'string', 'example' => 'off'], + 'Bucket' => ['description' => '存储空间名称。', 'type' => 'string', 'example' => 'Buckettest'], + ], + ], + 'WafConfig' => [ + 'description' => 'WAF功能配置。', + 'type' => 'object', + 'properties' => [ + 'Enable' => ['description' => '是否开启WAF功能。', 'type' => 'string', 'example' => 'on'], ], ], ], @@ -16345,47 +14786,34 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Certificate.FormatError', - 'errorMessage' => 'The format of the certificate is invalid.', - ], - [ - 'errorCode' => 'SSLPub.MissingParameter', - 'errorMessage' => 'The Cert parameter is required.', - ], - [ - 'errorCode' => 'Decode.Error', - 'errorMessage' => 'Error decoding the SSLPub certificate.', - ], - [ - 'errorCode' => 'Certificate.DecodeError', - 'errorMessage' => 'An error occurred while decoding the certificate.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to backend service exception.', - ], + ['errorCode' => 'MissingConfig', 'errorMessage' => 'The input parameter Config that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'InvalidConfig.ValueNotSupported', 'errorMessage' => 'The specified value of parameter Config is not supported.', 'description' => '参数Config的值无效。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertStartTime\\": \\"Nov 29 23:59:59 2017 GMT\\",\\n \\"CertExpireTime\\": \\"Nov 29 00:00:00 2016 GMT\\",\\n \\"CertCaIsLegacy\\": \\"yes\\",\\n \\"CertSubjectCommonName\\": \\"owner\\",\\n \\"CertType\\": \\"RSA\\",\\n \\"DomainNames\\": \\"*.example.com,aliyundoc.com\\",\\n \\"CertExpired\\": \\"yes\\",\\n \\"Issuer\\": \\"C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1\\",\\n \\"DomainList\\": \\"example.com,aliyundoc.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDomainByCertificateResponse>\\n<RequestId>ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D</RequestId>\\n<content>\\n <Issuer>C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1</Issuer>\\n <CertType>RSA</CertType>\\n <CertSubjectCommonName>example.com</CertSubjectCommonName>\\n <CertStartTime>Nov 29 23:59:59 2017 GMT</CertStartTime>\\n <CertExpireTime>Nov 29 00:00:00 2016 GMT</CertExpireTime>\\n <DomainNames>*.example.com,aliyundoc.com</DomainNames>\\n <DomainList>example.com,aliyundoc.com</DomainList>\\n <CertExpired>yes</CertExpired>\\n <CertCaIsLegacy>yes</CertCaIsLegacy>\\n</content>\\n</DescribeCdnDomainByCertificateResponse>","errorExample":""}]', - 'title' => '查询域名-按证书', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84\\",\\n \\"Configs\\": {\\n \\"OssLogConfig\\": {\\n \\"Prefix\\": \\"test\\",\\n \\"Enable\\": \\"off\\",\\n \\"Bucket\\": \\"Buckettest\\"\\n },\\n \\"WafConfig\\": {\\n \\"Enable\\": \\"on\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserConfigsResponse>\\n<RequestId>9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84</RequestId>\\n<Configs>\\n <OssLogConfig>\\n <Enable>off</Enable>\\n <Bucket>Bucket2</Bucket>\\n <Prefix>test</Prefix>\\n </OssLogConfig>\\n <GreenManagerConfig>\\n <Quota>500</Quota>\\n <Ratio>20%</Ratio>\\n </GreenManagerConfig>\\n <WafConfig>\\n <Enable>on</Enable>\\n </WafConfig>\\n</Configs>\\n</DescribeUserConfigsResponse>","errorExample":""}]', + 'title' => '查询安全功能相关的配置', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainCertificateInfo' => [ - 'summary' => '调用DescribeDomainCertificateInfo查询指定加速域名证书信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUserDomains' => [ + 'summary' => '调用DescribeUserDomains查询用户名下所有的域名与状态,支持域名模糊匹配过滤和域名状态过滤。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16394,153 +14822,197 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111768', - 'abilityTreeNodes' => [ - 'FEATUREcdnD4PEWG', - 'FEATUREcdn4R6KLH', - ], + 'abilityTreeCode' => '111842', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB'], ], 'parameters' => [ [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小,取值**1~500**,默认值为**20**,最大值为**500**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'example' => '5', 'default' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '取得第几页,取值范围:**1**~**100000**。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ 'name' => 'DomainName', 'in' => 'query', + 'schema' => ['description' => '加速域名。如果不传该参数,默认不做域名匹配搜索,返回所有符合条件的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'maxLength' => 6800], + ], + [ + 'name' => 'DomainStatus', + 'in' => 'query', + 'schema' => ['description' => '域名状态过滤。取值:'."\n" + .'- **online**:启用。'."\n" + .'- **offline**:停用。'."\n" + .'- **configuring**:配置中。'."\n" + .'- **configure_failed**:配置失败。'."\n" + .'- **checking**:正在审核。'."\n" + .'- **check_failed**:审核失败。'."\n" + .'- **stopping**:停用中。'."\n" + .'- **deleting**:删除中。'."\n" + ."\n" + .'如果不传该参数,默认查询所有状态。', 'type' => 'string', 'required' => false, 'example' => 'configure_failed'], + ], + [ + 'name' => 'DomainSearchType', + 'in' => 'query', + 'schema' => ['description' => '域名查询类型。取值:'."\n" + .'- **fuzzy_match**:模糊匹配。'."\n" + .'- **pre_match**:前匹配。'."\n" + .'- **suf_match**:后匹配。'."\n" + .'- **full_match**(默认值):完全匹配。'."\n" + ."\n" + .'> 传递了域名参数的情况下,不传DomainSearchType参数,则默认采用完全匹配模式。', 'type' => 'string', 'required' => false, 'example' => 'fuzzy_match'], + ], + [ + 'name' => 'CdnType', + 'in' => 'query', + 'schema' => ['description' => 'CDN业务类型,多个用半角逗号(,)分隔。取值:'."\n" + .'- **web**:图片小文件。'."\n" + .'- **download**:大文件下载。'."\n" + .'- **video**:视音频点播。'."\n" + ."\n" + .'如果不传该参数,默认查询所有业务类型。', 'type' => 'string', 'required' => false, 'example' => 'download,web,video'], + ], + [ + 'name' => 'CheckDomainShow', + 'in' => 'query', + 'schema' => ['description' => '是否展示审核中、审核失败、配置失败的域名。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => '资源组ID,默认查询所有资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'abcd1234abcd1234'], + ], + [ + 'name' => 'ChangeStartTime', + 'in' => 'query', + 'schema' => ['description' => '更新开始时间,使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2019-10-10T12:14:55Z'], + ], + [ + 'name' => 'ChangeEndTime', + 'in' => 'query', + 'schema' => ['description' => '更新结束时间,使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需晚于起始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-10-10T12:14:58Z'], + ], + [ + 'name' => 'Coverage', + 'in' => 'query', + 'schema' => ['description' => '加速区域,默认为全部区域。取值:'."\n" + .'- **domestic**:仅中国内地。'."\n" + .'- **global**:全球。'."\n" + .'- **overseas**:全球(不包含中国内地)。', 'type' => 'string', 'required' => false, 'example' => 'domestic'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '源站信息。', 'type' => 'string', 'required' => false, 'example' => '***'], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '加速域名,仅支持单个查询。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + 'description' => '标签列表。列表元素最大数量:20。', + 'type' => 'array', + 'items' => [ + 'description' => '标签解释。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。'."\n" + ."\n" + .'默认查询所有标签键。', 'type' => 'string', 'required' => false, 'example' => 'key'], + 'Value' => ['description' => '标签值。'."\n" + ."\n" + .'默认查询所有标签值。', 'type' => 'string', 'required' => false, 'example' => 'value'], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '参数解释。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '5C1E43DC-9E51-4771-82C0-7D5ECEB547A1', - ], - 'CertInfos' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BDA62CE4-3477-439A-B52E-D2D7C829D7C1'], + 'PageNumber' => ['description' => '返回数据的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '整页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Domains' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'CertInfo' => [ - 'description' => '证书信息列表。', + 'PageData' => [ + 'description' => '域名信息。', 'type' => 'array', 'items' => [ + 'description' => '域名信息。', 'type' => 'object', 'properties' => [ - 'CertExpireTime' => [ - 'description' => '证书过期时间。', - 'type' => 'string', - 'example' => '2018-06-03T22:03:39Z', - ], - 'CertLife' => [ - 'description' => '证书时长单位。'."\n" - ."\n" - .'- **months**:月。'."\n" - .'- **years**:年。', - 'type' => 'string', - 'example' => 'months', - ], - 'Status' => [ - 'description' => '证书状态。'."\n" - ."\n" - .'- **success**:已生效。'."\n" - .'- **checking**:检测域名是否在阿里云CDN。'."\n" - .'- **cname_error**:域名没有切到阿里云CDN。'."\n" - .'- **top\\_domain\\_cname\\_error**:顶级域名没有切到阿里云CDN。'."\n" - .'- **domain\\_invalid**:域名包含非法字符。'."\n" - .'- **unsupport\\_wildcard**:不支持泛域名。'."\n" - .'- **applying**:证书申请中。'."\n" - .'- **get\\_token\\_timeout**:证书申请超时。'."\n" - .'- **check\\_token\\_timeout**:校验超时。'."\n" - .'- **get\\_cert\\_timeout**:获取证书超时。'."\n" - .'- **failed**:证书申请失败。', - 'type' => 'string', - 'example' => 'success', - ], - 'CertUpdateTime' => [ - 'description' => '证书更新时间。', - 'type' => 'string', - 'example' => '2018-06-03T22:03:39Z', - ], - 'CertDomainName' => [ - 'description' => '证书匹配的域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'ServerCertificateStatus' => [ - 'description' => 'https开启状态。'."\n" - ."\n" - .'- **on**:已开启。'."\n" - ."\n" - .'- **off**:未开启。', - 'type' => 'string', - 'example' => 'on', - ], - 'CertOrg' => [ - 'description' => '该证书签发的CA名称。', - 'type' => 'string', - 'example' => 'Let\'s Encrypt', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CertStartTime' => [ - 'description' => '证书开始时间。', - 'type' => 'string', - 'example' => '2018-06-03T22:03:39Z', - ], - 'CertType' => [ - 'description' => '证书类型。'."\n" - ."\n" - .'- **free**:免费证书。'."\n" - ."\n" - .'- **cas**:云盾证书。'."\n" - ."\n" - .'- **upload**:自定义上传。', - 'type' => 'string', - 'example' => 'free', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DomainCnameStatus' => [ - 'description' => '域名CNAME状态。'."\n" - ."\n" - .'- **ok**:域名CNAME已切到阿里云CDN。'."\n" - ."\n" - .'- **cname_error**:域名CNAME错误,没有切到阿里云CDN。'."\n" - ."\n" - .'- **top_domain_cname_error**:顶级域名CNAME错误,没有切到阿里云CDN。'."\n" - ."\n" - .'- **unsupport_wildcard**:不支持泛域名。', - 'type' => 'string', - 'example' => 'ok', - ], - 'ServerCertificate' => [ - 'description' => '证书公钥。', - 'type' => 'string', - 'example' => 'asdadaxxxx', - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'example' => '9002448', - ], - 'CertRegion' => [ - 'description' => '证书区域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'SslProtocol' => ['description' => 'HTTPS开关。取值:'."\n" + ."\n" + .'- **on**:已开启。'."\n" + .'- **off**:未开启。', 'type' => 'string', 'example' => 'on'], + 'Sandbox' => ['description' => '是否在沙箱。取值:'."\n" + ."\n" + .'- **true**:是'."\n" + .'- **空字符串**:否', 'type' => 'string', 'example' => 'true'], + 'GmtModified' => ['description' => '加速域名修改时间。', 'type' => 'string', 'example' => '2015-10-28T11:05:52Z'], + 'DomainName' => ['description' => '加速域名。', 'type' => 'string', 'example' => 'example.com'], + 'DomainId' => ['description' => '加速域名ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11223344'], + 'GmtCreated' => ['description' => '加速域名创建时间。', 'type' => 'string', 'example' => '2015-10-28T09:32:51Z'], + 'Description' => ['description' => '域名备案信息的描述。', 'type' => 'string', 'example' => 'filing description'], + 'Coverage' => ['description' => '加速区域。取值:'."\n" + .'- **domestic**:仅中国内地。'."\n" + .'- **global**:全球。'."\n" + .'- **overseas**:全球(不包含中国内地)。', 'type' => 'string', 'example' => 'domestic'], + 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'abcd1234abcd1234'], + 'Cname' => ['description' => '加速域名对应的CNAME。', 'type' => 'string', 'example' => 'example.com.w.alikunlun.net'], + 'DomainStatus' => ['description' => '加速域名状态。取值:'."\n" + .'- **online**:启用。'."\n" + .'- **offline**:停用。'."\n" + .'- **configuring**:配置中。'."\n" + .'- **configure_failed**:配置失败。'."\n" + .'- **checking**:正在审核。'."\n" + .'- **check_failed**:审核失败。'."\n" + .'- **stopping**:停用中。'."\n" + .'- **deleting**:删除中。', 'type' => 'string', 'example' => 'configure_failed'], + 'CdnType' => ['description' => '加速业务类型。取值:'."\n" + ."\n" + .'- **web**:图片小文件。'."\n" + .'- **download**:大文件下载。'."\n" + .'- **video**:视音频点播。'."\n", 'type' => 'string', 'example' => 'download'], + 'Sources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Source' => [ + 'description' => '数据类型Source。', + 'type' => 'array', + 'items' => [ + 'description' => '数据类型Source。', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '源站类型。', 'type' => 'string', 'example' => 'oss'], + 'Weight' => ['description' => '回源权重。', 'type' => 'string', 'example' => '15'], + 'Priority' => ['description' => '优先级。', 'type' => 'string', 'example' => '20'], + 'Port' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'Content' => ['description' => '源站地址。', 'type' => 'string', 'example' => '***.oss-cn-hangzhou.aliyuncs.com'], + ], + ], + ], + ], ], ], ], @@ -16552,148 +15024,133 @@ ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'SignatureDoesNotMatch', - 'errorMessage' => 'The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to internal error.', - ], + 400 => [ + ['errorCode' => 'InvalidPageNumber.ValueNotSupported', 'errorMessage' => 'The specified value of PageNumber is not supported.', 'description' => ''], + ['errorCode' => 'InvalidPageSize.ValueNotSupported', 'errorMessage' => 'The specified value of PageSize is invalid.', 'description' => ''], + ['errorCode' => 'InvalidDomainStatus.ValueNotSupported', 'errorMessage' => 'The specified value of DomainStatus is invalid.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ['errorCode' => 'InvalidDomainSearchType.ValueNotSupported', 'errorMessage' => 'The specified value of DomainSearchType is invalid.', 'description' => ''], + ['errorCode' => 'InvalidChangeStartTime.Malformed', 'errorMessage' => 'The specified ChangeStartTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidChangeEndTime.Malformed', 'errorMessage' => 'The specified ChangeEndTime is invalid.', 'description' => ''], + ['errorCode' => 'InvalidCdnType.Malformed', 'errorMessage' => 'The specified CdnType is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertExpireTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertLife\\": \\"months\\",\\n \\"Status\\": \\"success\\",\\n \\"CertUpdateTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertDomainName\\": \\"example.com\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertOrg\\": \\"Let\'s Encrypt\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CertStartTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"CertType\\": \\"free\\",\\n \\"CertName\\": \\"example.com\\",\\n \\"DomainCnameStatus\\": \\"ok\\",\\n \\"ServerCertificate\\": \\"asdadaxxxx\\",\\n \\"CertId\\": \\"9002448\\",\\n \\"CertRegion\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainCertificateInfoResponse>\\n <RequestId>5C1E43DC-9E51-4771-82C0-7D5ECEB547A1</RequestId>\\n <CertInfos>\\n <CertExpireTime>2018-06-03T22:03:39Z</CertExpireTime>\\n <CertLife>months</CertLife>\\n <Status>success</Status>\\n <CertUpdateTime>2018-06-03T22:03:39Z</CertUpdateTime>\\n <CertDomainName>example.com</CertDomainName>\\n <ServerCertificateStatus>on</ServerCertificateStatus>\\n <CertOrg>Let\'s Encrypt</CertOrg>\\n <DomainName>example.com</DomainName>\\n <CertStartTime>2018-06-03T22:03:39Z</CertStartTime>\\n <CertType>free</CertType>\\n <CertName>example.com</CertName>\\n <DomainCnameStatus>ok</DomainCnameStatus>\\n <ServerCertificate>asdadaxxxx</ServerCertificate>\\n </CertInfos>\\n</DescribeDomainCertificateInfoResponse>","errorExample":""}]', - 'title' => '查询域名证书信息', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BDA62CE4-3477-439A-B52E-D2D7C829D7C1\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Domains\\": {\\n \\"PageData\\": [\\n {\\n \\"SslProtocol\\": \\"on\\",\\n \\"Sandbox\\": \\"true\\",\\n \\"GmtModified\\": \\"2015-10-28T11:05:52Z\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainId\\": 11223344,\\n \\"GmtCreated\\": \\"2015-10-28T09:32:51Z\\",\\n \\"Description\\": \\"filing description\\",\\n \\"Coverage\\": \\"domestic\\",\\n \\"ResourceGroupId\\": \\"abcd1234abcd1234\\",\\n \\"Cname\\": \\"example.com.w.alikunlun.net\\",\\n \\"DomainStatus\\": \\"configure_failed\\",\\n \\"CdnType\\": \\"download\\",\\n \\"Sources\\": {\\n \\"Source\\": [\\n {\\n \\"Type\\": \\"oss\\",\\n \\"Weight\\": \\"15\\",\\n \\"Priority\\": \\"20\\",\\n \\"Port\\": 80,\\n \\"Content\\": \\"***.oss-cn-hangzhou.aliyuncs.com\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserDomainsResponse>\\n <RequestId>BDA62CE4-3477-439A-B52E-D2D7C829D7C1</RequestId>\\n <PageNumber>1</PageNumber>\\n <PageSize>20</PageSize>\\n <TotalCount>2</TotalCount>\\n <Domains>\\n <SslProtocol>on</SslProtocol>\\n <Sandbox>normal</Sandbox>\\n <GmtModified>2015-10-28T11:05:52Z</GmtModified>\\n <DomainName>example.com</DomainName>\\n <DomainId>11223344</DomainId>\\n <GmtCreated>2015-10-28T09:32:51Z</GmtCreated>\\n <Description>filing description</Description>\\n <Coverage>domestic</Coverage>\\n <ResourceGroupId>abcd1234abcd1234</ResourceGroupId>\\n <Cname>example.com.w.alikunlun.net</Cname>\\n <DomainStatus>configure_failed</DomainStatus>\\n <CdnType>download</CdnType>\\n <Sources>\\n <Type>oss</Type>\\n <Weight>15</Weight>\\n <Priority>20</Priority>\\n <Port>80</Port>\\n <Content>***.oss-cn-hangzhou.aliyuncs.com</Content>\\n </Sources>\\n </Domains>\\n</DescribeUserDomainsResponse>","errorExample":""}]', + 'title' => '查询用户域名', + 'description' => '- 单用户调用频率:100次/秒。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持50个域名查询。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnCertificateDetail' => [ - 'summary' => '调用DescribeCdnCertificateDetail查询CDN证书详细信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-05-11T03:10:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-08-19T01:14:52.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-06-27T06:09:26.000Z', 'description' => '响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/*'], + ], + ], + ], ], + ], + 'DescribeUserTags' => [ + 'summary' => '调用DescribeUserTags查询用户标签。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111721', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], - ], - 'parameters' => [ - [ - 'name' => 'CertName', - 'in' => 'query', - 'schema' => [ - 'description' => '证书名称,仅支持查询单个。', - 'type' => 'string', - 'required' => true, - 'example' => 'cert-15480655xxxx', - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'cert-15480655xxxx', - ], - 'Key' => [ - 'description' => '证书KEY。', - 'type' => 'string', - 'example' => 'xxxx', - ], - 'Cert' => [ - 'description' => '证书。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\nMIIFzDCCBLSgAwIBxxxx', - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '881049', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB'], + 'Tags' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'env'], + 'Value' => [ + 'description' => '标签值列表。', + 'type' => 'array', + 'items' => ['description' => '标签值。', 'type' => 'string', 'example' => 'product'], + ], + ], + ], ], ], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'InvaildParameter', - 'errorMessage' => 'The parameter you provided is invalid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertName\\": \\"cert-15480655xxxx\\",\\n \\"Key\\": \\"xxxx\\",\\n \\"Cert\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nMIIFzDCCBLSgAwIBxxxx\\",\\n \\"CertId\\": 881049,\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnCertificateDetailResponse>\\n <CertName>cert-15480655xxxx</CertName>\\n <Key>xxxx</Key>\\n <Cert>-----BEGIN CERTIFICATE-----\\\\nMIIFzDCCBLSgAwIBxxxx</Cert>\\n <CertId>881049</CertId>\\n <RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\n</DescribeCdnCertificateDetailResponse>","errorExample":""}]', - 'title' => '查询证书详情', - 'description' => '> 单用户调用频率:20次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": [\\n \\"product\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserTagsResponse>\\n <Tags>\\n <Key>env</Key>\\n <Value>product</Value>\\n <Value>pre</Value>\\n <Value>daily</Value>\\n </Tags>\\n <Tags>\\n <Key>region</Key>\\n <Value>hangzhou</Value>\\n </Tags>\\n <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</DescribeUserTagsResponse>","errorExample":""}]', + 'title' => '查询用户标签', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnCertificateList' => [ - 'summary' => '调用DescribeCdnCertificateList按照域名查询证书列表信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-01-05T07:38:43.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUserUsageDataExportTask' => [ + 'summary' => '调用DescribeUserUsageDataExportTask查询用户最近三个月的用量导出任务信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111722', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111844', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" - ."\n" - .'如果不传入该参数,默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '分页大小。默认值:**20**;最大值:**50**。'."\n" + ."\n" + .'取值:**1**~**50**之间的任意整数。'."\n", 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '取得第几页,取值范围:**1**~**100000**。'."\n", 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -16701,104 +15158,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FC0E34AC-0239-44A7-AB0E-800DE522C8DA', - ], - 'CertificateListModel' => [ - 'description' => 'CertificateListModel类型。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52'], + 'UsageDataPerPage' => [ + 'description' => '每页的用量数据。', 'type' => 'object', 'properties' => [ - 'Count' => [ - 'description' => '证书个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CertList' => [ + 'PageSize' => ['description' => '每页记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Cert' => [ - 'description' => '证书列表信息。', + 'DataItem' => [ + 'description' => '任务信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LastTime' => [ - 'description' => '时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1512388610', - ], - 'Fingerprint' => [ - 'description' => '证书指纹。', - 'type' => 'string', - 'example' => '2ED68FD33786C5B42950D40A6C50353575BB****', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => '证书1', - ], - 'Issuer' => [ - 'description' => '证书发行商。', - 'type' => 'string', - 'example' => 'CO****', - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Common' => [ - 'description' => '证书中的CN属性,一般是一个域名。', - 'type' => 'string', - 'example' => 'example.com', + 'Status' => ['description' => '任务状态。'."\n" + .'- created:创建中。'."\n" + .'- success:成功。'."\n" + .'- failed:失败。'."\n", 'type' => 'string', 'example' => 'success'], + 'UpdateTime' => ['description' => '任务最后更新时间。', 'type' => 'string', 'example' => '2019-12-31T08:45:02Z'], + 'DownloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://cdn-polaris.xxxx'], + 'CreateTime' => ['description' => '任务创建时间。', 'type' => 'string', 'example' => '2019-12-31T08:43:21Z'], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'Refresh'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977'], + 'TaskConfig' => [ + 'description' => '任务配置。', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '用量结束时间。', 'type' => 'string', 'example' => '2019-12-30T15:59:59Z'], + 'StartTime' => ['description' => '用量起始时刻。', 'type' => 'string', 'example' => '2019-12-29T16:00:00Z'], + ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'FlowControlError', - 'errorMessage' => 'The request was denied due to flow control.', - ], - ], - ], - 'staticInfo' => [ - 'substitutions' => [ - 'Cdn::2018-05-10::DescribeCdnSSLCertificateList', + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FC0E34AC-0239-44A7-AB0E-800DE522C8DA\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"LastTime\\": 1512388610,\\n \\"Fingerprint\\": \\"2ED68FD33786C5B42950D40A6C50353575BB****\\",\\n \\"CertName\\": \\"证书1\\",\\n \\"Issuer\\": \\"CO****\\",\\n \\"CertId\\": 1,\\n \\"Common\\": \\"example.com\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"CertName\\": \\"证书1\\",\\n \\"Issuer\\": \\"xxx\\",\\n \\"LastTime\\": 1512388610,\\n \\"CertId\\": xxx,\\n \\"Common\\": \\"test\\",\\n \\"Fingerprint\\": \\"xxx\\"\\n },\\n {\\n \\"CertName\\": \\"证书2\\",\\n \\"Issuer\\": \\"xxx\\",\\n \\"LastTime\\": 1512388659,\\n \\"CertId\\": xxx,\\n \\"Common\\": \\"test\\",\\n \\"Fingerprint\\": \\"xxx\\"\\n }\\n ]\\n }\\n },\\n \\"RequestId\\": \\"FC0E34AC-0239-44A7-AB0E-800DE522C8DA\\"\\n}"},{"type":"xml","example":"<DescribeCdnCertificateListResponse>\\n<Count>2</Count>\\n<CertList>\\n <Cert>\\n <CertName>证书1</CertName>\\n <Issuer>CO****</Issuer>\\n <LastTime>1512388610</LastTime>\\n <CertId>1</CertId>\\n <Common>test</Common>\\n <Fingerprint>2ED68FD33786C5B42950D40A6C50353575BB****</Fingerprint>\\n </Cert>\\n <Cert>\\n <CertName>证书2</CertName>\\n <Issuer>CO****</Issuer>\\n <LastTime>1512388659</LastTime>\\n <CertId>2</CertId>\\n <Common>test</Common>\\n <Fingerprint>2ED68FD33786C5B42950D40A6C50353575BB****</Fingerprint>\\n </Cert>\\n</CertList>\\n<RequestId>FC0E34AC-0239-44A7-AB0E-800DE522C8DA</RequestId>\\n<DescribeCdnCertificateListResponse>","errorExample":""}]', - 'title' => '查询证书列表-按域名', - 'description' => '> 单用户调用频率:30次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"UpdateTime\\": \\"2019-12-31T08:45:02Z\\",\\n \\"DownloadUrl\\": \\"https://cdn-polaris.xxxx\\",\\n \\"CreateTime\\": \\"2019-12-31T08:43:21Z\\",\\n \\"TaskName\\": \\"Refresh\\",\\n \\"TaskId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977\\",\\n \\"TaskConfig\\": {\\n \\"EndTime\\": \\"2019-12-30T15:59:59Z\\",\\n \\"StartTime\\": \\"2019-12-29T16:00:00Z\\"\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"TaskId\\": 11,\\n \\"UpdateTime\\": \\"2018-10-09T06:35:01Z\\",\\n \\"DownloadUrl\\": \\"example.com\\",\\n \\"UpdateTime\\": \\"2018-10-09T06:35:46Z\\",\\n \\"CreateTime\\": \\"2018-10-09T06:33:38Z\\",\\n \\"Status\\": \\"success\\"\\n \\"TaskConfig\\": {\\n \\"StartTime\\": \\"2018-07-31T16:00:00Z\\",\\n \\"EndTime\\": \\"2018-08-31T15:59:59Z\\"\\n },\\n }\\n ]\\n }\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeUserUsageDataExportTaskResponse>\\r\\n\\t<UsageDataPerPage>\\r\\n\\t\\t<Data>\\r\\n\\t\\t\\t<DataItem>\\r\\n\\t\\t\\t\\t<Status>success</Status>\\r\\n\\t\\t\\t\\t<TaskConfig>\\r\\n\\t\\t\\t\\t\\t<EndTime>2019-12-30T15:59:59Z</EndTime>\\r\\n\\t\\t\\t\\t\\t<StartTime>2019-12-29T16:00:00Z</StartTime>\\r\\n\\t\\t\\t\\t</TaskConfig>\\r\\n\\t\\t\\t\\t<CreateTime>2019-12-31T08:43:21Z</CreateTime>\\r\\n\\t\\t\\t\\t<DownloadUrl>https://cdn-polaris.xxxx</DownloadUrl>\\r\\n\\t\\t\\t\\t<UpdateTime>2019-12-31T08:45:02Z</UpdateTime>\\r\\n\\t\\t\\t\\t<TaskId>11584</TaskId>\\r\\n\\t\\t\\t\\t<TaskName></TaskName>\\r\\n\\t\\t\\t</DataItem>\\r\\n\\t\\t</Data>\\r\\n\\t\\t<PageNumber>1</PageNumber>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<PageSize>10</PageSize>\\r\\n\\t</UsageDataPerPage>\\r\\n\\t<RequestId>FB7EC32A-356A-4B33-BA59-6DB1FFF61FD2</RequestId>\\r\\n </DescribeUserUsageDataExportTaskResponse>","errorExample":""}]', + 'title' => '查询用量数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnSSLCertificateList' => [ - 'summary' => '调用DescribeCdnSSLCertificateList按照域名查询证书列表信息。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:28.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserUsageDataExportTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeUserUsageDetailDataExportTask' => [ + 'summary' => '调用DescribeUserUsageDetailDataExportTask查询您账户下单个或多个域名5分钟明细数据的导出任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16807,57 +15254,24 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '168239', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111845', + 'abilityTreeNodes' => ['FEATUREcdnNZNXYV'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com'."\n", - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。默认值:**1** 。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。'."\n" - .'取值:**1**~**1000**之间的任意整数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - 'default' => '1000', - ], + 'schema' => ['description' => '分页大小。默认值:**20**;最大值:**50**。'."\n" + ."\n" + .'取值:**1**~**50**之间的任意整数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'SearchKeyword', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '证书名称模糊查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'certabc', - ], + 'schema' => ['description' => '取得第几页,取值范围:**1**~**100000**。'."\n", 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -16865,169 +15279,118 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC', - ], - 'CertificateListModel' => [ - 'description' => '证书列表信息。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52'], + 'UsageDataPerPage' => [ + 'description' => '每页的用量数据。', 'type' => 'object', 'properties' => [ - 'Count' => [ - 'description' => '证书数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CertList' => [ + 'PageSize' => ['description' => '每页记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总记录数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Cert' => [ - 'description' => '证书列表信息。', + 'DataItem' => [ + 'description' => '任务信息。', 'type' => 'array', 'items' => [ - 'description' => '证书列表信息。', 'type' => 'object', 'properties' => [ - 'LastTime' => [ - 'description' => '证书过期时间。单位:毫秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1679896965', - ], - 'Fingerprint' => [ - 'description' => '证书指纹。', - 'type' => 'string', - 'example' => '933c6ddee95c9c41a40f9f50493d82be03ad87bf', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => '证书1', - ], - 'Issuer' => [ - 'description' => '证书发行商。', - 'type' => 'string', - 'example' => 'yourCertIssuer', - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9128192', - ], - 'Common' => [ - 'description' => '证书中的CN属性,一般是一个域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CertRegion' => [ - 'description' => '证书所在地域。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou** 。', - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'Status' => ['description' => '任务状态。'."\n", 'type' => 'string', 'example' => 'success'], + 'UpdateTime' => ['description' => '任务最后更新时间。', 'type' => 'string', 'example' => '2018-10-09T06:35:46Z'], + 'DownloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx'], + 'CreateTime' => ['description' => '任务创建时间。', 'type' => 'string', 'example' => '2018-10-09T06:33:38Z'], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'Refresh'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '11'], + 'TaskConfig' => [ + 'description' => '任务配置。', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '查询用量数据的结束时间。', 'type' => 'string', 'example' => '2018-08-31T15:59:59Z'], + 'StartTime' => ['description' => '查询用量数据的起始时间。', 'type' => 'string', 'example' => '2018-07-31T16:00:00Z'], + ], ], ], + 'description' => '', ], ], ], - ], - 'PageNumber' => [ - 'description' => '当前页数,起始值为1,默认为1。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '每页大小,取值:1~1000之间的任意整数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', + 'description' => '', ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotFoundCertList', - 'errorMessage' => 'The certList is null.', - ], - [ - 'errorCode' => 'InternalException', - 'errorMessage' => 'Internal occasional exception, please try again later.', - ], + ['errorCode' => 'InvalidParameterProduct', 'errorMessage' => 'Invalid Parameter Product.', 'description' => 'Product参数错误'], + ['errorCode' => 'InvalidParameterOperator', 'errorMessage' => 'Invalid Parameter Operator.', 'description' => 'Operator参数错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\",\\n \\"UsageDataPerPage\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Data\\": {\\n \\"DataItem\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"UpdateTime\\": \\"2018-10-09T06:35:46Z\\",\\n \\"DownloadUrl\\": \\"https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx\\",\\n \\"CreateTime\\": \\"2018-10-09T06:33:38Z\\",\\n \\"TaskName\\": \\"Refresh\\",\\n \\"TaskId\\": \\"11\\",\\n \\"TaskConfig\\": {\\n \\"EndTime\\": \\"2018-08-31T15:59:59Z\\",\\n \\"StartTime\\": \\"2018-07-31T16:00:00Z\\"\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":"{\\n \\"TotalCount\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"UsageDataPerPage\\": {\\n \\"UsageData\\": [\\n {\\n \\"StartTime\\": \\"2017-12-10T00:00:00Z\\",\\n \\"EndTime\\": \\"2017-12-11T00:00:00Z\\",\\n \\"CreateTime\\": \\"2017-12-15T12:33:10Z\\",\\n \\"ModifyTime\\": \\"2017-12-15T12:38:49Z\\",\\n \\"TaskName\\":\\"测试任务\\",\\n \\"TaskId\\":\\"34230590834\\"\\n \\"Status\\": \\"Success\\",\\n \\"DownloadUrl\\":\\"http://example.com/xxxx/xxxx.pdf\\",\\n \\"UpdateTime\\": \\"2017-12-15T12:41:49Z\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"B955107D-E658-4E77-B913-E0AC3D31693E\\"\\n}"},{"type":"xml","example":"<DescribeUserUsageDetailDataExportTaskResponse>\\n<RequestId>A91BE91F-0B34-4CBF-8E0F-A2977E15AA52</RequestId>\\n<UsageDataPerPage>\\n <PageSize>10</PageSize>\\n <TotalCount>1</TotalCount>\\n <PageNumber>1</PageNumber>\\n <Data>\\n <DataItem>\\n <TaskId>11</TaskId>\\n <UpdateTime>2018-10-09T06:35:46Z</UpdateTime>\\n <DownloadUrl>https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx</DownloadUrl>\\n <CreateTime>2018-10-09T06:33:38Z</CreateTime>\\n <Status>success</Status>\\n <TaskConfig>\\n <StartTime>2018-07-31T16:00:00Z</StartTime>\\n <EndTime>2018-08-31T15:59:59Z</EndTime>\\n </TaskConfig>\\n </DataItem>\\n </Data>\\n</UsageDataPerPage>\\n</DescribeUserUsageDetailDataExportTaskResponse>","errorExample":""}]', + 'title' => '查询用量明细导出任务详情', + 'description' => '- 该功能从2018年7月20日开始,最长可查询近三个月的数据。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:13.000Z', 'description' => 'OpenAPI 下线'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"LastTime\\": 1679896965,\\n \\"Fingerprint\\": \\"933c6ddee95c9c41a40f9f50493d82be03ad87bf\\",\\n \\"CertName\\": \\"证书1\\",\\n \\"Issuer\\": \\"yourCertIssuer\\",\\n \\"CertId\\": 9128192,\\n \\"Common\\": \\"example.com\\",\\n \\"CertRegion\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 2,\\n \\"PageSize\\": 20\\n }\\n}","type":"json"}]', - 'title' => '查询证书列表-按域名', - ], - 'DescribeCdnHttpsDomainList' => [ - 'summary' => '调用DescribeCdnHttpsDomainList查询用户所有证书信息。', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserUsageDetailDataExportTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserUsageDetailDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUserVipsByDomain' => [ + 'summary' => '调用DescribeUserVipsByDomain查询域名的IP列表。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111731', - 'abilityTreeNodes' => [ - 'FEATUREcdnD4PEWG', - 'FEATUREcdn4R6KLH', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '取得第几页,取值范围为:**1**~**100000**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,默认**20**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => '域名,只支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'Keyword', + 'name' => 'Available', 'in' => 'query', 'schema' => [ - 'description' => '搜索关键字。', + 'description' => '是否查询健康VIP。取值:'."\n" + ."\n" + .'- **on**:健康VIP。'."\n" + .'- **off**:全部VIP。', 'type' => 'string', 'required' => false, - 'example' => 'com', + 'enumValueTitles' => ['off' => '全部VIP', 'on' => '健康VIP'], + 'example' => 'on', + 'enum' => ['on', 'off'], ], ], ], @@ -17036,78 +15399,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F5E8DF64-7175-4186-9B06-F002C0BBD0C5', - ], - 'CertInfos' => [ + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '820E7900-5CA9-4AEF-B0DD-20ED5F64BE55'], + 'Vips' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'CertInfo' => [ - 'description' => '证书信息列表。', + 'Vip' => [ + 'description' => 'VIP地址列表。', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CertStartTime' => [ - 'description' => '证书开始时间。', - 'type' => 'string', - 'example' => '2018-11-26 14:45:09', - ], - 'CertExpireTime' => [ - 'description' => '证书过期时间。', - 'type' => 'string', - 'example' => '2018-12-26 14:45:09', - ], - 'CertUpdateTime' => [ - 'description' => '证书更新时间。', - 'type' => 'string', - 'example' => '2019-01-08 18:33:16', - ], - 'CertType' => [ - 'description' => '证书类型。'."\n" - .'- **free**:免费证书。'."\n" - ."\n" - .'- **cas**:云盾证书。'."\n" - ."\n" - .'- **upload**:自定义上传。'."\n", - 'type' => 'string', - 'example' => 'free', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'CertStatus' => [ - 'description' => '证书状态。'."\n" - .'- **ok**:正常。'."\n" - .'- **mismatch**:域名与证书不匹配。'."\n" - .'- **expired**:已过期。'."\n" - .'- **expire_soon**:即将过期。', - 'type' => 'string', - 'example' => 'mismatch', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CertCommonName' => [ - 'description' => '证书主域名。', - 'type' => 'string', - 'example' => 'example.org', - ], - ], - ], + 'items' => ['description' => 'VIP地址。', 'type' => 'string', 'example' => '122.72.xxx.xxx'], ], ], ], @@ -17117,199 +15418,48 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoHttpsDomain', - 'errorMessage' => 'Your account doesn\'t have https domain.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified value of parameter "DomainName" can not be empty.', 'description' => ''], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided is offline or not exist.', 'description' => ''], + ['errorCode' => 'IllegalOperation', 'errorMessage' => 'Illegal domain operate is not permitted.', 'description' => '域名不支持当前操作'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 16,\\n \\"RequestId\\": \\"F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertStartTime\\": \\"2018-11-26 14:45:09\\",\\n \\"CertExpireTime\\": \\"2018-12-26 14:45:09\\",\\n \\"CertUpdateTime\\": \\"2019-01-08 18:33:16\\",\\n \\"CertType\\": \\"free\\",\\n \\"CertName\\": \\"test\\",\\n \\"CertStatus\\": \\"mismatch\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CertCommonName\\": \\"example.org\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnHttpsDomainListResponse>\\n <CertInfos>\\n <CertInfo>\\n <CertUpdateTime>2019-01-08 18:33:16</CertUpdateTime>\\n <CertType>free</CertType>\\n <CertName>test</CertName>\\n <DomainName>example.com</DomainName>\\n <CertStatus>mismatch</CertStatus>\\n <CertExpireTime>2018-12-26 14:45:09</CertExpireTime>\\n <CertStartTime>2018-11-26 14:45:09</CertStartTime>\\n <CertCommonName>example.org</CertCommonName>\\n </CertInfo>\\n </CertInfos>\\n <TotalCount>16</TotalCount>\\n <RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>\\n</DescribeCdnHttpsDomainListResponse>","errorExample":""}]', - 'title' => '查询证书列表', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\",\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"122.72.xxx.xxx\\"\\n ]\\n }\\n}","errorExample":"{\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"122.72.xxx.xxx\\",\\n \\"119.14.xxx.xxx\\",\\n \\"221.13.xxx.xxx\\",\\n \\"124.95.xxx.xxx\\",\\n \\"58.211.xxx.xxx\\"\\n ]\\n },\\n \\"RequestId\\": \\"820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\",\\n \\"DomainName\\": \\"example.com\\"\\n}"},{"type":"xml","example":"<DescribeUserVipsByDomainResponse>\\r\\n\\t<Vips>\\r\\n\\t\\t<Vip>122.72.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>119.14.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>221.13.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>124.95.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>58.211.xxx.xxx</Vip>\\r\\n\\t</Vips>\\r\\n\\t<RequestId>820E7900-5CA9-4AEF-B0DD-20ED5F64BE55</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n</DescribeUserVipsByDomainResponse>","errorExample":""}]', + 'title' => '查询节点IP列表-L1', + 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCertificateInfoByID' => [ - 'summary' => '调用DescribeCertificateInfoByID按照证书ID查询指定证书信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111756', - 'abilityTreeNodes' => [ - 'FEATUREcdnD4PEWG', - 'FEATUREcdn4R6KLH', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'CertId', - 'in' => 'query', - 'schema' => [ - 'description' => '证书ID,仅支持查询单个。', - 'type' => 'string', - 'required' => true, - 'example' => '1644xx', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '5C1E43DC-9E51-4771-82C0-7D5ECEB547A1', - ], - 'CertInfos' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'CertInfo' => [ - 'description' => '证书信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CertExpireTime' => [ - 'description' => '证书过期时间。', - 'type' => 'string', - 'example' => '2098-02-08 08:02:07 +0000 UTC', - ], - 'CreateTime' => [ - 'description' => '证书开始时间。', - 'type' => 'string', - 'example' => '2015-12-21 08:02:07 +0000 UTC', - ], - 'CertType' => [ - 'description' => '证书类型。'."\n" - .'- free:免费证书。'."\n" - ."\n" - .'- cas:云盾证书。'."\n" - ."\n" - .'- upload:自定义上传。', - 'type' => 'string', - 'example' => 'cas', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'example_cert', - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'example' => '1644xx', - ], - 'DomainList' => [ - 'description' => '使用此证书的域名列表。', - 'type' => 'string', - 'example' => '["example.com"]', - ], - 'HttpsCrt' => [ - 'description' => '证书内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\nxxx-----END CERTIFICATE-----\\n', - ], - ], - ], - ], - ], - ], + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserVipsByDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'CertNotExisted', - 'errorMessage' => 'The Cert doesn\'t exist.', - ], - ], - 403 => [ - [ - 'errorCode' => 'SignatureDoesNotMatch', - 'errorMessage' => 'The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"CertExpireTime\\": \\"2098-02-08 08:02:07 +0000 UTC\\",\\n \\"CreateTime\\": \\"2015-12-21 08:02:07 +0000 UTC\\",\\n \\"CertType\\": \\"cas\\",\\n \\"CertName\\": \\"example_cert\\",\\n \\"CertId\\": \\"1644xx\\",\\n \\"DomainList\\": \\"[\\\\\\"example.com\\\\\\"]\\",\\n \\"HttpsCrt\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nxxx-----END CERTIFICATE-----\\\\\\\\n\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCertificateInfoByIDResponse>\\n <RequestId>5C1E43DC-9E51-4771-82C0-7D5ECEB547A1</RequestId>\\n <CertInfos>\\n <CertExpireTime>2098-02-08 08:02:07 +0000 UTC</CertExpireTime>\\n <CreateTime>2015-12-21 08:02:07 +0000 UTC</CreateTime>\\n <CertType>cas</CertType>\\n <CertName>example_cert</CertName>\\n <CertId>1644xx</CertId>\\n <DomainList>[\\"example.com\\"]</DomainList>\\n <HttpsCrt>-----BEGIN CERTIFICATE-----\\\\nxxx-----END CERTIFICATE-----\\\\n</HttpsCrt>\\n </CertInfos>\\n</DescribeCertificateInfoByIDResponse>","errorExample":""}]', - 'title' => '查询证书信息-按ID', - 'description' => '- 单用户调用频率:100次/秒。'."\n" - .'- 域名绑定证书后,但证书未启用时,通过该接口查询会提示证书不存在。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeCdnCertificateDetailById' => [ - 'summary' => '调用DescribeCdnCertificateDetailById根据证书ID获取证书详细信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVerifyContent' => [ + 'summary' => '调用DescribeVerifyContent查询归属校验内容。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '168240', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'CertId', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - 'pattern' => '^\\d+$', - ], - ], - [ - 'name' => 'CertRegion', - 'in' => 'query', - 'schema' => [ - 'description' => '证书Region。取值:'."\n" - .'- **ap-southeast-1**(新加坡)'."\n" - .'- **cn-hangzhou**(杭州)'."\n" - ."\n" - .'默认值为**cn-hangzhou**。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ap-southeast-1' => 'ap-southeast-1', - 'cn-hangzhou' => 'cn-hangzhou', - ], - 'example' => 'cn-hangzhou'."\n", - ], + 'schema' => ['description' => '只支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -17317,131 +15467,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'yourCertName'."\n", - ], - 'Key' => [ - 'description' => '证书公钥。', - 'type' => 'string', - 'example' => '587f6db37e3a2f01047b032b739cbe31'."\n", - ], - 'Cert' => [ - 'description' => '证书内容。', - 'type' => 'string', - 'example' => '-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----'."\n", - ], - 'CertId' => [ - 'description' => '证书ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E'."\n", - ], + 'Content' => ['description' => '校验内容。', 'type' => 'string', 'example' => 'verify_dffeb6610035dcb77b413a59c32cd91f'], + 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidCertId.NotFound', - 'errorMessage' => 'The certId does not exist.', - ], - [ - 'errorCode' => 'Abs.CertRegion.ValueNotSupported', - 'errorMessage' => 'CertRegion is not supported.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CertName\\": \\"yourCertName\\\\n\\",\\n \\"Key\\": \\"587f6db37e3a2f01047b032b739cbe31\\\\n\\",\\n \\"Cert\\": \\"-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----\\\\n\\",\\n \\"CertId\\": 12345,\\n \\"RequestId\\": \\"C370DAF1-C838-4288-A1A0-9A87633D248E\\\\n\\"\\n}","type":"json"}]', - 'title' => '查询证书详情-按ID', - ], - 'DescribeUserCertificateExpireCount' => [ - 'summary' => '调用DescribeUserCertificateExpireCount查询用户证书过期的域名数。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111840', - 'abilityTreeNodes' => [ - 'FEATUREcdnD4PEWG', - 'FEATUREcdn4R6KLH', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ExpireWithin30DaysCount' => [ - 'description' => '30天内证书即将过期的域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F5E8DF64-7175-4186-9B06-F002C0BBD0C5', - ], - 'ExpiredCount' => [ - 'description' => '证书已过期的域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NoHttpsDomain', - 'errorMessage' => 'Your account doesn\'t have https domain.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireWithin30DaysCount\\": 0,\\n \\"RequestId\\": \\"F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\",\\n \\"ExpiredCount\\": 6\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserCertificateExpireCountResponse>\\n <ExpireWithin30DaysCount>0</ExpireWithin30DaysCount>\\n <RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>\\n <ExpiredCount>6</ExpiredCount>\\n</DescribeUserCertificateExpireCountResponse>","errorExample":""}]', - 'title' => '查询证书过期的域名数', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32cd91f\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeVerifyContentResponse>\\n<Content>verify_dffeb6610035dcb77b413a59c32cd91f</Content>\\n<RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</DescribeVerifyContentResponse>","errorExample":""}]', + 'title' => '查询校验归属权内容', 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateCdnCertificateSigningRequest' => [ - 'summary' => '调用CreateCdnCertificateSigningRequest创建 CSR(证书签名请求)文件。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeVerifyContent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DisableRealtimeLogDelivery' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17449,98 +15504,32 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '111691', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111855', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'CommonName', - 'in' => 'query', - 'schema' => [ - 'description' => '证书通用名称CN字段。', - 'type' => 'string', - 'required' => true, - 'example' => 'CommonName', - ], - ], - [ - 'name' => 'SANs', - 'in' => 'query', - 'schema' => [ - 'description' => '证书扩展字段,绑定的域名,多个域名用逗号(,)分隔。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Organization', - 'in' => 'query', - 'schema' => [ - 'description' => '机构名称,默认:Alibaba Inc。', - 'type' => 'string', - 'required' => false, - 'example' => 'Alibaba Inc', - 'default' => 'Alibaba Inc.', - ], - ], - [ - 'name' => 'OrganizationUnit', - 'in' => 'query', - 'schema' => [ - 'description' => '部门名称,默认:Aliyun CDN。', - 'type' => 'string', - 'required' => false, - 'example' => 'Aliyun CDN', - 'default' => 'Aliyun CDN', - ], - ], - [ - 'name' => 'Country', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '所属国家,默认:CN。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - 'default' => 'CN', - ], + 'schema' => ['description' => '暂停实时日志投递服务域名,多个用英文逗号(,)分隔。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'State', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => '省级地区,默认:Zhejiang。', - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - 'default' => 'Zhejiang', - ], + 'schema' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'required' => false, 'example' => 'ProjectName'], ], [ - 'name' => 'City', + 'name' => 'Logstore', 'in' => 'query', - 'schema' => [ - 'description' => '市级地区,默认:Hangzhou。', - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - 'default' => 'Hangzhou', - ], + 'schema' => ['description' => '实时投递sls的LogStoreName。'."\n", 'type' => 'string', 'required' => false, 'example' => 'LogstoreName'], ], [ - 'name' => 'Email', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '邮箱。', - 'type' => 'string', - 'required' => false, - 'example' => 'username@example.com', - ], + 'schema' => ['description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -17548,77 +15537,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', - ], - 'PubMd5' => [ - 'description' => '证书公钥信息Md5值。', - 'type' => 'string', - 'example' => '629bf4fd8104eda171135bcb0f77****', - ], - 'Csr' => [ - 'description' => '证书签名请求文件内容。', - 'type' => 'string', - 'example' => 'CSRName', - ], - 'CommonName' => [ - 'description' => '证书通用名称。', - 'type' => 'string', - 'example' => 'CommonName', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidValue.Malformed', - 'errorMessage' => 'Country must be 2 characters.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'Internal.KeyError', - 'errorMessage' => 'Failed to generate rsa key.', - ], - [ - 'errorCode' => 'Internal.CreateCSRError', - 'errorMessage' => 'Failed to create CSR.', - ], - [ - 'errorCode' => 'Internal.EncodeCSRError', - 'errorMessage' => 'Failed to encode CSR.', - ], - [ - 'errorCode' => 'Internal.EncodeKeyError', - 'errorMessage' => 'Failed to encode private key.', - ], - [ - 'errorCode' => 'Internal.Error', - 'errorMessage' => 'The request processing has failed due to backend service exception.', - ], + 404 => [ + ['errorCode' => 'Domain.NotFound', 'errorMessage' => 'Domain not found', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\",\\n \\"PubMd5\\": \\"629bf4fd8104eda171135bcb0f77****\\",\\n \\"Csr\\": \\"CSRName\\",\\n \\"CommonName\\": \\"CommonName\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\n<CommonName>CommonName</CommonName>\\n<Csr>-----BEGIN CERTIFICATE REQUEST-----\\nMIIC/zqT****\\n-----END CERTIFICATE REQUEST-----\\n</Csr>\\n<PubMd5>629bf4fd8104eda171135bcb0f77****</PubMd5>","errorExample":""}]', - 'title' => '创建证书签名请求', + 'title' => '暂停实时日志投递', + 'summary' => '调用DisableRealtimeLogDelivery暂停域名实时日志投递。', 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SetCdnDomainCSRCertificate' => [ - 'summary' => '调用SetCdnDomainCSRCertificate设置指定域名下的HTTPS证书。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-13T03:45:30.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:DisableRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<DisableRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</DisableRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'EnableRealtimeLogDelivery' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17627,31 +15593,31 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '111887', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111857', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'ServerCertificate', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '证书内容。该证书必须是通过[CreateCdnCertificateSigningRequest](~~144478~~)接口创建的CSR对应的签名证书,内部必须是PEM格式的证书,Base64编码后再通过encodeURIComponent。', - 'type' => 'string', - 'required' => true, - 'example' => '----BEGIN CERTIFICATE----- MIIFz****-----END CERTIFICATE-----', - ], + 'schema' => ['description' => '开启实时日志投递服务域名,多个域名之间使用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'DomainName', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => '要设置的加速域名,需属于HTTPS加速类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'required' => false, 'example' => 'ProjectName'], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的LogStoreName。'."\n", 'type' => 'string', 'required' => false, 'example' => 'LogstoreName'], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => '实时投递SLS的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -17659,165 +15625,110 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Certificate.MissingParameter', - 'errorMessage' => 'You must specify the Certificate parameter.', - ], - [ - 'errorCode' => 'Certificate.EncodeError', - 'errorMessage' => 'An error occurred while encoding the certificate.', - ], - [ - 'errorCode' => 'Certificate.DecodeError', - 'errorMessage' => 'An error occurred while decoding the certificate.', - ], - [ - 'errorCode' => 'Certificate.FormatError', - 'errorMessage' => 'The format of the certificate is invalid.', - ], - [ - 'errorCode' => 'Certificate.MissMatch', - 'errorMessage' => 'The certificate does not match the domain.', - ], - [ - 'errorCode' => 'Certificate.NoPrivateKey', - 'errorMessage' => 'The private key of the certificate does not exist.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'Internal.ForbidError', - 'errorMessage' => 'You cannot modify the configurations when some features of the domain are in a canary deployment.', - ], - [ - 'errorCode' => 'Internal.ConfigError', - 'errorMessage' => 'An error occurred while configuring the certificate.', - ], + 404 => [ + ['errorCode' => 'Domain.NotFound', 'errorMessage' => 'Domain not found', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainCSRCertificateResponse>\\r\\n<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</SetCdnDomainCSRCertificateResponse>","errorExample":""}]', - 'title' => '设置CSR证书', + 'title' => '开启实时日志投递', + 'summary' => '调用EnableRealtimeLogDelivery开启域名实时日志投递。', 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SetCdnDomainSMCertificate' => [ - 'summary' => '调用SetCdnDomainSMCertificate设置某域名下国密证书功能是否启用。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-13T03:45:30.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-12-05T03:20:58.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:EnableRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<EnableRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</EnableRealtimeLogDeliveryResponse>\\r\\n\\r\\n","errorExample":""}]', + ], + 'GenerateCdnDiagnose' => [ + 'summary' => '调用GenerateCdnDiagnose根据访问URL生成探测工具链接。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '111888', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197155', + 'abilityTreeNodes' => ['FEATUREcdnORORBI'], ], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '证书所属的加速域名。'."\n" - ."\n" - .'> 证书需属于HTTPS加速类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'CertIdentifier', + 'name' => 'Url', 'in' => 'query', - 'schema' => [ - 'description' => '国密证书ID。'."\n" - .'证书ID+"-cn-hangzhou"。'."\n" - .'如果证书ID=123,CertIdentifier="123-cn-hangzhou"', - 'type' => 'string', - 'required' => true, - 'example' => '1234****-cn-hangzhou', - ], - ], - [ - 'name' => 'SSLProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS证书是否启用。取值:'."\n" - ."\n" - .'- **on**:启用。'."\n" - .'- **off**:不启用。', - 'type' => 'string', - 'required' => true, - 'example' => 'on', - 'enum' => [ - 'on', - 'off', - ], - ], + 'schema' => ['description' => '需要诊断的URL。', 'type' => 'string', 'required' => false, 'example' => 'http://www.example.com/xxx.jpg'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C8', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], + 'Content' => ['description' => '诊断链接URL。', 'type' => 'string', 'example' => 'http://cdn.dns-detect.alicdn.com/diagnose/?id=xxxxxxx'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidCertIdentifier.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter CertIdentifier is not valid.', - ], + ['errorCode' => 'DomainError', 'errorMessage' => 'Sandbox domain', 'description' => '沙箱域名'], + ['errorCode' => 'NoDomianPermission', 'errorMessage' => 'The AliUid does not have permission for the domain.', 'description' => '该域名命中以下情况:该域名不属于该UID、该域名状态非online、未创建该域名,请进入域名列表检查域名状态'], + ['errorCode' => 'CnameError', 'errorMessage' => 'Unmatched CNAME.', 'description' => 'cname不匹配'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C8\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainSMCertificateResponse>\\n <RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C8</RequestId>\\n</SetCdnDomainSMCertificateResponse>","errorExample":""}]', - 'title' => '设置国密证书', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeCdnSMCertificateList' => [ - 'summary' => '调用DescribeCdnSMCertificateList查询指定加速域名下国密证书列表信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '生成诊断链接', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"Content\\": \\"http://cdn.dns-detect.alicdn.com/diagnose/?id=xxxxxxx\\"\\n}","type":"json"}]', + ], + 'ListDomainsByLogConfigId' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17825,22 +15736,17 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111742', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111859', + 'abilityTreeNodes' => ['FEATUREcdnGZSOSW'], ], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'ConfigId', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '自定义配置ID。', 'type' => 'string', 'required' => true, 'example' => '123'], ], ], 'responses' => [ @@ -17848,295 +15754,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DC0E34AC-0239-44A7-AB0E-800DE522C8DC', - ], - 'CertificateListModel' => [ - 'description' => '证书信息类型。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], + 'Domains' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'Count' => [ - 'description' => '证书个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CertList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Cert' => [ - 'description' => '证书列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'yourCertName', - ], - 'Issuer' => [ - 'description' => '证书发行商。', - 'type' => 'string', - 'example' => 'yourCertIssuer', - ], - 'CertIdentifier' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'example' => 'yourCertldentifier', - ], - 'Common' => [ - 'description' => '证书公用名。', - 'type' => 'string', - 'example' => 'yourCertCommon', - ], - ], - ], - ], - ], + 'Domain' => [ + 'description' => '域名列表。', + 'type' => 'array', + 'items' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DC0E34AC-0239-44A7-AB0E-800DE522C8DC\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": {\\n \\"Cert\\": [\\n {\\n \\"CertName\\": \\"yourCertName\\",\\n \\"Issuer\\": \\"yourCertIssuer\\",\\n \\"CertIdentifier\\": \\"yourCertldentifier\\",\\n \\"Common\\": \\"yourCertCommon\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSMCertificateListResponse>\\n<CertificateListModel>\\n <Count>2</Count>\\n <CertList>\\n <Cert>\\n <CertName>yourCertName1</CertName>\\n <Issuer>yourCertIssuer1</Issuer>\\n <CertIdentifier>yourCertIdentifier1</CertIdentifier>\\n <Common>yourCertCommon1</Common>\\n </Cert>\\n <Cert>\\n <CertName>yourCertName2</CertName>\\n <Issuer>yourCertIssuer2</Issuer>\\n <CertIdentifier>yourCertIdentifier2</CertIdentifier>\\n <Common>yourCertCommon2</Common>\\n </Cert>\\n </CertList>\\n</CertificateListModel>\\n<RequestId>DC0E34AC-0239-44A7-AB0E-800DE522C8DC</RequestId>\\n</DescribeCdnSMCertificateListResponse>","errorExample":""}]', - 'title' => '查询国密证书列表', - 'description' => '>单用户调用频率:30次/秒。', + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'InvalidConfigId', 'errorMessage' => 'Illegal ConfigId', 'description' => ''], + ], + [ + ['errorCode' => 'Domains.NotFound', 'errorMessage' => 'No domain used in this log config', 'description' => ''], + ], + ], + 'title' => '查询域名列表-按日志配置ID', + 'summary' => '调用ListDomainsByLogConfigId按日志配置ID查询域名列表。', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnSMCertificateDetail' => [ - 'summary' => '调用DescribeCdnSMCertificateDetail查询国密证书的详细信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111741', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomainsByLogConfigId'], ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'CertIdentifier', - 'in' => 'query', - 'schema' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'required' => true, - 'example' => '648****-cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'CertExpireTime' => [ - 'description' => '证书到期时间,GMT时间。', - 'type' => 'string', - 'example' => '2022-08-31T09:42:28Z', - ], - 'CertIdentifier' => [ - 'description' => '证书ID。', - 'type' => 'string', - 'example' => '648****-cn-hangzhou', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A7C69682-7F88-40DD-A198-10D0309E439D', - ], - 'CommonName' => [ - 'description' => '通用域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'yourCertName', - ], - 'Sans' => [ - 'description' => '扩展域名。', - 'type' => 'string', - 'example' => '***.example.com', - ], - 'SignCertificate' => [ - 'description' => '签名证书内容。', - 'type' => 'string', - 'example' => '--BEGIN CERTIFICATE-----***-----END CERTIFICATE--', - ], - 'CertOrg' => [ - 'description' => '证书颁发机构。', - 'type' => 'string', - 'example' => 'DigiCert Inc', - ], - 'EncryptCertificate' => [ - 'description' => '加密证书内容。', - 'type' => 'string', - 'example' => '-BEGIN CERTIFICATE-----***-----END CERTIFICATE--', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'cdn:ListDomainsByLogConfigId', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidCertIdentifier.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter CertIdentifier is not valid.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertExpireTime\\": \\"2022-08-31T09:42:28Z\\",\\n \\"CertIdentifier\\": \\"648****-cn-hangzhou\\",\\n \\"RequestId\\": \\"A7C69682-7F88-40DD-A198-10D0309E439D\\",\\n \\"CommonName\\": \\"example.com\\",\\n \\"CertName\\": \\"yourCertName\\",\\n \\"Sans\\": \\"***.example.com\\",\\n \\"SignCertificate\\": \\"--BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\",\\n \\"CertOrg\\": \\"DigiCert Inc\\",\\n \\"EncryptCertificate\\": \\"-BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSMCertificateDetailResponse>\\n<SignCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</SignCertificate>\\n<EncryptCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</EncryptCertificate>\\n<CertName>yourCerName</CertName>\\n<CertIdentifier>648****-cn-hangzhou</CertIdentifier>\\n<CommonName>example.com</CommonName>\\n<Sans>***.example.com</Sans>\\n<CertOrg>DigiCert Inc</CertOrg>\\n<CertExpireTime>2022-08-31T09:42:28Z</CertExpireTime>\\n<RequestId>A7C69682-7F88-40DD-A198-10D0309E439D</RequestId>\\n</DescribeCdnSMCertificateDetailResponse>","errorExample":""}]', - 'title' => '查询国密证书详情', - 'description' => '>单用户调用频率:20次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n \\"Domains\\": {\\n \\"Domain\\": [\\n \\"example.com\\"\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<ListDomainsByLogConfigIdResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n\\t<Domains>\\r\\n\\t\\t<Domain>example.com</Domain>\\r\\n\\t\\t<Domain>image.developer.aliyundoc.com</Domain>\\r\\n\\t</Domains>\\r\\n</ListDomainsByLogConfigIdResponse>","errorExample":""}]', ], - 'SetCdnDomainSSLCertificate' => [ - 'summary' => '调用SetCdnDomainSSLCertificate用于设置某域名下证书功能是否启用及更新证书信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFCTrigger' => [ + 'summary' => '调用ListFCTrigger查询指定事件的函数计算触发器列表。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '168241', - 'abilityTreeNodes' => [ - 'FEATUREcdn4R6KLH', - ], - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '指定证书所属加速域名,需属于HTTPS加速类型。仅支持单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com'."\n", - ], - ], - [ - 'name' => 'CertName', - 'in' => 'query', - 'schema' => [ - 'description' => '证书名称,目前只支持单个证书名称。'."\n" - .'CertType=upload时选填,给新证书的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'yourCertName'."\n", - ], - ], - [ - 'name' => 'CertId', - 'in' => 'query', - 'schema' => [ - 'description' => '证书ID。'."\n" - .'CertType=cas时必填,表示选择已有证书。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '8089870'."\n", - ], - ], - [ - 'name' => 'CertType', - 'in' => 'query', - 'schema' => [ - 'description' => '证书类型。'."\n" - ."\n" - .'- **upload**:上传证书。'."\n" - .'- **cas**:证书中心证书。', - 'type' => 'string', - 'required' => false, - 'example' => 'upload', - 'enum' => [ - 'cas', - 'upload', - ], - ], - ], - [ - 'name' => 'SSLProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS证书是否启用。'."\n" - ."\n" - .'- **on**:启用。'."\n" - .'- **off**:不启用。', - 'type' => 'string', - 'required' => true, - 'example' => 'off', - ], - ], - [ - 'name' => 'SSLPub', - 'in' => 'query', - 'schema' => [ - 'description' => '安全证书内容,不启用证书则无需输入,配置证书请输入证书内容。', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx'."\n", - ], - ], - [ - 'name' => 'SSLPri', + 'name' => 'EventMetaName', 'in' => 'query', - 'schema' => [ - 'description' => '私钥内容,不启用证书则无需输入,配置证书请输入私钥内容。', - 'type' => 'string', - 'required' => false, - 'example' => 'y****'."\n", - ], + 'schema' => ['description' => '事件名称。仅支持传单个名称。'."\n" + ."\n" + .'<props="china">事件名称请参见[CDN事件触发器](~~73333~~)。</props>'."\n", 'type' => 'string', 'required' => true, 'example' => 'LogFileCreated'], ], [ - 'name' => 'CertRegion', + 'name' => 'EventMetaVersion', 'in' => 'query', - 'schema' => [ - 'description' => '证书所在地域,只有**CertType=cas**时生效。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou**。国际站用户建议使用**ap-southeast-1**。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ap-southeast-1' => 'ap-southeast-1', - 'cn-hangzhou' => 'cn-hangzhou', - ], - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '事件版本号。仅支持传单个版本号。'."\n" + ."\n" + .'<props="china">事件版本请参见[CDN事件触发器](~~73333~~)。</props>'."\n", 'type' => 'string', 'required' => true, 'example' => '1.0.0'], ], ], 'responses' => [ @@ -18144,330 +15842,155 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A7C69682-7F88-40DD-A198-10D0309E439D'."\n", + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E'], + 'FCTriggers' => [ + 'description' => '获取指定事件的函数计算触发器列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TriggerARN' => ['description' => '函数计算服务对应的触发器。', 'type' => 'string', 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger'], + 'RoleARN' => ['description' => 'RAM(访问控制)授权的角色。', 'type' => 'string', 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole'], + 'SourceArn' => ['description' => '事件侦听的资源和过滤器。', 'type' => 'string', 'example' => 'acs:cdn:*:1234567890:domain/example.com'], + 'Notes' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'Test'], + 'EventMetaName' => ['description' => '事件名称。', 'type' => 'string', 'example' => 'LogFileCreated'], + 'EventMetaVersion' => ['description' => '事件版本。', 'type' => 'string', 'example' => '1.0.0'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidSSLProtocol.ValueNotSupported', - 'errorMessage' => 'The specified SSLProtocol is invalid.', - ], - [ - 'errorCode' => 'SSLPub.MissingParameter', - 'errorMessage' => 'The SSLPub parameter is required.', - ], - [ - 'errorCode' => 'SSLPri.MissingParameter', - 'errorMessage' => 'The SSLPri parameter is required.', - ], - [ - 'errorCode' => 'InvalidSSLPub', - 'errorMessage' => 'The specified SSLPub is invalid.', - ], - [ - 'errorCode' => 'InvalidSSLPri', - 'errorMessage' => 'The specified SSLPri is invalid.', - ], - [ - 'errorCode' => 'Certificate.MissMatch', - 'errorMessage' => 'The SSLPri does not match the certificate.', - ], - [ - 'errorCode' => 'InvalidCertificate.TooLong', - 'errorMessage' => 'The maximum length of the certificate is exceeded.', - ], - [ - 'errorCode' => 'InvalidCertName.TooLong', - 'errorMessage' => 'The length of the certificate name cannot exceed 128 characters.', - ], - [ - 'errorCode' => 'AuthenticationFailed', - 'errorMessage' => 'Error performing verification.', - ], - [ - 'errorCode' => 'SetDomainCertificate.ParameterError', - 'errorMessage' => 'The specified parameters are invalid.', - ], - [ - 'errorCode' => 'Certificate.StatusError', - 'errorMessage' => 'The status of the certificate is invalid.', - ], - [ - 'errorCode' => 'DeleteFailed', - 'errorMessage' => 'Error deleting the certificate.', - ], - [ - 'errorCode' => 'Certificate.NotFind', - 'errorMessage' => 'The certificate does not exist.', - ], - [ - 'errorCode' => 'Certificate.Duplicated', - 'errorMessage' => 'The certificate name already exists.', - ], - [ - 'errorCode' => 'Certificate.FormatError', - 'errorMessage' => 'The format of the certificate is invalid.', - ], - [ - 'errorCode' => 'Certificate.KeyNull', - 'errorMessage' => 'The private key is required.', - ], - [ - 'errorCode' => 'Key.Malformed', - 'errorMessage' => 'The specified Key format is invalid.', - ], - [ - 'errorCode' => 'CertStorage.failed', - 'errorMessage' => 'Error saving the certificate.', - ], - [ - 'errorCode' => 'CertificateContent.Duplicated', - 'errorMessage' => 'The certificate has been uploaded; do not upload again.', - ], - [ - 'errorCode' => 'Certificate.Expired', - 'errorMessage' => 'The certificate has expired.', - ], - [ - 'errorCode' => 'InvalidDomain.notOnline', - 'errorMessage' => 'The domain is offline. Check the status of the domain and try again later.', - ], - [ - 'errorCode' => 'Decode.Error', - 'errorMessage' => 'Error decoding the SSLPub or SSLPri certificate.', - ], - [ - 'errorCode' => 'sslPub.Error', - 'errorMessage' => 'Error encoding SSLPub.', - ], - [ - 'errorCode' => 'sslPri.Error', - 'errorMessage' => 'Error encoding SSLPri.', - ], - [ - 'errorCode' => 'DomainInSafeMode', - 'errorMessage' => 'The domain is in safe mode. To request permission, contact Customer Service.', - ], - [ - 'errorCode' => 'CreateCertificateFailed', - 'errorMessage' => 'Create certificate failed,please try again.', - ], - [ - 'errorCode' => 'Abs.CertRegion.ValueNotSupported', - 'errorMessage' => 'CertRegion is not supported.', - ], - [ - 'errorCode' => 'CertNameAlreadyExists', - 'errorMessage' => 'The CertName already exists.', - ], - [ - 'errorCode' => 'InvalidDomain.Offline', - 'errorMessage' => 'The domain provided is offline.', - ], - [ - 'errorCode' => 'InvalidEnv', - 'errorMessage' => 'The specified Env is invalid.', - ], + ['errorCode' => 'NotFound.EventMeta', 'errorMessage' => 'EventMeta not found.', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'DomainInProtectedMode', - 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\",\\n \\"FCTriggers\\": [\\n {\\n \\"TriggerARN\\": \\"acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\",\\n \\"RoleARN\\": \\"acs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\",\\n \\"SourceArn\\": \\"acs:cdn:*:1234567890:domain/example.com\\",\\n \\"Notes\\": \\"Test\\",\\n \\"EventMetaName\\": \\"LogFileCreated\\",\\n \\"EventMetaVersion\\": \\"1.0.0\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListFCTriggerResponse>\\r\\n\\t<FCTriggers>\\r\\n\\t\\t<Notes>测试</Notes>\\r\\n\\t\\t<SourceArn>acs:cdn:*:1234567890:domain/example.com</SourceArn>\\r\\n\\t\\t<EventMetaVersion>1.0.0</EventMetaVersion>\\r\\n\\t\\t<EventMetaName>LogFileCreated</EventMetaName>\\r\\n\\t\\t<RoleARN>acs:ram:: 1234567890:role/aliyuncdneventnotificationrole</RoleARN>\\r\\n\\t\\t<TriggerARN>acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger</TriggerARN>\\r\\n\\t</FCTriggers>\\r\\n\\t<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\r\\n</ListFCTriggerResponse>","errorExample":""}]', + 'title' => '查询函数计算的触发器列表', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '**SourceARN**的格式为```acs:cdn:{RegionID}:{AccountID}:{Filter}```'."\n" + ."\n" + .'其中**Filter**表示资源和过滤器,具体格式为**{FilterName}/{FilterValue}**。当**FilterValue**为多个枚举值时,需要使用**{}**包括起来,值之间通过逗号(,)分割。'."\n" + ."\n" + .'例如:对于LogFileCreated事件当前支持基于域名**FilterName**为**domain**的过滤,如果只需要**example.com**域名触发函数计算,则**Filter**为 **domain/example.com**,如果需要多个域名触发,则**Filter**为```domain/{example.com,aliyundoc.com}```'."\n" + ."\n" + .'多个过滤器之间通过正斜线(/)连接,之间是**逻辑与**的关系,即此时SourceARN的格式为```acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}...```', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-25T02:43:32.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFCTrigger'], ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'CertName.MissingParameter', - 'errorMessage' => 'You must specify CertName.', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListFCTrigger', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7C69682-7F88-40DD-A198-10D0309E439D\\\\n\\"\\n}","type":"json"}]', - 'title' => '设置CDN域名证书', - 'description' => '- 单用户调用频率:30次/秒。'."\n" - .'- 调用方式:POST。', ], - 'TagResources' => [ - 'summary' => '调用TagResources添加资源标签。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRealtimeLogDelivery' => [ + 'summary' => '查询用户下所有实时日志投递。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111918', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], - 'parameters' => [ - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。固定值:**DOMAIN**。', - 'type' => 'string', - 'required' => true, - 'example' => 'DOMAIN', - 'enum' => [ - 'DOMAIN', - ], - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '资源ID列表。列表元素数量最大:50。', - 'type' => 'array', - 'items' => [ - 'description' => '资源ID(Cdn为加速域名)。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - 'required' => true, - 'example' => '1', - 'maxItems' => 51, - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签列表。列表元素数量最大:20。', - 'type' => 'array', - 'items' => [ - 'description' => '标签详情。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => true, - 'example' => 'env', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'value', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 21, - 'minItems' => 1, - ], - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111862', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30559C03-86C9-4EEC-B840-0DC5F5A2189B'], + 'Content' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RealtimeLogDeliveryInfo' => [ + 'description' => '日志信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。取值:'."\n" + .'- online:正在服务。'."\n" + .'- offline:停止服务。', 'type' => 'string', 'example' => 'online'], + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], + 'DmId' => ['description' => '域名ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1001010'], + 'Region' => ['description' => '实时投递sls的地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Logstore' => ['description' => '实时投递sls的LogStoreName。', 'type' => 'string', 'example' => 'test'], + 'Project' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'example' => 'test'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRegionId.Malformed', - 'errorMessage' => 'The specified RegionId is invalid.', - ], - [ - 'errorCode' => 'Resource.NotExist', - 'errorMessage' => 'Resources does not exist.', - ], - [ - 'errorCode' => 'TagKeyIsInvalid', - 'errorMessage' => 'The specified TagKey is invalid.', - ], - [ - 'errorCode' => 'TooManyTags', - 'errorMessage' => 'Too many tags.', - ], - [ - 'errorCode' => 'InvalidTagKey', - 'errorMessage' => 'The key should not be null, start with "acs:" or "aliyun", contain "http://" or "https://" or have special symbols:.!@#$%?/^&*)(+={}[]",\'<>~·`?;.', - ], - [ - 'errorCode' => 'InvalidTagValue', - 'errorMessage' => 'The tag value cannot contain these special symbols:http://, https://', - ], - [ - 'errorCode' => 'ReservedTagKey', - 'errorMessage' => 'The tag key is used internally as a reserved field and is not allowed to be used.', - ], - [ - 'errorCode' => 'TagValueIsInvalid', - 'errorMessage' => 'The specified TagValue is invalid.', - ], - [ - 'errorCode' => 'TagKeyRepeated', - 'errorMessage' => 'The specified TagKey is duplicated.', - ], - [ - 'errorCode' => 'TagIsInvalid', - 'errorMessage' => 'The number of Tag exceeds 20.', - ], - [ - 'errorCode' => 'ResourceIdIsInvalid', - 'errorMessage' => 'The number of ResourceId exceeds 50.', - ], - [ - 'errorCode' => 'SystemTagIsInvalid', - 'errorMessage' => 'The number of System Tag exceeds 50.', - ], - [ - 'errorCode' => 'CustomTagIsInvalid', - 'errorMessage' => 'The number of Custom Tag exceeds 20.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\n</TagResourcesResponse>","errorExample":""}]', - 'title' => '添加资源标签', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeTagResources' => [ - 'summary' => '调用DescribeTagResources查询资源对应的标签。', - 'methods' => [ - 'get', - 'post', + 'title' => '获取实时日志投递', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:11.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30559C03-86C9-4EEC-B840-0DC5F5A2189B\\",\\n \\"Content\\": {\\n \\"RealtimeLogDeliveryInfo\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"DmId\\": 1001010,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Logstore\\": \\"test\\",\\n \\"Project\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListRealtimeLogDeliveryDomains' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18475,138 +15998,114 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111837', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111863', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'description' => '固定值:**DOMAIN**。', - 'type' => 'string', - 'required' => true, - 'example' => 'DOMAIN', - ], + 'schema' => ['description' => '实时投递sls的ProjectName,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'ProjectName'], ], [ - 'name' => 'ResourceId', + 'name' => 'Logstore', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '资源ID列表,最大元素数量:50。', - 'type' => 'array', - 'items' => [ - 'description' => '资源ID,CDN为加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - 'required' => true, - 'example' => '1', - 'maxItems' => 50, - ], + 'schema' => ['description' => '实时投递sls的LogStoreName,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'LogstoreName'], ], [ - 'name' => 'Tag', + 'name' => 'Region', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签组合列表。最大元素数量:20。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'value', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => '实时投递sls的地域,多个用英文逗号(,)分隔。'."\n" + ."\n" + .'地域详情请参见[实时日志投递用户Region列表](~~144883~~)。', 'type' => 'string', 'required' => true, 'example' => 'ch-shanghai'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', - ], - 'TagResources' => [ - 'description' => '标签资源列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签解释。', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Tag' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签解释。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'env', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'product', - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D'], + 'Content' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Domains' => [ + 'description' => '域名信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。取值:'."\n" + ."\n" + .'- **online**:正在服务。'."\n" + ."\n" + .'- **offline**:停止服务。', 'type' => 'string', 'example' => 'online'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com '], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"example.com\\",\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"product\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeTagResourcesResponse>\\n <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n <TagResources>\\n <ResourceId>example.com</ResourceId>\\n <Tag>\\n <Key>env</Key>\\n <Value>product</Value>\\n </Tag>\\n </TagResources>\\n</DescribeTagResourcesResponse>","errorExample":""}]', - 'title' => '查询资源标签', - 'description' => '> 单用户调用频率:10次/秒。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', 'description' => '没有开启实时投递授权。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ], + 404 => [ + ['errorCode' => 'LogstoreNotExist', 'errorMessage' => 'Logstore does not exist.', 'description' => 'Logstore 不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'title' => '查询实时日志投递域名', + 'summary' => '调用ListRealtimeLogDeliveryDomains查询实时日志投递服务下所有域名。', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUserTags' => [ - 'summary' => '调用DescribeUserTags查询用户标签。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:43.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-05T03:20:57.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-07-10T06:59:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDeliveryDomains'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDeliveryDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"Content\\": {\\n \\"Domains\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"DomainName\\": \\"example.com \\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Content\\":{\\n \\"Domains\\":[\\n { \\n \\"DomainName\\":\\"a.xxx.com\\",\\n \\"Status\\":\\"online\\"\\n },\\n { \\n \\"DomainName\\":\\"b.xxx.com\\",\\n \\"Status\\":\\"offline\\"\\n }\\n ...\\n ]\\n },\\n \\"RequestId\\":\\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\"\\n}"},{"type":"xml","example":"<Content>\\n <Domains>\\n <DomainName>example.com</DomainName>\\n <Status>online</Status>\\n </Domains>\\n <Domains>\\n <DomainName>aliyundoc.com</DomainName>\\n <Status>offline</Status>\\n </Domains>\\n</Content>\\n<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>","errorExample":""}]', + ], + 'ListRealtimeLogDeliveryInfos' => [ + 'summary' => '调用ListRealtimeLogDeliveryInfos查询所有实时日志投递服务信息。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18615,11 +16114,10 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '111843', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111864', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [], 'responses' => [ @@ -18627,213 +16125,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', - ], - 'Tags' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'env', - ], - 'Value' => [ - 'description' => '标签值列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'product', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D'], + 'Content' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RealtimeLogDeliveryInfos' => [ + 'description' => '日志信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Logstore' => ['description' => '实时投递sls的LogstoreName。', 'type' => 'string', 'example' => 'LogstoreName'], + 'Project' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'example' => 'ProjectName'], + 'Region' => ['description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', 'type' => 'string', 'example' => 'ch-shanghai'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": [\\n \\"product\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserTagsResponse>\\n <Tags>\\n <Key>env</Key>\\n <Value>product</Value>\\n <Value>pre</Value>\\n <Value>daily</Value>\\n </Tags>\\n <Tags>\\n <Key>region</Key>\\n <Value>hangzhou</Value>\\n </Tags>\\n <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</DescribeUserTagsResponse>","errorExample":""}]', - 'title' => '查询用户标签', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', 'description' => '没有开启实时投递授权。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], + ], + ], + 'title' => '查询实时日志投递信息列表', 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UntagResources' => [ - 'summary' => '调用UntagResources删除资源标签。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-12-05T03:20:57.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111919', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDeliveryInfos'], ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。固定值:**DOMAIN**。', - 'type' => 'string', - 'required' => true, - 'example' => 'DOMAIN', - 'enum' => [ - 'DOMAIN', - ], - ], - ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => '删除所有标签。取值:'."\n" - .'- **true**:是。'."\n" - .'- **false**:否。'."\n" - ."\n" - .'默认取值为**false**。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '资源ID列表。列表元素数量最多50个。', - 'type' => 'array', - 'items' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'test-res.dutenews.com', - ], - 'required' => true, - 'example' => 'example.com', - 'maxItems' => 51, - ], - ], - [ - 'name' => 'TagKey', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签键列表。列表元素数量最大20个。', - 'type' => 'array', - 'items' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'env', - ], - 'required' => false, - 'example' => 'env', - 'maxItems' => 21, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDeliveryInfos', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'TagIsInvalid', - 'errorMessage' => 'The number of Tag exceeds 20.', - ], - [ - 'errorCode' => 'ResourceIdIsInvalid', - 'errorMessage' => 'The number of ResourceId exceeds 50.', - ], - [ - 'errorCode' => 'TagKeyRepeated', - 'errorMessage' => 'The specified TagKey is duplicated.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]', - 'title' => '删除资源标签', - 'description' => '> 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"Content\\": {\\n \\"RealtimeLogDeliveryInfos\\": [\\n {\\n \\"Logstore\\": \\"LogstoreName\\",\\n \\"Project\\": \\"ProjectName\\",\\n \\"Region\\": \\"ch-shanghai\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListRealtimeLogDeliveryInfosResponse>\\r\\n\\t<Content>\\r\\n\\t\\t<RealtimeLogDeliveryInfos>\\r\\n\\t\\t\\t<Project>test</Project>\\r\\n\\t\\t\\t<Logstore>test</Logstore>\\r\\n\\t\\t\\t<Region>cn-shanghai</Region>\\r\\n\\t\\t</RealtimeLogDeliveryInfos>\\r\\n\\t\\t<RealtimeLogDeliveryInfos>\\r\\n\\t\\t\\t<Project>test1</Project>\\r\\n\\t\\t\\t<Logstore>test2</Logstore>\\r\\n\\t\\t\\t<Region>cn-shanghai</Region>\\r\\n\\t\\t</RealtimeLogDeliveryInfos>\\r\\n\\t</Content>\\r\\n\\t<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>\\r\\n</ListRealtimeLogDeliveryInfosResponse>\\r\\n\\t\\r\\n","errorExample":""}]', ], 'ListTagResources' => [ 'summary' => '调用ListTagResources查询资源标签列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111865', - 'abilityTreeNodes' => [ - 'FEATUREcdnFGPKCB', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'TagOwnerUid', 'in' => 'query', - 'schema' => [ - 'description' => '标签所属阿里云账号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '123xxxx', - ], + 'schema' => ['description' => '标签所属阿里云账号ID。', 'type' => 'string', 'required' => false, 'example' => '123xxxx'], ], [ 'name' => 'TagOwnerBid', 'in' => 'query', - 'schema' => [ - 'description' => '标签拥有者Bid。', - 'type' => 'string', - 'required' => false, - 'example' => '26842', - ], + 'schema' => ['description' => '标签拥有者Bid。', 'type' => 'string', 'required' => false, 'example' => '26842'], ], [ 'name' => 'ResourceType', @@ -18843,20 +16219,13 @@ 'type' => 'string', 'required' => true, 'example' => 'DOMAIN', - 'enum' => [ - 'DOMAIN', - ], + 'enum' => ['DOMAIN'], ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '下一个查询开始Token。', - 'type' => 'string', - 'required' => false, - 'example' => 'QpgBAAAAAABsb2dzL2RzLw==', - ], + 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => 'QpgBAAAAAABsb2dzL2RzLw=='], ], [ 'name' => 'ResourceId', @@ -18865,12 +16234,7 @@ 'schema' => [ 'description' => '资源ID。', 'type' => 'array', - 'items' => [ - 'description' => '实例ID,N取值[1,50]。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'items' => ['description' => '实例ID,N取值[1,50]。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], 'required' => false, 'maxItems' => 51, ], @@ -18886,18 +16250,8 @@ 'description' => '标签组合。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'testValue', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'testKey'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'testValue'], ], 'required' => false, ], @@ -18912,16 +16266,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => '下一个查询开始Token。', - 'type' => 'string', - 'example' => 'QpgBAAAAAABsb2dzL2RzLw==', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', - ], + 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => 'QpgBAAAAAABsb2dzL2RzLw=='], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '64D28B53-5902-409B-94F6-FD46680144FE'], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, @@ -18933,26 +16279,10 @@ 'description' => '资源和标签的关系列表。', 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'testValue', - ], - 'ResourceType' => [ - 'description' => '资源类型。固定值:**DOMAIN**。', - 'type' => 'string', - 'example' => 'DOMAIN', - ], - 'ResourceId' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'TagKey' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'testKey', - ], + 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'testValue'], + 'ResourceType' => ['description' => '资源类型。固定值:**DOMAIN**。', 'type' => 'string', 'example' => 'DOMAIN'], + 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'example.com'], + 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'testKey'], ], ], ], @@ -18964,155 +16294,37 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRegionId.Malformed', - 'errorMessage' => 'The specified RegionId is invalid.', - ], - [ - 'errorCode' => 'MissParameter.TagOrResourceId', - 'errorMessage' => 'Either Tag or ResourceId must be specified.', - ], - [ - 'errorCode' => 'TagIsInvalid', - 'errorMessage' => 'The number of Tag exceeds 20.', - ], - [ - 'errorCode' => 'ResourceIdIsInvalid', - 'errorMessage' => 'The number of ResourceId exceeds 50.', - ], - [ - 'errorCode' => 'TagKeyIsInvalid', - 'errorMessage' => 'The specified TagKey is invalid.', - ], - [ - 'errorCode' => 'TagValueIsInvalid', - 'errorMessage' => 'The specified TagValue is invalid.', - ], + ['errorCode' => 'InvalidRegionId.Malformed', 'errorMessage' => 'The specified RegionId is invalid.', 'description' => ''], + ['errorCode' => 'MissParameter.TagOrResourceId', 'errorMessage' => 'Either Tag or ResourceId must be specified.', 'description' => ''], + ['errorCode' => 'TagIsInvalid', 'errorMessage' => 'The number of Tag exceeds 20.', 'description' => ''], + ['errorCode' => 'ResourceIdIsInvalid', 'errorMessage' => 'The number of ResourceId exceeds 50.', 'description' => 'ResourceId超过50个了。'], + ['errorCode' => 'TagKeyIsInvalid', 'errorMessage' => 'The specified TagKey is invalid.', 'description' => ''], + ['errorCode' => 'TagValueIsInvalid', 'errorMessage' => 'The specified TagValue is invalid.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"QpgBAAAAAABsb2dzL2RzLw==\\",\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testValue\\",\\n \\"ResourceType\\": \\"DOMAIN\\",\\n \\"ResourceId\\": \\"example.com\\",\\n \\"TagKey\\": \\"testKey\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '查询资源标签列表', - ], - 'CreateCdnSubTask' => [ - 'summary' => '调用CreateCdnSubTask定制运营报表,定制后可查看定制报表数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '111694', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - ], - 'parameters' => [ - [ - 'name' => 'ReportIds', - 'in' => 'formData', - 'schema' => [ - 'description' => '支持定制的报表ID列表,多个用英文逗号(,)分隔。取值:'."\n" - .'- **1**:热门URL(按请求数排序)。'."\n" - .'- **3**:热门URL(按流量排序)。'."\n" - .'- **5**:热门Referer(按请求数排序)。'."\n" - .'- **7**:热门Referer(按流量排序)。'."\n" - .'- **9**:回源热门URL(按请求数排序)。'."\n" - .'- **11**:回源热门URL(按流量排序)。'."\n" - .'- **13**:Top客户端IP(按请求数排序)。'."\n" - .'- **15**:Top客户端IP(按流量排序)。'."\n" - .'- **17**:域名排行(按流量排序)。'."\n" - .'- **19**:PV和UV。'."\n" - .'- **21**:访问区域分布。'."\n" - .'- **23**:运营商分布。', - 'type' => 'string', - 'required' => true, - 'example' => '1,3,5', - ], - ], - [ - 'name' => 'DomainName', - 'in' => 'formData', - 'schema' => [ - 'description' => '<props="china">待订阅的域名列表,多个域名用半角逗号(,)分隔</props>'."\n" - ."\n" - .'<props="intl">待订阅的域名列表,多个域名用半角逗号(,)分隔</props>'."\n" - .'> 不传该参数,默认为账号下的所有域名订阅报表交付任务。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example1.com,www.example2.com', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'changeSet' => [ + ['createdAt' => '2024-11-25T06:16:14.000Z', 'description' => '请求参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCdnSubTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</CreateCdnSubTaskResponse>","errorExample":""}]', - 'title' => '创建报表定制任务', - 'description' => '- 定制可精确到报表和域名粒度,定制成功后可供您日常查看定制的报表数据。'."\n" - .'- 单用户调用频率:3次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeCdnSubList' => [ - 'summary' => '调用DescribeCdnSubList查询已定制的报表任务。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUserCustomLogConfig' => [ + 'summary' => '调用ListUserCustomLogConfig查询用户下所有自定义日志配置信息。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19120,13 +16332,12 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '111743', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'abilityTreeCode' => '111866', + 'abilityTreeNodes' => ['FEATUREcdnGZSOSW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ @@ -19134,144 +16345,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '已定制的报表任务。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D'], + 'ConfigIds' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'data' => [ - 'title' => '运营报表定制信息主体', - 'description' => '运营报表定制信息主体', + 'ConfigId' => [ + 'description' => '日志配置ID列表。', 'type' => 'array', - 'items' => [ - 'title' => '运营报表定制信息主体', - 'description' => '运营报表定制信息主体', - 'type' => 'object', - 'properties' => [ - 'createTime' => [ - 'title' => '定制的创建时间', - 'description' => '定制的创建时间', - 'type' => 'string', - 'example' => '2024-05-16T09:43:38Z', - ], - 'domains' => [ - 'title' => '定制域名,all表示全部域名', - 'description' => '定制域名,all表示全部域名', - 'type' => 'array', - 'items' => [ - 'title' => '定制域名,all表示全部域名', - 'description' => '定制域名,all表示全部域名', - 'type' => 'string', - 'example' => 'a.b.com', - ], - ], - 'effectiveEnd' => [ - 'title' => '定制有效截止时间', - 'description' => '定制有效截止时间', - 'type' => 'string', - 'example' => '2024-05-16T09:43:38Z', - ], - 'effectiveFrom' => [ - 'title' => '定制有效开始时间', - 'description' => '定制有效开始时间', - 'type' => 'string', - 'example' => '2024-05-16T09:43:38Z', - ], - 'reportId' => [ - 'title' => '定制的报表ID列表', - 'description' => '定制的报表ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '定制的报表ID列表', - 'description' => '定制的报表ID列表', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'status' => [ - 'title' => '定制状态', - 'description' => '定制状态', - 'type' => 'string', - 'example' => 'enable', - ], - 'subId' => [ - 'title' => '定制记录ID', - 'description' => '定制记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], + 'items' => ['description' => '日志配置ID。', 'type' => 'string', 'example' => 'c3bb2c78-2915-4d5a-b6a1-557789255555'], ], ], - 'example' => '{"RequestId":"3250A51D-C11D-46BA-B6B3-95348EEDE652","Description":"成功","Content":{"data":[{"subId":5,"reportId":[1,2,3],"createTime":"2020-09-25T09:39:33Z","domains"["all"],"effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z","status":"enable"}]}}', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3250A51D-C11D-46BA-B6B3-95348EEDE652', + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + 404 => [ + ['errorCode' => 'ConfgIds.NotFound', 'errorMessage' => 'You don\'t have any custom log config, please add first.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2024-05-16T09:43:38Z\\",\\n \\"domains\\": [\\n \\"a.b.com\\"\\n ],\\n \\"effectiveEnd\\": \\"2024-05-16T09:43:38Z\\",\\n \\"effectiveFrom\\": \\"2024-05-16T09:43:38Z\\",\\n \\"reportId\\": [\\n 1\\n ],\\n \\"status\\": \\"enable\\",\\n \\"subId\\": 1\\n }\\n ]\\n },\\n \\"RequestId\\": \\"3250A51D-C11D-46BA-B6B3-95348EEDE652\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnSubListResponse>\\n <RequestId>3250A51D-C11D-46BA-B6B3-95348EEDE652</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <subId>5</subId>\\n <reportId>1</reportId>\\n <reportId>2</reportId>\\n <reportId>3</reportId>\\n <createTime>2020-09-25T09:39:33Z</createTime>\\n <domains>www.example.com</domains>\\n <domains>www.example.com</domains>\\n <effectiveFrom>2020-09-17T00:00:00Z</effectiveFrom>\\n <effectiveEnd>2020-11-17T00:00:00Z</effectiveEnd>\\n <status>enable</status>\\n </data>\\n </Content>\\n</DescribeCdnSubListResponse>","errorExample":""}]', - 'title' => '查询报表定制任务', - 'description' => '- 调用该接口默认返回所有已定制的报表,但目前只支持展示单个定制任务,因此调用结果只会返回一个定制报表任务。'."\n" - .'- 单用户调用频率:3次/秒。', + 'title' => '查询自定义日志配置ID', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '**data数据说明**'."\n" - ."\n" - .'|参数|类型|描述|'."\n" - .'|--------|------|------------|'."\n" - .'|subId|Long|任务的请求ID。|'."\n" - .'|reportId|Long[]|报表ID列表。|'."\n" - .'|createTime|String|报表创建时间。|'."\n" - .'|domains|String[]|定制报表的域名列表。|'."\n" - .'|effectiveFrom|String|定制任务开始时间。|'."\n" - .'|effectiveEnd|String|定制任务结束时间。|'."\n" - .'|status|String|定制任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateCdnSubTask' => [ - 'summary' => '调用UpdateCdnSubTask更新已定制的运营报表。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:52:05.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserCustomLogConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'cdn:ListUserCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D5B69F-8AEC-419B-8F3A-612B35032B0D\\",\\n \\"ConfigIds\\": {\\n \\"ConfigId\\": [\\n \\"c3bb2c78-2915-4d5a-b6a1-557789255555\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListUserCustomLogConfigResponse>\\r\\n\\t<RequestId>95D5B69F-8AEC-419B-8F3A-612B35032B0D</RequestId>\\r\\n\\t<ConfigIds>\\r\\n\\t\\t<ConfigId>c3bb2c78-2915-4d5a-b6a1-557789255555</ConfigId>\\r\\n\\t\\t<ConfigId>25473b84-d598-498e-b148-f23d0a255555</ConfigId>\\r\\n\\t\\t<ConfigId>1f1e6c6e-6701-4193-ae4d-54bf3e555555</ConfigId>\\r\\n\\t</ConfigIds>\\r\\n</ListUserCustomLogConfigResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'ModifyCdnDomain' => [ + 'summary' => '调用ModifyCdnDomain修改加速域名基础信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19280,52 +16409,33 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '111921', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'abilityTreeCode' => '111869', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], ], 'parameters' => [ [ - 'name' => 'ReportIds', - 'in' => 'formData', - 'schema' => [ - 'description' => '新定制的报表ID列表,多个用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => false, - 'example' => '1,2,3', - ], + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名,仅支持修改单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'DomainName', - 'in' => 'formData', - 'schema' => [ - 'description' => '待订阅的域名列表,支持批量查询域名,多个域名用英文逗号(,)分隔'."\n" - .'如果不传该参数,默认为账号下的所有域名订阅报表交付任务。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], + 'name' => 'Sources', + 'in' => 'query', + 'schema' => ['description' => '回源地址列表。'."\n" + ."\n" + .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。', 'type' => 'string', 'required' => false, 'example' => '[{"content":"1.1.1.1","type":"ipaddr","priority":"20","port":80,"weight":"15"}]'], ], [ - 'name' => 'StartTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '定制任务的开始时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-09-17T00:00:00Z', - ], + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmyuji4b6r4**'], ], [ - 'name' => 'EndTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '定制任务的结束时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-17T00:00:00Z', - ], + 'name' => 'TopLevelDomain', + 'in' => 'query', + 'schema' => ['description' => '顶级接入域。只有白名单用户CDN_TOP_LEVEL_DOMAIN_GREY_USER_LIST设置才有效。'."\n" + ."\n" + .'> 不支持同时传入**Sources**和**TopLevelDomain**参数,如果您同时传入**Sources**和**TopLevelDomain**参数,**TopLevelDomain**将不生效。'."\n", 'type' => 'string', 'required' => false, 'example' => 'aliyundoc.com'], ], ], 'responses' => [ @@ -19333,232 +16443,164 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + ['errorCode' => 'Abs.Sources.Malformed', 'errorMessage' => 'The specified Sources is invalid.', 'description' => '指定的源站无效。'], + ['errorCode' => 'MissingDomainName', 'errorMessage' => 'The domainName parameter is required.', 'description' => ''], + ['errorCode' => 'InvalidDomainName.Malformed', 'errorMessage' => 'The specified DomainName is invalid.', 'description' => '域名格式错误。'], + ['errorCode' => 'InvalidSource.Content.Malformed', 'errorMessage' => 'The specified Source Content is invalid.', 'description' => '源站地址格式错误。'], + ['errorCode' => 'InvalidTypeContent.Mismatch', 'errorMessage' => 'The specified source type does not match the specified source content.', 'description' => ''], + ['errorCode' => 'MissingSource.Content', 'errorMessage' => 'The Source Content must be specified.', 'description' => '缺少源站信息。'], + ['errorCode' => 'MissingSource.Type', 'errorMessage' => 'The Source Type must be specified.', 'description' => ''], + ['errorCode' => 'InvalidSource.Type.Malformed', 'errorMessage' => 'The specified Source Type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidSource.Priority.Malformed', 'errorMessage' => 'The specified Source Priority is invalid.', 'description' => ''], + ['errorCode' => 'InvalidResourceGroupId.Malformed', 'errorMessage' => 'The specified ResourceGroupId is invalid.', 'description' => ''], + ['errorCode' => 'EntityNotExists.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '资源组不存在。'], + ['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => '该资源组不存在。'], + ['errorCode' => 'InvalidStatus.ResourceGroup', 'errorMessage' => 'It is not allowed to do this operation because of the current status of resource-group.', 'description' => '资源组当前状态不允许进行此操作。'], + ['errorCode' => 'TopLevelDomain.NotFound', 'errorMessage' => 'TopLevelDomain is not exist.', 'description' => 'TopLevelDomain不存在。'], + ['errorCode' => 'InvalidTopLevelDomain.Malformed', 'errorMessage' => 'Specified TopLevelDomain is malformed.', 'description' => '参数TopLevelDomain错误。'], + ['errorCode' => 'TopLevelDomain.Mismatch', 'errorMessage' => 'The specified TopLevelDomain does not match webSiteType.', 'description' => '顶级接入域和域名类型不匹配。'], + ['errorCode' => 'SourceInBlacklist', 'errorMessage' => 'Source is in the blacklist.', 'description' => '源站在黑名单中。'], + ], + 403 => [ + ['errorCode' => 'DomainInProtectedMode', 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCdnSubTaskResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</UpdateCdnSubTaskResponse>","errorExample":""}]', - 'title' => '更新报表定制任务', - 'description' => '>单用户调用频率:3次/秒。', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<ModifyCdnDomainResponse>\\r\\n\\t<RequestId>94E3559F-7B6A-4A5E-AFFD-44E2A208A249</RequestId>\\r\\n</ModifyCdnDomainResponse>","errorExample":""}]', + 'title' => '修改域名基础信息', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。<br>ipaddr:IP源站。<br>domain:域名源站。<br>oss:OSS Bucket为源站。<br>fc_domain:函数计算源站。 |'."\n" + .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" + .'| port| Integer| 否 | 端口,可以指定80、443,也可以自定义端口,默认值为80。443是HTTPS协议回源。 |'."\n" + .'| priority | String | 否 | 源站地址对应的优先级,支持20和30,默认值为20。20是主源,30是备源。|'."\n" + .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteCdnSubTask' => [ - 'summary' => '调用DeleteCdnSubTask删除所有已定制的运营报表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-06-08T02:50:11.000Z', 'description' => '错误码发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'ModifyCdnDomainOwner' => [ + 'summary' => '调用ModifyCdnDomainOwner将其他阿里云账号下的域名迁移至本账号。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111703', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '加速域名信息。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C98E518B-024E-538E-8276-66310CB8667D'], + 'Content' => ['description' => '域名迁移说明。', 'type' => 'object', 'example' => '{'."\n" + .' "Domain ownership verification": false'."\n" + .'}'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + ['errorCode' => 'InvalidDomain.NotExist', 'errorMessage' => 'The domain you provided is not exist.', 'description' => '您所提供的域名不存在。'], + ['errorCode' => 'DomainTransferFail', 'errorMessage' => 'The domain does not allow to transfer to a different account.', 'description' => '该域名不允许迁移。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteCdnSubTaskResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</DeleteCdnSubTaskResponse>","errorExample":""}]', - 'title' => '删除报表定制任务', - 'description' => '> 单用户调用频率:3次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeCdnReport' => [ - 'summary' => '调用DescribeCdnReport查询已定制的报表数据。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C98E518B-024E-538E-8276-66310CB8667D\\",\\n \\"Content\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', + 'title' => '迁移域名', + 'description' => '主要用于以下场景:'."\n" + .'- 您有多个阿里云账号,希望将账号A中的加速域名迁移至账号B。'."\n" + .'- 您在添加加速域名时,有提示该加速域名已经被添加过,您不清楚该加速域名归属于哪个账号,希望将该加速域名迁移至您正在操作的账号中。', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:51:56.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCdnDomainOwner'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomainOwner', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111737', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', + ], + 'ModifyCdnDomainSchdmByProperty' => [ + 'summary' => '调用ModifyCdnDomainSchdmByProperty通过配置组修改域名的加速区域。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '待查询的域名列表,多个域名用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example1.com,example2.com', - ], + 'schema' => ['description' => '需修改加速区域的域名,仅支持单个域名进行修改。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'ReportId', - 'in' => 'query', - 'schema' => [ - 'description' => '待查询的报表ID,每次调用仅支持传入单个报表ID。您可以调用[DescribeCdnSubList](~~271655~~)接口查询报表ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'Area', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取地域英文名。'."\n" - ."\n" - .'- 如果不传该参数,默认查询全部地域。'."\n" - .'- 如果传入指定地域,则按照指定的地域获取相应数据。支持传入多个地域,多个地域用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => false, - 'example' => 'shanghai', - ], - ], - [ - 'name' => 'IsOverseas', - 'in' => 'query', - 'schema' => [ - 'description' => '是否为中国内地以外的区域。取值:'."\n" - .'- **1**:中国内地以外的区域。'."\n" - .'- **0**:中国内地。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'HttpCode', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTP状态码。取值:'."\n" - ."\n" - .'- **2xx**:2xx状态码。'."\n" - .'- **3xx**:3xx状态码。'."\n" - .'- **4xx**:4xx状态码。'."\n" - .'- **5xx**:5xx状态码。'."\n" - ."\n" - .'如果不传该参数,默认查询以上全部HTTP状态码。', - 'type' => 'string', - 'required' => false, - 'example' => '2xx', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'Property', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2020-09-17T00:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2020-09-17T01:00:00Z', - ], + 'schema' => ['description' => '加速区域属性'."\n" + ."\n" + .'{"coverage":"overseas"} '."\n" + ."\n" + .'其中coverage参数的取值如下:'."\n" + ."\n" + .'- **domestic**:仅中国内地。'."\n" + .'- **overseas**:全球(不含中国内地)。'."\n" + .'- **global**:全球。', 'type' => 'string', 'required' => true, 'example' => '{"coverage":"overseas"}'], ], ], 'responses' => [ @@ -19566,402 +16608,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '查询到的报表数据。', - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'title' => '报表主体', - 'description' => '报表主体', - 'type' => 'array', - 'items' => [ - 'title' => '报表', - 'description' => '报表', - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'title' => '报表具体数据', - 'description' => '报表具体数据', - 'type' => 'array', - 'items' => [ - 'title' => '每行数据内容', - 'description' => '每行数据内容', - 'type' => 'object', - 'additionalProperties' => [ - 'title' => '数据值', - 'description' => '数据值', - 'type' => 'string', - ], - ], - ], - 'deliver' => [ - 'title' => '交付方式', - 'description' => '交付方式', - 'type' => 'object', - 'properties' => [ - 'report' => [ - 'title' => '报表相关信息', - 'description' => '报表相关信息', - 'type' => 'object', - 'properties' => [ - 'format' => [ - 'title' => '报表格式', - 'description' => '报表格式', - 'type' => 'string', - 'example' => 'table', - ], - 'header' => [ - 'title' => '表头', - 'description' => '表头', - 'type' => 'array', - 'items' => [ - 'title' => '表头', - 'description' => '表头', - 'type' => 'string', - 'example' => 'acc', - ], - ], - 'outLine' => [ - 'title' => '输出行数', - 'description' => '输出行数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'outSize' => [ - 'title' => '输出大小', - 'description' => '输出大小', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'shape' => [ - 'title' => '图表图形', - 'description' => '图表图形', - 'type' => 'string', - 'example' => 'line', - ], - 'title' => [ - 'title' => '报表标题', - 'description' => '报表标题', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'example' => '{'."\n" - .' "data": ['."\n" - .' {'."\n" - .' "deliver": {'."\n" - .' "report": {'."\n" - .' "title": "TopUrlByAcc",'."\n" - .' "format": "table",'."\n" - .' "shape": "",'."\n" - .' "header": ['."\n" - .' "url",'."\n" - .' "traf",'."\n" - .' "traf_rate",'."\n" - .' "acc",'."\n" - .' "acc_rate"'."\n" - .' ]'."\n" - .' }'."\n" - .' },'."\n" - .' "data": ['."\n" - .' {'."\n" - .' "acc": 440,'."\n" - .' "acc_rate": "0.200%",'."\n" - .' "traf": 22,'."\n" - .' "url": "http://demo.com",'."\n" - .' "traf_rate": "0.100%"'."\n" - .' },'."\n" - .' {'."\n" - .' "acc": 440,'."\n" - .' "acc_rate": "0.200%",'."\n" - .' "traf": 22,'."\n" - .' "url": "http://demo.com",'."\n" - .' "traf_rate": "0.100%"'."\n" - .' }'."\n" - .' ]'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + ['errorCode' => 'Schedule.NotFound', 'errorMessage' => 'there is no schedule domain found by the targeted coverage value', 'description' => ''], + ['errorCode' => 'DomainTraffic.ExceedThreshold', 'errorMessage' => 'not allowed to do this operation because the last day traffic exceeds the threshold', 'description' => ''], + ['errorCode' => 'Domain.BeianInvalid', 'errorMessage' => 'not allowed to do this operation because the domain registration record invalid in China main land', 'description' => ''], + ['errorCode' => 'Schedule.ChangeFail', 'errorMessage' => 'change domain failed', 'description' => ''], + ['errorCode' => 'InvalidTopLevelDomain.Malformed', 'errorMessage' => 'Specified TopLevelDomain is malformed.', 'description' => '参数TopLevelDomain错误。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"data\\": [\\n {\\n \\"key\\": \\"\\"\\n }\\n ],\\n \\"deliver\\": {\\n \\"report\\": {\\n \\"format\\": \\"table\\",\\n \\"header\\": [\\n \\"acc\\"\\n ],\\n \\"outLine\\": 0,\\n \\"outSize\\": 0,\\n \\"shape\\": \\"line\\",\\n \\"title\\": \\"test\\"\\n }\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnReportResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <deliver>\\n <report>\\n <title>TopUrlByAcc</title>\\n <format>table</format>\\n <shape/>\\n <header>url</header>\\n <header>traf</header>\\n <header>traf_rate</header>\\n <header>acc</header>\\n <header>acc_rate</header>\\n </report>\\n </deliver>\\n <data>\\n <acc>440</acc>\\n <acc_rate>0.200%</acc_rate>\\n <traf>22</traf>\\n <url>http://demo.com</url>\\n <traf_rate>0.100%</traf_rate>\\n </data>\\n <data>\\n <acc>440</acc>\\n <acc_rate>0.200%</acc_rate>\\n <traf>22</traf>\\n <url>http://demo.com</url>\\n <traf_rate>0.100%</traf_rate>\\n </data>\\n </data>\\n </Content>\\n</DescribeCdnReportResponse>","errorExample":""}]', - 'title' => '查询报表定制数据', - 'description' => '> 单用户调用频率:3次/秒。', - 'requestParamsDescription' => '**各报表必传的请求参数说明**'."\n" - .'|报表名称|必传参数|说明|'."\n" - .'|--------|------------------|-----|'."\n" - .'|PV和UV|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|Top客户端IP(按流量排序)|Action、ReportId、DomainName、Area、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|Top客户端IP(按请求数排序)|Action、ReportId、DomainName、Area、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|访问区域分布|Action、ReportId、DomainName、IsOverseas、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|运营商分布|Action、ReportId、DomainName、IsOverseas、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|热门Referer(按流量排序)|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|热门Referer(按请求数排序)|Action、ReportId、DomainName、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|热门URL(按流量排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|热门URL(按请求数排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|回源热门URL(按流量排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|回源热门URL(按请求数排序)|Action、ReportId、DomainName、HttpCode、StartTime、EndTime。|不支持其他参数。|'."\n" - .'|域名排行(按流量排序)|Action、ReportId、StartTime、EndTime。|不支持其他参数。|', - 'responseParamsDescription' => '**data数据说明**'."\n" - .'|参数|类型|描述|'."\n" - .'|--------|------------------|-----|'."\n" - .'|deliver|report|报表样式。|'."\n" - .'|data|String[]|报表中的数据,例如:[{"表头字段1":"value1","表头字段2":"value2"}, {"表头字段1":"value3","表头字段2":"value4"}]。|'."\n" - ."\n" - .'**report数据说明**'."\n" - .'|参数|类型|描述|'."\n" - .'|--------|------------------|--------|'."\n" - .'|title|String|报表标题。|'."\n" - .'|format|String|报表类型。取值如下:<br>chart:图表。<br>table:表格。|'."\n" - .'|shape|String|图表类型。当format为table时,请忽略此字段。取值如下:<br>line:曲线图。<br>pie:饼状图。<br>bar:柱状图。|'."\n" - .'|header|String[]|报表的表头字段。|'."\n" - .'|legend|String|图形的图例字段。|'."\n" - .'|xAxis|String|图形x轴,没有则为空。|'."\n" - .'|yAxis|String|图形y轴,没有则为空。|', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyCdnDomainSchdmByPropertyResponse>\\r\\n\\t<RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\r\\n</ModifyCdnDomainSchdmByPropertyResponse>","errorExample":""}]', + 'title' => '修改域名的加速区域', + 'description' => '> - 单用户调用频率:100次/秒。'."\n" + .'> - 域名业务类型是直播的情况下,修改域名加速区域可能会引发业务不可用,因此直播域名不允许通过该接口来修改加速区域。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnReportList' => [ - 'summary' => '查询所有的定制报表列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomainSchdmByProperty', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'ModifyCdnService' => [ + 'summary' => '变更CDN服务的计费类型。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111738', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '111871', + 'abilityTreeNodes' => ['FEATUREcdnBXNWCW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ReportId', + 'name' => 'InternetChargeType', 'in' => 'query', - 'schema' => [ - 'description' => '待查询的报表ID。如果不传该参数,默认查询所有报表。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '开通服务的计费类型', 'type' => 'string', 'required' => true, 'example' => 'PayByTraffic'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回主体', - 'description' => '返回主体', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'Content' => [ - 'description' => '报表列表。', - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'description' => '返回报表主体', - 'type' => 'array', - 'items' => [ - 'title' => '返回报表主体', - 'description' => '返回报表主体', - 'type' => 'object', - 'properties' => [ - 'deliver' => [ - 'title' => '报表展示形式', - 'description' => '报表展示形式', - 'type' => 'object', - 'properties' => [ - 'report' => [ - 'title' => '报表信息', - 'description' => '报表信息', - 'type' => 'object', - 'properties' => [ - 'format' => [ - 'title' => '展示形式', - 'description' => '展示形式', - 'type' => 'string', - 'example' => 'table', - ], - 'header' => [ - 'title' => '表格表头列表', - 'description' => '表格表头列表', - 'type' => 'array', - 'items' => [ - 'title' => '表头', - 'description' => '表头', - 'type' => 'string', - 'example' => 'url', - ], - ], - 'outLine' => [ - 'title' => '输出行数', - 'description' => '输出行数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'outSize' => [ - 'title' => '输出大小', - 'description' => '输出大小', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'shape' => [ - 'title' => '报表展示图形', - 'description' => '报表展示图形', - 'type' => 'string', - 'example' => 'line', - ], - 'title' => [ - 'title' => '报表标题', - 'description' => '报表标题', - 'type' => 'string', - 'example' => 'TopUrlByAcc', - ], - ], - ], - ], - ], - 'reportId' => [ - 'title' => '报表ID', - 'description' => '报表ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - ], - 'example' => '"data":[{"reportId":1,"deliver":{"report":{"title":"DomainPvUv","format":"chart","shape":"line","xAxis":"ds","yAxis":"cnt","legend":"cnt_type","header":["ds","cnt_type","cnt"]}}}', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0979B99B-4F00-5037-8E15-5F7D4ABF8AA1'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', 'description' => ''], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_INVALID_PAY_METHOD', 'errorMessage' => 'INVALID_PAY_METHOD', 'description' => '付款方式无效。'], + ['errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_HASORDER', 'errorMessage' => 'You have an order not yet effective', 'description' => '您有未生效的订单。'], + ['errorCode' => 'CSS_CHECK_UPDOWNGRADE_ERROR', 'errorMessage' => 'You have an order not yet effective', 'description' => ''], + ['errorCode' => 'COMMODITY.INVALID_COMPONENT', 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0979B99B-4F00-5037-8E15-5F7D4ABF8AA1\\"\\n}","type":"json"}]', + 'title' => '修改CDN服务的计费类型', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"deliver\\": {\\n \\"report\\": {\\n \\"format\\": \\"table\\",\\n \\"header\\": [\\n \\"url\\"\\n ],\\n \\"outLine\\": 0,\\n \\"outSize\\": 0,\\n \\"shape\\": \\"line\\",\\n \\"title\\": \\"TopUrlByAcc\\"\\n }\\n },\\n \\"reportId\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnReportListResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Description>成功</Description>\\n <Content>\\n <data>\\n <reportId>1</reportId>\\n <deliver>\\n <report>\\n <title>DomainPvUv</title>\\n <format>chart</format>\\n <shape>line</shape>\\n <xAxis>ds</xAxis>\\n <yAxis>cnt</yAxis>\\n <legend>cnt_type</legend>\\n <header>ds</header>\\n <header>cnt_type</header>\\n <header>cnt</header>\\n </report>\\n </deliver>\\n </data>\\n <data>\\n <reportId>2</reportId>\\n <deliver>\\n <report>\\n <format>table</format>\\n <shape>line</shape>\\n <header>url</header>\\n <header>traf</header>\\n <header>traf_rate</header>\\n <header>acc</header>\\n <header>acc_rate</header>\\n <title>TopUrlByAcc</title>\\n </report>\\n </deliver>\\n </data>\\n </Content>\\n</DescribeCdnReportListResponse>","errorExample":""}]', - 'title' => '查询报表定制列表', - 'description' => '- 该接口将返回所有定制报表的元数据,不包含具体报表的统计数据。'."\n" - .'- 单用户调用频率:3次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '**data数据说明**'."\n" - .'|参数|类型|描述|'."\n" - .'|--------|------------------|----|'."\n" - .'|reportId|Long|任务的请求ID。|'."\n" - .'|deliver|report|报表样式。|'."\n" - ."\n" - .'**report数据说明**'."\n" - .'|参数|类型|描述|'."\n" - .'|--------|------------------|-----|'."\n" - .'|title|String|报表标题。|'."\n" - .'|format|String|报表类型。取值:<br>chart:图表。<br>table:表格。|'."\n" - .'|shape|String|图表类型。当format为table时,请忽略此字段。取值:<br>line:曲线图。<br>pie:饼状图。<br>bar:柱状图。|'."\n" - .'|header|String[]|报表的表头字段。|'."\n" - .'|legend|String|图形的图例字段。|'."\n" - .'|xAxis|String|图形x轴,没有则为空。|'."\n" - .'|yAxis|String|图形y轴,没有则为空。|', - 'extraInfo' => ' ', ], - 'CreateCdnDeliverTask' => [ - 'summary' => '调用CreateCdnDeliverTask创建报表订阅任务,订阅成功后系统会周期性地以邮件方式向您发送报表统计数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyRealtimeLogDelivery' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19969,65 +16714,32 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '111692', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111875', + 'abilityTreeNodes' => ['FEATUREcdnXDFG0Q'], ], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '订阅交付任务名称。', - 'type' => 'string', - 'required' => true, - 'example' => '域名订阅', - ], - ], - [ - 'name' => 'Reports', - 'in' => 'formData', - 'schema' => [ - 'description' => '待订阅的报表列表,需进行JSON转义。', - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"reportId\\":1,\\"conditions\\":[{\\"field\\":\\"prov\\",\\"op\\":\\"in\\",\\"value\\":[\\"黑龙江\\",\\"北京\\"]}]}]', - ], + 'name' => 'Project', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的ProjectName。', 'type' => 'string', 'required' => true, 'example' => 'testProject'], ], [ - 'name' => 'DomainName', - 'in' => 'formData', - 'schema' => [ - 'description' => '<props="china">待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)申请。</props>'."\n" - ."\n" - .'<props="intl">待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请。</props>'."\n" - .'> 不传该参数,默认为账号下的所有域名订阅报表交付任务。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example1.com,www.example2.com', - ], + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的LogStoreName。', 'type' => 'string', 'required' => true, 'example' => 'TestLog'], ], [ - 'name' => 'Deliver', - 'in' => 'formData', - 'schema' => [ - 'description' => '报表发送方式,仅支持邮件发送,需进行JSON转义。', - 'type' => 'string', - 'required' => true, - 'example' => '{"email":{"subject":"主题名称","to":["username@example.com","username@example.org"]}}', - ], + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => '实时投递sls的地域,详情请参见[实时日志服务推送地域](~~144883~~)。', 'type' => 'string', 'required' => true, 'example' => 'ch-shanghai'], ], [ - 'name' => 'Schedule', - 'in' => 'formData', - 'schema' => [ - 'description' => '订阅周期相关参数,需进行JSON转义。', - 'type' => 'string', - 'required' => true, - 'example' => '{\\"schedName\\":\\"周期任务名称\\",\\"description\\":\\"描述\\",\\"crontab\\":\\"000**?\\",\\"frequency\\":\\"d\\",\\"status\\":\\"enable\\",\\"effectiveFrom\\":\\"2020-09-17T00:00:00Z\\",\\"effectiveEnd\\":\\"2020-11-17T00:00:00Z\\"}', - ], + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '修改实时日志投递的域名,仅支持修改单个。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -20035,405 +16747,146 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DeliverId' => [ - 'description' => '订阅任务ID。', - 'type' => 'string', - 'example' => '1025', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'InternalException', 'errorMessage' => 'Internal occasional exception, please try again later.', 'description' => '内部偶发异常,请稍后重试。'], + ['errorCode' => 'InvalidDomain.NotFound', 'errorMessage' => 'The domain provided does not exist in our records.', 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ], + 404 => [ + ['errorCode' => 'LogstoreNotExist', 'errorMessage' => 'Logstore does not exist.', 'description' => 'Logstore 不存在。'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'internal server error', 'description' => '服务错误'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliverId\\": \\"1025\\",\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCdnDeliverTaskResponse>\\n <DeliverId>1025</DeliverId>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</CreateCdnDeliverTaskResponse>","errorExample":""}]', - 'title' => '创建报表订阅任务', - 'description' => '> 单用户调用频率:3次/秒。', - 'requestParamsDescription' => '**ReDatas数据说明**'."\n" - ."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-------|-----|------|'."\n" - .'|reportId|String|是|报表ID。|'."\n" - .'|conditions|ConDatas[]|否|报表过滤条件。|'."\n" - ."\n" - .'**ConDatas数据说明**'."\n" - ."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|----|-----|---------|'."\n" - .'|field|String|否|过滤字段。|'."\n" - .'|op|String|否|过滤操作。|'."\n" - .'|value|String[]|否|字段值数组。|'."\n" - ."\n" - .'**email数据说明**'."\n" - ."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-----|------|-------|'."\n" - .'|subject|String|是|订阅主题。|'."\n" - .'|to|String[]|是|收件邮箱列表数组。|'."\n" - ."\n" - .'**Deliver数据说明**'."\n" - ."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-----------|---|---|'."\n" - .'|subject|String|否|订阅主题。|'."\n" - .'|to|String[]|是|收件邮箱列表数组。|'."\n" - ."\n" - .'**Schedule数据说明**'."\n" - ."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-----------|----|---|'."\n" - .'|schedName|String|否|订阅任务名称。|'."\n" - .'|description|String|否|订阅任务描述。|'."\n" - .'|crontab|String|是|订阅任务执行周期。|'."\n" - .'|frequency|String|是|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**w**:周|'."\n" - .'|status|String|否|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" - .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" - .'|effectiveEnd|String|否|订阅交付任务结束时间。|', + 'title' => '修改实时日志投递', + 'summary' => '调用ModifyRealtimeLogDelivery更改域名实时日志投递,一个域名仅支持投递单个Logstore。', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCdnDeliverList' => [ - 'summary' => '调用DescribeCdnDeliverList查询报表订阅任务列表,系统将返回该用户所有的订阅任务列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:50:40.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-02-25T01:18:24.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-12-05T03:21:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRealtimeLogDelivery'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"<ModifyRealtimeLogDeliveryResponse>\\r\\n\\t<RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>\\r\\n</ModifyRealtimeLogDeliveryResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + ], + 'OpenCdnService' => [ + 'summary' => '调用OpenCdnService开通CDN服务。开通服务后才能进行域名操作。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '111724', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '111877', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DeliverId', + 'name' => 'InternetChargeType', 'in' => 'query', - 'schema' => [ - 'description' => '待查询的订阅任务ID。如果不传该参数,默认返回所有的订阅任务。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '开通服务的计费类型。取值为**PayByTraffic**,表示按流量计费。', 'type' => 'string', 'required' => true, 'example' => 'PayByTraffic'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回主体', - 'description' => '返回主体', + 'description' => '响应数据结构。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '12345', - ], - 'Content' => [ - 'description' => '订阅任务列表数据。', - 'type' => 'object', - 'properties' => [ - 'data' => [ - 'title' => '订阅内容主体', - 'description' => '订阅内容主体', - 'type' => 'array', - 'items' => [ - 'title' => '订阅内容主体', - 'description' => '订阅内容主体', - 'type' => 'object', - 'properties' => [ - 'createTime' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2021-12-30T10:29:29Z', - ], - 'crontab' => [ - 'title' => '定时任务配置', - 'description' => '定时任务配置', - 'type' => 'string', - 'example' => '00 00 08 * * ?', - ], - 'deliver' => [ - 'title' => '订阅形式', - 'description' => '订阅形式', - 'type' => 'object', - 'properties' => [ - 'email' => [ - 'title' => '邮件订阅内容', - 'description' => '邮件订阅内容', - 'type' => 'object', - 'properties' => [ - 'to' => [ - 'title' => '收件人', - 'description' => '收件人', - 'type' => 'array', - 'items' => [ - 'title' => '邮箱地址', - 'description' => '邮箱地址', - 'type' => 'string', - 'example' => 'xx@xx.xx', - ], - ], - ], - ], - ], - ], - 'deliverId' => [ - 'title' => '订阅ID', - 'description' => '订阅ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'dmList' => [ - 'title' => '域名列表', - 'description' => '域名列表', - 'type' => 'array', - 'items' => [ - 'title' => '域名', - 'description' => '域名', - 'type' => 'string', - 'example' => 'a.b.c', - ], - ], - 'frequency' => [ - 'title' => '订阅发送频率', - 'description' => '订阅发送频率', - 'type' => 'string', - 'example' => 'd', - ], - 'name' => [ - 'title' => '订阅名称', - 'description' => '订阅名称', - 'type' => 'string', - 'example' => 'xxxx', - ], - 'reports' => [ - 'title' => '订阅的报表列表', - 'description' => '订阅的报表列表', - 'type' => 'array', - 'items' => [ - 'title' => '报表', - 'description' => '报表', - 'type' => 'object', - 'properties' => [ - 'reportId' => [ - 'title' => '报表ID', - 'description' => '报表ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'status' => [ - 'title' => '订阅状态', - 'description' => '订阅状态', - 'type' => 'string', - 'example' => 'enable', - ], - 'timeEndFormat' => [ - 'title' => '订阅生效截止时间', - 'description' => '订阅生效截止时间', - 'type' => 'string', - 'example' => '-1d', - ], - 'timeFromFormat' => [ - 'title' => '订阅生效开始时间', - 'description' => '订阅生效开始时间', - 'type' => 'string', - 'example' => '-1d', - ], - ], - ], - ], - ], - 'example' => '"data": [{"deliverId": 1,"status": "enable","createTime": "2020-10-14T11:19:26Z","crontab": "0 0 0 * * ?","frequency": "d","name": "域名订阅","dmList": ["www.example.com"],"reports": [{"reportId": 1,"conditions": [{"op": "in","field": "prov","value": ["黑龙江","北京"]}]},{"reportId": 2}],"deliver": {"email": {"subject": "主题","to": ["example@alibaba-inc.com","example@alibaba-inc.com"]}}}]}}', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', + ['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified value of parameter InternetChargeType is not valid.', 'description' => ''], + ['errorCode' => 'CdnService.HasOpened', 'errorMessage' => 'Your cdn service has opened.', 'description' => 'CDN服务已开通,请勿重复开通。'], + ['errorCode' => 'InsufficientBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => ''], + ['errorCode' => 'NoRealNameAuthentication', 'errorMessage' => 'Real name authentication is needed.', 'description' => '您的账户未开通实名认证。'], + ['errorCode' => 'VertifyFailInvalidPayMethod', 'errorMessage' => 'INVALID PAY METHOD', 'description' => ''], + ['errorCode' => 'VertifyFailUserProfileComplete', 'errorMessage' => 'MISSING USERPROFILE', 'description' => ''], + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed', 'description' => ''], + ['errorCode' => 'QueryInfoError', 'errorMessage' => 'Create order failed', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter OwnerId or OwnerAccount that is mandatory for processing this request is not supplied.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Forbidden.Intl', 'errorMessage' => 'User not authorized to open Intl service.', 'description' => ''], + ['errorCode' => 'Forbidden.BidUser', 'errorMessage' => 'Bid user is limited to open service.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<OpenCdnServiceResponse>\\r\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\r\\n</OpenCdnServiceResponse>","errorExample":""}]', + 'title' => '开通CDN服务', + 'description' => '- 一个用户只能开通一次,且要求阿里云账号已通过实名认证。'."\n" + .'- 单用户调用频率:5次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:OpenCdnService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12345\\",\\n \\"Content\\": {\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2021-12-30T10:29:29Z\\",\\n \\"crontab\\": \\"00 00 08 * * ?\\",\\n \\"deliver\\": {\\n \\"email\\": {\\n \\"to\\": [\\n \\"xx@xx.xx\\"\\n ]\\n }\\n },\\n \\"deliverId\\": 1,\\n \\"dmList\\": [\\n \\"a.b.c\\"\\n ],\\n \\"frequency\\": \\"d\\",\\n \\"name\\": \\"xxxx\\",\\n \\"reports\\": [\\n {\\n \\"reportId\\": 1\\n }\\n ],\\n \\"status\\": \\"enable\\",\\n \\"timeEndFormat\\": \\"-1d\\",\\n \\"timeFromFormat\\": \\"-1d\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCdnDeliverListResponse>\\n <RequestId>12345</RequestId>\\n <Content>\\n <data>\\n <deliverId>1</deliverId>\\n <status>enable</status>\\n <createTime>2020-10-14T11:19:26Z</createTime>\\n <crontab>0 0 0 * * ?</crontab>\\n <frequency>d</frequency>\\n <name>域名订阅</name>\\n <dmList>www.example.com</dmList>\\n <reports>\\n <reportId>1</reportId>\\n <conditions>\\n <op>in</op>\\n <field>prov</field>\\n <value>黑龙江</value>\\n <value>北京</value>\\n </conditions>\\n </reports>\\n <reports>\\n <reportId>2</reportId>\\n </reports>\\n <deliver>\\n <email>\\n <subject>主题</subject>\\n <to>example@alibaba-inc.com</to>\\n <to>example@alibaba-inc.com</to>\\n </email>\\n </deliver>\\n </data>\\n </Content>\\n</DescribeCdnDeliverListResponse>","errorExample":""}]', - 'title' => '查询报表订阅列表', - 'description' => '> 单用户调用频率:3次/秒。', - 'responseParamsDescription' => '**data数据说明**'."\n" - ."\n" - .'|参数|类型|描述|'."\n" - .'|--------|-------|-----------|'."\n" - .'|deliverId|Long|订阅任务ID。|'."\n" - .'|status|String|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" - .'|createTime|String|订阅任务创建时间。|'."\n" - .'|crontab|String|订阅任务执行周期。|'."\n" - .'|frequency|String|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**M**:月|'."\n" - .'|name|String|订阅任务名称。|'."\n" - .'|dmList|String[]|订阅任务的域名过滤列表。|'."\n" - .'|reports|String[]|订阅报表列表。包含以下参数:<br>reportId:报表ID。<br>conditions:报表过滤条件(包含过滤操作、过滤字段和过滤值),没有则为空。op:过滤操作,目前只支持**in**;field:过滤字段;value:过滤值。|'."\n" - .'|deliver|String|交付模块,包含邮件主题、收件人等信息。<br>email:邮件交付。<br>subject:邮件主题。<br>to:发送邮件列表。<br>copy:抄送邮件列表。|'."\n" - ."\n" - .'**reports数据说明**'."\n" - ."\n" - .'|参数|类型|描述|'."\n" - .'|--------|---------|---------|'."\n" - .'|deliverId|Long|订阅任务ID。|'."\n" - .'|status|String|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|', ], - 'UpdateCdnDeliverTask' => [ - 'summary' => '调用UpdateCdnDeliverTask根据订阅任务ID更新已订阅的报表任务。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PublishStagingConfigToProduction' => [ + 'summary' => '调用PublishStagingConfigToProduction将模拟环境配置发布为生产环境配置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '111920', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DeliverId', - 'in' => 'formData', - 'schema' => [ - 'description' => '待更新的订阅任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '订阅任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '域名订阅', - ], - ], - [ - 'name' => 'Reports', - 'in' => 'formData', - 'schema' => [ - 'description' => '待订阅的报表列表,需进行JSON转义。', - 'type' => 'string', - 'required' => false, - 'example' => '[{\\"reportId\\":1,\\"conditions\\":[{\\"field\\":\\"prov\\",\\"op\\":\\"in\\",\\"value\\":[\\"黑龙江\\",\\"北京\\"]}]}]', - ], - ], - [ 'name' => 'DomainName', - 'in' => 'formData', - 'schema' => [ - 'description' => '待订阅的域名列表,支持批量查询域名,多个域名用英文逗号(,)分隔,一次最多支持500个域名查询。'."\n" - .'如果不传该参数,默认为账号下的所有域名订阅报表交付任务。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], - ], - [ - 'name' => 'Deliver', - 'in' => 'formData', - 'schema' => [ - 'description' => '报表发送方式,仅支持邮件发送,需进行JSON转义。', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"email\\":{\\"subject\\":\\"主题名称\\",\\"to\\":[\\"songmingyuan@alibaba-inc.com\\",\\"songmingyuan@alibaba-inc.com\\"]}}"', - ], - ], - [ - 'name' => 'Schedule', - 'in' => 'formData', - 'schema' => [ - 'description' => '订阅周期相关参数,需进行JSON转义。', - 'type' => 'string', - 'required' => false, - 'example' => '"{\\"schedName\\":\\"周期任务名称\\",\\"description\\":\\"描述\\",\\"crontab\\":\\"000**?\\",\\"frequency\\":\\"d\\",\\"status\\":\\"enable\\",\\"effectiveFrom\\":\\"2020-09-17T00:00:00Z\\",\\"effectiveEnd\\":\\"2020-11-17T00:00:00Z\\"}"', - ], + 'in' => 'query', + 'schema' => ['description' => '加速域名,仅支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -20441,94 +16894,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', - ], + ['errorCode' => 'StagingConfig.Failed', 'errorMessage' => 'Rules in staging are being configured, please try again later.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'StagingConfig.NotFound', 'errorMessage' => 'The Staging configuration does not exist.', 'description' => '灰度配置不存在。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCdnDeliverTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateCdnDeliverTaskResponse>","errorExample":""}]', - 'title' => '更新报表订阅任务', - 'description' => '> 单用户调用频率:3次/秒。'."\n", - 'requestParamsDescription' => '**ReDatas数据说明**'."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|--------|------|----|'."\n" - .'|reportId|String|是|报表ID。|'."\n" - .'|conditions|ConDatas[]|否|报表过滤条件。|'."\n" - ."\n" - .'**ConDatas数据说明**'."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|------|------|------|'."\n" - .'|field|String|否|过滤字段。|'."\n" - .'|op|String|否|过滤操作。|'."\n" - .'|value|String[]|否|字段值数组。|'."\n" - ."\n" - .'**email数据说明**'."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-------|------|-----|'."\n" - .'|subject|String|是|订阅主题。|'."\n" - .'|to|String[]|是|收件邮箱列表。|'."\n" - ."\n" - .'**Deliver数据说明**'."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|-----|------|-------|'."\n" - .'|subject|String|否|订阅主题。|'."\n" - .'|to|String[]|是|收件邮箱列表。|'."\n" - ."\n" - .'**Schedule数据说明**'."\n" - .'|参数|类型|是否必须|描述|'."\n" - .'|--------|--------|-----|-----|'."\n" - .'|schedName|String|否|订阅任务名称。|'."\n" - .'|description|String|否|订阅任务描述。|'."\n" - .'|crontab|String|是|订阅任务执行周期。|'."\n" - .'|frequency|String|是|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**w**:周|'."\n" - .'|status|String|否|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" - .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" - .'|effectiveEnd|String|否|订阅交付任务结束时间。|', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<PublishStagingConfigToProductionResponse>\\r\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</PublishStagingConfigToProductionResponse>","errorExample":""}]', + 'title' => '发布模拟环境配置到生产环境', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteCdnDeliverTask' => [ - 'summary' => '调用DeleteCdnDeliverTask根据任务ID删除已订阅的报表任务。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-01-11T07:43:04.000Z', 'description' => '响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:PublishStagingConfigToProduction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'PushObjectCache' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20536,260 +16940,287 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111701', - 'abilityTreeNodes' => [ - 'FEATUREcdnEK7SNH', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111882', + 'abilityTreeNodes' => ['FEATUREcdnKZKOWX'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DeliverId', + 'name' => 'ObjectPath', + 'in' => 'query', + 'schema' => ['description' => '预热URL,格式为**加速域名/预热的文件**。'."\n" + ."\n" + .'> 多个URL之间用换行符分隔,ObjectPath的单条长度最长为1024个字符。', 'type' => 'string', 'required' => true, 'example' => 'http://example.com/image/1.png'."\n" + .'http://example.org/image/2.png'], + ], + [ + 'name' => 'Area', 'in' => 'query', 'schema' => [ - 'description' => '待删除的订阅任务ID。您可以调用[DescribeCdnDeliverList](~~270877~~)接口查询订阅任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', + 'description' => '预热区域,取值:'."\n" + ."\n" + .'- **domestic**:**仅中国内地**。'."\n" + .'- **overseas**:**全球**(不包含中国内地)。'."\n" + ."\n" + .'如果不传该参数,默认的预热区域为您的域名所配置的CDN加速区域。'."\n" + ."\n" + .'> '."\n" + .'> - 如果需要预热区域为**全球**,则必须保证加速域名的加速区域为**全球**,然后该参数不传参。', + 'type' => 'string', + 'required' => false, + 'example' => 'domestic', + 'enum' => ['domestic', 'overseas'], ], ], + [ + 'name' => 'L2Preload', + 'in' => 'query', + 'schema' => ['description' => '是否直接预热到L2节点。取值:'."\n" + ."\n" + .'- **true**:代表预热的节点层级必须包含L2节点。'."\n" + .'- **false**:代表仅预热回源层节点(**false**为默认值,回源层节点可能是L2节点,也可能是L3节点)。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'], + ], + [ + 'name' => 'WithHeader', + 'in' => 'query', + 'schema' => ['description' => '预热请求默认携带的header是Accept-Encoding:gzip,如果您需要预热请求携带其他header,或者实现多副本预热,那么可以使用该参数来实现自定义预热header。用JSON串格式提交。'."\n" + ."\n" + .'> 若预热的时候不需要Accept-Encoding头部,则按如下提交'."\n" + .'> - {"Accept-Encoding": [" "]}', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "Accept-Encoding": ['."\n" + .' "gzip, deflate, br"'."\n" + .' ]'."\n" + .'}'], + ], + [ + 'name' => 'QueryHashkey', + 'in' => 'query', + 'schema' => ['description' => '该参数用于控制执行预热任务时是否开启hashkey查询模式。取值范围:'."\n" + .'- false:默认模式,不传参数的时候使用该模式,指的是直接使用提交的URL作为预热文件的hashkey。'."\n" + .'- true:根据域名的配置来查询预热URL实际使用的hashkey。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ConsistencyHash', + 'in' => 'query', + 'schema' => ['description' => '如果域名加速区域为中国大陆并且开启了HASH回源,可通过此参数设置HASH预热,实现区域回源收敛,减少预热产生的回源带宽。'."\n" + ."\n" + .'- true: 开启HASH预热。'."\n" + .'- false: 缺省逻辑,不开启HASH预热。'."\n" + ."\n" + .'><notice>仅对加速区域为中国大陆的域名有效。></notice>', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'PushTaskId' => ['description' => '预热返回的任务ID,多个任务ID用半角逗号(,)分隔。预热返回的任务ID会按照以下两条规则对预热任务做合并:'."\n" + ."\n" + .'- 同一个域名、同一秒钟提交的预热任务(URL颗粒度)会被合并为同一个PushTaskId。'."\n" + .'- 同一个域名、同一秒钟提交的预热任务(URL颗粒度)如果超过500条,那么会按照每500条合并为一个PushTaskId的方式处理。', 'type' => 'string', 'example' => '9524xxxx'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'TimeParseFailed', - 'errorMessage' => 'Failed to parse the time parameter.', - ], - [ - 'errorCode' => 'SubscriptionAlreadyExists', - 'errorMessage' => 'The subscription already exists.', - ], - [ - 'errorCode' => 'SubscriptionNotFound', - 'errorMessage' => 'The subscription is not found.', - ], - [ - 'errorCode' => 'NameAlreadyExists', - 'errorMessage' => 'The name already exists.', - ], - [ - 'errorCode' => 'DeliverExceedLimit', - 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', + ['errorCode' => 'SingleRequest.OverLimit', 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.Preload', 'errorMessage' => 'Your preload attempts have exceeded the daily limit.', 'description' => '超出当日预热额度限制。'], + ['errorCode' => 'InvalidObjectPath.Malformed', 'errorMessage' => 'The specified ObjectPath is invalid.', 'description' => ''], + ['errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', 'errorMessage' => 'The specified ExtensiveDomain is not supported.', 'description' => ''], + ['errorCode' => 'PreloadQueueFull', 'errorMessage' => 'The warming queue is full,please try again later.', 'description' => ''], + ['errorCode' => 'QuotaPerMinuteExceeded.Refresh', 'errorMessage' => 'You have exceeded the prescribed preload limits per minute.', 'description' => ''], + ['errorCode' => 'InvalidObjectPath.ExceedsMaximum', 'errorMessage' => 'The maximum number of urls is exceeded.', 'description' => '提交URL数超过最大限制。'], + ['errorCode' => 'InvalidCustomHeader', 'errorMessage' => 'Parse preload header failed.', 'description' => '自定义头部解析错误。'], + ], + 429 => [ + ['errorCode' => 'TooManyRequests', 'errorMessage' => 'System load fluctuates, please try again later.', 'description' => '系统负载波动,请稍候重试。'], + ], + ], + 'title' => '预热URL', + 'summary' => '将源站的内容主动预热到缓存节点上。您首次访问可直接命中缓存,缓解源站压力。', + 'description' => '- 请求方式:支持POST请求,参数用form表单显示。'."\n" + .'- 相关接口:刷新预热类接口包含[RefreshObjectCaches](~~91164~~)刷新接口和[PushObjectCache](~~91161~~)预热接口。'."\n" + .'- URL预热配额(每日):默认情况下,一个账号每日最多可以提交1000条URL预热任务,如果您账号的日带宽峰值大于200 Mbps,可通过<props="china">[配额管理](~~256513~~)</props><props="intl">[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)</props>申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\n" + .'- 每次最多可以提交100条URL预热任务。'."\n" + .'- 预热队列规则:每个账号的预热队列最大为100000条URL,CDN根据URL提交的先后顺序进行预热;当预热队列中待预热的URL达到了100000条时,CDN将会拒绝接收新的预热任务。'."\n" + .'- 单用户调用频率:50次/秒。'."\n" + .'- 如果您需要自动化刷新或预热,请参见[刷新预热批处理脚本](~~151829~~)。'."\n" + ."\n" + .'## 注意事项'."\n" + .'- 提交预热任务并成功执行后,CDN节点会立即回源站加载所需资源,因此大批量提交预热任务会生成较多的并发下载任务,导致回源带宽和请求突增,增加源站压力。'."\n" + .'- 预热任务从提交到预热完成,实际执行时间视预热文件大小而定,大约需要5~30分钟,文件平均大小越小,预热速度越快。'."\n" + .'- 使用RAM用户来执行刷新或预热操作的,需要先获得授权,请参见[授予RAM用户刷新预热权限](~~260300~~)完成授权。'."\n" + .'- 预热请求默认携带的header是Accept-Encoding:gzip,如果您需要预热请求携带其他header,或者实现多副本预热,那么可以使用请求参数WithHeader来实现自定义预热header。'."\n" + .'- 预热时,如果源站返回307等重定向相关的状态码,预热任务并不会跟随重定向地址继续完成预热,最终会导致预热失败。如果源站返回的是301或者302状态码,并且CDN上已经开启了回源301/302跟随,这种情况下正常预热不受影响。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:50:08.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-11-03T02:44:02.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-21T07:18:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-07-25T13:59:43.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-01-11T07:47:27.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-11-24T02:42:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushObjectCache'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:PushObjectCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteCdnDeliverTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteCdnDeliverTaskResponse>","errorExample":""}]', - 'title' => '删除报表订阅任务', - 'description' => '> 单用户调用频率:3次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PushTaskId\\": \\"9524xxxx\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":""},{"type":"xml","example":"<PushObjectCacheResponse>\\n <PushTaskId>9524xxxx</PushTaskId>\\n <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>\\n</PushObjectCacheResponse>","errorExample":""}]', ], - 'DescribeIpInfo' => [ - 'summary' => '调用DescribeIpInfo验证指定的IP是否为阿里云CDN节点的IP地址。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RefreshObjectCacheByCacheTag' => [ + 'summary' => '当用户设置了缓存标签功能后,通过调用RefreshObjectCacheByCacheTag指定缓存标签对缓存进行刷新。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111823', - 'abilityTreeNodes' => [ - 'FEATUREcdnNSUDKT', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'IP', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '指定IP地址,不支持批量。', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.1', - ], + 'schema' => ['description' => '加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'CacheTag', + 'in' => 'query', + 'schema' => ['description' => '缓存标签。多个用逗号隔开。', 'type' => 'string', 'required' => true, 'example' => 'tag1,tag2', 'maxLength' => 16384], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => ['description' => '是否强制刷新对应范围内的全部资源。默认为false。'."\n" + .'- **true**:刷新全部资源。选择 “true” 时,如果用户请求的内容匹配到了对应范围内的资源,CDN 节点将会直接回源拉取新资源返回给用户,并重新缓存该资源。'."\n" + .'- **false**:刷新变更资源。选择 “false” 时,如果用户请求的内容匹配到了对应范围内的资源,CDN 节点将会回源获取资源的 Last-Modified 信息,若与当前缓存资源一致,则直接返回已缓存资源,若不一致,则回源拉取新资源返回给用户,并重新缓存该资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'CdnIp' => [ - 'description' => '是否属于阿里云CDN节点。'."\n" - ."\n" - .'- **True**:属于。'."\n" - ."\n" - .'- **False**:不属于。', - 'type' => 'string', - 'example' => 'True', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '123847FA-9A00-4426-83B8-B4B45D475930', - ], - 'RegionEname' => [ - 'description' => '所属地域英文名称。', - 'type' => 'string', - 'example' => 'China-Guizhou-guiyang', - ], - 'Region' => [ - 'description' => '所属地域中文名称。', - 'type' => 'string', - 'example' => '中国-贵州省-贵阳市', - ], - 'IspEname' => [ - 'description' => '所属运营商英文名称。', - 'type' => 'string', - 'example' => 'telecom', - ], - 'ISP' => [ - 'description' => '所属运营商中文名称。', - 'type' => 'string', - 'example' => '电信', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '2E5AD83F-BD7B-462E-8319-2E30E305519A'], + 'RefreshTaskId' => ['description' => '刷新返回的任务ID。', 'type' => 'string', 'example' => '17772470184'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidIP.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter IP is not supported.', + ['errorCode' => 'SingleRequest.OverLimit', 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', 'description' => ''], + ['errorCode' => 'InvalidObjectType.Malformed', 'errorMessage' => 'The specified ObjectType is invalid.', 'description' => '指定的ObjectType无效。'], + ['errorCode' => 'InvalidObjectPath.Malformed', 'errorMessage' => 'The specified ObjectPath is invalid.', 'description' => ''], + ['errorCode' => 'InvalidObjectPath.Size.Malformed', 'errorMessage' => 'The size of ObjectPath is bigger than 1000.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.Refresh', 'errorMessage' => 'You\'ve exceeded the prescribed refresh limits.', 'description' => ''], + ['errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', 'errorMessage' => 'The specified ExtensiveDomain is not supported.', 'description' => ''], + ['errorCode' => 'QuotaPerMinuteExceeded.Refresh', 'errorMessage' => 'You tried to refresh too frequently; please try again later.', 'description' => ''], + ['errorCode' => 'TooMany.Refresh', 'errorMessage' => 'The refresh queue is full; please try again later.', 'description' => ''], + ['errorCode' => 'PreloadQueueFull', 'errorMessage' => 'Preload queue is full, please try again later!', 'description' => ''], + ['errorCode' => 'InvalidStations.Malformed', 'errorMessage' => 'The specified Stations is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameters', 'errorMessage' => 'The parameters you provided are invalid.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E5AD83F-BD7B-462E-8319-2E30E305519A\\",\\n \\"RefreshTaskId\\": \\"17772470184\\"\\n}","type":"json"}]', + 'title' => '根据缓存标签刷新缓存', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:RefreshObjectCacheByCacheTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CdnIp\\": \\"True\\",\\n \\"RequestId\\": \\"123847FA-9A00-4426-83B8-B4B45D475930\\",\\n \\"RegionEname\\": \\"China-Guizhou-guiyang\\",\\n \\"Region\\": \\"中国-贵州省-贵阳市\\",\\n \\"IspEname\\": \\"telecom\\",\\n \\"ISP\\": \\"电信\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeIpInfoResponse>\\n <CdnIp>True</CdnIp>\\n <RequestId>123847FA-9A00-4426-83B8-B4B45D475930</RequestId>\\n <RegionEname>China-Guizhou-guiyang</RegionEname>\\n <Region>中国-贵州省-贵阳市</Region>\\n <IspEname>telecom</IspEname>\\n <ISP>电信</ISP>\\n</DescribeIpInfoResponse>","errorExample":""}]', - 'title' => '查询IP是否为CDN节点', - 'description' => '> 单用户调用频率:50次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeStagingIp' => [ - 'summary' => '调用DescribeStagingIp查询模拟环境的节点IP地址。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RefreshObjectCaches' => [ + 'summary' => '刷新节点上的文件内容。被刷新的文件缓存将立即失效,新的请求将回源获取最新的文件,支持URL批量刷新。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111836', - 'abilityTreeNodes' => [ - 'FEATUREcdnD8A1YM', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111883', + 'abilityTreeNodes' => ['FEATUREcdnW2530F', 'FEATUREcdnMNEAI4', 'FEATUREcdnMZ37V7'], ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381', - ], - 'IPV4s' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'IPV4' => [ - 'description' => 'IPv4格式的IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'IPv4地址。', - 'type' => 'string', - 'example' => 'xx.xx.xx.xx', - ], - ], - ], - ], - ], - ], + 'parameters' => [ + [ + 'name' => 'ObjectPath', + 'in' => 'formData', + 'schema' => ['description' => '- 单次提交多个URL或多个目录时,使用换行符分隔。'."\n" + .'- 单次提交的任务中所有URL的域名个数总和需要在10个以内。', 'type' => 'string', 'required' => true, 'example' => 'http://example.com/image/1.png'."\n" + .'http://aliyundoc.com/image/2.png'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381\\",\\n \\"IPV4s\\": {\\n \\"IPV4\\": [\\n \\"xx.xx.xx.xx\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeStagingIpResponse>\\n<IPV4s>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n <IPV4>xx.xx.xx.xx</IPV4>\\n</IPV4s>\\n<RequestId>1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381</RequestId>\\n</DescribeStagingIpResponse>","errorExample":""}]', - 'title' => '查询节点IP列表-模拟环境-L1', - 'description' => '> 单用户调用频率:30次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeL2VipsByDomain' => [ - 'summary' => '调用DescribeL2VipsByDomain查询指定域名的L2节点的IP地址。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ObjectType', + 'in' => 'formData', + 'schema' => ['description' => '刷新类型。取值范围:'."\n" + ."\n" + .'- **File**(默认值):URL。'."\n" + .'- **Directory**:目录。'."\n" + .'- **Regex**:正则刷新。'."\n" + .'- **IgnoreParams**:去参数刷新。去参数指的是去除请求URL中`?`及`?`之后的参数,去参数刷新指的是用户先通过接口提交去参数后的URL,然后用户提交的待刷新URL将会与已缓存资源的URL进行去参数匹配,如果已缓存资源的URL去参数以后与待刷新URL匹配,那么CDN节点将对缓存资源执行刷新处理。'."\n" + ."\n" + .'> - URL刷新和目录刷新的功能说明请参考[刷新和预热资源](~~64936~~)。'."\n" + .'>- 文件刷新将直接删除节点上的资源,当有新请求时回源拉取新资源。其它刷新类型默认只刷新发生变更的资源,需要强制刷新请配置Force参数为true,详见Force参数说明。', 'type' => 'string', 'required' => false, 'example' => 'File', 'default' => 'File'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111825', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + [ + 'name' => 'Force', + 'in' => 'formData', + 'schema' => ['description' => '是否直接删除CDN节点上的缓存。默认为false。'."\n" + ."\n" + .'- **true**:直接删除CDN节点上的缓存。直接删除意味着立即将指定的缓存资源从CDN的所有节点上删除,下一个对该资源的请求将需要访问源服务器去获取最新版本的数据,然后重新进行缓存。这种方式可以确保一旦执行了删除操作后,所有后续请求都将获得最新的内容,适合于需要立即更新缓存内容的情况,例如紧急修复安全漏洞或者发布重要更新时。但需要注意的是,这可能会瞬间增加源服务器的压力,因为所有相关请求都需要访问源服务器。'."\n" + ."\n" + .'- **false**:对CDN节点上的缓存标记过期。将缓存资源标记为过期之后,下一个对该资源的请求到达时,CDN节点将会回源验证该资源的最新版本,若与当前缓存资源一致,则直接返回已缓存资源,若不一致,则回源拉取新资源返回给用户,并重新缓存该资源。这种方法的好处是它允许逐渐更新缓存中的内容,而不是立即全部清除,适用于需要平滑过渡的情况,可以减少由于直接删除大量缓存而可能导致源站压力增大。'."\n" + ."\n" + .'> 此参数生效范围:使用目录刷新、正则刷新、去参数刷新这三种刷新方式的时候可以生效。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], - ], - 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'name' => 'ReplicaTag', + 'in' => 'formData', + 'schema' => ['description' => '参数暂不可用。', 'type' => 'string', 'required' => false, 'example' => 'false', 'maxLength' => 1024], ], ], 'responses' => [ @@ -20797,115 +17228,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'Vips' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Vip' => [ - 'description' => 'VIP列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VIP地址。', - 'type' => 'string', - 'example' => '1.1.1.1/25', - ], - ], - ], - ], + 'RefreshTaskId' => ['description' => '刷新返回的任务ID,多个任务ID用半角逗号(,)分隔。刷新返回的任务ID会按照以下两条规则对刷新任务做合并:'."\n" + ."\n" + .'- 同一个域名、同一秒钟提交的刷新任务(URL颗粒度)会被合并为同一个RefreshTaskId。'."\n" + .'- 同一个域名、同一秒钟提交的刷新任务(URL颗粒度)如果超过2000条,那么会按照每2000条合并为一个RefreshTaskId的方式处理。', 'type' => 'string', 'example' => '704222901'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalOperation', - 'errorMessage' => 'Illegal domain operate is not permitted.', - ], - [ - 'errorCode' => 'SingleRequest.OverLimit', - 'errorMessage' => 'A maximum of 1 DomainName is supported for each request.', - ], + ['errorCode' => 'SingleRequest.OverLimit', 'errorMessage' => 'A maximum of 1000 URLs are supported for each request.', 'description' => ''], + ['errorCode' => 'InvalidObjectType.Malformed', 'errorMessage' => 'The specified ObjectType is invalid.', 'description' => '指定的ObjectType无效。'], + ['errorCode' => 'InvalidObjectPath.Malformed', 'errorMessage' => 'The specified ObjectPath is invalid.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.Refresh', 'errorMessage' => 'Your refresh attempts have exceeded the daily limit.', 'description' => '刷新数量超过日quota限额。'], + ['errorCode' => 'InvalidExtensiveDomain.ValueNotSupported', 'errorMessage' => 'The specified ExtensiveDomain is not supported.', 'description' => ''], + ['errorCode' => 'QuotaPerMinuteExceeded.Refresh', 'errorMessage' => 'You tried to refresh too frequently, please try again later.', 'description' => ''], + ['errorCode' => 'TooMany.Refresh', 'errorMessage' => 'The refresh queue is full, please try again later.', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'SystemBusy', - 'errorMessage' => 'The system is busy, please try again later.', + 429 => [ + ['errorCode' => 'TooManyRequests', 'errorMessage' => 'Too many requests, please try again later', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RefreshTaskId\\": \\"704222901\\",\\n \\"RequestId\\": \\"D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C\\"\\n}","errorExample":"{\\n\\"RefreshTaskId\\":\\"704222904\\",\\"RequestId\\":\\"D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C\\"\\n}"},{"type":"xml","example":"<RefreshObjectCachesResponse>\\n<RefreshTaskId>704222904</RefreshTaskId>\\n<RequestId>D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C</RequestId>\\n</RefreshObjectCachesResponse>","errorExample":"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>,<RefreshObjectCachesResponse>,<RefreshTaskId>704225667</RefreshTaskId>,<RequestId>AB14769A-A5F2-4CCD-B85B-3368DFF63C0A</RequestId>,</RefreshObjectCachesResponse>"}]', + 'title' => '刷新缓存', + 'description' => '- 请求方式:支持POST请求,参数用form表单显示。'."\n" + .'- 相关接口:刷新预热类接口包含[RefreshObjectCaches](~~91164~~)刷新接口和[PushObjectCache](~~91161~~)预热接口。'."\n" + .'- 单用户调用频率:50次/秒。'."\n" + .'- 如果您需要自动化刷新或预热,请参见[刷新预热自动化脚本](~~151829~~)。'."\n" + ."\n" + .'## 注意事项'."\n" + .'- 提交刷新任务并成功执行后,CDN节点上对应的缓存资源将会失效,当您再次发起访问请求时,节点会回源站拉取所需资源,并重新缓存在节点上,因此大批量提交刷新任务会清空较多缓存,导致回源带宽和请求突增,增加源站压力。'."\n" + .'- 刷新任务从提交到生效,大约需要5~6分钟,如果文件或者目录配置的缓存过期时间少于5分钟,您无需执行刷新操作,等待文件或者目录缓存超时更新即可。'."\n" + .'- 使用RAM用户来执行刷新或预热操作的,需要先获得授权,请参见[授予RAM用户刷新预热权限](~~260300~~)完成授权。'."\n" + ."\n" + .'### URL刷新配额'."\n" + .'- 默认情况下,一个账号每日最多可以提交10000条URL刷新和100个目录刷新,目录刷新包含子目录。如果您的阿里云账号的日带宽峰值大于200 Mbps,您可以参考<props="china">[配额管理](~~256513~~)</props><props="intl">[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)</props>申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\n" + .'- 默认情况下,一个账号每日最多可以提交20个正则刷新、100个去参数刷新,如果您的阿里云账号的日带宽峰值大于10 Gbps,您可以通过<props="china">[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)</props><props="intl">[提交工单](https://workorder-intl.console.aliyun.com/#/ticket/createIndex)</props>来申请提升每日配额。'."\n" + .'- 每次请求最多支持提交1000条URL刷新或者100个目录刷新或者1个正则刷新。'."\n" + .'- 单个域名每分钟最多支持提交10000条URL刷新。', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:49:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-11-19T05:52:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-17T06:54:03.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshObjectCaches'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:RefreshObjectCaches', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"1.1.1.1/25\\"\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeL2VipsByDomainResponse>\\r\\n\\t<Vips>\\r\\n\\t\\t<Vip>xxx.111.111/25</Vip>\\r\\n\\t\\t<Vip>xxx.112.112/25</Vip>\\r\\n\\t\\t<Vip>xxx.33.190/25</Vip>\\r\\n\\t\\t<Vip>xxx.96.109/25</Vip>\\r\\n\\t\\t<Vip>xxx.20.226/25</Vip>\\r\\n\\t\\t<Vip>xxx.19.140/25</Vip>\\r\\n\\t\\t<Vip>xxx.215.140/25</Vip>\\r\\n\\t</Vips>\\r\\n\\t<RequestId>820E7900-5CA9-4AEF-B0DD-20ED5F64BE55</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n</DescribeL2VipsByDomainResponse>\\t\\r\\n","errorExample":""}]', - 'title' => '查询节点IP地址-L2', - 'description' => '该接口仅支持日峰值带宽为1Gbps以上的用户调用,如果您符合该条件,请提交工单申请该接口的调用权限。 '."\n" - .'- 单用户调用频率:40次/秒。'."\n" - .'- 本接口的返回结果仅支持CDN控制台接入域名查询相关L2节点地址,DCDN控制台接入域名不适用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeUserVipsByDomain' => [ - 'summary' => '调用DescribeUserVipsByDomain查询域名的IP列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RollbackStagingConfig' => [ + 'summary' => '调用RollbackStagingConfig可以起到回滚模拟环境配置的作用,配置回滚后的模拟环境将被还原为初始状态,模拟环境下的所有配置都将被清空。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111846', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '域名,只支持单个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Available', - 'in' => 'query', - 'schema' => [ - 'description' => '是否查询健康VIP。取值:'."\n" - ."\n" - .'- **on**:健康VIP。'."\n" - .'- **off**:全部VIP。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'off' => '全部VIP', - 'on' => '健康VIP', - ], - 'example' => 'on', - 'enum' => [ - 'on', - 'off', - ], - ], + 'schema' => ['description' => '加速域名,仅支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -20913,91 +17317,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '820E7900-5CA9-4AEF-B0DD-20ED5F64BE55', - ], - 'Vips' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Vip' => [ - 'description' => 'VIP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VIP地址。', - 'type' => 'string', - 'example' => '122.72.xxx.xxx', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The specified value of parameter "DomainName" can not be empty.', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided is offline or not exist.', - ], - [ - 'errorCode' => 'IllegalOperation', - 'errorMessage' => 'Illegal domain operate is not permitted.', - ], + 404 => [ + ['errorCode' => 'StagingConfig.NotFound', 'errorMessage' => 'The Staging configuration does not exist.', 'description' => '灰度配置不存在。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\",\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"122.72.xxx.xxx\\"\\n ]\\n }\\n}","errorExample":"{\\n \\"Vips\\": {\\n \\"Vip\\": [\\n \\"122.72.xxx.xxx\\",\\n \\"119.14.xxx.xxx\\",\\n \\"221.13.xxx.xxx\\",\\n \\"124.95.xxx.xxx\\",\\n \\"58.211.xxx.xxx\\"\\n ]\\n },\\n \\"RequestId\\": \\"820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\",\\n \\"DomainName\\": \\"example.com\\"\\n}"},{"type":"xml","example":"<DescribeUserVipsByDomainResponse>\\r\\n\\t<Vips>\\r\\n\\t\\t<Vip>122.72.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>119.14.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>221.13.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>124.95.xxx.xxx</Vip>\\r\\n\\t\\t<Vip>58.211.xxx.xxx</Vip>\\r\\n\\t</Vips>\\r\\n\\t<RequestId>820E7900-5CA9-4AEF-B0DD-20ED5F64BE55</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n</DescribeUserVipsByDomainResponse>","errorExample":""}]', - 'title' => '查询节点IP列表-L1', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<RollbackStagingConfigResponse>\\r\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</RollbackStagingConfigResponse>","errorExample":""}]', + 'title' => '回滚模拟环境配置', 'description' => '> 单用户调用频率:30次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeIpStatus' => [ - 'summary' => '调用DescribeIpStatus查询节点IP可用状态,进而根据节点IP可用状态来了解节点加速服务的可用状态。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-07-25T13:59:43.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-03-23T02:59:54.000Z', 'description' => '响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:RollbackStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'SetCdnDomainCSRCertificate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111824', - 'abilityTreeNodes' => [ - 'FEATUREcdnNSUDKT', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111887', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'Ips', + 'name' => 'ServerCertificate', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的IP地址列表,最多支持批量查询20个IP地址,IP地址之间使用下划线_分隔,如:ip1_ip2_ip3。', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.1_10.10.10.1', - ], + 'schema' => ['description' => '证书内容。该证书必须是通过[CreateCdnCertificateSigningRequest](~~144478~~)接口创建的CSR对应的签名证书,内部必须是PEM格式的证书,Base64编码后再通过encodeURIComponent。', 'type' => 'string', 'required' => true, 'example' => '----BEGIN CERTIFICATE----- MIIFz****-----END CERTIFICATE-----'], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '要设置的加速域名,需属于HTTPS加速类型。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -21005,67 +17384,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F61CDR30-E83C-4FDA-BF73-9A94CDD44229', - ], - 'IpStatus' => [ - 'description' => '节点IP地址状态列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ip' => [ - 'description' => '节点IP地址。', - 'type' => 'string', - 'example' => '10.10.10.10', - ], - 'status' => [ - 'description' => '状态。'."\n" - ."\n" - .'- **nonali**:非阿里云CDN节点。'."\n" - .'- **normal**:阿里云CDN节点,正常状态。'."\n" - .'- **abnormal**:阿里云CDN节点,异常状态。', - 'type' => 'string', - 'example' => 'abnormal', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidArgIps.Malformed', - 'errorMessage' => 'The specified ips is invalid.', - ], - [ - 'errorCode' => 'InvalidArgIps.IpCanNotFound', - 'errorMessage' => 'The ips can not found.', - ], + ['errorCode' => 'Certificate.MissingParameter', 'errorMessage' => 'You must specify the Certificate parameter.', 'description' => 'Certificate参数缺失'], + ['errorCode' => 'Certificate.EncodeError', 'errorMessage' => 'An error occurred while encoding the certificate.', 'description' => '证书编码错误'], + ['errorCode' => 'Certificate.DecodeError', 'errorMessage' => 'An error occurred while decoding the certificate.', 'description' => '证书解码失败'], + ['errorCode' => 'Certificate.FormatError', 'errorMessage' => 'The format of the certificate is invalid.', 'description' => '证书格式错误'], + ['errorCode' => 'Certificate.MissMatch', 'errorMessage' => 'The certificate does not match the domain.', 'description' => '证书和域名不匹配'], + ['errorCode' => 'Certificate.NoPrivateKey', 'errorMessage' => 'The private key of the certificate does not exist.', 'description' => '私钥不存在'], + ], + 500 => [ + ['errorCode' => 'Internal.ForbidError', 'errorMessage' => 'You cannot modify the configurations when some features of the domain are in a canary deployment.', 'description' => '该域名有功能在灰度,不能进行变更'], + ['errorCode' => 'Internal.ConfigError', 'errorMessage' => 'An error occurred while configuring the certificate.', 'description' => '配置接口调用失败'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F61CDR30-E83C-4FDA-BF73-9A94CDD44229\\",\\n \\"IpStatus\\": [\\n {\\n \\"ip\\": \\"10.10.10.10\\",\\n \\"status\\": \\"abnormal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeIpStatusResponse>\\n<Content>\\n <status>abnormal</status>\\n <ip>10.10.10.10</ip>\\n</Content>\\n<Content>\\n <status>normal</status>\\n <ip>192.168.0.1</ip>\\n</Content>\\n<Content>\\n <status>nonali</status>\\n <ip>172.16.0.1</ip>\\n</Content>\\n<Content>\\n <status>normal</status>\\n <ip>192.0.2.1</ip>\\n</Content>\\n<RequestId>F61CDR30-E83C-4FDA-BF73-9A94CDD44229</RequestId>\\n</DescribeIpStatusResponse>","errorExample":""}]', - 'title' => '查询节点IP状态', - 'description' => '> 单用户调用频率:50次/秒。', + 'title' => '设置CSR证书', + 'summary' => '调用SetCdnDomainCSRCertificate设置指定域名下的HTTPS证书。', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddFCTrigger' => [ - 'summary' => '调用AddFCTrigger添加指定的函数计算触发器。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:49:42.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainCSRCertificate'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainCSRCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainCSRCertificateResponse>\\r\\n<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</SetCdnDomainCSRCertificateResponse>","errorExample":""}]', + ], + 'SetCdnDomainSMCertificate' => [ + 'summary' => '调用SetCdnDomainSMCertificate设置某域名下国密证书功能是否启用。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21073,82 +17445,37 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '111678', - 'abilityTreeNodes' => [ - 'FEATUREcdnCG0XWT', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'none', + 'abilityTreeCode' => '111888', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'TriggerARN', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '函数计算服务对应的触发器。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger', - ], - ], - [ - 'name' => 'EventMetaName', - 'in' => 'formData', - 'schema' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'LogFileCreated', - ], - ], - [ - 'name' => 'EventMetaVersion', - 'in' => 'formData', - 'schema' => [ - 'description' => '事件版本。', - 'type' => 'string', - 'required' => true, - 'example' => '1.0.0', - ], - ], - [ - 'name' => 'SourceARN', - 'in' => 'formData', - 'schema' => [ - 'description' => '事件侦听的资源和过滤器。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:cdn:*:1234567890:domain/example.com', - ], + 'schema' => ['description' => '证书所属的加速域名。'."\n" + ."\n" + .'> 证书需属于HTTPS加速类型。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'FunctionARN', - 'in' => 'formData', - 'schema' => [ - 'description' => '功能触发器。', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:1223455566666:123:services/myservice/functions/myfunction', - ], - ], - [ - 'name' => 'RoleARN', - 'in' => 'formData', - 'schema' => [ - 'description' => 'RAM授权的角色。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole', - ], + 'name' => 'CertIdentifier', + 'in' => 'query', + 'schema' => ['description' => '国密证书ID。'."\n" + .'证书ID+"-cn-hangzhou"。'."\n" + .'如果证书ID=123,CertIdentifier="123-cn-hangzhou"', 'type' => 'string', 'required' => true, 'example' => '1234****-cn-hangzhou'], ], [ - 'name' => 'Notes', - 'in' => 'formData', + 'name' => 'SSLProtocol', + 'in' => 'query', 'schema' => [ - 'description' => '备注信息。', + 'description' => 'HTTPS证书是否启用。取值:'."\n" + ."\n" + .'- **on**:启用。'."\n" + .'- **off**:不启用。', 'type' => 'string', 'required' => true, - 'example' => 'test', + 'example' => 'on', + 'enum' => ['on', 'off'], ], ], ], @@ -21157,72 +17484,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C8'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotFound.EventMeta', - 'errorMessage' => 'EventMeta not found.', - ], - [ - 'errorCode' => 'Duplicated.FCTrigger', - 'errorMessage' => 'FCTrigger has already existed.', - ], - [ - 'errorCode' => 'InvalidParameter.TriggerARN', - 'errorMessage' => 'The specified parameter TriggerARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.SourceARN', - 'errorMessage' => 'The specified parameter SourceARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.FunctionARN', - 'errorMessage' => 'The specified parameter FunctionARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.RoleARN', - 'errorMessage' => 'The specified parameter RoleARN is not valid.', - ], - ], - 403 => [ - [ - 'errorCode' => 'PermissionDeny', - 'errorMessage' => 'No permission to operate this FCTrigger.', - ], + ['errorCode' => 'InvalidCertIdentifier.ValueNotSupported', 'errorMessage' => 'The specified value of parameter CertIdentifier is not valid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90</RequestId>","errorExample":""}]', - 'title' => '添加函数计算触发器', - 'requestParamsDescription' => '## 数据类型TriggerARN'."\n" - .'TriggerARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" - ."\n" - .'- Filter表示资源和过滤器,具体格式为: `{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" - ."\n" - .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)过滤,如果只需要对`example.com`域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" - ."\n" - .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C8\\"\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainSMCertificateResponse>\\n <RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C8</RequestId>\\n</SetCdnDomainSMCertificateResponse>","errorExample":""}]', + 'title' => '设置国密证书', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateFCTrigger' => [ - 'summary' => '调用UpdateFCTrigger更新指定的函数计算触发器。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainSMCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SetCdnDomainSSLCertificate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21231,61 +17526,70 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '111922', - 'abilityTreeNodes' => [ - 'FEATUREcdnCG0XWT', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '168241', + 'abilityTreeNodes' => ['FEATUREcdn4R6KLH'], ], 'parameters' => [ [ - 'name' => 'TriggerARN', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '函数计算服务对应的的触发器。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger', - ], + 'schema' => ['description' => '指定证书所属加速域名,需属于HTTPS加速类型。仅支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'."\n"], ], [ - 'name' => 'SourceARN', - 'in' => 'formData', - 'schema' => [ - 'description' => '事件侦听的资源和过滤器。', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:cdn:*:1234567890:domain/example.com', - ], + 'name' => 'CertName', + 'in' => 'query', + 'schema' => ['description' => '证书名称,目前只支持单个证书名称。'."\n" + .'CertType=upload时选填,给新证书的名称。', 'type' => 'string', 'required' => false, 'example' => 'yourCertName'."\n"], ], [ - 'name' => 'FunctionARN', - 'in' => 'formData', - 'schema' => [ - 'description' => '功能触发器。', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:1223455566666:123:services/myservice/functions/myfunction', - ], + 'name' => 'CertId', + 'in' => 'query', + 'schema' => ['description' => '证书ID。'."\n" + .'CertType=cas时必填,表示选择已有证书。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8089870'."\n"], ], [ - 'name' => 'RoleARN', - 'in' => 'formData', + 'name' => 'CertType', + 'in' => 'query', 'schema' => [ - 'description' => 'RAM授权的角色。', + 'description' => '证书类型。'."\n" + ."\n" + .'- **upload**:上传证书。'."\n" + .'- **cas**:证书中心证书。', 'type' => 'string', 'required' => false, - 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole', + 'example' => 'upload', + 'enum' => ['cas', 'upload'], ], ], [ - 'name' => 'Notes', - 'in' => 'formData', + 'name' => 'SSLProtocol', + 'in' => 'query', + 'schema' => ['description' => 'HTTPS证书是否启用。'."\n" + ."\n" + .'- **on**:启用。'."\n" + .'- **off**:不启用。', 'type' => 'string', 'required' => true, 'example' => 'off'], + ], + [ + 'name' => 'SSLPub', + 'in' => 'query', + 'schema' => ['description' => '安全证书内容,不启用证书则无需输入,配置证书请输入证书内容。', 'type' => 'string', 'required' => false, 'example' => 'xxx'."\n"], + ], + [ + 'name' => 'SSLPri', + 'in' => 'query', + 'schema' => ['description' => '私钥内容,不启用证书则无需输入,配置证书请输入私钥内容。', 'type' => 'string', 'required' => false, 'example' => 'y****'."\n"], + ], + [ + 'name' => 'CertRegion', + 'in' => 'query', 'schema' => [ - 'description' => '备注信息。', + 'description' => '证书所在地域,只有**CertType=cas**时生效。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou**。国际站用户建议使用**ap-southeast-1**。', 'type' => 'string', 'required' => false, - 'example' => 'test', + 'enumValueTitles' => ['ap-southeast-1' => 'ap-southeast-1', 'cn-hangzhou' => 'cn-hangzhou'], + 'example' => 'cn-hangzhou', ], ], ], @@ -21294,92 +17598,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7C69682-7F88-40DD-A198-10D0309E439D'."\n"], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.TriggerARN', - 'errorMessage' => 'The specified parameter TriggerARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.SourceARN', - 'errorMessage' => 'The specified parameter SourceARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.FunctionARN', - 'errorMessage' => 'The specified parameter FunctionARN is not valid.', - ], - [ - 'errorCode' => 'InvalidParameter.RoleARN', - 'errorMessage' => 'The specified parameter RoleARN is not valid.', - ], - [ - 'errorCode' => 'NotFound.FCTrigger', - 'errorMessage' => 'FCTrigger not found.', - ], + ['errorCode' => 'InvalidSSLProtocol.ValueNotSupported', 'errorMessage' => 'The specified SSLProtocol is invalid.', 'description' => ''], + ['errorCode' => 'SSLPub.MissingParameter', 'errorMessage' => 'The SSLPub parameter is required.', 'description' => 'SSLPub参数缺失。'], + ['errorCode' => 'SSLPri.MissingParameter', 'errorMessage' => 'The SSLPri parameter is required.', 'description' => 'SSLPri参数缺失。'], + ['errorCode' => 'InvalidSSLPub', 'errorMessage' => 'The specified SSLPub is invalid.', 'description' => ''], + ['errorCode' => 'InvalidSSLPri', 'errorMessage' => 'The specified SSLPri is invalid.', 'description' => ''], + ['errorCode' => 'Certificate.MissMatch', 'errorMessage' => 'The SSLPri does not match the certificate.', 'description' => ''], + ['errorCode' => 'InvalidCertificate.TooLong', 'errorMessage' => 'The maximum length of the certificate is exceeded.', 'description' => ''], + ['errorCode' => 'InvalidCertName.TooLong', 'errorMessage' => 'The length of the certificate name cannot exceed 128 characters.', 'description' => ''], + ['errorCode' => 'AuthenticationFailed', 'errorMessage' => 'Error performing verification.', 'description' => ''], + ['errorCode' => 'SetDomainCertificate.ParameterError', 'errorMessage' => 'The specified parameters are invalid.', 'description' => '指定的参数无效。'], + ['errorCode' => 'Certificate.StatusError', 'errorMessage' => 'The status of the certificate is invalid.', 'description' => ''], + ['errorCode' => 'DeleteFailed', 'errorMessage' => 'Error deleting the certificate.', 'description' => ''], + ['errorCode' => 'Certificate.NotFind', 'errorMessage' => 'The certificate does not exist.', 'description' => ''], + ['errorCode' => 'Certificate.Duplicated', 'errorMessage' => 'The certificate name already exists.', 'description' => ''], + ['errorCode' => 'Certificate.FormatError', 'errorMessage' => 'The format of the certificate is invalid.', 'description' => '证书格式错误'], + ['errorCode' => 'Certificate.KeyNull', 'errorMessage' => 'The private key is required.', 'description' => ''], + ['errorCode' => 'Key.Malformed', 'errorMessage' => 'The specified Key format is invalid.', 'description' => ''], + ['errorCode' => 'CertStorage.failed', 'errorMessage' => 'Error saving the certificate.', 'description' => ''], + ['errorCode' => 'CertificateContent.Duplicated', 'errorMessage' => 'The certificate has been uploaded; do not upload again.', 'description' => ''], + ['errorCode' => 'Certificate.Expired', 'errorMessage' => 'The certificate has expired.', 'description' => ''], + ['errorCode' => 'InvalidDomain.notOnline', 'errorMessage' => 'The domain is offline. Check the status of the domain and try again later.', 'description' => ''], + ['errorCode' => 'Decode.Error', 'errorMessage' => 'Error decoding the SSLPub or SSLPri certificate.', 'description' => ''], + ['errorCode' => 'sslPub.Error', 'errorMessage' => 'Error encoding SSLPub.', 'description' => ''], + ['errorCode' => 'sslPri.Error', 'errorMessage' => 'Error encoding SSLPri.', 'description' => ''], + ['errorCode' => 'DomainInSafeMode', 'errorMessage' => 'The domain is in safe mode. To request permission, contact Customer Service.', 'description' => ''], + ['errorCode' => 'CreateCertificateFailed', 'errorMessage' => 'Create certificate failed,please try again.', 'description' => ''], + ['errorCode' => 'Abs.CertRegion.ValueNotSupported', 'errorMessage' => 'CertRegion is not supported.', 'description' => '不支持的证书地域。'], + ['errorCode' => 'CertNameAlreadyExists', 'errorMessage' => 'The CertName already exists.', 'description' => '该证书名称已存在。'], + ['errorCode' => 'InvalidDomain.Offline', 'errorMessage' => 'The domain provided is offline.', 'description' => '域名已下线。'], + ['errorCode' => 'InvalidEnv', 'errorMessage' => 'The specified Env is invalid.', 'description' => '指定的是否灰度下发证书参数无效。'], ], 403 => [ - [ - 'errorCode' => 'PermissionDeny', - 'errorMessage' => 'No permission to operate this FCTrigger.', + ['errorCode' => 'DomainInProtectedMode', 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', 'description' => ''], + ], + [ + ['errorCode' => 'CertName.MissingParameter', 'errorMessage' => 'You must specify CertName.', 'description' => ''], + ], + ], + 'title' => '设置CDN域名证书', + 'summary' => '调用SetCdnDomainSSLCertificate用于设置某域名下证书功能是否启用及更新证书信息。', + 'description' => '- 单用户调用频率:30次/秒。'."\n" + .'- 调用方式:POST。', + 'changeSet' => [ + ['createdAt' => '2025-08-06T06:32:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T06:30:46.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-16T07:49:40.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-24T03:42:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-28T07:00:03.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-05-07T07:50:08.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-12-06T03:01:58.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-09-04T01:28:30.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainSSLCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateFCTriggerResponse>\\n <RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\n</UpdateFCTriggerResponse>","errorExample":""}]', - 'title' => '更新函数计算触发器', - 'requestParamsDescription' => '## 数据类型SourceARN'."\n" - ."\n" - .'SourceARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" - ."\n" - .'- 其中Filter表示资源和过滤器,具体格式为:` {FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" - ."\n" - .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)的过滤,如果只需要对example.com域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyun.com}`。'."\n" - ."\n" - .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7C69682-7F88-40DD-A198-10D0309E439D\\\\n\\"\\n}","type":"json"}]', ], - 'DescribeFCTrigger' => [ - 'summary' => '调用DescribeFCTrigger查询指定的函数计算触发器。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SetCdnDomainStagingConfig' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111820', - 'abilityTreeNodes' => [ - 'FEATUREcdnCG0XWT', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111889', + 'abilityTreeNodes' => ['FEATUREcdn9UE6OO'], ], 'parameters' => [ [ - 'name' => 'TriggerARN', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '函数计算服务对应的触发器。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:cdn:{RegionID}:{AccountID}:{Filter}', - ], + 'schema' => ['description' => '加速域名,仅支持单个域名进行设置。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'Functions', + 'in' => 'query', + 'schema' => ['description' => '功能列表,格式如下:'."\n" + ."\n" + .'> - **functionName**(功能名称):可配置功能请参见[功能列表](~~388460~~),多个参数之间用半角逗号(,)分隔。'."\n" + .'> - **argName**:**functionName**的配置项(可配置多个配置项)。'."\n" + .'> - **argValue**:**functionName**的配置项的取值。'."\n" + ."\n" + .'```json'."\n" + .'['."\n" + .' {'."\n" + .' "functionArgs": ['."\n" + .' {'."\n" + .' "argName": "功能参数A",'."\n" + .' "argValue": "功能参数A对应的值"'."\n" + .' },'."\n" + .' {'."\n" + .' "argName": "功能参数B",'."\n" + .' "argValue": "功能参数B对应的值"'."\n" + .' }'."\n" + .' ],'."\n" + .' "functionName": "功能名称"'."\n" + .' }'."\n" + .']'."\n" + .'```', 'type' => 'string', 'required' => true, 'example' => '[{"functionArgs":[{"argName":"enable","argValue":"on"},{"argName":"pri","argValue":"1"},{"argName":"rule","argValue":"xxx"}],"functionName":"edge_function"}]'], ], ], 'responses' => [ @@ -21387,201 +17733,207 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E', - ], - 'FCTrigger' => [ - 'description' => 'FCT触发器。', - 'type' => 'object', - 'properties' => [ - 'TriggerARN' => [ - 'description' => '函数计算服务对应的触发器。', - 'type' => 'string', - 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger', - ], - 'RoleARN' => [ - 'description' => 'RAM授权的角色。', - 'type' => 'string', - 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole', - ], - 'SourceArn' => [ - 'description' => '事件侦听的资源和过滤器。', - 'type' => 'string', - 'example' => 'acs:cdn:*:1234567890:domain/example.com', - ], - 'Notes' => [ - 'description' => '备注信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'EventMetaName' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'example' => 'LogFileCreated', - ], - 'EventMetaVersion' => [ - 'description' => '事件版本。', - 'type' => 'string', - 'example' => '1.0.0', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + 'DomainConfigList' => [ + 'description' => '域名配置清单。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConfigId' => ['description' => '配置ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.example.com'], + 'FunctionName' => ['description' => '功能名称。', 'type' => 'string', 'example' => 'set_resp_header'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'PermissionDeny', - 'errorMessage' => 'No permission to operate this FCTrigger.', - ], - ], - [ - [ - 'errorCode' => 'NotFound.FCTrigger', - 'errorMessage' => 'FCTrigger not found.', - ], + 400 => [ + ['errorCode' => 'InvalidFunctionName.ValueNotSupported', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'InvalidArgValue.Malformed', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'ConfigurationConflicts', 'errorMessage' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', 'description' => '现在模拟环境的配置和生产环境配置不一致,无法直接修改生产环境配置。请您前往模拟环境完成您所需的配置,然后发布到生产环境进行覆盖。'], + ['errorCode' => 'InvalidArgName.ValueNotSupported', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'GrayConfigExist', 'errorMessage' => 'The domain exists other gray config.', 'description' => '域名已经存在其他灰度配置。'], + ['errorCode' => 'InvalidRule.Malformed', 'errorMessage' => '%s', 'description' => ''], + ['errorCode' => 'InvalidDomain.BelongToConfigGroup', 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', 'description' => ''], + ['errorCode' => 'EdgeScriptCountExceedLimit', 'errorMessage' => 'The number of rules exceeds the default limit.', 'description' => '超过默认规则数量限制,如需提升数量,请提交工单咨询。'], + ['errorCode' => 'EdgeScripOptionsHasInnerConfig', 'errorMessage' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptGrammarNotSupport', 'errorMessage' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['errorCode' => 'EdgeScriptNotSupportJs', 'errorMessage' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['errorCode' => 'MissingRequiredArg', 'errorMessage' => 'required argument missing.', 'description' => '功能配置时,缺少必要的参数。'], + ['errorCode' => 'FunctionArgError', 'errorMessage' => 'The function parameter of the domain configuration is incorrect.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\",\\n \\"FCTrigger\\": {\\n \\"TriggerARN\\": \\"acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\",\\n \\"RoleARN\\": \\"acs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\",\\n \\"SourceArn\\": \\"acs:cdn:*:1234567890:domain/example.com\\",\\n \\"Notes\\": \\"test\\",\\n \\"EventMetaName\\": \\"LogFileCreated\\",\\n \\"EventMetaVersion\\": \\"1.0.0\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\n<FCTrigger>\\n <TriggerARN>acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger</TriggerARN>\\n <SourceArn>acs:cdn:*:1234567890:domain/example.com</SourceArn>\\n <EventMetaName>LogFileCreated</EventMetaName>\\n <EventMetaVersion>1.0.0</EventMetaVersion>\\n <Notes>test</Notes>\\n <RoleARN>acs:ram:: 1234567890:role/aliyuncdneventnotificationrole</RoleARN>\\n</FCTrigger>","errorExample":""}]', - 'title' => '查询函数计算触发器', - 'responseParamsDescription' => '## 数据类型SourceArn'."\n" - .'SourceArn的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" - ."\n" - .'- **Filter**表示资源和过滤器,具体格式为: `{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" + 'title' => '设置模拟环境配置', + 'summary' => '调用SetCdnDomainStagingConfig设置模拟环境下的加速域名配置。', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => "\n" + .'### edge_function边缘函数功能说明'."\n" ."\n" - .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)过滤,如果只需要对example.com域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" + .'所有参数值均按照字符串类型处理。'."\n" ."\n" - .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', + .'| 功能名称 | 参数 |'."\n" + .'| ----------------------- | ------------------------------------------------------------ |'."\n" + .'| edge_function:边缘函数 | 必填参数:<br>**rule**:DSL规则;<br>**pri**:优先级;<br>**enable**:本条规则是否生效,取值范围on/off;<br>可选参数:<br>**name**:规则名称。仅支持英文字母和下划线;<br>**pos**:规则执行位置;<br>**brk**:命中本条规则后,当前执行位置剩余规则均跳过;<br>**option**:option管控;<br>**grammar**:grammar管控,可选值:空、es2、js;<br>**jsmode**:js域名白单管控,可选值:redirect、bypass; |', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteFCTrigger' => [ - 'summary' => '调用DeleteFCTrigger删除指定的函数计算触发器。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:49:19.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-04-29T03:04:03.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-25T03:07:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainStagingConfig'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"DomainConfigList\\": [\\n {\\n \\"ConfigId\\": 1234567,\\n \\"DomainName\\": \\"www.example.com\\",\\n \\"FunctionName\\": \\"set_resp_header\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<SetCdnDomainStagingConfigResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <DomainConfigList>\\n <ConfigId>1234567</ConfigId>\\n <DomainName>www.example.com</DomainName>\\n <FunctionName>set_resp_header</FunctionName>\\n </DomainConfigList>\\n</SetCdnDomainStagingConfigResponse>","errorExample":""}]', + ], + 'SetCdnFullDomainsBlockIP' => [ + 'summary' => '设置封禁的IP或解禁IP,该操作对您账号下所有的CDN域名同时生效。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '111706', - 'abilityTreeNodes' => [ - 'FEATUREcdnCG0XWT', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'TriggerARN', - 'in' => 'query', - 'schema' => [ - 'description' => '函数计算服务对应的触发器。', - 'type' => 'string', - 'required' => true, - 'example' => 'acs:cdn:{RegionID}:{AccountID}:{Filter}', - ], + 'name' => 'IPList', + 'in' => 'formData', + 'schema' => ['title' => 'A short description of struct', 'description' => '封禁或解禁IP列表,有多个IP时请用半角逗号(,)分隔,最大支持1000个IP。', 'type' => 'string', 'required' => true, 'example' => '1.XXX.XXX.1,2.XXX.XXX.2'], + ], + [ + 'name' => 'OperationType', + 'in' => 'formData', + 'schema' => ['description' => '操作类型。'."\n" + ."\n" + .'- block:封禁。'."\n" + .'- unblock:解禁。', 'type' => 'string', 'required' => true, 'example' => 'block'], + ], + [ + 'name' => 'BlockInterval', + 'in' => 'formData', + 'schema' => ['description' => '封禁时长,单位为秒。设置为**0**时表示永久封禁。仅当**OperationType**为**block**时有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3000'], + ], + [ + 'name' => 'UpdateType', + 'in' => 'formData', + 'schema' => ['description' => '封禁时间类别。仅当**OperationType**为**block**时有效。取值:'."\n" + ."\n" + .'- **cover**:当前请求是采取配置覆盖方式。'."\n" + .'- **uncover**:采取时间计算比对最长方式。'."\n" + .'- 该参数为空时默认采取配置覆盖方式。', 'type' => 'string', 'required' => false, 'example' => 'cover'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E', - ], + 'Code' => ['description' => '状态码。0为成功,其他状态码为异常。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Message' => ['description' => '附加信息。取值说明如下:请求正常,返回OK。请求异常,返回具体异常错误码。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '23ACE7E2-2302-42E3-98F8-E5E697FD86C3'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.TriggerARN', - 'errorMessage' => 'The specified parameter TriggerARN is not valid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'The quota is exceeded.', 'description' => 'quota超过限制。'], ], 403 => [ - [ - 'errorCode' => 'PermissionDeny', - 'errorMessage' => 'No permission to operate this FCTrigger.', + ['errorCode' => 'OperationDenied', 'errorMessage' => 'You do not have access to this operation.', 'description' => '没有权限操作,请您通过访问控制 RAM 检查使用权限。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '设置海量封禁IP', + 'description' => '> '."\n" + .'>- 该接口需要<props="china"><ph>[购买海量IP封禁服务](https://common-buy.aliyun.com/?commodityCode=dcdn_servicepackage_public_cn)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>后使用。'."\n" + .'> - 适用于封禁大批量IP,接口支持单次最大1000个IP/IP段。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnFullDomainsBlockIP'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnFullDomainsBlockIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteFCTriggerResponse>\\r\\n<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\r\\n</DeleteFCTriggerResponse>","errorExample":""}]', - 'title' => '删除函数计算触发器', - 'requestParamsDescription' => '## 数据类型SourceARN'."\n" - .'SourceARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" - ."\n" - .'- 其中Filter表示资源和过滤器,具体格式为:`{FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" - ."\n" - .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)的过滤,如果只需要对`example.com`域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyundoc.com}`。'."\n" - ."\n" - .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"23ACE7E2-2302-42E3-98F8-E5E697FD86C3\\"\\n}","type":"json"}]', ], - 'ListFCTrigger' => [ - 'summary' => '调用ListFCTrigger查询指定事件的函数计算触发器列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SetReqHeaderConfig' => [ + 'summary' => '调用SetReqHeaderConfig设置回源自定义头。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111861', - 'abilityTreeNodes' => [ - 'FEATUREcdnCG0XWT', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '111909', + 'abilityTreeNodes' => ['FEATUREcdnJA88R2'], ], 'parameters' => [ [ - 'name' => 'EventMetaName', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '事件名称。仅支持传单个名称。'."\n" - ."\n" - .'<props="china">事件名称请参见[CDN事件触发器](~~73333~~)。</props>'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'LogFileCreated', - ], + 'schema' => ['description' => '加速域名,多个用逗号(,)隔开。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'EventMetaVersion', + 'name' => 'Key', 'in' => 'query', - 'schema' => [ - 'description' => '事件版本号。仅支持传单个版本号。'."\n" - ."\n" - .'<props="china">事件版本请参见[CDN事件触发器](~~73333~~)。</props>'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1.0.0', - ], + 'schema' => ['description' => '回源自定义头参数。', 'type' => 'string', 'required' => true, 'example' => 'testkey'], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => ['description' => '回源自定义头取值。', 'type' => 'string', 'required' => true, 'example' => 'testvalue'], + ], + [ + 'name' => 'ConfigId', + 'in' => 'query', + 'schema' => ['description' => '配置ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123'], ], ], 'responses' => [ @@ -21589,199 +17941,119 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E', - ], - 'FCTriggers' => [ - 'description' => '获取指定事件的函数计算触发器列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TriggerARN' => [ - 'description' => '函数计算服务对应的触发器。', - 'type' => 'string', - 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger', - ], - 'RoleARN' => [ - 'description' => 'RAM(访问控制)授权的角色。', - 'type' => 'string', - 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole', - ], - 'SourceArn' => [ - 'description' => '事件侦听的资源和过滤器。', - 'type' => 'string', - 'example' => 'acs:cdn:*:1234567890:domain/example.com', - ], - 'Notes' => [ - 'description' => '备注信息。', - 'type' => 'string', - 'example' => '测试', - ], - 'EventMetaName' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'example' => 'LogFileCreated', - ], - 'EventMetaVersion' => [ - 'description' => '事件版本。', - 'type' => 'string', - 'example' => '1.0.0', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotFound.EventMeta', - 'errorMessage' => 'EventMeta not found.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified value of parameter DomainName can not be empty.', 'description' => ''], + ['errorCode' => 'InvalidKey.Malformed', 'errorMessage' => 'The specified value of parameter Key is not malformed.', 'description' => '参数Key格式错误。'], + ['errorCode' => 'InvalidValue.Malformed', 'errorMessage' => 'The specified value of parameter Value is not malformed.', 'description' => '参数值错误。'], + ['errorCode' => 'InvalidHeaderKey.ValueNotSupported', 'errorMessage' => 'The specified value of parameter HeaderKey is not supported.', 'description' => '指定的HTTP头参数不合法,超出可选范围。取值:Content-Type,Cache-Control,Content-Disposition,Content-Language,Expires,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Max-Age,Access-Control-Expose-Headers,Access-Control-Allow-Credentials。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\",\\n \\"FCTriggers\\": [\\n {\\n \\"TriggerARN\\": \\"acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\",\\n \\"RoleARN\\": \\"acs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\",\\n \\"SourceArn\\": \\"acs:cdn:*:1234567890:domain/example.com\\",\\n \\"Notes\\": \\"测试\\",\\n \\"EventMetaName\\": \\"LogFileCreated\\",\\n \\"EventMetaVersion\\": \\"1.0.0\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListFCTriggerResponse>\\r\\n\\t<FCTriggers>\\r\\n\\t\\t<Notes>测试</Notes>\\r\\n\\t\\t<SourceArn>acs:cdn:*:1234567890:domain/example.com</SourceArn>\\r\\n\\t\\t<EventMetaVersion>1.0.0</EventMetaVersion>\\r\\n\\t\\t<EventMetaName>LogFileCreated</EventMetaName>\\r\\n\\t\\t<RoleARN>acs:ram:: 1234567890:role/aliyuncdneventnotificationrole</RoleARN>\\r\\n\\t\\t<TriggerARN>acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger</TriggerARN>\\r\\n\\t</FCTriggers>\\r\\n\\t<RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\r\\n</ListFCTriggerResponse>","errorExample":""}]', - 'title' => '查询函数计算的触发器列表', - 'description' => '> 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<SetReqHeaderConfigResponse>\\r\\n\\t <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</SetReqHeaderConfigResponse>","errorExample":""}]', + 'title' => '设置回源自定义头', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '**SourceARN**的格式为```acs:cdn:{RegionID}:{AccountID}:{Filter}```'."\n" - ."\n" - .'其中**Filter**表示资源和过滤器,具体格式为**{FilterName}/{FilterValue}**。当**FilterValue**为多个枚举值时,需要使用**{}**包括起来,值之间通过逗号(,)分割。'."\n" - ."\n" - .'例如:对于LogFileCreated事件当前支持基于域名**FilterName**为**domain**的过滤,如果只需要**example.com**域名触发函数计算,则**Filter**为 **domain/example.com**,如果需要多个域名触发,则**Filter**为```domain/{example.com,aliyundoc.com}```'."\n" - ."\n" - .'多个过滤器之间通过正斜线(/)连接,之间是**逻辑与**的关系,即此时SourceARN的格式为```acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}...```', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainCcActivityLog' => [ - 'summary' => '调用DescribeDomainCcActivityLog查询频次控制规则拦截日志。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetReqHeaderConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SetWaitingRoomConfig' => [ + 'summary' => '调用SetWaitingRoomConfig设置waiting_room功能,只支持全站加速类型域名。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111767', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的加速域名。支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n" - ."\n" - .'若参数为空,默认返回所有加速域名合并后的数据。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '您的加速域名,仅支持单个设置。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'StartTime', + 'name' => 'WaitUri', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'最小数据粒度为5分钟。'."\n" - ."\n" - .'若该参数为空,默认读取过去24小时数据。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-12-10T20:00:00Z', - ], + 'schema' => ['description' => '开启waiting_room功能的URI正则字符串。', 'type' => 'string', 'required' => true, 'example' => '.*/aaa/bbb$'], ], [ - 'name' => 'EndTime', + 'name' => 'AllowPct', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-12-10T21:00:00Z', - ], + 'schema' => ['description' => '允许回源比例,取值范围:**0**~**100**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], ], [ - 'name' => 'TriggerObject', + 'name' => 'MaxTimeWait', 'in' => 'query', - 'schema' => [ - 'description' => '触发对象。'."\n" - ."\n" - .'若该参数为空,则查询所有拦截事件。', - 'type' => 'string', - 'required' => false, - 'example' => 'IP', - ], + 'schema' => ['description' => '进入排队后,排队时长,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], ], [ - 'name' => 'Value', + 'name' => 'GapTime', 'in' => 'query', - 'schema' => [ - 'description' => '触发对象值'."\n" - ."\n" - .'若该参数为空,则查询所有拦截事件。', - 'type' => 'string', - 'required' => false, - 'example' => '1.2.3.4', - ], + 'schema' => ['description' => '离开排队后,跳过排队时长,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ - 'name' => 'RuleName', + 'name' => 'WaitUrl', 'in' => 'query', + 'schema' => ['description' => '排队等待页面URL。', 'type' => 'string', 'required' => true, 'example' => 'https://example.com/waitingroom.html'."\n"], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '自定义规则名。取值:'."\n" - .'- 正常模式规则:default_normal。'."\n" - .'- 紧急模式规则:default_attack。'."\n" - ."\n" - .'若该参数为空,则查询所有拦截事件。', - 'type' => 'string', - 'required' => false, - 'example' => 'test2', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<SetWaitingRoomConfigResponse>\\r\\n <RequestId>AED00EC1-32A8-4D48-BEB9-BD782AF3C6BD</RequestId>\\r\\n</SetWaitingRoomConfigResponse>","errorExample":""}]', + 'title' => '配置WaitingRoom', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StartCdnDomain' => [ + 'summary' => '调用StartCdnDomain启用状态为停用的加速域名,将DomainStatus变更为Online。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '单页显示数量。默认值:**30**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '100', - 'example' => '30', - 'default' => '30', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111916', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], + ], + 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '页码。默认值:**1** 。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '加速域名,仅支持启用单个。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -21789,163 +18061,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageIndex' => [ - 'description' => '返回数据的页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F', - ], - 'PageSize' => [ - 'description' => '单页显示数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'Total' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'ActivityLog' => [ - 'description' => '拦截事件日志列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '触发对象值。', - 'type' => 'string', - 'example' => '1.2.3.4', - ], - 'Ttl' => [ - 'description' => '生效时长,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300', - ], - 'Action' => [ - 'description' => '拦截动作。', - 'type' => 'string', - 'example' => 'deny', - ], - 'TriggerObject' => [ - 'description' => '触发对象。', - 'type' => 'string', - 'example' => 'Ip', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'RuleName' => [ - 'description' => '拦截自定义规则名称。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', - ], + ['errorCode' => 'RecordCheckNotAvailable', 'errorMessage' => 'The ICP filing interface is unavailable. Please try again later.', 'description' => ''], + ['errorCode' => 'IcpBlack', 'errorMessage' => 'The domain is on the ICP blacklist.', 'description' => ''], + ['errorCode' => 'IspBlack', 'errorMessage' => 'The domain is on the ISP blacklist.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"PageSize\\": 30,\\n \\"Total\\": 20,\\n \\"ActivityLog\\": [\\n {\\n \\"Value\\": \\"1.2.3.4\\",\\n \\"Ttl\\": 300,\\n \\"Action\\": \\"deny\\",\\n \\"TriggerObject\\": \\"Ip\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainCcActivityLogResponse>\\n<Total>20</Total>\\n<PageSize>30</PageSize>\\n<PageIndex>1</PageIndex>\\n<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\n<ActivityLog>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <Value>1.2.3.4</Value>\\n <TriggerObject>Ip</TriggerObject>\\n <DomainName>example.com</DomainName>\\n <Ttl>300</Ttl>\\n <Action>deny</Action>\\n <RuleName>test2</RuleName>\\n</ActivityLog>\\n<ActivityLog>\\n <TimeStamp>2015-12-10T20:00:00Z</TimeStamp>\\n <Value>safari 5.1 – Windows</Value>\\n <TriggerObject>Header_UserAgent</TriggerObject>\\n <DomainName>example.com</DomainName>\\n <Ttl>300</Ttl>\\n <Action>deny</Action>\\n <RuleName>test2</RuleName>\\n</ActivityLog>\\n</DescribeDomainCcActivityLogResponse>","errorExample":""}]', - 'title' => '查询频次控制规则拦截日志', - 'description' => '- 不指定StartTime和EndTime时,该接口默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" - .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持20个域名查询。'."\n" - .'- 最多可获取30天的数据。'."\n" - .'- 单用户调用频率:50次/秒。'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<StartCdnDomainResponse>\\r\\n\\t<RequestId>0AEDAF20-4DDF-4165-8750-47FF9C1929C9</RequestId>\\r\\n</StartCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '启用域名', + 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" + .'- 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainPvData' => [ - 'summary' => '调用DescribeDomainPvData按小时粒度获取加速域名的PV页面访问统计,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:StartCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'StopCdnDomain' => [ + 'summary' => '调用StopCdnDomain停用某个加速域名,将DomainStatus变更为Offline。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111785', - 'abilityTreeNodes' => [ - 'FEATUREcdnF7OM8K', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '111917', + 'abilityTreeNodes' => ['FEATUREcdnFGPKCB', 'FEATUREcdn9UE6OO'], ], 'parameters' => [ [ 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持查询一个域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-11-28T00:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2015-11-29T00:00:00Z', - ], + 'schema' => ['description' => '加速域名,仅支持停用单个。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], ], 'responses' => [ @@ -21953,146 +18122,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。'."\n", - 'type' => 'string', - 'example' => '2015-11-28T04:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。'."\n", - 'type' => 'string', - 'example' => '2015-11-28T03:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。'."\n", - 'type' => 'string', - 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位为秒。', - 'type' => 'string', - 'example' => '3600', - ], - 'PvDataInterval' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '每个时间间隔的页面访问次数列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。'."\n", - 'type' => 'string', - 'example' => '9292', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。'."\n", - 'type' => 'string', - 'example' => '2015-11-28T03:00:00Z', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.ValueNotSupported', - 'errorMessage' => 'StartTime or EndTime is miss match.', - ], + ['errorCode' => 'InvalidDomain.BelongToConfigGroup', 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-11-28T04:00:00Z\\",\\n \\"StartTime\\": \\"2015-11-28T03:00:00Z\\",\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"9292\\",\\n \\"TimeStamp\\": \\"2015-11-28T03:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainPvDataResponse>\\r\\n\\t<DataInterval>3600</DataInterval>\\r\\n\\t<RequestId>BCD7D917-76F1-442F-BB75-C810DE34C761</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2015-11-29T00:00:00Z</EndTime>\\r\\n\\t<PvDataInterval>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T03:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9292</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T23:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9239</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T07:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9464</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T12:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9379</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T22:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9243</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T10:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>10063</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T15:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9068</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T14:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9353</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T04:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9513</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T02:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9377</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T08:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9579</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T20:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9109</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T09:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>10631</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T06:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9587</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T01:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9108</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T16:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9454</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T21:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9285</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T19:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9059</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T00:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9470</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T05:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>11830</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T13:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9992</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T17:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9529</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T18:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9203</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t\\t<UsageData>\\r\\n\\t\\t\\t<TimeStamp>2015-11-28T11:00:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>9604</Value>\\r\\n\\t\\t</UsageData>\\r\\n\\t</PvDataInterval>\\r\\n\\t<StartTime>2015-11-28T00:00:00Z</StartTime>\\r\\n</DescribeDomainPvDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '获取PV页面访问统计', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - ."\n" - .' >- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" - .'- 单用户调用频率:50次/秒。'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<StopCdnDomainResponse>\\r\\n\\t<RequestId>324AEFFF-308C-4DA7-8CD3-01B277B98F28</RequestId>\\r\\n</StopCdnDomainResponse>\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '停用域名', + 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" + .'- 单用户调用频率:40次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainUvData' => [ - 'summary' => '调用DescribeDomainUvData按小时粒度获取加速域名的UV页面独立访问统计,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:StopCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'TagResources' => [ + 'summary' => '调用TagResources添加资源标签。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111816', - 'abilityTreeNodes' => [ - 'FEATUREcdnF7OM8K', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '加速域名,仅支持查询一个域名。', + 'description' => '资源类型。固定值:**DOMAIN**。', 'type' => 'string', 'required' => true, - 'example' => 'example.com', + 'example' => 'DOMAIN', + 'enum' => ['DOMAIN'], ], ], [ - 'name' => 'StartTime', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-29T00:00:00Z', + 'description' => '资源ID列表。列表元素数量最大:50。', + 'type' => 'array', + 'items' => ['description' => '资源ID(Cdn为加速域名)。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + 'required' => true, + 'example' => '1', + 'maxItems' => 51, ], ], [ - 'name' => 'EndTime', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-29T04:00:00Z', + 'description' => '标签列表。列表元素数量最大:20。', + 'type' => 'array', + 'items' => [ + 'description' => '标签详情。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => true, 'example' => 'env'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value'], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 21, + 'minItems' => 1, ], ], ], @@ -22101,167 +18217,110 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '获取数据结束时间点。', - 'type' => 'string', - 'example' => '2019-11-29T04:00:00Z', - ], - 'StartTime' => [ - 'description' => '获取数据起始时间点。', - 'type' => 'string', - 'example' => '2019-11-29T00:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '3600', - ], - 'UvDataInterval' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '每个时间间隔的页面独立访问次数列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '详细使用数据。', - 'type' => 'string', - 'example' => '318', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2019-11-29T00:00:00Z', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.ValueNotSupported', - 'errorMessage' => 'StartTime or EndTime is miss match.', - ], + ['errorCode' => 'InvalidRegionId.Malformed', 'errorMessage' => 'The specified RegionId is invalid.', 'description' => ''], + ['errorCode' => 'Resource.NotExist', 'errorMessage' => 'Resources does not exist.', 'description' => ''], + ['errorCode' => 'TagKeyIsInvalid', 'errorMessage' => 'The specified TagKey is invalid.', 'description' => ''], + ['errorCode' => 'TooManyTags', 'errorMessage' => 'Too many tags.', 'description' => ''], + ['errorCode' => 'InvalidTagKey', 'errorMessage' => 'The key should not be null, start with "acs:" or "aliyun", contain "http://" or "https://" or have special symbols:.!@#$%?/^&*)(+={}[]",\'<>~·`?;.', 'description' => ''], + ['errorCode' => 'InvalidTagValue', 'errorMessage' => 'The tag value cannot contain these special symbols:http://, https://', 'description' => ''], + ['errorCode' => 'ReservedTagKey', 'errorMessage' => 'The tag key is used internally as a reserved field and is not allowed to be used.', 'description' => '该标签键被用作内部保留字段,不允许使用。'], + ['errorCode' => 'TagValueIsInvalid', 'errorMessage' => 'The specified TagValue is invalid.', 'description' => ''], + ['errorCode' => 'TagKeyRepeated', 'errorMessage' => 'The specified TagKey is duplicated.', 'description' => ''], + ['errorCode' => 'TagIsInvalid', 'errorMessage' => 'The number of Tag exceeds 20.', 'description' => ''], + ['errorCode' => 'ResourceIdIsInvalid', 'errorMessage' => 'The number of ResourceId exceeds 50.', 'description' => 'ResourceId超过50个了。'], + ['errorCode' => 'SystemTagIsInvalid', 'errorMessage' => 'The number of System Tag exceeds 50.', 'description' => ''], + ['errorCode' => 'CustomTagIsInvalid', 'errorMessage' => 'The number of Custom Tag exceeds 20.', 'description' => 'Tag个数超过20个了。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-29T04:00:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T00:00:00Z\\",\\n \\"RequestId\\": \\"E9D3257A-1B7C-414C-90C1-8D07AC47BCAC\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"UvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"318\\",\\n \\"TimeStamp\\": \\"2019-11-29T00:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainUvDataResponse>\\n<DataInterval>3600</DataInterval>\\n<RequestId>17276F0E-66F4-4547-B9C6-42E2547362D4</RequestId>\\n<DomainName>example.com</DomainName>\\n<EndTime>2019-11-29T04:00:00Z</EndTime>\\n<StartTime>2019-11-29T00:00:00Z</StartTime>\\n<UvDataInterval>\\n <UsageData>\\n <TimeStamp>2019-11-29T00:00:00Z</TimeStamp>\\n <Value>2</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T01:00:00Z</TimeStamp>\\n <Value>12</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T02:00:00Z</TimeStamp>\\n <Value>6</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T03:00:00Z</TimeStamp>\\n <Value>7</Value>\\n </UsageData>\\n <UsageData>\\n <TimeStamp>2019-11-29T04:00:00Z</TimeStamp>\\n <Value>5</Value>\\n </UsageData>\\n</UvDataInterval>\\n</DescribeDomainUvDataResponse>\\n","errorExample":""}]', - 'title' => '获取UV页面独立访问统计', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - ."\n\n" - .'>- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" - .'- 您只可以查询一个域名或当前用户下所有域名的数据。'."\n" - .'- 单用户调用频率:100次/秒。'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\n</TagResourcesResponse>","errorExample":""}]', + 'title' => '添加资源标签', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainTopUrlVisit' => [ - 'summary' => '获取加速域名某个指定时间段内的热门URL列表(TOP100)。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-11-25T06:16:14.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-13T06:01:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-12-12T02:36:05.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-01-04T06:29:25.000Z', 'description' => '响应参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'UntagResources' => [ + 'summary' => '调用UntagResources删除资源标签。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111813', - 'abilityTreeNodes' => [ - 'FEATUREcdnB3I7MU', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '待查询的域名。'."\n", + 'description' => '资源类型。固定值:**DOMAIN**。', 'type' => 'string', 'required' => true, - 'example' => 'example.com', + 'example' => 'DOMAIN', + 'enum' => ['DOMAIN'], ], ], [ - 'name' => 'StartTime', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => '开始获取数据的时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'查询某天的数据,建议传参格式为yyyy-MM-ddT16:00:00Z。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-04T00:00:00Z', - ], + 'schema' => ['description' => '删除所有标签。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。'."\n" + ."\n" + .'默认取值为**false**。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'EndTime', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于开始时间,并且结束时间和开始时间相差不超过7天。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-04T16:00:00Z', + 'description' => '资源ID列表。列表元素数量最多50个。', + 'type' => 'array', + 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'test-res.dutenews.com'], + 'required' => true, + 'example' => 'example.com', + 'maxItems' => 51, ], ], [ - 'name' => 'SortBy', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '排序方式,默认值为**pv**。取值:'."\n" - ."\n" - .'- **traf**:流量。'."\n" - ."\n" - .'- **pv**:访问量。', - 'type' => 'string', + 'description' => '标签键列表。列表元素数量最大20个。', + 'type' => 'array', + 'items' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'env'], 'required' => false, - 'example' => 'pv', + 'example' => 'env', + 'maxItems' => 21, ], ], ], @@ -22270,372 +18329,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '查询指定日期。', - 'type' => 'string', - 'example' => '2019-10-03T16:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'AllUrlList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '全部热门URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url200List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为2xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url300List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为3xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url400List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为4xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '次数。', - 'type' => 'string', - 'example' => '1884', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url500List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为5xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.ValueNotSupported', - 'errorMessage' => 'StartTime or EndTime is miss match.', - ], - [ - 'errorCode' => 'InvalidDomainName.Mismatch', - 'errorMessage' => 'The specified DomainName is invalid.', - ], + ['errorCode' => 'TagIsInvalid', 'errorMessage' => 'The number of Tag exceeds 20.', 'description' => ''], + ['errorCode' => 'ResourceIdIsInvalid', 'errorMessage' => 'The number of ResourceId exceeds 50.', 'description' => 'ResourceId超过50个了。'], + ['errorCode' => 'TagKeyRepeated', 'errorMessage' => 'The specified TagKey is duplicated.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-10-03T16:00:00Z\\",\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"AllUrlList\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url200List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url300List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url400List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"1884\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url500List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainTopUrlVisitResponse>\\n<Url300List>\\n</Url300List>\\n<AllUrlList>\\n <UrlList>\\n <Flow>9304</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>2</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>3986</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>784</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</AllUrlList>\\n<Url400List>\\n <UrlList>\\n <Flow>3986</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <Flow>784</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</Url400List>\\n<RequestId>8E7A2ABF-1BB0-4E46-AE3E-58DB3151080C</RequestId>\\n<DomainName>example.com</DomainName>\\n<Url200List>\\n <UrlList>\\n <Flow>9304</Flow>\\n <VisitProportion>0</VisitProportion>\\n <VisitData>2</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <FlowProportion>0</FlowProportion>\\n </UrlList>\\n</Url200List>\\n<StartTime>2019-10-04T00:00:00Z</StartTime>\\n<Url500List>\\n</Url500List>\\n</DescribeDomainTopUrlVisitResponse>","errorExample":""}]', - 'title' => '获取热门URL列表', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'>- 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" - .'- 支持获取最近90天的数据。'."\n" - .'- 该接口仅支持单个域名查询。'."\n" - .'- 单用户调用频率:10次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>97C68796-EB7F-4D41-9D5B-12B909D76508</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]', + 'title' => '删除资源标签', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainTopClientIpVisit' => [ - 'summary' => '调用DescribeDomainTopClientIpVisit查询加速域名在指定时间范围内按照访问次数或流量排序的客户端IP排行,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'UpdateCdnDeliverTask' => [ + 'summary' => '调用UpdateCdnDeliverTask根据订阅任务ID更新已订阅的报表任务。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111811', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'name' => 'DeliverId', + 'in' => 'formData', + 'schema' => ['description' => '待更新的订阅任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3'], ], [ - 'name' => 'LocationNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,多个用半角逗号(,)分隔,默认查询全部地域。'."\n" - ."\n" - .'通过[DescribeCdnRegionAndIsp](~~91077~~)获得。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', - ], + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '订阅任务名称。', 'type' => 'string', 'required' => false, 'example' => 'Domain subscription'], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-09-30T16:00:00Z', - ], + 'name' => 'Reports', + 'in' => 'formData', + 'schema' => ['description' => '待订阅的报表列表,需进行JSON转义。', 'type' => 'string', 'required' => false, 'example' => '[{\\"reportId\\":1,\\"conditions\\":[{\\"field\\":\\"prov\\",\\"op\\":\\"in\\",\\"value\\":[\\" Heilongjiang\\",\\" Beijing\\"]}]}]'], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-10-01T16:00:00Z', - ], + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => ['description' => '待订阅的域名列表,支持批量查询域名,多个域名用英文逗号(,)分隔,一次最多支持500个域名查询。'."\n" + .'如果不传该参数,默认为账号下的所有域名订阅报表交付任务。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], ], [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **traf**(默认值):流量。'."\n" - .'- **acc**:访问次数。', - 'type' => 'string', - 'required' => false, - 'example' => 'traf', - 'default' => 'traf', - ], + 'name' => 'Deliver', + 'in' => 'formData', + 'schema' => ['description' => '报表发送方式,仅支持邮件发送,需进行JSON转义。', 'type' => 'string', 'required' => false, 'example' => '{\\"email\\":{\\"subject\\":\\" topic name\\",\\"to\\":[\\"songmingyuan@alibaba-inc.com\\",\\"songmingyuan@alibaba-inc.com\\"]}}"'], ], [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => '返回数据条目,最大值为100。'."\n" - ."\n" - .'默认为20,即返回TOP 20的数据条目。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - 'default' => '20', - ], + 'name' => 'Schedule', + 'in' => 'formData', + 'schema' => ['description' => '订阅周期相关参数,需进行JSON转义。', 'type' => 'string', 'required' => false, 'example' => '{"schedName":"Scheduled task name","description":"Description","crontab":"000**?","frequency":"d","status":"enable","effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z"}'], ], ], 'responses' => [ @@ -22643,156 +18411,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', - ], - 'ClientIpList' => [ - 'description' => '客户端IP列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Rank' => [ - 'description' => '代表该条记录是TopN。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ClientIp' => [ - 'description' => 'IP地址,目前仅支持IPv4。', - 'type' => 'string', - 'example' => '1.1.xxx', - ], - 'Acc' => [ - 'description' => '总请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256', - ], - 'Traffic' => [ - 'description' => '总流量,单位为Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"ClientIpList\\": [\\n {\\n \\"Rank\\": 2,\\n \\"ClientIp\\": \\"1.1.xxx\\",\\n \\"Acc\\": 256,\\n \\"Traffic\\": 1024\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainTopClientIpVisitResponse>\\n<RequestId>64D28B53-5902-409B-94F6-FD46680144FE</RequestId>\\n<ClientIpList>\\n <Rank>1</Rank>\\n <ClientIp>1.1.xx</ClientIp>\\n <Traffic>1024</Traffic>\\n <Acc>128</Acc>\\n</ClientIpList>\\n<ClientIpList>\\n <Rank>2</Rank>\\n <ClientIp>2.2.xx</ClientIp>\\n <Traffic>2048</Traffic>\\n <Acc>256</Acc>\\n</ClientIpList>\\n</DescribeDomainTopClientIpVisitResponse>\\n","errorExample":""}]', - 'title' => '获取Client IP列表排序数据', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCdnDeliverTaskResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateCdnDeliverTaskResponse>","errorExample":""}]', + 'title' => '更新报表订阅任务', + 'description' => '> 单用户调用频率:3次/秒。'."\n", + 'requestParamsDescription' => '**ReDatas数据说明**'."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|--------|------|----|'."\n" + .'|reportId|String|是|报表ID。|'."\n" + .'|conditions|ConDatas[]|否|报表过滤条件。|'."\n" ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按照指定的时间查询。'."\n" - .'> - 该接口计算的数据粒度为1小时。'."\n" - .'> - 单用户调用频率:10次/秒。', - 'requestParamsDescription' => ' ', + .'**ConDatas数据说明**'."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|------|------|------|'."\n" + .'|field|String|否|过滤字段。|'."\n" + .'|op|String|否|过滤操作。|'."\n" + .'|value|String[]|否|字段值数组。|'."\n" + ."\n" + .'**email数据说明**'."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-------|------|-----|'."\n" + .'|subject|String|是|订阅主题。|'."\n" + .'|to|String[]|是|收件邮箱列表。|'."\n" + ."\n" + .'**Deliver数据说明**'."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|-----|------|-------|'."\n" + .'|subject|String|否|订阅主题。|'."\n" + .'|to|String[]|是|收件邮箱列表。|'."\n" + ."\n" + .'**Schedule数据说明**'."\n" + .'|参数|类型|是否必须|描述|'."\n" + .'|--------|--------|-----|-----|'."\n" + .'|schedName|String|否|订阅任务名称。|'."\n" + .'|description|String|否|订阅任务描述。|'."\n" + .'|crontab|String|是|订阅任务执行周期。|'."\n" + .'|frequency|String|是|执行频率。取值:<br>**h**:小时<br>**d**:天<br>**w**:周|'."\n" + .'|status|String|否|订阅任务状态。取值:<br>**enable**:启用。<br>**disable**:关闭。|'."\n" + .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" + .'|effectiveEnd|String|否|订阅交付任务结束时间。|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainTopReferVisit' => [ - 'summary' => '调用DescribeDomainTopReferVisit获取加速域名某天的热门页面引用次数排名,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2025-07-16T07:48:29.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCdnDeliverTask'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UpdateCdnDeliverTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'DeliverTask', 'arn' => 'acs:cdn:*:{#accountId}:delivertask/{#DeliverId}'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111812', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + ], + 'UpdateCdnSubTask' => [ + 'summary' => '调用UpdateCdnSubTask更新已定制的运营报表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'ReportIds', + 'in' => 'formData', + 'schema' => ['description' => '新定制的报表ID列表,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '1,2,3'], + ], + [ 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'in' => 'formData', + 'schema' => ['description' => '待订阅的域名列表,支持批量查询域名,多个域名用英文逗号(,)分隔'."\n" + .'如果不传该参数,默认为账号下的所有域名订阅报表交付任务。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], ], [ 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-21T12:00:00Z', - ], + 'in' => 'formData', + 'schema' => ['description' => '定制任务的开始时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-09-17T00:00:00Z'], ], [ 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-22T12:00:00Z', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **traf**:流量。'."\n" - ."\n" - .'- **pv**(默认值):访问次数。', - 'type' => 'string', - 'required' => false, - 'example' => 'pv', - ], + 'in' => 'formData', + 'schema' => ['description' => '定制任务的结束时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-11-17T00:00:00Z'], ], ], 'responses' => [ @@ -22800,174 +18529,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '查询指定日期。', - 'type' => 'string', - 'example' => '2019-12-21T12:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '95994621-8382-464B-8762-C708E73568D1', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'TopReferList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ReferList' => [ - 'description' => '全部热门页面列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '200', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '3', - ], - 'ReferDetail' => [ - 'description' => '完整的热门页面地址。', - 'type' => 'string', - 'example' => 'learn.aliyundoc.com', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is invalid.', 'description' => '参数错误'], + ['errorCode' => 'TimeParseFailed', 'errorMessage' => 'Failed to parse the time parameter.', 'description' => '解析时间参数失败'], + ['errorCode' => 'SubscriptionAlreadyExists', 'errorMessage' => 'The subscription already exists.', 'description' => '定制服务已开通'], + ['errorCode' => 'SubscriptionNotFound', 'errorMessage' => 'The subscription is not found.', 'description' => '未开通定制服务'], + ['errorCode' => 'NameAlreadyExists', 'errorMessage' => 'The name already exists.', 'description' => '名称已存在'], + ['errorCode' => 'DeliverExceedLimit', 'errorMessage' => 'The maximum number of subscribed tasks is exceeded.', 'description' => '订阅任务个数已达上限'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2019-12-21T12:00:00Z\\",\\n \\"RequestId\\": \\"95994621-8382-464B-8762-C708E73568D1\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TopReferList\\": {\\n \\"ReferList\\": [\\n {\\n \\"Flow\\": \\"200\\",\\n \\"FlowProportion\\": 0.5,\\n \\"VisitData\\": \\"3\\",\\n \\"ReferDetail\\": \\"learn.aliyundoc.com\\",\\n \\"VisitProportion\\": 0.5\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainTopReferVisitResponse>\\n<TopReferList>\\n <ReferList>\\n <Flow>1557043</Flow>\\n <VisitProportion>0.9078341013824884</VisitProportion>\\n <VisitData>591</VisitData>\\n <ReferDetail>-</ReferDetail>\\n <FlowProportion>0.07801388057582173</FlowProportion>\\n </ReferList>\\n <ReferList>\\n <Flow>18397394</Flow>\\n <VisitProportion>0.08602150537634409</VisitProportion>\\n <VisitData>56</VisitData>\\n <ReferDetail>learn.aliyundoc.com</ReferDetail>\\n <FlowProportion>0.9217806434519402</FlowProportion>\\n </ReferList>\\n <ReferList>\\n <Flow>4101</Flow>\\n <VisitProportion>0.006144393241167435</VisitProportion>\\n <VisitData>4</VisitData>\\n <ReferDetail>learn.aliyundoc.com</ReferDetail>\\n <FlowProportion>0.00020547597223804668</FlowProportion>\\n </ReferList>\\n</TopReferList>\\n<RequestId>BA64068A-D73C-4613-8AAB-E9374F78FB95</RequestId>\\n<DomainName>example.com</DomainName>\\n<StartTime>2019-12-21T12:00:00Z</StartTime>\\n</DescribeDomainTopReferVisitResponse>\\n","errorExample":""}]', - 'title' => '获取热门页面引用次数排名', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" - .'> - 该接口的数据计算粒度为5分钟。'."\n" - .'> - 单用户调用频率:10次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCdnSubTaskResponse>\\r\\n<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</UpdateCdnSubTaskResponse>","errorExample":""}]', + 'title' => '更新报表定制任务', + 'description' => '>单用户调用频率:3次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainSrcTopUrlVisit' => [ - 'summary' => '调用DescribeDomainSrcTopUrlVisit获取加速域名的回源热门URL。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-05-18T11:07:13.000Z', 'description' => '请求参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UpdateCdnSubTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], + ], ], + ], + 'UpdateFCTrigger' => [ + 'summary' => '调用UpdateFCTrigger更新指定的函数计算触发器。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '111808', - 'abilityTreeNodes' => [ - 'FEATUREcdnE9OF3Y', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DomainName', + 'name' => 'TriggerARN', 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => '函数计算服务对应的的触发器。', 'type' => 'string', 'required' => true, 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger'], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 如果不指定StartTime,默认读取前一天的数据。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-10-03T16:00:00Z', - ], + 'name' => 'SourceARN', + 'in' => 'formData', + 'schema' => ['description' => '事件侦听的资源和过滤器。', 'type' => 'string', 'required' => false, 'example' => 'acs:cdn:*:1234567890:domain/example.com'], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间,并且结束时间和开始时间相差不超过7天。', - 'type' => 'string', - 'required' => false, - 'example' => '2018-10-03T20:00:00Z', - ], + 'name' => 'FunctionARN', + 'in' => 'formData', + 'schema' => ['description' => '功能触发器。', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:1223455566666:123:services/myservice/functions/myfunction'], ], [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'description' => '排序方式,默认值为**pv**。取值:'."\n" - ."\n" - .'- **traf**:流量。'."\n" - ."\n" - .'- **pv**:访问量。', - 'type' => 'string', - 'required' => false, - 'example' => 'pv', - ], + 'name' => 'RoleARN', + 'in' => 'formData', + 'schema' => ['description' => 'RAM授权的角色。', 'type' => 'string', 'required' => false, 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole'], + ], + [ + 'name' => 'Notes', + 'in' => 'formData', + 'schema' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ @@ -22975,332 +18610,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '查询指定日期。', - 'type' => 'string', - 'example' => '2018-10-03T16:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', - ], - 'DomainName' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'AllUrlList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '全部热门URL列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。'."\n", - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url200List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为2xx的URL列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url300List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为3xx的URL列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url400List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为4xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量。单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], - 'Url500List' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UrlList' => [ - 'description' => '返回为5xx的URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Flow' => [ - 'description' => '流量,单位:byte。', - 'type' => 'string', - 'example' => '460486880', - ], - 'UrlDetail' => [ - 'description' => '完整的URL地址。', - 'type' => 'string', - 'example' => 'http://example.com/nn_live/nn_x64/a0.m3u8', - ], - 'FlowProportion' => [ - 'description' => '流量占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - 'VisitData' => [ - 'description' => '访问次数。', - 'type' => 'string', - 'example' => '161673', - ], - 'VisitProportion' => [ - 'description' => '访问占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.35', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'Specified StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'Specified EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], - [ - 'errorCode' => 'InvalidTime.ValueNotSupported', - 'errorMessage' => 'StartTime or EndTime is miss match.', - ], - [ - 'errorCode' => 'InvalidDomainName.Mismatch', - 'errorMessage' => 'The specified DomainName is invalid.', - ], + ['errorCode' => 'InvalidParameter.TriggerARN', 'errorMessage' => 'The specified parameter TriggerARN is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.SourceARN', 'errorMessage' => 'The specified parameter SourceARN is not valid.', 'description' => '指定的参数SourceARN无效。'], + ['errorCode' => 'InvalidParameter.FunctionARN', 'errorMessage' => 'The specified parameter FunctionARN is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.RoleARN', 'errorMessage' => 'The specified parameter RoleARN is not valid.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'PermissionDeny', 'errorMessage' => 'No permission to operate this FCTrigger.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": \\"2018-10-03T16:00:00Z\\",\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"AllUrlList\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url200List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url300List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url400List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n },\\n \\"Url500List\\": {\\n \\"UrlList\\": [\\n {\\n \\"Flow\\": \\"460486880\\",\\n \\"UrlDetail\\": \\"http://example.com/nn_live/nn_x64/a0.m3u8\\",\\n \\"FlowProportion\\": 0.35,\\n \\"VisitData\\": \\"161673\\",\\n \\"VisitProportion\\": 0.35\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainSrcTopUrlVisitResponse>\\n<AllUrlList>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>37</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/ZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</AllUrlList>\\n<Url300List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url300List>\\n<Url400List>\\n <UrlList>\\n <VisitData>1884</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhb,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>1</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SEEwODgm,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url400List>\\n<RequestId>64D28B53-5902-409B-94F6-FD46680144FE</RequestId>\\n<DomainName>example.com</DomainName>\\n<Url200List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcG,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KDMlPTIwMTQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url200List>\\n<StartTime>2018-10-03T16:00:00Z</StartTime>\\n<Url500List>\\n <UrlList>\\n <VisitData>161673</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n <UrlList>\\n <VisitData>3</VisitData>\\n <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>\\n <VisitProportion>0.35</VisitProportion>\\n <Flow>460486880</Flow>\\n <FlowProportion>0.35</FlowProportion>\\n </UrlList>\\n</Url500List>\\n</DescribeDomainSrcTopUrlVisitResponse>\\n","errorExample":""}]', - 'title' => '获取回源热门URL', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateFCTriggerResponse>\\n <RequestId>EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E</RequestId>\\n</UpdateFCTriggerResponse>","errorExample":""}]', + 'title' => '更新函数计算触发器', + 'requestParamsDescription' => '## 数据类型SourceARN'."\n" ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 查询的时间粒度为5分钟。'."\n" - .'> - 单用户调用频率:10次/秒。', - 'requestParamsDescription' => ' ', + .'SourceARN的格式为`acs:cdn:{RegionID}:{AccountID}:{Filter}`。'."\n" + ."\n" + .'- 其中Filter表示资源和过滤器,具体格式为:` {FilterName}/{FilterValue}`。当FilterValue为多个枚举值时,需要使用大括号{}括起来,值之间通过半角逗号(,)分割。'."\n" + ."\n" + .'- 对于LogFileCreated事件当前支持基于域名(FilterName为domain)的过滤,如果只需要对example.com域名触发函数计算,则Filter为`domain/example.com`,如果需要多个域名触发函数计算,则Filter为`domain/{example.com,aliyun.com}`。'."\n" + ."\n" + .'- 多个过滤器之间通过正斜线(/)连接,是逻辑与的关系,格式如下所示:`acs:cdn:{RegionID}:{AccountID}:{Filter1}/{Filter2}/{Filter3}...`。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeTopDomainsByFlow' => [ - 'summary' => '调用DescribeTopDomainsByFlow获取用户按流量排名的域名,支持获取最近30天的数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UpdateFCTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'VerifyDomainOwner' => [ + 'summary' => '调用VerifyDomainOwner对域名归属权进行校验。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111838', - 'abilityTreeNodes' => [ - 'FEATUREcdnGZSOSW', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间点。日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> StartTime必须设置为北京时间0点对应的UTC时间,例如:北京时间06月01日0点,需要设置为UTC时间“2021-05-31T16:00:00Z”。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-22T08:00:00Z', - ], + 'schema' => ['description' => '只支持单个域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-12-23T08:00:00Z', - ], - ], - [ - 'name' => 'Limit', + 'name' => 'VerifyType', 'in' => 'query', - 'schema' => [ - 'description' => '域名获取数量限制,默认为**20**,取值**1**~**100**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => '校验方式,取值:'."\n" + ."\n" + .'- **dnsCheck**:DNS验证。'."\n" + .'- **fileCheck**:文件验证。', 'type' => 'string', 'required' => true, 'example' => 'dnsCheck'], ], ], 'responses' => [ @@ -23308,2647 +18685,3805 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainOnlineCount' => [ - 'description' => '账号下状态为**正在运行**的域名总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '68', - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-12-23T08:00:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-12-22T08:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70', - ], - 'DomainCount' => [ - 'description' => '账号下的域名总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '68', - ], - 'TopDomains' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TopDomain' => [ - 'description' => '排名域名列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MaxBps' => [ - 'description' => '带宽峰值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '22139626', - ], - 'Rank' => [ - 'description' => '排名。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalAccess' => [ - 'description' => '访问次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '107784230', - ], - 'TrafficPercent' => [ - 'description' => '流量占比。', - 'type' => 'string', - 'example' => '30.64191989360235', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'TotalTraffic' => [ - 'description' => '总流量。', - 'type' => 'string', - 'example' => '2043859876683.9001', - ], - 'MaxBpsTime' => [ - 'description' => '带宽峰值时刻。', - 'type' => 'string', - 'example' => '1457111400', - ], - ], - ], - ], - ], - ], + 'Content' => ['description' => '校验内容。'."\n" + ."\n" + .'>调用成功不返回该参数,调用失败返回校验内容。', 'type' => 'string', 'example' => 'verify_dffeb6610035dcb77b413a59c32c****'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', - ], + ['errorCode' => 'DomainOwnerVerifyFail', 'errorMessage' => 'Owner verification of the root domain failed.', 'description' => '当您首次将新域名添加至阿里云CDN时,需按要求做域名归属权验证,当您按要求配置DNS解析或文件验证后,才能正常成功添加域名。 '], + ['errorCode' => 'InvalidFile', 'errorMessage' => 'The file is not found.', 'description' => '检测到您未上传所需的文件,请先上传相关文件后再进行操作。'], + ['errorCode' => 'VerifyError', 'errorMessage' => 'The specified Verify is incorrectly formatted.', 'description' => '文件验证内容不匹配,请重新验证。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DomainOnlineCount\\": 68,\\n \\"EndTime\\": \\"2019-12-23T08:00:00Z\\",\\n \\"StartTime\\": \\"2019-12-22T08:00:00Z\\",\\n \\"RequestId\\": \\"4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70\\",\\n \\"DomainCount\\": 68,\\n \\"TopDomains\\": {\\n \\"TopDomain\\": [\\n {\\n \\"MaxBps\\": 22139626,\\n \\"Rank\\": 1,\\n \\"TotalAccess\\": 107784230,\\n \\"TrafficPercent\\": \\"30.64191989360235\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TotalTraffic\\": \\"2043859876683.9001\\",\\n \\"MaxBpsTime\\": \\"1457111400\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeTopDomainsByFlowResponse>\\n<DomainCount>4</DomainCount>\\n<DomainOnlineCount>4</DomainOnlineCount>\\n<RequestId>6796A2B4-15A7-4142-85C0-5A93406034B5</RequestId>\\n<TopDomains>\\n <TopDomain>\\n <MaxBps>26.752000000000002</MaxBps>\\n <Rank>3</Rank>\\n <TrafficPercent>0.000910078753253719</TrafficPercent>\\n <TotalTraffic>2003</TotalTraffic>\\n <TotalAccess>2</TotalAccess>\\n <DomainName>example.com</DomainName>\\n <MaxBpsTime>2019-12-22T20:50:00Z</MaxBpsTime>\\n </TopDomain>\\n</TopDomains>\\n<EndTime>2019-12-23T08:00:00Z</EndTime>\\n<StartTime>2019-12-22T08:00:00Z</StartTime>\\n</DescribeTopDomainsByFlowResponse>","errorExample":""}]', - 'title' => '获取按流量排名的加速域名', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'>- 如果您不指定**StartTime**和**EndTime**,该接口返回当月数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" - .'- 单用户调用频率:100次/秒。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32c****\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"<VerifyDomainOwnerResponse>\\n<Content>verify_dffeb6610035dcb77b413a59c32c****</Content>\\n<RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>\\n</VerifyDomainOwnerResponse>","errorExample":""}]', + 'title' => '校验域名归属权', + 'description' => '> 单用户调用频率:100次/秒。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-08-08T09:10:06.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-18T01:33:43.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:VerifyDomainOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], - 'DescribeDomainRegionData' => [ - 'summary' => '调用DescribeDomainRegionData获取加速域名天粒度的用户区域分布数据统计,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => 'cdn.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cdn.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => 'cdn.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => 'cdn.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cdn.aliyuncs.com', 'endpoint' => 'cdn.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'Abs.CertRegion.ValueNotSupported', 'message' => 'CertRegion is not supported.', 'http_code' => 400, 'description' => '不支持的证书地域。'], + ['code' => 'Abs.Sources.Malformed', 'message' => 'The specified Sources is invalid.', 'http_code' => 400, 'description' => '指定的源站无效。'], + ['code' => 'AccountBlacklist', 'message' => 'Account blacklist restrictions, please submit a work order to contact customer service for processing.', 'http_code' => 400, 'description' => '账号黑名单限制,请提交工单联系客服处理。'], + ['code' => 'AppAlreadyDeployed', 'message' => 'app already deployed', 'http_code' => 400, 'description' => '应用已经部署'], + ['code' => 'AppAlreadyExist', 'message' => 'app already exists', 'http_code' => 400, 'description' => '应用已经存在'], + ['code' => 'AppNotDeploy', 'message' => 'app not deploy', 'http_code' => 400, 'description' => '应用未部署'], + ['code' => 'AppNotFound', 'message' => 'app not found', 'http_code' => 404, 'description' => '应用不存在'], + ['code' => 'AppResourceNotFound', 'message' => 'app resource not exist', 'http_code' => 404, 'description' => '应用不存在资源信息'], + ['code' => 'AuthenticationFailed', 'message' => 'Authentication failed.', 'http_code' => 400, 'description' => '身份验证失败。'], + ['code' => 'BadArgument', 'message' => 'parse parameter error', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'BatchSetBusinessError', 'message' => 'some configs error:%s', 'http_code' => 400, 'description' => '发生配置错误:%s'], + ['code' => 'BatchUploadNotSuppord', 'message' => 'Api is Batch Upload', 'http_code' => 400, 'description' => '该接口属于batch上传,不支持对其处理,仅支持自助上传接口进行相应的处理。'], + ['code' => 'BillTypeNotFound', 'message' => 'The user billing type is not found or the billing type of this user is not the monthly billing type.', 'http_code' => 400, 'description' => '用户账单类型不存在或不是月账单类型用户'], + ['code' => 'BusinessExist', 'message' => 'Business exist, do not repeated submission', 'http_code' => 400, 'description' => '业务已存在,请勿重复提交。'], + ['code' => 'CdnService.HasOpened', 'message' => 'Your cdn service has opened.', 'http_code' => 400, 'description' => 'CDN服务已开通,请勿重复开通。'], + ['code' => 'CdnServiceNotFound', 'message' => 'Your account does not open CDN service yet.', 'http_code' => null, 'description' => '您的账户未开通CDN服务,请开通后重试。'], + ['code' => 'CdnServiceSuspended', 'message' => 'Your CDN service is suspended.', 'http_code' => null, 'description' => '您的CDN服务已欠费停止。'], + ['code' => 'CdnTypeNotSupported', 'message' => 'The specified value of parameter CdnType is not supported.', 'http_code' => 400, 'description' => '参数CdnType不支持该参数值。'], + ['code' => 'CdnTypeNotSupportExtensiveDomain', 'message' => 'Extensive domain not supported for this cdn type.', 'http_code' => 400, 'description' => '泛域名不支持该业务类型,目前泛域名只支持图片小文件加速,大文件下载加速,视频点播加速,请知悉。'], + ['code' => 'Certificate.DecodeError', 'message' => 'An error occurred while decoding the certificate.', 'http_code' => 400, 'description' => '证书解码失败'], + ['code' => 'Certificate.Duplicated', 'message' => 'The certificate name is duplicated.', 'http_code' => null, 'description' => '证书重复。'], + ['code' => 'Certificate.EncodeError', 'message' => 'An error occurred while encoding the certificate.', 'http_code' => 400, 'description' => '证书编码错误'], + ['code' => 'Certificate.Expired', 'message' => 'The certificate is expired.', 'http_code' => 400, 'description' => '证书过期了。'], + ['code' => 'Certificate.FormatError', 'message' => 'The certificate format is error.', 'http_code' => null, 'description' => '证书格式错误。'], + ['code' => 'Certificate.FormatError', 'message' => 'The format of the certificate is invalid.', 'http_code' => 400, 'description' => '证书格式错误'], + ['code' => 'Certificate.KeyNull', 'message' => 'The private key is not null.', 'http_code' => 400, 'description' => '私钥不能为空。'], + ['code' => 'Certificate.MissingParameter', 'message' => 'You must specify the Certificate parameter.', 'http_code' => 400, 'description' => 'Certificate参数缺失'], + ['code' => 'Certificate.MissMatch', 'message' => 'The certificate is not match the private key.', 'http_code' => null, 'description' => '证书与私钥不匹配。'], + ['code' => 'Certificate.MissMatch', 'message' => 'The Private Key does not math the specified Certificate!', 'http_code' => null, 'description' => '私钥不匹配该类证书。'], + ['code' => 'Certificate.MissMatch', 'message' => 'The certificate does not match the domain.', 'http_code' => 400, 'description' => '证书和域名不匹配'], + ['code' => 'Certificate.NoPrivateKey', 'message' => 'The private key of the certificate does not exist.', 'http_code' => 400, 'description' => '私钥不存在'], + ['code' => 'Certificate.NotFind', 'message' => 'Not find the certificate info.', 'http_code' => 400, 'description' => '证书不存在。'], + ['code' => 'Certificate.NotPermittedOff', 'message' => 'Turn off certificate will change domain scheduling, please contact customer service.', 'http_code' => 400, 'description' => '关闭证书将更改域调度,请与客服联系。'], + ['code' => 'Certificate.SettedNotEffect', 'message' => 'The certificate is installed but is not enabled yet, please contact our support team.', 'http_code' => 400, 'description' => '证书已成功安装但不保护当前服务生效,请联系客户服务。'], + ['code' => 'Certificate.StatusError', 'message' => 'The certificate status is error.', 'http_code' => null, 'description' => '证书状态错误。'], + ['code' => 'Certificate.StatusError', 'message' => 'Certificate is not exist or its status is error.', 'http_code' => null, 'description' => '证书不存在或证书状态错误。'], + ['code' => 'CertificateContent.Duplicated', 'message' => 'The certificate is already uploaded, please do not upload again.', 'http_code' => 400, 'description' => '证书已经上传,请不要再次上传。'], + ['code' => 'CertName.MissingParameter', 'message' => 'The CertName parameter is required.', 'http_code' => 404, 'description' => 'CertName参数缺失。'], + ['code' => 'CertNameAlreadyExists', 'message' => 'The CertName already exists.', 'http_code' => 400, 'description' => '该证书名称已存在。'], + ['code' => 'CertNotExisted', 'message' => 'The Cert does not exist.', 'http_code' => 400, 'description' => '证书不存在。'], + ['code' => 'CertStorage.failed', 'message' => 'The certificate storage failed.', 'http_code' => 400, 'description' => '证书保存失败。'], + ['code' => 'CheckIcpFailed', 'message' => 'Check icp info failed, please try again later.', 'http_code' => 400, 'description' => '检查ICP信息失败,请稍后再试。'], + ['code' => 'CheckSourceHealthFailed', 'message' => 'sources ip or source domain check health failed,please input right source.', 'http_code' => 400, 'description' => '源IP或源域检查错误, 请输入正确的源。'], + ['code' => 'CnameError', 'message' => 'Unmatched CNAME.', 'http_code' => 400, 'description' => 'cname不匹配'], + ['code' => 'Config.NotFound', 'message' => 'The domain provided doesn\'t apply any custom log config, please refer to the standard log config.', 'http_code' => 404, 'description' => '该域名不存在对应的定制日志格式 '], + ['code' => 'ConfigAlreadyExist', 'message' => 'config already exist', 'http_code' => 400, 'description' => '配置已经存在'], + ['code' => 'ConfigAlreadyExists', 'message' => 'Config has already exist.', 'http_code' => 400, 'description' => '配置已存在。'], + ['code' => 'ConfigDuplicate', 'message' => 'Config duplicate', 'http_code' => null, 'description' => '配置重复。'], + ['code' => 'ConfigDuplicate', 'message' => 'Duplicate configuration. This function has already been configured and cannot be added repeatedly.', 'http_code' => 400, 'description' => '配置重复,该功能已经存在配置,不允许重复添加。'], + ['code' => 'ConfigExceedLimit', 'message' => 'Count of config entries exceeds the limit.', 'http_code' => 400, 'description' => '配置条数超过限制。'], + ['code' => 'ConfigGroupAlreadyExist', 'message' => 'The configuration group already exists.', 'http_code' => 400, 'description' => '该配置组已存在'], + ['code' => 'ConfigGroupNotExist', 'message' => 'The specified ConfigGroup does not exist.', 'http_code' => 400, 'description' => '指定的ConfigGroup不存在。'], + ['code' => 'ConfigIsGraying', 'message' => 'The specified configuration is being published in the grayscale environment.', 'http_code' => 400, 'description' => '指定的配置正在灰度环境发布中。'], + ['code' => 'ConfigNotExist', 'message' => 'config not exist', 'http_code' => 400, 'description' => '配置不存在'], + ['code' => 'ConfigNotFound', 'message' => 'Config not found', 'http_code' => null, 'description' => '您输入的configid不存在,或输入的域名和configid不匹配,请检查更新后重试。'], + ['code' => 'ConfigParentExceedLimit', 'message' => 'Config parent exceed limit.', 'http_code' => 400, 'description' => '已引用的高级条件规则超过阈值。'], + ['code' => 'ConfigurationConflicts', 'message' => 'The staging environment has a configuration in effect and cannot modify the production environment configuration.', 'http_code' => 400, 'description' => '现在模拟环境的配置和生产环境配置不一致,无法直接修改生产环境配置。请您前往模拟环境完成您所需的配置,然后发布到生产环境进行覆盖。'], + ['code' => 'ConsoleNeedLogin', 'message' => null, 'http_code' => null, 'description' => '登录信息失效,请重新<a href="https://account.aliyun.com/login/login.htm?oauth_callback={{redirectUrl}}">登录</a>。'], + ['code' => 'CreateCertificateFailed', 'message' => 'Create certificate failed, please try again.', 'http_code' => 400, 'description' => '创建证书失败,请重新创建。'], + ['code' => 'createIndex.Failed', 'message' => 'Create index file is Failed.', 'http_code' => 400, 'description' => '文件目录创建失败。'], + ['code' => 'CustomConfigExist', 'message' => 'Custom configuration existed.', 'http_code' => 400, 'description' => '自定义配置已存在。'], + ['code' => 'CustomTagIsInvalid', 'message' => 'The number of Custom Tag exceeds 20.', 'http_code' => 400, 'description' => 'Tag个数超过20个了。'], + ['code' => 'DataAlreadyExist', 'message' => 'Data already exist.', 'http_code' => null, 'description' => '数据已存在。'], + ['code' => 'DataNotExist', 'message' => 'No data found for this domain', 'http_code' => null, 'description' => '该域名无数据。'], + ['code' => 'DataUpdating', 'message' => 'Data is updating,please wait.', 'http_code' => 400, 'description' => '数据正在更新,请稍等。'], + ['code' => 'DcdnServiceNotFound', 'message' => 'DCDN has not been activated for your account.', 'http_code' => 400, 'description' => '您的账号还没有开通DCDN服务。'], + ['code' => 'Decode.Error', 'message' => 'The certificate sslpub or sslpri decode error.', 'http_code' => 400, 'description' => '证书sslpub或sslpri解码错误。'], + ['code' => 'DeleteFailed', 'message' => 'Delete certificate is failed.', 'http_code' => 500, 'description' => '删除证书失败。'], + ['code' => 'DeleteFunctionFailed', 'message' => 'Batch delete functions failed.', 'http_code' => 403, 'description' => '批量删除功能失败。'], + ['code' => 'DeliverExceedLimit', 'message' => 'The maximum number of subscribed tasks is exceeded.', 'http_code' => 400, 'description' => '订阅任务个数已达上限'], + ['code' => 'Domain.BeianInvalid', 'message' => 'You are not authorized to perform the operation because the domain registration is invalid in mainland China.', 'http_code' => 400, 'description' => '不允许执行此操作,因为域名中国大陆地区备案无效。'], + ['code' => 'Domain.BeianInvalid', 'message' => 'Not allowed to perform this operation because the domain registration record is invalid in Chinese mainland.', 'http_code' => 400, 'description' => '域名中国区备案无效'], + ['code' => 'Domain.NotFound', 'message' => 'Domain is not found.', 'http_code' => 404, 'description' => '域名未开通实时日志投递服务。'], + ['code' => 'DomainAlreadyExist', 'message' => 'The domain already exists.', 'http_code' => 400, 'description' => '该域名已经添加,若有需要,您可以通过CDN域名迁移工具,自助完成域名跨账号迁移。'], + ['code' => 'DomainDeliveryConfigExist', 'message' => 'Domain delivery configuration existed.', 'http_code' => 400, 'description' => '域名投递配置已关联。'], + ['code' => 'DomainError', 'message' => 'The domain is not online.', 'http_code' => 400, 'description' => '域名非online状态'], + ['code' => 'DomainError', 'message' => 'HTTPS has not been enabled for the domain.', 'http_code' => 400, 'description' => '域名未开启https'], + ['code' => 'DomainError', 'message' => 'Sandbox domain', 'http_code' => 400, 'description' => '沙箱域名'], + ['code' => 'DomainError', 'message' => 'Domain must begin with https:// or http://', 'http_code' => 400, 'description' => '域名必须http/https开头'], + ['code' => 'DomainError', 'message' => 'A path must be specified for the domain.', 'http_code' => 400, 'description' => 'domian必须有path'], + ['code' => 'DomainError', 'message' => 'The domain is included in a blacklist.', 'http_code' => 400, 'description' => '黑名单域名'], + ['code' => 'DomainError', 'message' => 'URL parsing error.', 'http_code' => 400, 'description' => 'URL解析错误'], + ['code' => 'DomainError', 'message' => 'The SSL certificate has expired.', 'http_code' => 400, 'description' => 'https证书已过期'], + ['code' => 'DomainError', 'message' => 'URL is required.', 'http_code' => 400, 'description' => 'URL 为空'], + ['code' => 'DomainError', 'message' => 'The https certificate has expired.', 'http_code' => 400, 'description' => '证书过期'], + ['code' => 'DomainExceedLimit', 'message' => 'Count of domains exceeds the limit.', 'http_code' => 400, 'description' => '域名个数超过限制。'], + ['code' => 'DomainInBlacklist', 'message' => 'The domain is in the blacklist.', 'http_code' => 400, 'description' => '该域名在黑名单中。'], + ['code' => 'DomainInProtectedMode', 'message' => 'This domain is in the protected mode. if you want to do this operation, please contact us', 'http_code' => 400, 'description' => '此域名处于被保护模式。如果您想做这个操作,请联系我们。'], + ['code' => 'DomainInRiskList', 'message' => 'The domain you added may be at risk. If you have any questions, please submit a ticket.', 'http_code' => 400, 'description' => '您所添加的域名可能存在风险,如有任何疑问,请提交工单。'], + ['code' => 'DomainInSafeMode', 'message' => 'This domain is in the safe mode. if you want to do this operation, please contact us', 'http_code' => 400, 'description' => '此域名处于安全模式。如果您想做这个操作,请工单联系我们。'], + ['code' => 'DomainNameOverLimit', 'message' => 'A maximum of 50 domains are supported for each request.', 'http_code' => 400, 'description' => '每次请求最多支持50个域名。'], + ['code' => 'DomainNotAllowed', 'message' => 'this domain is not allowed to bind tmd user black, Please contact us', 'http_code' => 400, 'description' => '此域名不允许绑定安防黑名单,如有需要请联系我们。'], + ['code' => 'DomainNotExist', 'message' => 'The specified domain does not exist.', 'http_code' => 400, 'description' => '指定的域名不存在。'], + ['code' => 'DomainNotRegistration', 'message' => 'The Domain name is not registered', 'http_code' => 400, 'description' => '域名尚未备案。'], + ['code' => 'DomainOverLimit', 'message' => 'The Number of Domain is over the limit', 'http_code' => 400, 'description' => '域名已达上限。'], + ['code' => 'DomainOverLimit', 'message' => 'The maximum number of domains is exceeded.', 'http_code' => 400, 'description' => '域名数量超过上限'], + ['code' => 'DomainOwnerVerifyFail', 'message' => 'Owner verification of the root domain failed.', 'http_code' => 400, 'description' => '当您首次将新域名添加至阿里云CDN时,需按要求做域名归属权验证,当您按要求配置DNS解析或文件验证后,才能正常成功添加域名。 '], + ['code' => 'DomainReserved', 'message' => 'The root domain of the domain has been used by another account. Submit a ticket.', 'http_code' => 400, 'description' => '该域名的根域已经被其他账号占用。若需新增该域名,请进入CDN控制台-域名管理页面-迁入域名处自助迁移。'], + ['code' => 'DomainsAndFunctionsExceedLimit', 'message' => 'The number of domain names multiplied by the number of feature configurations exceeds the limit.', 'http_code' => 400, 'description' => '域名数量乘以功能配置数量,超出了限制。'], + ['code' => 'DomainTraffic.ExceedThreshold', 'message' => 'Not allowed to do this operation because the last day traffic exceeds the threshold.', 'http_code' => 400, 'description' => '域名昨日峰值流量超过阈值'], + ['code' => 'DomainTransferFail', 'message' => 'The domain does not allow to transfer to a different account.', 'http_code' => 400, 'description' => '该域名不允许迁移。'], + ['code' => 'DomainType.Malformed', 'message' => 'Your domain type is not live type.', 'http_code' => 400, 'description' => '该域名业务类型无效。'], + ['code' => 'DomainVerifyFail', 'message' => 'Domain verification failed.', 'http_code' => 400, 'description' => '域名校验失败。'], + ['code' => 'EdgeScripOptionsHasInnerConfig', 'message' => 'The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.', 'http_code' => 400, 'description' => '扩展项存在后台配置或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['code' => 'EdgeScriptCountExceedLimit', 'message' => 'The number of rules exceeds the default limit.', 'http_code' => 400, 'description' => '超过默认规则数量限制,如需提升数量,请提交工单咨询。'], + ['code' => 'EdgeScriptGrammarNotSupport', 'message' => 'A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.', 'http_code' => 400, 'description' => '存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询'], + ['code' => 'EdgeScriptNotSupportJs', 'message' => 'JavaScript rules are not supported. For more information, submit a ticket.', 'http_code' => 400, 'description' => '未开放JS规则,如有疑问,请提交工单咨询'], + ['code' => 'EmptyCustomLabel', 'message' => 'Extended Configuration is empty', 'http_code' => 400, 'description' => '自定义标签配置为空,请添加自定义标签配置。'], + ['code' => 'EntityNotExist.ResourceGroup', 'message' => 'The resource group does not exist.', 'http_code' => 400, 'description' => '该资源组不存在。'], + ['code' => 'EntityNotExists.ResourceGroup', 'message' => 'The resource group does not exist.', 'http_code' => 400, 'description' => '资源组不存在。'], + ['code' => 'ExceedMaxTsNumber', 'message' => 'Record ts number exceed 5760.', 'http_code' => 400, 'description' => 'ts 分片数量超过 5760。请缩短您的视频总时长或延长每个ts分片的时长,减少ts分片总数即可。'], + ['code' => 'ExtensiveAndAllBothExist', 'message' => 'Extensive domain and the domain begins with all. can not exist at the same time.', 'http_code' => 400, 'description' => '泛域名与all.开头域名不能同时存在。'], + ['code' => 'ExtensiveAndSpecificDomainConflict', 'message' => 'Extensive domain and corresponding specific domain are mutually exclusive.', 'http_code' => 400, 'description' => '泛域名和同级精确域名互斥,请重新添加。'], + ['code' => 'FlowControlError', 'message' => 'The request was denied due to flow control.', 'http_code' => 400, 'description' => '由于流控,请求被拒绝。'], + ['code' => 'Forbidden.BidUser', 'message' => 'Bid user is limited to open service.', 'http_code' => null, 'description' => '您无权限使用该项服务。'], + ['code' => 'Forbidden.Intl', 'message' => 'User not authorized to open Intl service.', 'http_code' => null, 'description' => '国际站CDN产品当前定向开放中。'], + ['code' => 'Forbidden.RAM', 'message' => 'User not authorized to operate on the specified resource, or this API does not support RAM.', 'http_code' => 400, 'description' => '未授权在该资源上操作,或者该API不支持RAM。'], + ['code' => 'Function.ArgDuplicate', 'message' => 'Duplicate feature parameters.', 'http_code' => 400, 'description' => '功能参数存在冲突'], + ['code' => 'Function.DependedByOthers', 'message' => 'The specified config is depended by others.', 'http_code' => 400, 'description' => '指定的配置被其他配置所依赖。'], + ['code' => 'Function.ExceedLimit', 'message' => 'The maximum number of configurations of the feature is exceeded.', 'http_code' => 400, 'description' => '该功能下的配置数量超过了限制数量'], + ['code' => 'Function.InvalidParentId', 'message' => 'The specified parentId does not exist.', 'http_code' => 400, 'description' => '指定的规则条件不存在'], + ['code' => 'Function.Unsupported', 'message' => 'The specified feature is not supported.', 'http_code' => 400, 'description' => '不支持的功能'], + ['code' => 'FunctionMutex', 'message' => 'Function is mutex with other function.', 'http_code' => 400, 'description' => '该功能与其他功能冲突。'], + ['code' => 'FunctionsExceedLimit', 'message' => 'The number of Functions exceeds the limit.', 'http_code' => 400, 'description' => 'Functions条数超出数量限制。'], + ['code' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_HASORDER', 'message' => 'You have an order not yet effective', 'http_code' => 400, 'description' => '您有未生效的订单。'], + ['code' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_INVALID_PAY_METHOD', 'message' => 'INVALID_PAY_METHOD', 'http_code' => 400, 'description' => '付款方式无效。'], + ['code' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_USERPROFILECOMPLETE', 'message' => 'MISSING_USERPROFILE', 'http_code' => 500, 'description' => '缺少用户配置文件。'], + ['code' => 'GrayConfigExist', 'message' => 'The domain exists other gray config.', 'http_code' => 400, 'description' => '域名已经存在其他灰度配置。'], + ['code' => 'GrayConfigIsNull', 'message' => 'You cannot delete all gary configurations. You can clear them by rolling back the simulation environment.', 'http_code' => 400, 'description' => '删空模拟环境下的规则并不能清空CDN节点上的配置,您可以通过回滚模拟环境来清空模拟环境下的配置。'], + ['code' => 'HttpsNotEnabled', 'message' => 'Please open https first.', 'http_code' => 400, 'description' => '请先开通HTTPS安全加速功能。'], + ['code' => 'IllegalOperation', 'message' => 'This operation is prohibited. The domain name has been added to the blacklist.', 'http_code' => 400, 'description' => '非法操作。该域名已被加入黑名单。'], + ['code' => 'IllegalOperation', 'message' => 'Illegal domain operate is not permitted.', 'http_code' => 400, 'description' => '域名不支持当前操作'], + ['code' => 'IllegalOperationDomain', 'message' => 'You are not authorized to operate the domain.', 'http_code' => 400, 'description' => '您没有权限操作该域名。'], + ['code' => 'IllegalOriginSiteIp', 'message' => 'Invalid origin server IP address.', 'http_code' => 400, 'description' => '源站IP不合法,无法添加。'], + ['code' => 'IllegalSources', 'message' => 'The specified origin site information is invalid.', 'http_code' => 400, 'description' => '指定的源站信息无效。'], + ['code' => 'InnerAddDomainDenied', 'message' => 'Your account has not bind aoneId, can not add domain.', 'http_code' => 400, 'description' => '您的账户没有绑定aoneId,不能添加域名。'], + ['code' => 'InsufficientBalance', 'message' => 'Your account does not have enough balance.', 'http_code' => null, 'description' => '账户余额不足,请先充值再操作。'], + ['code' => 'Internal.ConfigError', 'message' => 'An error occurred while configuring the certificate.', 'http_code' => 500, 'description' => '配置接口调用失败'], + ['code' => 'Internal.ForbidError', 'message' => 'You cannot modify the configurations when some features of the domain are in a canary deployment.', 'http_code' => 500, 'description' => '该域名有功能在灰度,不能进行变更'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => null, 'description' => '内部错误,请重试,如果多次重试报错请提交工单。'], + ['code' => 'InternalError', 'message' => 'Internal error.', 'http_code' => null, 'description' => '请求处理失败,后端服务异常,请重试。'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to backend service exception.', 'http_code' => null, 'description' => '内部错误,请重试,如果多次重试报错请提交工单。'], + ['code' => 'InternalException', 'message' => 'Internal occasional exception, please try again later.', 'http_code' => 400, 'description' => '内部偶发异常,请稍后重试。'], + ['code' => 'InternalServerError', 'message' => 'internal server error', 'http_code' => 500, 'description' => '服务错误'], + ['code' => 'InternetChargeTypeInvalid', 'message' => 'The specified InternetChargeType is invalid.', 'http_code' => 400, 'description' => '指定的计费类型无效。'], + ['code' => 'InvaildBatchIp.LengthTooLong', 'message' => 'The batchIp parameter is too long', 'http_code' => 400, 'description' => '批量IP查询参数太长'], + ['code' => 'InvaildParameter', 'message' => 'The specified parameter DomainName format is error.', 'http_code' => null, 'description' => 'DomainName格式错误。'], + ['code' => 'InvaildParameter', 'message' => 'Source name can not equal to domain name', 'http_code' => null, 'description' => '源站地址不能与域名相同。'], + ['code' => 'InvaildParameter', 'message' => 'IspNames Not Supported', 'http_code' => null, 'description' => '不支持IspNames。'], + ['code' => 'InvaildParameter', 'message' => 'The specified parameter IP format is error.', 'http_code' => null, 'description' => 'IP格式错误。'], + ['code' => 'InvaildParameter', 'message' => 'LocationNames Not Supported', 'http_code' => 400, 'description' => '格式错误,请重新填写'], + ['code' => 'InvaildParameter', 'message' => 'The parameter you provided is invalid.', 'http_code' => 403, 'description' => '域名不能包含下划线、斜杠等特殊符号,请检查域名格式后重新填写'], + ['code' => 'InvaildParameterSource', 'message' => 'The source name cannot be the same as the domain name.', 'http_code' => 400, 'description' => '源站不能和域名一样。'], + ['code' => 'Invalid%s.Malformed', 'message' => 'ArgValue [%s] is malformed.', 'http_code' => null, 'description' => '不支持该参数,请您检查该参数是否正确。'], + ['code' => 'Invalid%s.ValueNotSupported', 'message' => 'FunctionName [%s] is not supported.', 'http_code' => null, 'description' => '此方法不支持。'], + ['code' => 'Invalid%s.ValueNotSupported', 'message' => 'ArgName [%s] is not supported.', 'http_code' => null, 'description' => '不支持该参数参数。'], + ['code' => 'InvalidAction.NotFound', 'message' => 'Specified api is not found, please check your url and method.', 'http_code' => 404, 'description' => '指定的API未找到,请检查您的URL和方法。'], + ['code' => 'InvalidAllowEmpty.ValueNotSupported', 'message' => 'The specified value of parameter AllowEmpty is not supported.', 'http_code' => 400, 'description' => '指定的refer是否允许为空不合法,超出可选范围。'], + ['code' => 'InvalidAppName.LengthTooLong', 'message' => 'The specified app name is too long.', 'http_code' => 400, 'description' => 'AppName的长度超过限制,请传入合法的AppName。'], + ['code' => 'InvalidAppName.Mismatch', 'message' => 'The AppName param must be passed.', 'http_code' => 400, 'description' => 'AppName参数不匹配,请确认传入了正确的AppName参数。'], + ['code' => 'InvalidArgIps.IpCanNotFound', 'message' => 'The ips can not found.', 'http_code' => 400, 'description' => '输入参数未在系统中查询到,不是阿里云CDN的IP。'], + ['code' => 'InvalidArgIps.Malformed', 'message' => 'The specified ips are invalid.', 'http_code' => 400, 'description' => '输入参数IP列表无效'], + ['code' => 'InvalidArgName.ValueNotSupported', 'message' => '%s is not supported.', 'http_code' => 400, 'description' => '%s不被支持。'], + ['code' => 'InvalidArgument.Malformed', 'message' => 'Json format error.', 'http_code' => 400, 'description' => 'JSON格式错误。'], + ['code' => 'InvalidArgValue.Malformed', 'message' => 'The specified ArgValue is invalid.', 'http_code' => 400, 'description' => '参数格式错误,请检查更新后重试。'], + ['code' => 'InvalidAuthCrash.ValueNotSupported', 'message' => 'The specified value of parameter AuthCrash is not supported.', 'http_code' => 400, 'description' => '不支持参数AuthCrash。'], + ['code' => 'InvalidAuthEnable.ValueNotSupported', 'message' => 'The specified value of parameter AuthEnable is not supported.', 'http_code' => 400, 'description' => '不支持参数AuthEnable。'], + ['code' => 'InvalidAuthType.ValueNotSupported', 'message' => 'The specified value of parameter AuthType is not supported.', 'http_code' => 400, 'description' => '不支持参数AuthType。'], + ['code' => 'InvalidBackSrcDomain.Malformed', 'message' => 'Specified BackSrcDomain is malformed.', 'http_code' => 400, 'description' => '回源域名格式BackSrcDomain不合法。'], + ['code' => 'InvalidBucket.NotFound', 'message' => 'The parameter OssBucket does not exist.', 'http_code' => null, 'description' => '参数OssBucket不存在。'], + ['code' => 'InvalidCacheContent.Malformed', 'message' => 'The specified value of parameter CacheContent is malformed.', 'http_code' => 400, 'description' => '缓存配置地址输入不符合规范。'], + ['code' => 'InvalidCacheType.ValueNotSupported', 'message' => 'The specified value of parameter CacheType is not supported.', 'http_code' => 400, 'description' => '指定的缓存内容类型不合法,超出可选范围。'], + ['code' => 'InvalidCdnType.Malformed', 'message' => 'Operation not supported this cdn type.', 'http_code' => null, 'description' => '参数CdnType不支持该参数值, 取值:web:图片及小文件分发;download:大文件下载加速;video:视音频点播加速;liveStream:直播流媒体加速。'], + ['code' => 'InvalidCdnType.Malformed', 'message' => 'Specified CdnType is malformed.', 'http_code' => 400, 'description' => '参数CdnType不支持该参数值, 取值:web:图片及小文件分发;download:大文件下载加速;video:视音频点播加速;'], + ['code' => 'InvalidCdnType.ValueNotSupported', 'message' => 'The specified value of parameter CdnType is not supported.', 'http_code' => 400, 'description' => '参数CdnType不支持该参数值, 取值:web:图片及小文件分发;download:大文件下载加速;video:视音频点播加速;liveStream:直播流媒体加速。'], + ['code' => 'InvalidCertId.NotFound', 'message' => 'The certId does not exist.', 'http_code' => 400, 'description' => '证书ID不存在'], + ['code' => 'InvalidCertIdentifier.ValueNotSupported', 'message' => 'The specified CertIdentifier parameter is invalid.', 'http_code' => 400, 'description' => '指定的CertIdentifier不合法。'], + ['code' => 'InvalidCertificate', 'message' => 'The Certificate you provided is malformed', 'http_code' => 400, 'description' => '证书格式不正确。'], + ['code' => 'InvalidCertificate.TooLong', 'message' => 'The Certificate you provided is over the max length', 'http_code' => 400, 'description' => '证书和私钥长度超出限制。'], + ['code' => 'InvalidCertName.TooLong', 'message' => 'The Certificate name you provided is over the max length 128', 'http_code' => 400, 'description' => '证书名称不能超过128个字符.。'], + ['code' => 'InvalidChargeItem.ValueNotSupported', 'message' => 'The specified value of parameter ChargeItem is not supported.', 'http_code' => 400, 'description' => '不支持参数ChargeItem。'], + ['code' => 'InvalidCls.Malformed', 'message' => 'Specified Cls is malformed.', 'http_code' => 400, 'description' => '参数CLS格式错误。'], + ['code' => 'InvalidConfig', 'message' => 'The specific config of the ConfigUrl is invalid.', 'http_code' => null, 'description' => '参数ConfigUrl无效。'], + ['code' => 'InvalidConfig.NotFound', 'message' => 'The speicified config does not exist.', 'http_code' => null, 'description' => '该配置不存在。'], + ['code' => 'InvalidConfig.ValueNotSupported', 'message' => 'The specified value of parameter Config is not supported.', 'http_code' => 400, 'description' => '参数Config的值无效。'], + ['code' => 'InvalidConfigId', 'message' => 'The specified configId is invalid.', 'http_code' => 400, 'description' => '功能的configId非法,不存在或不属于当前实例'], + ['code' => 'InvalidConfigID.Malformed', 'message' => 'The specific value of parameter ConfigID is malformed.', 'http_code' => 400, 'description' => '参数ConfigID格式错误。'], + ['code' => 'InvalidConfigID.NotExist', 'message' => 'The specific value of parameter ConfigID is not exist.', 'http_code' => null, 'description' => '参数ConfigID不存在。'], + ['code' => 'InvalidConfigID.NotFound', 'message' => 'Cannot find the specific value of parameter ConfigID in our system.', 'http_code' => null, 'description' => '找不到ConfigID。'], + ['code' => 'InvalidConfigList.ValueNotSupported', 'message' => 'The specified value of parameter ConfigList is not supported.', 'http_code' => 400, 'description' => '指定查询的配置项参数值不合法。'], + ['code' => 'InvalidConfigUrl', 'message' => 'The specific value of parameter ConfigUrl is invalid.', 'http_code' => 400, 'description' => '参数ConfigUrl无效。'], + ['code' => 'InvalidCustomHeader', 'message' => 'Parse preload header failed.', 'http_code' => 400, 'description' => '自定义头部解析错误。'], + ['code' => 'InvalidCustomHeader', 'message' => 'Unsupported Preload headers included.', 'http_code' => 400, 'description' => '无效的自定义预热头部。'], + ['code' => 'InvalidCustomPageUrl.Malformed', 'message' => 'The specified value of parameter CustomPageUrl is not malformed.', 'http_code' => 400, 'description' => '参数CustomPageUrl格式错误。'], + ['code' => 'InvalidCustomPageUrl.Miss', 'message' => 'The specified value of parameter CustomPageUrl is miss', 'http_code' => 400, 'description' => '参数CustomPageUrl缺失。'], + ['code' => 'InvalidData.NotFound', 'message' => 'The data is not found', 'http_code' => null, 'description' => '找不到该数据。'], + ['code' => 'InvalidDisableAst.ValueNotSupported', 'message' => 'The specified value of parameter DisableAst is not supported.', 'http_code' => 400, 'description' => '不支持参数DisableAst。'], + ['code' => 'InvalidDomain.Configure_failed', 'message' => 'Failed to configure the provided domain.', 'http_code' => 400, 'description' => '域名配置失败。'], + ['code' => 'InvalidDomain.NotExist', 'message' => 'The domain you provided is not exist.', 'http_code' => 400, 'description' => '您所提供的域名不存在。'], + ['code' => 'InvalidDomain.NotFound', 'message' => 'The domain provided does not belong to you.', 'http_code' => null, 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ['code' => 'InvalidDomain.NotFound', 'message' => 'The domain provided does not exist in our records.', 'http_code' => 400, 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ['code' => 'InvalidDomain.notOnline', 'message' => 'The domain is not online, please check the domain status and try again later.', 'http_code' => 400, 'description' => '域名未在线,请检查域名状态,稍后再试。'], + ['code' => 'InvalidDomain.Offline', 'message' => 'The domain provided is offline.', 'http_code' => 400, 'description' => '域名已下线。'], + ['code' => 'InvalidDomainInfo', 'message' => 'a or any domain not belonging product or user.', 'http_code' => 400, 'description' => '一个或多个域名,不属于某个产品或用户'], + ['code' => 'InvalidDomainName', 'message' => 'The specified DomainNames is invalid.', 'http_code' => 400, 'description' => '未指定域名或指定的域名超过限制,请确认传入的域名符合API文档说明。'], + ['code' => 'InvalidDomainName.Malformed', 'message' => 'Specified DomainName is malformed.', 'http_code' => 400, 'description' => '域名格式错误或批量新增不支持泛域名。'], + ['code' => 'InvalidDomainName.Malformed', 'message' => 'The specific value of parameter DomainName is malformed.', 'http_code' => null, 'description' => '域名不存在或不属于当前用户。请检查您填写的域名书写是否正确,或者域名是否在当前账号中,查看域名是否过期。'], + ['code' => 'InvalidDomainName.Malformed', 'message' => 'Domain name suffixed with alicdn.com only support third level.', 'http_code' => null, 'description' => 'alicdn.com最多支持三级域名。'], + ['code' => 'InvalidDomainName.Malformed', 'message' => 'The specified DomainName is invalid.', 'http_code' => 400, 'description' => '域名格式错误。'], + ['code' => 'InvalidDomainName.Overlimit', 'message' => 'Too many DomainNames are specified.', 'http_code' => 400, 'description' => '指定的域名数量超过了API的限制。'], + ['code' => 'InvalidDomainName.ValueNotSupported', 'message' => 'The specified value of parameter DomainName is not supported.', 'http_code' => null, 'description' => '域名格式不对,请检查是否含有*等特殊字符。'], + ['code' => 'InvalidDomainName.ValueNotSupported', 'message' => 'The specified value of parameter DomainName only support one or empty value.', 'http_code' => 400, 'description' => '参数DomainName可以为空或最多1个域名。'], + ['code' => 'InvalidDomainNameLevel', 'message' => 'Domain name suffixed with alicdn.com only support third level.', 'http_code' => 400, 'description' => 'alicdn.com(针对泛域名)最多支持三级域名。'], + ['code' => 'InvalidDomainNames.Malformed', 'message' => 'Specified domainNames is malformed.', 'http_code' => 400, 'description' => 'domainNames格式错误。'], + ['code' => 'InvalidDomainSearchType.ValueNotSupported', 'message' => 'The specified value of parameter DomainSearchType is not supported.', 'http_code' => 400, 'description' => '不支持参数DomainSearchType。'], + ['code' => 'InvalidDomainStatus.ValueNotSupported', 'message' => 'The specified value of parameter DomainStatus is not supported.', 'http_code' => 400, 'description' => '不支持参数DomainStatus。'], + ['code' => 'InvalidDomainType.ValueNotSupported', 'message' => 'The domain is not dynamic domain.', 'http_code' => 403, 'description' => '该域名不是动态域名。'], + ['code' => 'InvalidDynamicOrigin.ValueNotSupported', 'message' => 'The specified value of parameter DynamicOrigin is not supported.', 'http_code' => 400, 'description' => '不支持参数DynamicOrigin。'], + ['code' => 'InvalidEnable.ValueNotSupported', 'message' => 'The specified value of parameter Enable is not supported.', 'http_code' => null, 'description' => '指定的配置项值不合法,只能是on或off。'], + ['code' => 'InvalidEnable.ValueNotSupported', 'message' => 'The specified value of parameter Enable is not valid.', 'http_code' => 400, 'description' => '参数“Enable”的值无效。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'Specified end time is malformed.', 'http_code' => null, 'description' => '结束时间格式错误。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'Time period should be in three month.', 'http_code' => null, 'description' => '时间范围不超过3个月。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'StartTime and EndTime is illegal.', 'http_code' => null, 'description' => '开始时间和结束时间不合法。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'The specified value of parameter EndTime is malformed.', 'http_code' => null, 'description' => '参数EndTime格式错误。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'Specified time period should be in three month.', 'http_code' => null, 'description' => '时间范围不超过3个月。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'Specified EndTime is malformed.', 'http_code' => 400, 'description' => '结束时间格式错误。请核对后重新提供。'], + ['code' => 'InvalidEndTime.Malformed', 'message' => 'The specified EndTime is invalid.', 'http_code' => 400, 'description' => '结束时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['code' => 'InvalidEndTime.Mismatch', 'message' => 'Specified end time does not math the specified start time.', 'http_code' => null, 'description' => '请检查时间设置是否正确,结束时间不能小于或等于开始时间。'], + ['code' => 'InvalidEndTime.Mismatch', 'message' => 'Specified EndTime does not math the specified start time.', 'http_code' => 400, 'description' => '请检查时间设置是否正确,结束时间不能小于或等于开始时间。'], + ['code' => 'InvalidEndTime.Mismatch', 'message' => 'Specified EndTime does not match the specified StartTime.', 'http_code' => 400, 'description' => '指定的EndTime与StartTime不匹配,StartTime应早于EndTime。'], + ['code' => 'InvalidEndTime.Mismatch', 'message' => 'The specified EndTime is earlier than the StartTime.', 'http_code' => 400, 'description' => '用户参数中EndTime早于StartTime'], + ['code' => 'InvalidEnv', 'message' => 'The specified Env is invalid.', 'http_code' => 400, 'description' => '指定的是否灰度下发证书参数无效。'], + ['code' => 'InvalidErrorCode.Malformed', 'message' => 'The specified value of parameter ErrorCode is not malformed.', 'http_code' => null, 'description' => '参数ErrorCode格式错误。'], + ['code' => 'InvalidExtensiveDomain.Malformed', 'message' => 'Specified ExtensiveDomain is malformed.', 'http_code' => 400, 'description' => '参数ExtensiveDomain 格式错误。'], + ['code' => 'InvalidExtensiveDomain.ValueNotSupported', 'message' => 'Extensive domain not supported.', 'http_code' => 400, 'description' => '该操作不支持泛域名。'], + ['code' => 'InvalidField.ValueNotSupported', 'message' => 'The specified value of parameter Field is not supported.', 'http_code' => null, 'description' => '参数Field 不支持。'], + ['code' => 'InvalidFile', 'message' => 'The file is not found.', 'http_code' => 400, 'description' => '检测到您未上传所需的文件,请先上传相关文件后再进行操作。'], + ['code' => 'InvalidFunction.Malformed', 'message' => 'The configuration of the %s function of %s already exists. Only when it is consistent with the current configuration group can you attach it.', 'http_code' => 400, 'description' => '%s 的 %s 功能的配置已经存在。只有当它与当前配置组一致时,才能附加它。'], + ['code' => 'InvalidFunction.NotSupported', 'message' => 'The domain is not supported to set the function.', 'http_code' => 400, 'description' => '域名不支持设置该功能。'], + ['code' => 'InvalidFunctionArgs.Malformed', 'message' => 'The specified FunctionArgs is invalid.', 'http_code' => 400, 'description' => '指定的功能参数是错误的。'], + ['code' => 'InvalidFunctions.Malformed', 'message' => 'The specified Functions is incorrectly formatted.', 'http_code' => 400, 'description' => '配置格式错误。'], + ['code' => 'InvalidHashKeyArgs.ValueNotSupported', 'message' => 'At most 10 HashKeyArgs are supported.', 'http_code' => 403, 'description' => '最多配置10个保留参数。'], + ['code' => 'InvalidHeaderKey.ValueNotSupported', 'message' => 'The specified value of parameter HeaderKey is not supported.', 'http_code' => 400, 'description' => '指定的HTTP头参数不合法,超出可选范围。取值:Content-Type,Cache-Control,Content-Disposition,Content-Language,Expires,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Max-Age,Access-Control-Expose-Headers,Access-Control-Allow-Credentials。'], + ['code' => 'InvalidInternetChargeType.ValueNotSupported', 'message' => 'The specified value of parameter InternetChargeType is not valid.', 'http_code' => 400, 'description' => '参数“InternetChargeType”的值无效。'], + ['code' => 'InvalidInterval.Malformed', 'message' => 'Maximum time interval is 96 hours.', 'http_code' => 400, 'description' => '最大时间间隔为 96 小时。起止时间范围过大,请保持在 96 小时范围之内。'], + ['code' => 'InvalidInterval.Malformed', 'message' => 'Specified Interval is malformed.', 'http_code' => 400, 'description' => '时间粒度格式不规范。'], + ['code' => 'InvalidIntervalParameter', 'message' => 'The specified Interval is invalid.', 'http_code' => 400, 'description' => '指定的时间粒度无效。'], + ['code' => 'InvalidIP.ValueNotSupported', 'message' => 'The specified value of parameter IP is not supported.', 'http_code' => 400, 'description' => '不合法的IP参数'], + ['code' => 'InvalidIspNameEn.Malformed', 'message' => 'The specified IspNameEn is not supported.', 'http_code' => 400, 'description' => '填写的运营商英文名称错误,请通过DescribeCdnRegionAndIsp接口获得运营商英文名后重试。'], + ['code' => 'InvalidIspNames.Malformed', 'message' => 'Specified IspNames is malformed.', 'http_code' => 400, 'description' => 'IspName格式错误。'], + ['code' => 'InvalidIspParameter', 'message' => 'The specified Isp is invalid.', 'http_code' => 400, 'description' => '指定的Isp无效。'], + ['code' => 'InvalidKeepOssArgs.ValueNotSupported', 'message' => 'The specified value of parameter KeepOssArgs is not supported.', 'http_code' => 400, 'description' => 'KeepOssArgs不支持该参数值。'], + ['code' => 'InvalidKey.Malformed', 'message' => 'The specified value of parameter Key is not malformed.', 'http_code' => 400, 'description' => '参数Key格式错误。'], + ['code' => 'InvalidKey1.Malformed', 'message' => 'The parameter Key1 is malformed.', 'http_code' => 400, 'description' => '参数Key1 格式错误。'], + ['code' => 'InvalidKey1.MissingParameter', 'message' => 'The parameter Key1 is missing.', 'http_code' => null, 'description' => '参数Key1不存在。'], + ['code' => 'InvalidKey2.Malformed', 'message' => 'The parameter Key2 is malformed.', 'http_code' => 400, 'description' => '参数Key2 格式错误。'], + ['code' => 'InvalidLimit.Malformed', 'message' => 'The specified value of parameter Limit contains invalid variable.', 'http_code' => 400, 'description' => '参数“Limit”包含无效的变量。'], + ['code' => 'InvalidLimit.ValueNotSupported', 'message' => 'DomainNames limit between 1 and 100.', 'http_code' => 400, 'description' => '域名数量限制为1到100。'], + ['code' => 'InvalidLiveStreamType.Malformed', 'message' => 'The specified value of parameter LiveStreamType is malformed.', 'http_code' => 400, 'description' => '参数LiveStreamType格式错误。'], + ['code' => 'InvalidLocationNameEn.Malformed', 'message' => 'The specified LocationNameEn is not supported.', 'http_code' => 400, 'description' => '不支持LocationNameEn。'], + ['code' => 'InvalidLocationNames.Malformed', 'message' => 'Specified LocationNames is malformed.', 'http_code' => 403, 'description' => 'LocationNames格式错误。'], + ['code' => 'InvalidLocName', 'message' => 'The specified LocName is not supported.', 'http_code' => 400, 'description' => '指定的LocName不支持。'], + ['code' => 'InvalidLogDay.Malformed', 'message' => 'LogDay is malformed. the expected format is yyyy-MM-dd', 'http_code' => 400, 'description' => '参数LogDay格式错误,请使用yyyy-MM-dd格式。'], + ['code' => 'InvalidMainAppName.Malformed', 'message' => 'Specified MainAppName is malformed.', 'http_code' => 400, 'description' => 'MainAppName格式错误。'], + ['code' => 'InvalidMainDomainName.Malformed', 'message' => 'Specified MainDomainName is malformed.', 'http_code' => 403, 'description' => 'MainDomainName格式错误。'], + ['code' => 'InvalidMainStreamName.Malformed', 'message' => 'Specified MainStreamName is malformed.', 'http_code' => 400, 'description' => 'MainStreamName格式错误。'], + ['code' => 'InvalidMixAppName.Malformed', 'message' => 'Specified MixAppName is malformed.', 'http_code' => 400, 'description' => 'MixAppName格式错误。'], + ['code' => 'InvalidMixDomainName.Malformed', 'message' => 'Specified MixDomainName is malformed.', 'http_code' => 400, 'description' => 'MixDomainName格式错误。'], + ['code' => 'InvalidMixStreamName.Malformed', 'message' => 'Specified MixStreamName is malformed.', 'http_code' => 400, 'description' => 'MixStreamName格式错误。'], + ['code' => 'InvalidMixTemplate.Malformed', 'message' => 'Specified MixTemplate is malformed.', 'http_code' => 400, 'description' => 'MixTemplate 格式错误。'], + ['code' => 'InvalidMixType.Malformed', 'message' => 'Specified MixType is malformed.', 'http_code' => 400, 'description' => 'MixType格式错误。'], + ['code' => 'InvalidNotifyUrl.Malformed', 'message' => 'The specified value of parameter NotifyUrl is malformed.', 'http_code' => 400, 'description' => 'NotifyUrl 格式错误。'], + ['code' => 'InvalidObjectPath.ExceedsMaximum', 'message' => 'The maximum number of urls is exceeded.', 'http_code' => 400, 'description' => '提交URL数超过最大限制。'], + ['code' => 'InvalidObjectPath.Malformed', 'message' => 'The specific value of parameter ObjectPath is malformed.', 'http_code' => 400, 'description' => '参数ObjectPath值格式错误。输入示例:example.com/image/1.png。多个URL之间需要用换行符(\\n 或 \\r\\n)分隔。'], + ['code' => 'InvalidObjectPath.ValueNotSupported', 'message' => 'The specified value of ObjectPath is not supported.', 'http_code' => 400, 'description' => '参数“ObjectPath”的值无效。'], + ['code' => 'InvalidObjectType.Malformed', 'message' => 'The specified ObjectType is invalid.', 'http_code' => 400, 'description' => '指定的ObjectType无效。'], + ['code' => 'InvalidObjectType.ValueNotSupported', 'message' => 'The specified ObjectType is invalid.', 'http_code' => 400, 'description' => '参数“ObjectType”的值无效。'], + ['code' => 'InvalidOperation.ForceRedirect', 'message' => 'Cannot perform this operation due to wrong business type or ssl status.', 'http_code' => 400, 'description' => '该域名无法设置强制跳转,请检查是否上传并启用了证书。'], + ['code' => 'InvalidOssBucket.Malformed', 'message' => 'The specified value of parameter OssBucket contains invalid variable.', 'http_code' => 400, 'description' => '参数“OssBucket”包含无效的变量。'], + ['code' => 'InvalidOssEndpoint.Malformed', 'message' => 'The specified value of parameter "OssEndpoint" contains invalid variable.', 'http_code' => null, 'description' => '参数“OssEndpoint”包含无效的变量。'], + ['code' => 'InvalidOssEndpoint.Malformed', 'message' => 'Specified OssEndpoint is malformed.', 'http_code' => 400, 'description' => 'OssEndpoint参数不合法,请检查更新后重试。'], + ['code' => 'InvalidOssObject.Malformed', 'message' => 'Specified OssObject is malformed.', 'http_code' => 400, 'description' => 'OssObject格式错误。'], + ['code' => 'InvalidOssObjectPrefix.Malformed', 'message' => 'The specified value of parameter OssObjectPrefix contains invalid variable.', 'http_code' => 400, 'description' => '参数“OssObjectPrefix”包含无效的变量。'], + ['code' => 'InvalidOverwriteOssObject.Malformed', 'message' => 'The specified value of parameter OverwriteOssObject contains invalid variable.', 'http_code' => 400, 'description' => '参数“OverwriteOssObject”包含无效的变量。'], + ['code' => 'InvalidOverwriteOssObjectOrSequenceOssObject.Malformed', 'message' => 'The paramters OverwriteOssObject or SequenceOssObject should have one.', 'http_code' => 403, 'description' => 'OverwriteOssObject和SequenceOssObject,必须填一个。'], + ['code' => 'InvalidPageNumber.ValueNotSupported', 'message' => 'The specified value of parameter PageNumber is not supported.', 'http_code' => 400, 'description' => '指定查询的当前页码参数值不合法。'], + ['code' => 'InvalidPageSize', 'message' => 'Page size is invalid.', 'http_code' => 400, 'description' => '无效的页码'], + ['code' => 'InvalidPageSize.Malformed', 'message' => 'The specified value of parameter PageSize contains invalid variable.', 'http_code' => 400, 'description' => '参数“PageSize”包含无效的变量。'], + ['code' => 'InvalidPageSize.ValueNotSupported', 'message' => 'The specified value of parameter PageSize is not supported.', 'http_code' => 400, 'description' => '指定查询的分页大小参数PageSize值不合法。'], + ['code' => 'InvalidPageToken', 'message' => 'The token of page is invalid.', 'http_code' => 400, 'description' => '指定的分页token错误,请传入上次查询返回的正确索引,并确认没有修改您的请求参数。'], + ['code' => 'InvalidPageType.ValueNotSupported', 'message' => 'The specified value of parameter PageType is not supported.', 'http_code' => 400, 'description' => '指定的错误页面类型值不合法,超出可选范围。'], + ['code' => 'InvalidPageUrl.Malformed', 'message' => 'The specified value of parameter PageUrl is not malformed.', 'http_code' => null, 'description' => '参数PageUrl格式错误。'], + ['code' => 'InvalidParameter', 'message' => 'Delete live region parameters have error.', 'http_code' => null, 'description' => '删除直播区域异常。'], + ['code' => 'InvalidParameter', 'message' => 'Describe live region parameters have error.', 'http_code' => null, 'description' => '查询直播区域参数异常。'], + ['code' => 'InvalidParameter', 'message' => 'The specified value of parameter "Enable" is not valid.', 'http_code' => null, 'description' => '参数“Enable”的值无效。'], + ['code' => 'InvalidParameter', 'message' => 'The specified value of parameter "DomainName" is not valid.', 'http_code' => null, 'description' => '参数“DomainName”的值无效。'], + ['code' => 'InvalidParameter', 'message' => 'The specified value of parameter "InternetChargeType" is not valid.', 'http_code' => null, 'description' => '参数“InternetChargeType”的值无效。'], + ['code' => 'InvalidParameter', 'message' => 'Add live region parameters have error.', 'http_code' => null, 'description' => '新增直播区域异常。'], + ['code' => 'InvalidParameter', 'message' => 'There is unsupported parameter.', 'http_code' => null, 'description' => '不支持该参数。'], + ['code' => 'InvalidParameter', 'message' => null, 'http_code' => null, 'description' => '授权失败。'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'InvalidParameter', 'message' => 'Your Alibaba Cloud account does not have permissions for the domain.', 'http_code' => 400, 'description' => '您的aliuid没有此域名权限。'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter IP format is invalid.', 'http_code' => 400, 'description' => 'IP格式非法,请重新输入。'], + ['code' => 'InvalidParameter.%s', 'message' => 'The specified parameter [%s] is not valid.', 'http_code' => null, 'description' => '参数xxx无效。'], + ['code' => 'InvalidParameter.Always', 'message' => 'The specified value of parameter "Always" contains invalid variable.', 'http_code' => null, 'description' => '参数“Always”包含无效的变量。'], + ['code' => 'InvalidParameter.SourceARN', 'message' => 'The specified parameter SourceARN is not valid.', 'http_code' => 400, 'description' => '指定的参数SourceARN无效。'], + ['code' => 'InvalidParameterAliuid', 'message' => 'Invalid Parameter Aliuid.', 'http_code' => 400, 'description' => 'Aliuid参数错误'], + ['code' => 'InvalidParameterBillType', 'message' => 'The parameter BillType is invalid.', 'http_code' => 400, 'description' => '用户账单类型错误,请确认账单类型符合该查询方式。'], + ['code' => 'InvalidParameterDimension', 'message' => 'The parameter Dimension is invalid.', 'http_code' => 400, 'description' => 'Dimension 参数错误,请传入文档提供的参数值。'], + ['code' => 'InvalidParameterEndTime', 'message' => 'The parameter EndTime is invalid.', 'http_code' => 400, 'description' => '参数EndTime无效。'], + ['code' => 'InvalidParameterEndTime', 'message' => 'The specified EndTime is invalid.', 'http_code' => 400, 'description' => '参数EndTime不合法,请根据请求参数规定重新输入。'], + ['code' => 'InvalidParameterField', 'message' => 'The specified Field is invalid.', 'http_code' => 400, 'description' => 'Field参数错误,请确认后输入'], + ['code' => 'InvalidParameterInterval', 'message' => 'Invalid Interval value.', 'http_code' => 400, 'description' => 'Interval参数输入有误,请参照API文档修改所需的值。'], + ['code' => 'InvalidParameterOperator', 'message' => 'Invalid Parameter Operator.', 'http_code' => 400, 'description' => 'Operator参数错误'], + ['code' => 'InvalidParameterProduct', 'message' => 'Invalid Parameter Product.', 'http_code' => 400, 'description' => 'Product参数错误'], + ['code' => 'InvalidParameterProtocol', 'message' => 'The specified Protocol is invalid.', 'http_code' => 400, 'description' => 'Protocol参数错误,请确认后输入'], + ['code' => 'InvalidParameterSource', 'message' => 'The source name cannot be the same as the domain name.', 'http_code' => 400, 'description' => '源站不能和域名相同。'], + ['code' => 'InvalidParameterStartTime', 'message' => 'The parameter StartTime is invalid.', 'http_code' => 400, 'description' => '参数StartTime无效。'], + ['code' => 'InvalidParameterStartTime', 'message' => 'The specified StartTime is invalid.', 'http_code' => 400, 'description' => '参数StartTime不合法,请根据请求参数规定重新输入。'], + ['code' => 'InvalidParameterType', 'message' => 'The specified Type is invalid.', 'http_code' => 400, 'description' => 'Type参数错误,请确认后输入'], + ['code' => 'InvalidParams', 'message' => 'Your parameters is invalid.', 'http_code' => null, 'description' => '该参数不存在。'], + ['code' => 'InvalidPriorities.Malformed', 'message' => 'The length of priorities The length of priorities is not the same with source.', 'http_code' => null, 'description' => '优先级的个数与源站个数不一致。'], + ['code' => 'InvalidPriorities.Malformed', 'message' => 'The length of priorities is not the same with source.', 'http_code' => 400, 'description' => '优先级的个数与源站个数不一致。'], + ['code' => 'InvalidPrivateKey', 'message' => 'The Private Key you provided is malformed', 'http_code' => 400, 'description' => '私钥格式不正确。'], + ['code' => 'InvalidPullDomain.Miss', 'message' => 'The specified value of parameter PullDomain contains invalid variable.', 'http_code' => 400, 'description' => '参数“PullDomain”包含无效的变量。'], + ['code' => 'InvalidPushDomain.Miss', 'message' => 'The specified value of parameter PushDomain contains invalid variable.', 'http_code' => 400, 'description' => '参数“PushDomain”包含无效的变量。'], + ['code' => 'InvalidRecord.Malformed', 'message' => 'Specified Record is malformed.', 'http_code' => 400, 'description' => 'Record格式错误。'], + ['code' => 'InvalidRedirectType.ValueNotSupported', 'message' => 'The specified value of parameter RedirectType is not supported.', 'http_code' => 500, 'description' => '指定跳转类型有误,请重新选择。'], + ['code' => 'InvalidReferList.Malformed', 'message' => 'The specified value of parameter ReferList is malformed.', 'http_code' => 400, 'description' => '指定的域名列表ReferList不合法,格式错误。'], + ['code' => 'InvalidReferType.ValueNotSupported', 'message' => 'The specified value of parameter ReferType is not supported.', 'http_code' => 400, 'description' => '指定的ReferType类型不合法,超出可选范围。取值:block:黑名单;allow:白名单。'], + ['code' => 'InvalidRegion.Malformed', 'message' => 'Specified Region is malformed.', 'http_code' => null, 'description' => 'Region格式错误。'], + ['code' => 'InvalidResourceGroupId.Malformed', 'message' => 'Specified ResourceGroupId is malformed.', 'http_code' => 400, 'description' => '参数ResourceGroupId格式错误。'], + ['code' => 'InvalidResponse.GetResp', 'message' => 'The response from the request failed.', 'http_code' => 400, 'description' => '请求加速域名获得响应失败。'], + ['code' => 'InvalidResumeTime.Malformed', 'message' => 'The specified value of parameter ResumeTime is malformed.', 'http_code' => 400, 'description' => '参数ResumeTime格式错误,请检查更新后重试。'], + ['code' => 'InvalidRule.Malformed', 'message' => 'Only one rule can be configured for each domain name', 'http_code' => 400, 'description' => '1个域名仅支持配置1条规则'], + ['code' => 'InvalidRule.Malformed', 'message' => 'Check rules error: %s', 'http_code' => 400, 'description' => '规则检查错误:%s'], + ['code' => 'InvalidSchemeOrigin.ValueNotSupported', 'message' => 'The specified value of parameter SchemeOrigin is not supported.', 'http_code' => 400, 'description' => '不支持参数SchemeOrigin。'], + ['code' => 'InvalidSchemeOriginPort.ValueNotSupported', 'message' => 'The specified value of parameter SchemeOriginPort is not supported.', 'http_code' => 400, 'description' => '不支持参数SchemeOriginPort 。'], + ['code' => 'InvalidScope.Malformed', 'message' => 'Specified Scope is malformed.', 'http_code' => 400, 'description' => 'Scope格式错误。'], + ['code' => 'InvalidSequenceOssObject.Malformed', 'message' => 'The specified value of parameter SequenceOssObject contains invalid variable.', 'http_code' => 400, 'description' => '参数“SequenceOssObject”包含无效的变量。'], + ['code' => 'InvalidServerCertificateStatus.ValueNotSupported', 'message' => 'The specified value of parameter Enable is not supported.', 'http_code' => 400, 'description' => '指定的配置项值不合法,只能是on或off。'], + ['code' => 'InvalidSnapshot.Malformed', 'message' => 'Specified Snapshot is malformed.', 'http_code' => 500, 'description' => 'Snapshot格式错误。'], + ['code' => 'InvalidSource.Content.Malformed', 'message' => 'The specified Source Content is invalid.', 'http_code' => 400, 'description' => '源站地址格式错误。'], + ['code' => 'InvalidSourcePort.Malformed', 'message' => 'Specified port is not supported.', 'http_code' => 400, 'description' => '不支持参数port。'], + ['code' => 'InvalidSources.Malformed', 'message' => 'The specific value of parameter Sources is malformed.', 'http_code' => null, 'description' => '参数Sources格式错误。可以是IP或域名;IP支持最多20个,以逗号区分,域名只能输入一个。IP与域名不能同时输入。'], + ['code' => 'InvalidSources.Malformed', 'message' => 'Specified Sources is malformed.', 'http_code' => 400, 'description' => '源站地址格式错误。'], + ['code' => 'InvalidSources.OverLimit', 'message' => 'source ip num over limit', 'http_code' => 400, 'description' => '回源IP个数超过限制。'], + ['code' => 'InvalidSourceType.Malformed', 'message' => 'The specific value of parameter SourceType is malformed.', 'http_code' => null, 'description' => '参数SourceType格式错误。'], + ['code' => 'InvalidSourceType.Malformed', 'message' => 'Specified CdnType is malformed.', 'http_code' => 400, 'description' => 'CdnType格式错误。'], + ['code' => 'InvalidSSLPri', 'message' => 'The SSLPri you provided is malformed.', 'http_code' => 400, 'description' => '证书私钥内容不合法。'], + ['code' => 'InvalidSSLPub', 'message' => 'The SSLPub you provided is malformed.', 'http_code' => 400, 'description' => '证书内容不合法。'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'The specified value of parameter StartTime is malformed.', 'http_code' => null, 'description' => '开始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'Specified start time is malformed.', 'http_code' => null, 'description' => '开始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'Specified StartTime is malformed.', 'http_code' => 400, 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['code' => 'InvalidStartTime.Malformed', 'message' => 'The specified StartTime is invalid.', 'http_code' => 400, 'description' => '起始时间格式错误。请核对后重新提供。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'The specified value of parameter StartTime is not supported.', 'http_code' => null, 'description' => '开始时间设置错误,请检查更新后重试。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'Time period should less than one week.', 'http_code' => null, 'description' => '您选择的时间段必须小于一周。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => '90 days data can be queried at most.', 'http_code' => null, 'description' => '您最多可选择查看90天的数据。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'Time period should less than three month.', 'http_code' => null, 'description' => '您选择的时间段必须小于3个月。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'The specified StartTime is invalid.', 'http_code' => 400, 'description' => '起始时间格式错误。日期格式请参考所调用API的帮助文档说明。'], + ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'The StartTime cannot exceed 31 days before the current time.', 'http_code' => 400, 'description' => '用户请求参数StartTime早于31天,CDN日志提供最近一个月日志,不允许时间跨度大于31天的请求'], + ['code' => 'InvalidStatus.ResourceGroup', 'message' => 'It is not allowed to do this operation because of the current status of resource-group.', 'http_code' => 400, 'description' => '资源组当前状态不允许进行此操作。'], + ['code' => 'InvalidStatus.ValueNotSupported', 'message' => 'The specified value of parameter Status is not supported.', 'http_code' => null, 'description' => '参数“Status”的值无效。'], + ['code' => 'InvalidStream.NotFound', 'message' => 'The speicified stream does not exist.', 'http_code' => null, 'description' => '直播流不存在。可以通过查询推流在线列表来确定推流地址是否存在。详细信息参见API调用方法。'], + ['code' => 'InvalidStreamName.LengthTooLong', 'message' => 'The specified stream name is too long.', 'http_code' => 400, 'description' => 'StreamName的长度超过限制,请传入合法的StreamName。'], + ['code' => 'InvalidStreamNumber.Malformed', 'message' => 'Specified StreamNumber is malformed.', 'http_code' => 400, 'description' => 'StreamNumber格式错误。'], + ['code' => 'InvalidStreamProtocol.NotSupport', 'message' => 'The specified stream protocol is not support.', 'http_code' => 400, 'description' => '指定的流协议不支持,请参照文档查询所需的流协议。'], + ['code' => 'InvalidTagKey', 'message' => 'The specified TagKey is invalid.', 'http_code' => 400, 'description' => '参数TagKey无效。'], + ['code' => 'InvalidTaskId.Malformed', 'message' => 'Specified TaskId is malformed.', 'http_code' => 400, 'description' => 'TaskId无效。请检查 TaskId 是否存在。'], + ['code' => 'InvalidTime.Malformed', 'message' => 'StartTime or EndTime is miss match.', 'http_code' => null, 'description' => '开始时间和结束时间不匹配。'], + ['code' => 'InvalidTime.Malformed', 'message' => 'Time format error.', 'http_code' => null, 'description' => '时间格式错误。'], + ['code' => 'InvalidTime.Malformed', 'message' => 'Specified Time is malformed.', 'http_code' => null, 'description' => '指定时间格式错误。'], + ['code' => 'InvalidTime.Malformed', 'message' => 'Specified StartTime or EndTime is malformed.', 'http_code' => 400, 'description' => '开始时间或结束时间格式错误。'], + ['code' => 'InvalidTime.OverNow', 'message' => 'Time must be less than now.', 'http_code' => 400, 'description' => '您选择的时间需要小于当前时间。'], + ['code' => 'InvalidTime.TooEarly', 'message' => 'Time is too early, we only support the last 48 hours.', 'http_code' => 400, 'description' => '未到时间,我们只支持最后48个小时。'], + ['code' => 'InvalidTime.ValueNotSupported', 'message' => 'StartTime or EndTime is miss match.', 'http_code' => 400, 'description' => '开始时间和结束时间不匹配、时间跨度超限或时间参数错误。'], + ['code' => 'InvalidTimeInterval.Malformed', 'message' => 'The specified value of parameter TimeInterval contains invalid variable.', 'http_code' => 400, 'description' => '参数“TimeInterval”包含无效的变量。'], + ['code' => 'InvalidTimeMerge.ValueNotSupported', 'message' => 'When value of parameter TimeMerge is off, maximum time interval is 31 days.', 'http_code' => 400, 'description' => '当参数“TimeMerge”关闭时,最大时间间隔为31天。'], + ['code' => 'InvalidTimeOut.Malformed', 'message' => 'The specified value of parameter TimeOut is malformed.', 'http_code' => 400, 'description' => '参数TimeOut格式错误,请检查更新后重试。'], + ['code' => 'InvalidTimeOut.ValueNotSupported', 'message' => 'The specified value of parameter TimeOut is not supported.', 'http_code' => 400, 'description' => 'TIMEOUT参数格式不支持。'], + ['code' => 'InvalidTimePoint.Malformed', 'message' => 'Specified TimePoint is malformed.', 'http_code' => 400, 'description' => 'TimePoint参数格式错误。'], + ['code' => 'InvalidTimeRange', 'message' => 'Invalid StartTime and EndTime range.', 'http_code' => 400, 'description' => '开始时间和结束时间范围无效。'], + ['code' => 'InvalidTimeSpan', 'message' => 'The time span exceeds the limit.', 'http_code' => 400, 'description' => '时间跨度超过限制,请参照接口文档,配置合理查询跨度。'], + ['code' => 'InvalidTopLevelDomain.Malformed', 'message' => 'Specified TopLevelDomain is malformed.', 'http_code' => 400, 'description' => '参数TopLevelDomain错误。'], + ['code' => 'InvalidTTL.Malformed', 'message' => 'The specified value of parameter TTL is malformed.', 'http_code' => 400, 'description' => '参数TTL的参数格式错误,请检查更新后重试。'], + ['code' => 'InvalidTTL.ValueNotSupported', 'message' => 'The specified value of parameter TTL is not supported.', 'http_code' => 400, 'description' => 'TTL的参数格式不支持。'], + ['code' => 'InvalidUserParameter', 'message' => 'The specified User is invalid.', 'http_code' => 400, 'description' => '用户参数错误。'], + ['code' => 'InvalidValue.Malformed', 'message' => 'The specified value of parameter Value is not malformed.', 'http_code' => 400, 'description' => '参数值错误。'], + ['code' => 'InvalidWeight.Malformed', 'message' => 'The specified value of parameter Weight is malformed.', 'http_code' => 403, 'description' => '指定的权重值不合法,格式错误。'], + ['code' => 'InvalidWeight.ValueNotSupported', 'message' => 'The specified value of parameter Weight is not supported.', 'http_code' => 500, 'description' => '指定的权重值不合法,超出可选范围。'], + ['code' => 'InvalidWildcardDomain', 'message' => 'The specified WildcardDomain is invalid.', 'http_code' => 400, 'description' => '指定的泛域名不合法,请检查拼写。'], + ['code' => 'Key.Malformed', 'message' => 'The private key format is error.', 'http_code' => null, 'description' => '私钥格式错误。'], + ['code' => 'LogstoreNotExist', 'message' => 'Logstore does not exist.', 'http_code' => 404, 'description' => 'Logstore 不存在。'], + ['code' => 'LossParams', 'message' => 'DomainNames, StartTime and EndTime should not be empty or domainName have been registered.', 'http_code' => 500, 'description' => '域名、开始时间、结束时间都不能为空。'], + ['code' => 'LX_CREATE_ORDER_FAILED', 'message' => 'Create order failed', 'http_code' => 400, 'description' => '订单创建失败。'], + ['code' => 'MigrationFailed', 'message' => 'Migration Failed.', 'http_code' => 400, 'description' => '迁移失败,可能由于源站信息变更导致。请等待24h重试或者提交工单。'], + ['code' => 'MissingBackSrcDomain', 'message' => 'The input parameter BackSrcDomain that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数BackSrcDomain为必填。'], + ['code' => 'MissingBucket', 'message' => 'The input parameter Bucket that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数Bucket为必填。'], + ['code' => 'MissingConfig', 'message' => 'The input parameter Config that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数Config为必填。'], + ['code' => 'MissingConfigValue', 'message' => 'The input parameter ConfigValue that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数ConfigValue为必填。'], + ['code' => 'MissingDomainName', 'message' => 'The input parameter DomainName that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数DomainName为必填。'], + ['code' => 'MissingParameter', 'message' => 'The parameter EndTime miss.', 'http_code' => null, 'description' => '参数EndTime缺失。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter cdnType that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数cdnType为必填。'], + ['code' => 'MissingParameter', 'message' => 'The parameter StreamName miss.', 'http_code' => null, 'description' => '参数StreamName缺失。'], + ['code' => 'MissingParameter', 'message' => 'The parameter StartTime miss.', 'http_code' => null, 'description' => '参数StartTime缺失。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter sourceType that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数sourceType为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter sourceStr that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '源站为必填参数,请重新填写。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter ConfigId can not be empty.', 'http_code' => null, 'description' => '参数ConfigId不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The parameter AppName miss.', 'http_code' => null, 'description' => '参数“AppName”缺失。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter PageUrl can not be empty.', 'http_code' => null, 'description' => '参数PageUrl不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter FunctionName can not be empty.', 'http_code' => null, 'description' => '参数FunctionName不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter ExtensiveDomain that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数ExtensiveDomain为必填。'], + ['code' => 'MissingParameter', 'message' => 'StartTime and EndTime can not be single.', 'http_code' => null, 'description' => '开始时间与结束时间均为必填。'], + ['code' => 'MissingParameter', 'message' => 'The parameter DomainName miss.', 'http_code' => null, 'description' => '参数DomainName缺失。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter "DomainName" is not valid.', 'http_code' => null, 'description' => '参数“DomainName”的值无效。'], + ['code' => 'MissingParameter', 'message' => 'The parameter Sources miss.', 'http_code' => null, 'description' => '参数Sources缺失。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter "DomainName" can not be empty.', 'http_code' => null, 'description' => '参数“DomainName”不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter ErrorCode can not be empty.', 'http_code' => null, 'description' => '参数ErrorCode不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter DomainName can not be empty.', 'http_code' => null, 'description' => '参数DomainName不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter Key can not be empty.', 'http_code' => null, 'description' => 'Key不能为空。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter Value can not be empty.', 'http_code' => null, 'description' => '该参数值不能为空。'], + ['code' => 'MissingParameter', 'message' => 'An input parameter "EndTime" that is mandatory for processing the request is not supplied.', 'http_code' => null, 'description' => '参数“EndTime”缺失。'], + ['code' => 'MissingParameter', 'message' => 'The parameter LiveStreamType miss.', 'http_code' => null, 'description' => '参数LiveStreamType不存在。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter region that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数region为必填。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter "StartTime" is not valid.', 'http_code' => null, 'description' => '参数“StartTime”的值无效。'], + ['code' => 'MissingParameter', 'message' => 'IspNames Missed.', 'http_code' => null, 'description' => '参数IspNames缺失。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter AppDomain is not valid.', 'http_code' => 400, 'description' => '源站信息填写不完整,请重新填写.'], + ['code' => 'MissingParameter', 'message' => 'The input parameter ObjectPath that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数ObjectPath为必填。'], + ['code' => 'MissingParameter', 'message' => 'The specified value of parameter "IP" is not valid.', 'http_code' => null, 'description' => '参数“IP”的值无效。'], + ['code' => 'MissingParameter', 'message' => 'The parameter TimeInterval miss.', 'http_code' => null, 'description' => '参数TimeInterval缺失。'], + ['code' => 'MissingParameter', 'message' => 'The parameter OssEndpoint miss.', 'http_code' => null, 'description' => '参数OssEndpoint缺失。'], + ['code' => 'MissingParameter', 'message' => 'The parameter OssBucket miss.', 'http_code' => null, 'description' => '参数OssBucket缺失。'], + ['code' => 'MissingParameter', 'message' => 'LocationNames Missed.', 'http_code' => null, 'description' => '参数LocationNames缺失。'], + ['code' => 'MissingParameter', 'message' => 'Missing Parameter.', 'http_code' => null, 'description' => '缺少参数。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter AuthType that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数AuthType为必填。'], + ['code' => 'MissingParameter', 'message' => 'Parameter is missing.', 'http_code' => null, 'description' => '缺少必填参数。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter TimeOut that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数TimeOut为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter aliRemoveArgs that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数aliRemoveArgs为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter DomainName that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数DomainName为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter AuthAddr that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数AuthAddr为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter AuthCrash that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数AuthCrash为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter AuthEnable that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数AuthEnable为必填。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter AuthProvider that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => '参数AuthProvider为必填。'], + ['code' => 'MissingParameter%s', 'message' => 'The specified value of ArgName[%s] is missing.', 'http_code' => 400, 'description' => '参数不能为空。'], + ['code' => 'MissingParameter.ObjectType', 'message' => 'If DomainName or Status is provided, ObjectType can not be empty.', 'http_code' => 400, 'description' => '参数“ObjectType”缺失,搜索域名的操作记录时请选择指定的任务类型。'], + ['code' => 'MissingPrefix', 'message' => 'The input parameter Prefix that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数Prefix为必填。'], + ['code' => 'MissingRequiredArg', 'message' => 'required argument missing.', 'http_code' => 400, 'description' => '功能配置时,缺少必要的参数。'], + ['code' => 'MissingSource.Content', 'message' => 'The Source Content must be specified.', 'http_code' => 400, 'description' => '缺少源站信息。'], + ['code' => 'MissingSources', 'message' => 'The input parameter sourceStr that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '源站为必填信息,请重新填写'], + ['code' => 'MissingSourceType', 'message' => 'The input parameter sourceType that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数sourceType为必填。'], + ['code' => 'MissingTimeParameter', 'message' => 'The StartTime and EndTime must be both specified.', 'http_code' => 400, 'description' => '请同时提供开始时间和结束时间。'], + ['code' => 'MixStartFail', 'message' => 'Transcode operatetion error.', 'http_code' => 400, 'description' => '转码异常。'], + ['code' => 'MixStopFail', 'message' => 'Transcode operatetion error.', 'http_code' => 400, 'description' => '转码异常。'], + ['code' => 'NameAlreadyExists', 'message' => 'The name already exists.', 'http_code' => 400, 'description' => '名称已存在'], + ['code' => 'NoDomainAuthChecking', 'message' => 'DomainAuthChecking is null,Please add DomainAuthChecking', 'http_code' => 400, 'description' => '该接口没有域名归属校验,请添加域名归属校验'], + ['code' => 'NoDomianPermission', 'message' => 'The AliUid does not have permission for the domain.', 'http_code' => 400, 'description' => '该域名命中以下情况:该域名不属于该UID、该域名状态非online、未创建该域名,请进入域名列表检查域名状态'], + ['code' => 'NoHttpsDomain', 'message' => 'Your account does not have any HTTPS domain.', 'http_code' => 400, 'description' => '您的账户下没有https域名。'], + ['code' => 'NoIspProtocol', 'message' => 'IspProtocol is null,please add IspProtocol inner message。', 'http_code' => 400, 'description' => '请补充IspProtocol及其他相应信息。'], + ['code' => 'NoMixConfig', 'message' => 'Transcode template for mix not config.', 'http_code' => 400, 'description' => '转码混流模版没有配置。'], + ['code' => 'NoMixStream', 'message' => 'Mix stream is not publish.', 'http_code' => null, 'description' => '副混流直播流没有发布。'], + ['code' => 'NoMixStream', 'message' => 'This stream is not mix now.', 'http_code' => 400, 'description' => '该流不是副混流。'], + ['code' => 'NoPermission.SLR', 'message' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize AliyunCDNFullAccess or custom policy:Service Name:cdn-ddos.cdn.aliyuncs.com,Role: AliyunServiceRoleForCDNAccessingDDoS,Permission: ram: CreateServiceLinkedRole', 'http_code' => 400, 'description' => '当前用户没有创建服务关联角色的权限,请联系主账号或权限管理员授权AliyunCDNFullAccess或授权创建服务关联角色的自定义权限策略。自定义权限策略的相关信息如下:'."\n" + .'Service Name:cdn-ddos.cdn.aliyuncs.com'."\n" + .'服务关联角色名称:AliyunServiceRoleForCDNAccessingDDoS'."\n" + .'执行该操作所需的用户权限:ram:CreateServiceLinkedRole'], + ['code' => 'NoRamCheck', 'message' => 'RamCheck is null,Please add RamCheck。', 'http_code' => 400, 'description' => '请添加RamCheck配置。'], + ['code' => 'NoRealNameAuthentication', 'message' => 'Real name authentication is needed.', 'http_code' => 400, 'description' => '您的账户未开通实名认证。'], + ['code' => 'NotExist', 'message' => 'Not find the certificate info.', 'http_code' => null, 'description' => '证书不存在。'], + ['code' => 'NotFound', 'message' => 'There is no data found.', 'http_code' => null, 'description' => '无数据。'], + ['code' => 'NotFound.EventMeta', 'message' => 'EventMeta is not found.', 'http_code' => 400, 'description' => 'EventMeta不存在。'], + ['code' => 'NotFound.FCTrigger', 'message' => 'FCTrigger is not found.', 'http_code' => 404, 'description' => '触发器不存在。'], + ['code' => 'NotFound.FCTrigger', 'message' => 'FCTrigger not found.', 'http_code' => 400, 'description' => '触发器不存在'], + ['code' => 'NotFoundCertList', 'message' => 'The certList is null.', 'http_code' => 400, 'description' => '证书列表为空'], + ['code' => 'NotInternationRealIdentity', 'message' => 'You need to do real name authentication when you use chinese mainland resourses.', 'http_code' => null, 'description' => '根据中华人民共和国法律规定,在中国境内购买使用信息服务的用户需要进行实名登记。'], + ['code' => 'NotInternationRealIdentity', 'message' => 'You need to do real name authentication when you use Chinese mainland resources.', 'http_code' => 400, 'description' => '根据中华人民共和国法律规定,在中国境内购买使用信息服务的用户需要进行实名登记。'], + ['code' => 'NumberOverLimit', 'message' => 'The number of seting black list times is over limit today.', 'http_code' => 400, 'description' => '今日黑名单设置次数超过限制。'], + ['code' => 'ObjectPath.Malformed', 'message' => 'The specified value of parameter ObjectPath is malformed.', 'http_code' => null, 'description' => '参数ObjectPath值格式错误。输入示例:abc.com/image/1.png。多个URL之间需要用换行符(\\n 或 \\r\\n)分隔。'], + ['code' => 'OperationDenied', 'message' => 'You do not have access to this operation.', 'http_code' => 403, 'description' => '没有权限操作,请您通过访问控制 RAM 检查使用权限。'], + ['code' => 'OperationDenied', 'message' => 'Your uid and bid are not matched.', 'http_code' => null, 'description' => '您的uid和bid不匹配。'], + ['code' => 'OperationDenied', 'message' => 'illegal auth status.', 'http_code' => null, 'description' => '非法auth状态。'], + ['code' => 'OperationDenied', 'message' => 'Your account is not allowed to invoke this API.', 'http_code' => null, 'description' => '您的账号无权使用该API。'], + ['code' => 'OrderKeyError', 'message' => 'parameter orderkey error', 'http_code' => 400, 'description' => 'OrderKey参数错误'], + ['code' => 'OrderTypeError', 'message' => 'parameter ordertype error', 'http_code' => 400, 'description' => 'OrderType参数错误'], + ['code' => 'OssSourceNotSupported', 'message' => 'The specified value of parameter OssSource is not supported.', 'http_code' => 400, 'description' => 'OssSource 不支持该参数值。'], + ['code' => 'PageNumberError', 'message' => 'parameter pagenumber error', 'http_code' => 400, 'description' => 'PageNumber参数错误'], + ['code' => 'PageSizeError', 'message' => 'parameter pagesize error', 'http_code' => 400, 'description' => 'PageSize参数错误'], + ['code' => 'ParamAppidError', 'message' => 'parameter appid error', 'http_code' => 400, 'description' => 'Appid参数错误'], + ['code' => 'ParamArgsError', 'message' => 'parameter args error', 'http_code' => 400, 'description' => 'Args参数错误'], + ['code' => 'ParamBeginTimeError', 'message' => 'parameter begin time error', 'http_code' => 400, 'description' => 'BeginTime参数错误'], + ['code' => 'ParamCommandError', 'message' => 'parameter command error', 'http_code' => 400, 'description' => 'Command参数错误'], + ['code' => 'ParamConfigError', 'message' => 'parameter config error', 'http_code' => 400, 'description' => 'Config参数错误'], + ['code' => 'ParamDomainNameError', 'message' => 'parameter domain name error', 'http_code' => 400, 'description' => 'DomainName参数错误'], + ['code' => 'ParamDomainTypeError', 'message' => 'parameter domain type error', 'http_code' => 400, 'description' => 'DomainType参数错误'], + ['code' => 'ParamEnvVariablesError', 'message' => 'parameter env variables error', 'http_code' => 400, 'description' => 'EnvVariables参数错误'], + ['code' => 'ParamGatewayTypeError', 'message' => 'parameter gateway type error', 'http_code' => 400, 'description' => 'GatewayType参数错误'], + ['code' => 'ParamHealthCheckFailTimesError', 'message' => 'parameter health check fail times error', 'http_code' => 400, 'description' => 'HealthCheckFailTimes参数错误'], + ['code' => 'ParamHealthCheckHostError', 'message' => 'parameter health check host error', 'http_code' => 400, 'description' => 'HealthCheckHost参数错误'], + ['code' => 'ParamHealthCheckHttpCodeError', 'message' => 'parameter health check http code error', 'http_code' => 400, 'description' => 'HealthCheckHttpCode参数错误'], + ['code' => 'ParamHealthCheckIntervalError', 'message' => 'parameter health check interval error', 'http_code' => 400, 'description' => 'HealthCheckInterval参数错误'], + ['code' => 'ParamHealthCheckMethodError', 'message' => 'parameter health check method error', 'http_code' => 400, 'description' => 'HealthCheckMethod参数错误'], + ['code' => 'ParamHealthCheckPortError', 'message' => 'parameter health check port error', 'http_code' => 400, 'description' => 'HealthCheckPort参数错误'], + ['code' => 'ParamHealthCheckSuccTimesError', 'message' => 'parameter health check succ times error', 'http_code' => 400, 'description' => 'HealthCheckSuccTimes参数错误'], + ['code' => 'ParamHealthCheckTimeoutError', 'message' => 'parameter health timeout error', 'http_code' => 400, 'description' => 'HealthCheckTimeout参数错误'], + ['code' => 'ParamHealthCheckTypeError', 'message' => 'parameter health check type error', 'http_code' => 400, 'description' => 'HealthCheckType参数错误'], + ['code' => 'ParamHealthCheckURIError', 'message' => 'parameter health check uri error', 'http_code' => 400, 'description' => 'HealthCheckURI参数错误'], + ['code' => 'ParamHttpHeadersError', 'message' => 'parameter http headers error', 'http_code' => 400, 'description' => 'HttpHeaders参数错误'], + ['code' => 'ParamImageError', 'message' => 'parameter image error', 'http_code' => 400, 'description' => 'Image参数错误'], + ['code' => 'ParamMountPathError', 'message' => 'parameter MountPath error', 'http_code' => 400, 'description' => 'MountPath参数错误'], + ['code' => 'ParamNameError', 'message' => 'parameter name error', 'http_code' => 400, 'description' => 'Name参数错误'], + ['code' => 'ParamPathError', 'message' => 'parameter path error', 'http_code' => 400, 'description' => 'Path参数错误'], + ['code' => 'ParamPercentageError', 'message' => 'parameter percentage error', 'http_code' => 400, 'description' => 'Percentage参数错误'], + ['code' => 'ParamPortError', 'message' => 'parameter port error', 'http_code' => 400, 'description' => 'Port参数错误'], + ['code' => 'ParamPostStartError', 'message' => 'parameter poststart error', 'http_code' => 400, 'description' => 'postStart参数错误'], + ['code' => 'ParamPreStartError', 'message' => 'parameter prestart error', 'http_code' => 400, 'description' => 'PreStart参数错误'], + ['code' => 'ParamPreStopError', 'message' => 'parameter prestop error', 'http_code' => 400, 'description' => 'PreStop参数错误'], + ['code' => 'ParamProbeContentError', 'message' => 'parameter probe content error', 'http_code' => 400, 'description' => 'ProbeContent参数错误'], + ['code' => 'ParamProbeTypeError', 'message' => 'parameter probe type error', 'http_code' => 400, 'description' => 'ProbeType参数错误'], + ['code' => 'ParamPublishEnvError', 'message' => 'parameter publish env error', 'http_code' => 400, 'description' => 'PublishEnv参数错误'], + ['code' => 'ParamRemarksError', 'message' => 'parameter remarks error', 'http_code' => 400, 'description' => 'Remarks参数错误'], + ['code' => 'ParamResourceStrategyError', 'message' => 'parameter resourcestrategy error', 'http_code' => 400, 'description' => '参数ResourceStrategy错误'], + ['code' => 'ParamServicePortError', 'message' => 'parameter service port error', 'http_code' => 400, 'description' => 'ServicePort参数错误'], + ['code' => 'ParamSpecError', 'message' => 'parameter spec error', 'http_code' => 400, 'description' => 'Spec参数错误'], + ['code' => 'ParamStrategyTypeError', 'message' => 'parameter strategytype error', 'http_code' => 400, 'description' => '参数StrategyType错误'], + ['code' => 'ParamTargetPortError', 'message' => 'parameter target port error', 'http_code' => 400, 'description' => 'TargetPort参数错误'], + ['code' => 'ParamTimeoutError', 'message' => 'parameter timeout error', 'http_code' => 400, 'description' => 'Timeout参数错误'], + ['code' => 'ParamTypeError', 'message' => 'parameter type error', 'http_code' => 400, 'description' => 'Type参数错误'], + ['code' => 'ParamVersionidError', 'message' => 'parameter version id error', 'http_code' => 400, 'description' => 'Versionid参数错误'], + ['code' => 'PaymentMethodNotFound', 'message' => 'No payment method has been registered on the account.', 'http_code' => null, 'description' => '未找到有效的支付方式, 请<a href="https://billing.console.aliyun.com/#/payment/list" target="_blank">点击添加</a>'], + ['code' => 'PreloadQueueFull', 'message' => 'Preload queue is full, please try again later!', 'http_code' => null, 'description' => '预加载队列已满,请您稍后再试。'], + ['code' => 'PreloadQueueFull', 'message' => 'Preload queue is full, please try again later.', 'http_code' => 400, 'description' => '预热队列已满,请稍候重试。'], + ['code' => 'PrivateKey.MissingParameter', 'message' => 'An input parameter "PrivateKey" that is mandatory for processing the request is not supplied.', 'http_code' => null, 'description' => '参数“PrivateKey”缺失。'], + ['code' => 'PrivateKeyError', 'message' => 'HTTPS_DOMAIN_SSL_KEY_ERROR.', 'http_code' => 500, 'description' => '证书内容异常。'], + ['code' => 'PullStreamOverLimit', 'message' => 'Pull stream is over limit for this domainName.', 'http_code' => 400, 'description' => '该域名的拉流数超过限制,请您稍后再试。'], + ['code' => 'QuotaExceeded', 'message' => 'The quota is exceeded.', 'http_code' => 400, 'description' => 'quota超过限制。'], + ['code' => 'QuotaExceeded.Blacklist', 'message' => 'Exceed max blacklist count limit.', 'http_code' => null, 'description' => 'Blacklist超过上限,请检查更新后重试。'], + ['code' => 'QuotaExceeded.Preload', 'message' => 'Your preload attempts have exceeded the daily limit.', 'http_code' => 400, 'description' => '超出当日预热额度限制。'], + ['code' => 'QuotaExceeded.Refresh', 'message' => 'You\'ve exceeded the prescribed refresh limits.', 'http_code' => null, 'description' => '超出当日刷新限制。今日刷新数已用完。您可以通过刷新接口查询今日的刷新次数。'], + ['code' => 'QuotaExceeded.Refresh', 'message' => 'exceed the prescribed limits', 'http_code' => null, 'description' => '超出当日刷新限制。今日刷新数已用完。您可以通过刷新接口查询今日的刷新次数。'], + ['code' => 'QuotaExceeded.Refresh', 'message' => 'Your refresh attempts have exceeded the daily limit.', 'http_code' => 400, 'description' => '刷新数量超过日quota限额。'], + ['code' => 'QuotaPerMinuteExceeded.Refresh', 'message' => 'You\'ve exceeded the prescribed refresh limits per minute.', 'http_code' => null, 'description' => '每分钟刷新频率超过上限。'], + ['code' => 'RecordContent.Missing', 'message' => 'The specified record content is missing.', 'http_code' => null, 'description' => '没有对应的录制文件。请检查视频录制的文件是否存在。'], + ['code' => 'RecordIndexConfig.Conflict', 'message' => 'The config is conflict.', 'http_code' => 400, 'description' => '该配置有冲突。'], + ['code' => 'Region.NotExist', 'message' => 'The input parameter region is not exist.', 'http_code' => null, 'description' => '输入的地区不存在。'], + ['code' => 'RegionNoResource', 'message' => 'Resource allocation failed. Please submit a work order to contact customer service.', 'http_code' => 400, 'description' => '资源分配失败,请提交工单联系客服。'], + ['code' => 'ReservedTagKey', 'message' => 'The tag key is used internally as a reserved field and is not allowed to be used.', 'http_code' => 400, 'description' => '该标签键被用作内部保留字段,不允许使用。'], + ['code' => 'ResourceIdIsInvalid', 'message' => 'The number of ResourceId exceeds 50.', 'http_code' => 400, 'description' => 'ResourceId超过50个了。'], + ['code' => 'ResourceOverload', 'message' => 'Resources are overloaded. Please try again later.', 'http_code' => 403, 'description' => '资源负载过高, 请稍后重试'], + ['code' => 'RetErrorSourceCircle', 'message' => 'Error configuring the source. CDN already contains the domain. Please change the source.', 'http_code' => 400, 'description' => '源站地址配置错误。CDN已经把这个域名添加为加速域名,不能使用加速域名作为源站地址,请更换一个源站地址。'], + ['code' => 'RewriteHostRely', 'message' => 'Domain name is configured as rewrite host by others.', 'http_code' => 400, 'description' => '该域名被其他域名配置为共享缓存对象。'], + ['code' => 'Schedule.ChangeFail', 'message' => 'Failed to change the schedule area.', 'http_code' => 400, 'description' => '切换调度区域失败。'], + ['code' => 'Schedule.NotFound', 'message' => 'There is no schedule domain found by the targeted coverage value.', 'http_code' => 400, 'description' => '目标加速区域无可用调度域可切换'], + ['code' => 'ServerCertificate.MissingParameter', 'message' => 'An input parameter "ServerCertificate" that is mandatory for processing the request is not supplied.', 'http_code' => null, 'description' => '参数“ServerCertificate”缺失。'], + ['code' => 'ServiceBusy', 'message' => 'The specified Domain is configuring, please retry later', 'http_code' => null, 'description' => '该域名正在配置中,请您稍后再试。'], + ['code' => 'ServiceInvokeFailed', 'message' => 'Failed to invoke service.', 'http_code' => 400, 'description' => '调用内部服务失败。'], + ['code' => 'SetDomainCertificate.ParameterError', 'message' => 'The specified parameters are invalid.', 'http_code' => 400, 'description' => '指定的参数无效。'], + ['code' => 'SetDomainServerCertificate.ParameterError', 'message' => 'Parameters have error.', 'http_code' => 400, 'description' => '参数错误。'], + ['code' => 'SingleRequest.OverLimit', 'message' => 'A maximum of 100 URLs are supported for each request.', 'http_code' => 400, 'description' => '每个请求最多支持100个URL。'], + ['code' => 'SourceInBlacklist', 'message' => 'Source is in the blacklist.', 'http_code' => 400, 'description' => '源站在黑名单中。'], + ['code' => 'SourceIp.Exceed', 'message' => 'The Certificate you provided is malformed', 'http_code' => 400, 'description' => '证书格式不正确。'], + ['code' => 'SourceNotSupported', 'message' => 'The specified value of parameter Source is not supported.', 'http_code' => null, 'description' => 'Source 不支持该参数值。'], + ['code' => 'sslPri.Error', 'message' => 'The sslPri encoded failed.', 'http_code' => 400, 'description' => 'sslPri编码失败。'], + ['code' => 'SSLPri.MissingParameter', 'message' => 'The SSLPri parameter is required.', 'http_code' => 400, 'description' => 'SSLPri参数缺失。'], + ['code' => 'sslPub.Error', 'message' => 'The sslPub encoded failed.', 'http_code' => 400, 'description' => 'sslPub编码失败。'], + ['code' => 'SSLPub.MissingParameter', 'message' => 'The SSLPub parameter is required.', 'http_code' => 400, 'description' => 'SSLPub参数缺失。'], + ['code' => 'StagingConfig.Failed', 'message' => 'The Rules in the staging environment are being configured. Please try again later.', 'http_code' => 400, 'description' => '模拟环境下的规则正在配置中,请稍后再试。'], + ['code' => 'StagingConfig.NotFound', 'message' => 'The Staging configuration does not exist.', 'http_code' => 404, 'description' => '灰度配置不存在。'], + ['code' => 'StateNotSupport', 'message' => 'state not support the operate', 'http_code' => 400, 'description' => '当前状态不支持此操作'], + ['code' => 'SubscriptionAlreadyExists', 'message' => 'The subscription already exists.', 'http_code' => 400, 'description' => '定制服务已开通'], + ['code' => 'SubscriptionNotFound', 'message' => 'The subscription is not found.', 'http_code' => 400, 'description' => '未开通定制服务'], + ['code' => 'SystemBusy', 'message' => 'The system is busy. Please try again later.', 'http_code' => 400, 'description' => '系统繁忙,请稍后再试。'], + ['code' => 'SystemUpgrading', 'message' => 'The system is being upgraded, please try again later!', 'http_code' => null, 'description' => '系统正在升级中,请您稍后再试。'], + ['code' => 'TimeParseFailed', 'message' => 'Failed to parse the time parameter.', 'http_code' => 400, 'description' => '解析时间参数失败'], + ['code' => 'TooMany.Refresh', 'message' => 'there is too many refresh task, please wait a moment.', 'http_code' => 400, 'description' => '刷新任务太多,请您稍后再试。'], + ['code' => 'TooManyRequests', 'message' => 'The server is busy. Please try again later.', 'http_code' => 400, 'description' => '服务器正忙,请稍后再试。'], + ['code' => 'TooManyRequests', 'message' => 'System load fluctuates, please try again later.', 'http_code' => 429, 'description' => '系统负载波动,请稍候重试。'], + ['code' => 'TopLevelDomain.Mismatch', 'message' => 'The specified TopLevelDomain does not match webSiteType.', 'http_code' => 400, 'description' => '顶级接入域和域名类型不匹配。'], + ['code' => 'TopLevelDomain.NotFound', 'message' => 'TopLevelDomain is not exist.', 'http_code' => 400, 'description' => 'TopLevelDomain不存在。'], + ['code' => 'Unauthorized', 'message' => 'RealtimeLogDelivery Service is not authorized.', 'http_code' => 400, 'description' => '没有开启实时投递授权。'], + ['code' => 'Unauthorized.InvalidParameters', 'message' => 'authenticate parameters error.', 'http_code' => 403, 'description' => '验证参数错误。'], + ['code' => 'UNREADY', 'message' => 'unready,please retry.', 'http_code' => 400, 'description' => '未准备完善,请您稍后再试。'], + ['code' => 'UnsupportedParameter', 'message' => 'There is unsupported parameters', 'http_code' => 400, 'description' => '不支持该参数,请您检查该参数是否正确。'], + ['code' => 'UserBlackList.NotFound', 'message' => 'there is no user blacklist', 'http_code' => null, 'description' => '无用户黑名单。'], + ['code' => 'VerifyError', 'message' => 'The specified Verify is incorrectly formatted.', 'http_code' => 400, 'description' => '文件验证内容不匹配,请重新验证。'], + ['code' => 'VersionAlreadyExist', 'message' => 'version already exists', 'http_code' => 400, 'description' => '版本已经存在'], + ['code' => 'VersionBusy', 'message' => 'The version of the current config group is being configured, please try again later.', 'http_code' => 400, 'description' => '当前配置组的版本正在配置中,请稍后重试。'], + ['code' => 'VersionNotFound', 'message' => 'version not found', 'http_code' => 404, 'description' => '版本不存在'], + ['code' => 'ConfigGroup.DomainQuotaLimit', 'message' => 'The number of domain names exceeds the limit, and a configuration group can be associated with up to 50 city names.', 'http_code' => 400, 'description' => '域名数量超限,一个配置组最多关联50个城名。'], + ['code' => 'ConfigGroup.DomainBizNotMatched', 'message' => 'There are unsupported business types in the domain name bound to the configuration group. The configuration group only supports three types of domain business types: image, video, and download.', 'http_code' => 400, 'description' => '配置组绑定的域名中存在不支持的业务类型,配置组仅支持image、video、download这三种域名业务类型。'."\n"], + ['code' => 'InvalidParams', 'message' => 'The parameter you provided is invalid.', 'http_code' => 400, 'description' => '输入的参数不合法。'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ListFCTrigger'], + ['description' => 'OpenAPI 下线', 'api' => 'DeleteFCTrigger'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateFCTrigger'], + ['description' => 'OpenAPI 下线', 'api' => 'AddFCTrigger'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeFCTrigger'], + ], + 'createdAt' => '2025-08-25T02:43:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeRefreshTaskById'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeRefreshTaskById'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeRefreshTaskById'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2025-08-08T01:39:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'StartCdnDomain'], + ['description' => 'OpenAPI 下线', 'api' => 'UntagResources'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateCdnDeliverTask'], + ['description' => 'OpenAPI 下线', 'api' => 'SetReqHeaderConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'VerifyDomainOwner'], + ['description' => 'OpenAPI 下线', 'api' => 'SetWaitingRoomConfig'], + ['description' => 'OpenAPI 下线', 'api' => 'StopCdnDomain'], + ['description' => 'OpenAPI 下线', 'api' => 'TagResources'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateCdnSubTask'], + ['description' => 'OpenAPI 下线', 'api' => 'SetCdnFullDomainsBlockIP'], + ], + 'createdAt' => '2025-07-16T07:48:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnSubList'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2025-06-25T08:28:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeCdnSubList'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '111800', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', - ], + 'createdAt' => '2025-06-25T08:15:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeCdnSubList'], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'createdAt' => '2025-06-25T08:14:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainDetailDataByLayer'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainUsageData'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainUsageData'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainUsageData'], + ], + 'createdAt' => '2025-06-24T06:02:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'createdAt' => '2025-06-24T03:42:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainDetailDataByLayer'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainUsageData'], + ], + 'createdAt' => '2025-06-24T01:30:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddCdnDomain'], + ], + 'createdAt' => '2025-06-19T05:41:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainDetailDataByLayer'], + ], + 'createdAt' => '2025-06-16T09:02:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnService'], + ], + 'createdAt' => '2025-06-05T06:58:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainCname'], + ], + 'createdAt' => '2025-05-21T08:09:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeCdnUserResourcePackage'], + ], + 'createdAt' => '2025-05-08T06:56:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeDomainRealTimeSrcHttpCodeData'], + ], + 'createdAt' => '2025-04-27T07:44:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ModifyRealtimeLogDelivery'], + ], + 'createdAt' => '2025-02-25T01:18:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainPathData'], + ], + 'createdAt' => '2024-12-20T02:00:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DisableRealtimeLogDelivery'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'EnableRealtimeLogDelivery'], + ], + 'createdAt' => '2024-12-13T03:45:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ModifyRealtimeLogDelivery'], + ], + 'createdAt' => '2024-12-05T03:21:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteRealtimeLogDelivery'], + ['description' => '错误码发生变更', 'api' => 'DeleteRealTimeLogLogstore'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainRealtimeLogDelivery'], + ['description' => '错误码发生变更', 'api' => 'EnableRealtimeLogDelivery'], + ['description' => '错误码发生变更', 'api' => 'ListRealtimeLogDeliveryDomains'], + ['description' => '错误码发生变更', 'api' => 'ListRealtimeLogDeliveryInfos'], + ], + 'createdAt' => '2024-12-05T03:21:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'createdAt' => '2024-11-28T07:00:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddCdnDomain'], + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2024-11-26T02:49:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListTagResources'], + ['description' => '请求参数发生变更', 'api' => 'TagResources'], + ], + 'createdAt' => '2024-11-25T06:16:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnCertificateDetail'], + ['description' => '错误码发生变更', 'api' => 'DescribeCdnCertificateList'], + ['description' => '错误码发生变更', 'api' => 'DescribeCdnSSLCertificateList'], + ], + 'createdAt' => '2024-11-25T03:08:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CdnMigrateRegister'], + ], + 'createdAt' => '2024-11-24T02:33:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'RefreshObjectCaches'], + ], + 'createdAt' => '2024-11-19T05:53:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddCdnDomain'], + ], + 'createdAt' => '2024-11-15T06:11:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'PushObjectCache'], + ], + 'createdAt' => '2024-11-03T02:44:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddCdnDomain'], + ['description' => '错误码发生变更', 'api' => 'BatchAddCdnDomain'], + ], + 'createdAt' => '2024-09-03T06:22:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'PushObjectCache'], + ], + 'createdAt' => '2024-08-21T07:19:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeDomainUsageData'], + ], + 'createdAt' => '2024-06-13T03:36:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeEsExceptionData'], + ], + 'createdAt' => '2024-05-29T02:30:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'BatchDescribeCdnIpInfo'], + ], + 'createdAt' => '2024-05-16T01:24:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeUserDomains'], + ], + 'createdAt' => '2024-05-11T03:11:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'createdAt' => '2024-05-07T07:50:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainServerCertificate'], + ['description' => '错误码发生变更', 'api' => 'SetDomainServerCertificate'], + ], + 'createdAt' => '2024-05-07T02:48:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetCdnDomainStagingConfig'], + ], + 'createdAt' => '2024-04-29T03:04:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeRefreshTasks'], + ], + 'createdAt' => '2024-02-22T02:01:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeDomainBpsDataByLayer'], + ], + 'createdAt' => '2024-01-22T02:53:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'TagResources'], + ], + 'createdAt' => '2023-12-13T06:02:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddCdnDomain'], + ['description' => '错误码发生变更', 'api' => 'TagResources'], + ], + 'createdAt' => '2023-12-12T02:36:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'createdAt' => '2023-12-06T03:02:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'RefreshObjectCaches'], + ], + 'createdAt' => '2023-10-17T06:54:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'SetCdnDomainSSLCertificate'], + ], + 'createdAt' => '2023-09-04T01:28:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ChangeCdnDomainToDcdn'], + ], + 'createdAt' => '2023-08-29T08:30:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ChangeCdnDomainToDcdn'], + ], + 'createdAt' => '2023-08-29T08:28:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeCdnDomainByCertificate'], + ], + 'createdAt' => '2023-08-22T01:57:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnDomainDetail'], + ['description' => '响应参数发生变更', 'api' => 'DescribeUserDomains'], + ], + 'createdAt' => '2023-08-19T01:15:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ChangeCdnDomainToDcdn'], + ], + 'createdAt' => '2023-08-17T02:01:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddCdnDomain'], + ['description' => '请求参数发生变更', 'api' => 'VerifyDomainOwner'], + ], + 'createdAt' => '2023-08-08T09:10:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'PushObjectCache'], + ['description' => '响应参数发生变更', 'api' => 'RollbackStagingConfig'], + ], + 'createdAt' => '2023-07-25T14:00:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainCname'], + ], + 'createdAt' => '2023-07-20T08:33:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListRealtimeLogDeliveryDomains'], + ], + 'createdAt' => '2023-07-10T07:00:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeCdnUserBillHistory'], + ], + 'createdAt' => '2023-07-05T02:40:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnDomainDetail'], + ['description' => '响应参数发生变更', 'api' => 'DescribeUserDomains'], + ], + 'createdAt' => '2023-06-27T06:10:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'AddCdnDomain'], + ], + 'createdAt' => '2023-06-27T03:35:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'CreateUsageDetailDataExportTask'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'CreateUserUsageDataExportTask'], + ['description' => '错误码发生变更', 'api' => 'DeleteUsageDetailDataExportTask'], + ['description' => '错误码发生变更', 'api' => 'DeleteUserUsageDataExportTask'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeCdnUserBillPrediction'], + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnUserBillType'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainAverageResponseTime'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainBpsData'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainBpsDataByLayer'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainBpsDataByTimeStamp'], + ], + 'createdAt' => '2023-06-13T07:30:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2023-06-13T02:33:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteSpecificStagingConfig'], + ['description' => '错误码发生变更', 'api' => 'ModifyCdnDomain'], + ], + 'createdAt' => '2023-06-08T02:50:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeEsExecuteData'], + ], + 'createdAt' => '2023-06-07T01:50:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetCdnDomainStagingConfig'], + ], + 'createdAt' => '2023-05-25T03:07:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2023-05-25T02:31:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2023-05-23T02:56:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateCdnSubTask'], + ['description' => '请求参数发生变更', 'api' => 'UpdateCdnSubTask'], + ], + 'createdAt' => '2023-05-18T11:07:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'VerifyDomainOwner'], + ], + 'createdAt' => '2023-05-18T01:33:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchDeleteCdnDomainConfig'], + ['description' => '错误码发生变更', 'api' => 'DeleteSpecificConfig'], + ['description' => '错误码发生变更', 'api' => 'DeleteSpecificStagingConfig'], + ], + 'createdAt' => '2023-05-09T02:27:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainMax95BpsData'], + ], + 'createdAt' => '2023-04-13T07:12:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeDomainMax95BpsData'], + ], + 'createdAt' => '2023-04-06T07:23:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeCdnUserQuota'], + ['description' => '响应参数发生变更', 'api' => 'DescribeRefreshQuota'], + ['description' => '请求参数发生变更', 'api' => 'DescribeRefreshTasks'], + ], + 'createdAt' => '2023-03-29T08:01:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2023-03-24T08:22:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainUsageData'], + ], + 'createdAt' => '2023-03-24T08:21:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribePreloadDetailById'], + ], + 'createdAt' => '2023-03-24T08:20:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'SetDomainServerCertificate'], + ], + 'createdAt' => '2023-03-24T08:20:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'RollbackStagingConfig'], + ], + 'createdAt' => '2023-03-24T08:20:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainServerCertificate'], + ], + 'createdAt' => '2023-03-24T08:19:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'PushObjectCache'], + ], + 'createdAt' => '2023-01-11T07:47:44.000Z', + 'description' => 'Headers', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'PublishStagingConfigToProduction'], + ], + 'createdAt' => '2023-01-11T07:44:57.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeEsExecuteData'], + ], + 'createdAt' => '2023-01-11T02:33:34.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeEsExceptionData'], + ], + 'createdAt' => '2023-01-10T07:03:25.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeCdnUserBillPrediction'], + ], + 'createdAt' => '2023-01-09T06:09:03.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeUserTags'], + ], + 'createdAt' => '2023-01-05T07:40:50.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'CreateCdnCertificateSigningRequest'], + ], + 'createdAt' => '2023-01-05T07:11:11.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'SetWaitingRoomConfig'], + ], + 'createdAt' => '2023-01-04T07:51:19.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'TagResources'], + ], + 'createdAt' => '2023-01-04T06:30:02.000Z', + 'description' => 'tag', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'AddCdnDomain'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'BatchAddCdnDomain'], + ], + 'createdAt' => '2023-01-04T03:16:48.000Z', + 'description' => 'tag', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCustomLogConfig'], + ], + 'createdAt' => '2023-01-03T07:54:59.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'PushObjectCache'], + ], + 'createdAt' => '2022-11-24T02:43:43.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnDomainDetail'], + ], + 'createdAt' => '2022-11-23T03:08:29.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddCdnDomain'], + ], + 'createdAt' => '2022-11-23T02:24:37.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchSetCdnDomainConfig'], + ], + 'createdAt' => '2022-11-23T02:19:03.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeRefreshQuota'], + ], + 'createdAt' => '2022-11-17T07:07:42.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnUserQuota'], + ], + 'createdAt' => '2022-11-17T06:56:49.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnCertificateList'], + ], + 'createdAt' => '2022-11-16T07:49:54.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnRegionAndIsp'], + ], + 'createdAt' => '2022-11-16T07:43:33.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnCertificateDetail'], + ], + 'createdAt' => '2022-11-16T07:36:39.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchStopCdnDomain'], + ], + 'createdAt' => '2022-11-16T02:53:40.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnOrderCommodityCode'], + ], + 'createdAt' => '2022-11-15T07:40:42.000Z', + 'description' => 'amp发布', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchAddCdnDomain'], + ], + 'createdAt' => '2022-11-15T02:40:27.000Z', + 'description' => 'amp', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeCdnSMCertificateList'], + ], + 'createdAt' => '2022-10-25T15:57:33.000Z', + 'description' => 'amp发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackStagingConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnFullDomainsBlockIPHistory'], + ['threshold' => '100', 'countWindow' => 3600, 'regionId' => '*', 'api' => 'CheckCdnDomainICP'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCdnDomainOwner'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnCertificateList'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSSLCertificateList'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnService'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealtimeLogDelivery'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddFCTrigger'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainStagingConfig'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserQuota'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDeliveryDomains'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainConfigs'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainDetail'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserTags'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateCdnDiagnose'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStopCdnDomain'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUsageDetailDataExportTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSpecificStagingConfig'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableRealtimeLogDelivery'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteCdnDomainConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCdnDeliverTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnCertificateDetail'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainByCertificate'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainReqHitRateData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainUvData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSpecificConfig'], + ['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnHttpsDomainList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCdnDomain'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDiagnoseReport'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcHttpCodeData'], + ['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopCdnDomain'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDeliverList'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcHttpCodeData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainsUsageByDay'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTopDomainsByFlow'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchAddCdnDomain'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserBillHistory'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAverageResponseTime'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnReport'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainSMCertificate'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDescribeCdnIpInfo'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSubList'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshObjectCacheByCacheTag'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockedRegions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCdnService'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSetCdnDomainConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCdnSubTask'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserUsageDataExportTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHitRateData'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRealTimeLogLogstore'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushObjectCache'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDeliveryInfos'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeHttpCodeData'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsDataByLayer'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTrafficData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFCTrigger'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainDetailDataByLayer'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCdnDeliverTask'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUsageDetailDataExportTask'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRealtimeLogDelivery'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHttpCodeDataByLayer'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnCertificateDetailById'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnTypes'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStartCdnDomain'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSMCertificateDetail'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePreloadDetailById'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcTopUrlVisit'], + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserBillPrediction'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEsExceptionData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserCdnStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainPathData'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserDomainsByFunc'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeDetailData'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDomainLogs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnConditionIPBInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopUrlVisit'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCustomLogConfig'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserResourcePackage'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCdnCertificateSigningRequest'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUpdateCdnDomain'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCdnSubTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopReferVisit'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainSSLCertificate'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenCdnService'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetReqHeaderConfig'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEsExecuteData'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishStagingConfigToProduction'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeReqHitRateData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRefreshTaskById'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnDeletedDomains'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainMultiUsageData'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcQpsData'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVerifyContent'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeQpsData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainCSRCertificate'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshObjectCaches'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnReportList'], + ['threshold' => '100', 'countWindow' => 3600, 'regionId' => '*', 'api' => 'AddCdnDomain'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCdnDeliverTask'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCname'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcTrafficData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnFullDomainsBlockIPConfig'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnWafDomain'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLogConfig'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserDomains'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserUsageDataExportTask'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRefreshTasks'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFCTrigger'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRefreshQuota'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainBpsDataByTimeStamp'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnUserConfigs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserConfigs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCertificateInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRealtimeDeliveryAcc'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCdnDomain'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeTrafficData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCertificateInfoByID'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainQpsData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIpStatus'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyDomainOwner'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCdnDomainSchdmByProperty'], + ['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL2VipsByDomain'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableRealtimeLogDelivery'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIpInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopClientIpVisit'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainsBySource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainPvData'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserCustomLogConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnOrderCommodityCode'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainISPData'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSMCertificateList'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeByteHitRateData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnDomainStagingConfig'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcBpsData'], + ['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnSecFuncInfo'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserUsageDataExportTask'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRealTimeLogDelivery'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFCTrigger'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFCTrigger'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeBpsData'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRealTimeSrcTrafficData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainMax95BpsData'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainUsageData'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainVerifyData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStagingIp'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserCertificateExpireCount'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetWaitingRoomConfig'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRealtimeLogDelivery'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRangeDataByLocateAndIspService'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDomainsByLogConfigId'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserUsageDetailDataExportTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCdnDomainExist'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRealtimeLogDelivery'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainCcActivityLog'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRegionData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnTaskList'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainSrcBpsData'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCdnRegionAndIsp'], + ['threshold' => '99', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartCdnDomain'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainQpsDataByLayer'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserVipsByDomain'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCdnSubTask'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCdnFullDomainsBlockIP'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainHttpCodeData'], + ], + 'product' => ['code' => 'cdn', 'title' => 'CDN'], + ], + 'ram' => [ + 'productCode' => 'CDN', + 'productName' => 'CDN', + 'ramCodes' => ['cdn'], + 'ramLevel' => '资源级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListUserCustomLogConfig', + 'description' => '查询自定义日志配置ID', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'cdn:ListUserCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-05T12:00:00Z', + ], + [ + 'apiName' => 'DescribeCdnUserResourcePackage', + 'description' => '查询资源包', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserResourcePackage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2015-12-07T12:00:00Z', + ], + [ + 'apiName' => 'DescribeFCTrigger', + 'description' => '查询函数计算触发器', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeFCTrigger', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '获取数据结束时间。', - 'type' => 'string', - 'example' => '2015-12-07T12:00:00Z', - ], - 'StartTime' => [ - 'description' => '获取数据起始时间。', - 'type' => 'string', - 'example' => '2015-12-05T12:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2E5AD83F-BD7B-462E-8319-2E30E305519A', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '每条记录的时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '86400', - ], - 'Value' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RegionProportionData' => [ - 'description' => '各地域访问占比数据列表。'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TotalQuery' => [ - 'description' => '总请求次数。', - 'type' => 'string', - 'example' => '3', - ], - 'TotalBytes' => [ - 'description' => '总流量,单位:Byte。', - 'type' => 'string', - 'example' => '2400057', - ], - 'AvgResponseRate' => [ - 'description' => '平均响应速度,单位:Bps。', - 'type' => 'string', - 'example' => '154.3345765545624', - ], - 'AvgResponseTime' => [ - 'description' => '平均响应时间,单位:毫秒。', - 'type' => 'string', - 'example' => '5183.666666666667', - ], - 'ReqErrRate' => [ - 'description' => '请求错误率,例如返回90即为90%。', - 'type' => 'string', - 'example' => '0.0', - ], - 'AvgObjectSize' => [ - 'description' => '响应平均大小,单位:Byte。', - 'type' => 'string', - 'example' => '800019.0', - ], - 'Bps' => [ - 'description' => '带宽。', - 'type' => 'string', - 'example' => '380.9614285714286', - ], - 'Qps' => [ - 'description' => '每秒查询率。', - 'type' => 'string', - 'example' => '5.9523809523809524E-5', - ], - 'RegionEname' => [ - 'description' => '地区英文名称。', - 'type' => 'string', - 'example' => 'japan', - ], - 'Region' => [ - 'description' => '地域信息。', - 'type' => 'string', - 'example' => '日本', - ], - 'Proportion' => [ - 'description' => '访问占比数据,例如返回90即为90%。', - 'type' => 'string', - 'example' => '0.01155980271270037', - ], - 'BytesProportion' => [ - 'description' => '总流量占比,例如返回90即为90%。', - 'type' => 'string', - 'example' => '0.003544181046236794', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeDomainsUsageByDay', + 'description' => '查询用量-按天', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainsUsageByDay', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', + [ + 'apiName' => 'PushObjectCache', + 'description' => '预热URL', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:PushObjectCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + ], + ], + [ + 'apiName' => 'DescribeCdnUserQuota', + 'description' => '查询用户配额', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ], + ], + [ + 'apiName' => 'DescribeDomainSrcTopUrlVisit', + 'description' => '获取回源热门URL', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcTopUrlVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - 404 => [ - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', + ], + [ + 'apiName' => 'DescribeDomainVerifyData', + 'description' => '查询域名归属校验内容', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainVerifyData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2015-12-07T12:00:00Z\\",\\n \\"StartTime\\": \\"2015-12-05T12:00:00Z\\",\\n \\"RequestId\\": \\"2E5AD83F-BD7B-462E-8319-2E30E305519A\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"Value\\": {\\n \\"RegionProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"3\\",\\n \\"TotalBytes\\": \\"2400057\\",\\n \\"AvgResponseRate\\": \\"154.3345765545624\\",\\n \\"AvgResponseTime\\": \\"5183.666666666667\\",\\n \\"ReqErrRate\\": \\"0.0\\",\\n \\"AvgObjectSize\\": \\"800019.0\\",\\n \\"Bps\\": \\"380.9614285714286\\",\\n \\"Qps\\": \\"5.9523809523809524E-5\\",\\n \\"RegionEname\\": \\"japan\\",\\n \\"Region\\": \\"日本\\",\\n \\"Proportion\\": \\"0.01155980271270037\\",\\n \\"BytesProportion\\": \\"0.003544181046236794\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainRegionDataResponse>\\r\\n\\t<Value>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>380.9614285714286</Bps>\\r\\n\\t\\t\\t<Proportion>0.01155980271270037</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2400057</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.003544181046236794</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>3</TotalQuery>\\r\\n\\t\\t\\t<RegionEname></RegionEname>\\r\\n\\t\\t\\t<Region>日本</Region>\\r\\n\\t\\t\\t<AvgResponseRate>154.3345765545624</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>800019.0</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>5.9523809523809524E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5183.666666666667</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>25110.431412698414</Bps>\\r\\n\\t\\t\\t<Proportion>0.31211467324291</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>158195717</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.23360872886644055</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>81</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>xizang</RegionEname>\\r\\n\\t\\t\\t<Region>西藏自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1397.1430909315718</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1953033.5543209878</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0016071428571428571</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1397.8765432098764</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>40343.86242857143</Bps>\\r\\n\\t\\t\\t<Proportion>0.33908754623921084</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>254166333</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.37532921137846464</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>88</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>zhongqing</RegionEname>\\r\\n\\t\\t\\t<Region>重庆市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>787.8073097249128</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2888253.7875</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.001746031746031746</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3666.193181818182</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>38835.2834920635</Bps>\\r\\n\\t\\t\\t<Proportion>0.37376695437731194</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>244662286</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.3612945179094354</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>97</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>tianjin</RegionEname>\\r\\n\\t\\t\\t<Region>天津市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1711.4277340197823</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2522291.608247423</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0019246031746031746</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1473.7938144329896</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>69358.64117460318</Bps>\\r\\n\\t\\t\\t<Proportion>0.5895499383477188</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.34640522875817</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>436959439</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6452610763393265</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99291705425965</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>153</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>qinghai</RegionEname>\\r\\n\\t\\t\\t<Region>青海省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1210.9708048576356</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2855944.0483660134</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0030357142857142857</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2358.392156862745</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>66239.68633333335</Bps>\\r\\n\\t\\t\\t<Proportion>0.6473489519112207</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>417310023</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6162446463192347</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>168</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hainan</RegionEname>\\r\\n\\t\\t\\t<Region>海南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>324.9427676080411</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2483988.2375000003</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0033333333333333335</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>7644.386904761905</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>62071.644380952384</Bps>\\r\\n\\t\\t\\t<Proportion>0.7745067817509248</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.50248756218906</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>391051359</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.5774682921278322</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99983347455928</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>201</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanghai</RegionEname>\\r\\n\\t\\t\\t<Region>上海市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1319.43005273653</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1945529.152238806</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0039880952380952385</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1474.5223880597016</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>86967.5461111111</Bps>\\r\\n\\t\\t\\t<Proportion>0.9286374845869297</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>96.2655601659751</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>547895540</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.8090811968039774</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>98.60251863101267</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>241</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>beijing</RegionEname>\\r\\n\\t\\t\\t<Region>北京市</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1223.3552235839977</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2273425.479253112</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.004781746031746032</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1858.3526970954356</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>228242.86641269844</Bps>\\r\\n\\t\\t\\t<Proportion>1.9690197287299631</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1437930058</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.1234014270475434</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>511</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>ningxia</RegionEname>\\r\\n\\t\\t\\t<Region>宁夏回族自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>512.8134924297486</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2813953.1475538164</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.010138888888888888</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5487.283757338552</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>219378.5598888889</Bps>\\r\\n\\t\\t\\t<Proportion>2.250308261405672</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1382084927</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.040934529315853</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.00000000000001</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>584</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jilin</RegionEname>\\r\\n\\t\\t\\t<Region>吉林省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1152.4327405034373</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2366583.779623288</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.011587301587301587</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2053.554794520548</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>181938.64595238096</Bps>\\r\\n\\t\\t\\t<Proportion>2.3273736128236746</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1146213469</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>1.6926214892159708</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>604</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Gansu</RegionEname>\\r\\n\\t\\t\\t<Region>甘肃省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>476.60455862620415</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>1897704.4197019867</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.011984126984126984</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3981.7168874172185</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>302711.6698571429</Bps>\\r\\n\\t\\t\\t<Proportion>2.8013255240443895</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.8624484181568</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1907083520</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.816203642467227</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99996931440107</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>727</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>xinjiang</RegionEname>\\r\\n\\t\\t\\t<Region>新疆维吾尔自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>786.5196031941114</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2623223.5489683636</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014424603174603175</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3335.2297111416783</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>330366.9671587302</Bps>\\r\\n\\t\\t\\t<Proportion>2.847564734895191</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.86468200270636</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2081311893</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.0734879058423363</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99996955766207</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>739</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>neimenggu</RegionEname>\\r\\n\\t\\t\\t<Region>内蒙古自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>537.274830290738</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2816389.5711772665</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014662698412698412</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5241.9905277401895</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>296377.9758412699</Bps>\\r\\n\\t\\t\\t<Proportion>2.8552712700369915</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>1867181247</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>2.7572796764166547</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>741</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guizhou</RegionEname>\\r\\n\\t\\t\\t<Region>贵州省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>784.3618585093111</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2519812.7500674766</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.014702380952380953</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3212.5641025641025</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>359904.2652857143</Bps>\\r\\n\\t\\t\\t<Proportion>3.0749075215782984</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2267396871</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.348280901477785</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>798</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanxixian</RegionEname>\\r\\n\\t\\t\\t<Region>陕西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>936.6710791561273</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2841349.462781955</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.015833333333333335</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3033.4548872180453</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>351643.65639682545</Bps>\\r\\n\\t\\t\\t<Proportion>3.101880394574599</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>98.88198757763975</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2215355035</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.2714303563604967</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.8809108401154</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>805</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jiangxi</RegionEname>\\r\\n\\t\\t\\t<Region>江西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1809.5402913913995</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2751993.832670808</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.01597222222222222</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1520.824844720497</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>337654.18080952385</Bps>\\r\\n\\t\\t\\t<Proportion>3.313810110974106</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.4186046511628</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2127221339</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.141282707530976</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99985277977696</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>860</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Fujian</RegionEname>\\r\\n\\t\\t\\t<Region>福建省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1154.391434785841</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2473513.185</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.017063492063492062</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2142.6988372093024</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>359782.1130793651</Bps>\\r\\n\\t\\t\\t<Proportion>3.4525277435265105</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.55357142857143</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2266627312</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.3471444884395347</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.88374126237764</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>896</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shanxi</RegionEname>\\r\\n\\t\\t\\t<Region>山西省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1235.7418245535987</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2529717.982589286</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.017777777777777778</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2047.125</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>400389.1932857143</Bps>\\r\\n\\t\\t\\t<Proportion>3.5103267570900125</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2522451917</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.7249224817393896</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>911</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>yunnan</RegionEname>\\r\\n\\t\\t\\t<Region>云南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1662.686634908582</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2768882.4563117456</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.018075396825396824</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1665.3062568605928</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>396200.5617777778</Bps>\\r\\n\\t\\t\\t<Proportion>3.695283600493218</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2496063539</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>3.685954577676852</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>959</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hebei</RegionEname>\\r\\n\\t\\t\\t<Region>河北省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1028.303387588414</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2602777.413138686</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.01902777777777778</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2531.1376433785194</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>487959.9617619048</Bps>\\r\\n\\t\\t\\t<Proportion>4.188501849568434</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.72401103955842</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3074147759</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.5396156096015785</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99993802509998</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1087</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hubei</RegionEname>\\r\\n\\t\\t\\t<Region>湖北省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>884.3783424312907</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2828102.81425943</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02156746031746032</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3197.8426862925485</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>451918.7006190476</Bps>\\r\\n\\t\\t\\t<Proportion>4.296393341553637</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.64125560538116</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2847087813</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.2043145921101575</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.91296907710742</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1115</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>zhejiang</RegionEname>\\r\\n\\t\\t\\t<Region>浙江省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1127.3220113227628</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2553441.9855605382</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.022123015873015874</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2265.0511210762334</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>508989.9772222223</Bps>\\r\\n\\t\\t\\t<Proportion>4.37345869297164</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.64757709251101</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3206636856</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.73526319123739</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.7790833225895</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1135</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Jiangsu</RegionEname>\\r\\n\\t\\t\\t<Region>江苏省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1330.4354698914951</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2825230.7105726874</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02251984126984127</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2123.5383259911896</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>488243.6136984127</Bps>\\r\\n\\t\\t\\t<Proportion>4.37731196054254</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.03169014084507</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3075934766</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.54225449569792</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99857147165532</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1136</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Hunan</RegionEname>\\r\\n\\t\\t\\t<Region>湖南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1339.8235569585188</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2707689.0548415496</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.02253968253968254</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2020.9295774647887</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>508313.40790476196</Bps>\\r\\n\\t\\t\\t<Proportion>4.465937114673243</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3202374469</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.728968894829482</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1159</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Heilongjiang</RegionEname>\\r\\n\\t\\t\\t<Region>黑龙江省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1397.6178986771317</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2763049.585677308</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.022996031746031747</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1976.9706643658326</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>490651.66979365086</Bps>\\r\\n\\t\\t\\t<Proportion>4.519882860665844</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3091105519</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.564657253906334</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1173</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Liaoning</RegionEname>\\r\\n\\t\\t\\t<Region>辽宁省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1452.8561771775414</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2635213.5717817564</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.023273809523809523</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1813.8158567774935</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>493617.2470952381</Bps>\\r\\n\\t\\t\\t<Proportion>4.519882860665844</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.65899403239557</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3109788656</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.592246773671759</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.962662755313</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1173</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>anhui</RegionEname>\\r\\n\\t\\t\\t<Region>安徽省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1502.2255494727121</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2651141.2248081844</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.023273809523809523</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1764.8090366581416</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>544321.7694444446</Bps>\\r\\n\\t\\t\\t<Proportion>4.778051787916153</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>98.79032258064517</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3429227147</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>5.063963838946395</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.3034652219695</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1240</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guangxi</RegionEname>\\r\\n\\t\\t\\t<Region>广西壮族自治区</Region>\\r\\n\\t\\t\\t<AvgResponseRate>469.5304824766785</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2765505.7641129037</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.024603174603174603</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5889.938709677419</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>518272.7902698413</Bps>\\r\\n\\t\\t\\t<Proportion>5.725955610357583</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.93270524899057</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>3265118578</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>4.821623561583812</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99678589314689</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1486</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>sichuan</RegionEname>\\r\\n\\t\\t\\t<Region>四川省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>720.671411528823</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2197253.41769852</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.029484126984126984</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>3048.897711978466</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>688129.0886031748</Bps>\\r\\n\\t\\t\\t<Proportion>6.022657213316893</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4335213258</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>6.4018398984302864</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1563</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>shandong</RegionEname>\\r\\n\\t\\t\\t<Region>山东省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>2216.86197693452</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2773648.9175943704</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03101190476190476</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1251.1599488163788</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>650147.539904762</Bps>\\r\\n\\t\\t\\t<Proportion>6.149815043156597</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.93734335839599</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4095929501</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>6.048487892405889</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.99998447727191</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1596</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Henan</RegionEname>\\r\\n\\t\\t\\t<Region>河南省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1091.8003744598548</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2566371.868045113</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03166666666666667</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2350.5870927318297</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t\\t<RegionProportionData>\\r\\n\\t\\t\\t<Bps>764462.3847142858</Bps>\\r\\n\\t\\t\\t<Proportion>7.405980271270037</Proportion>\\r\\n\\t\\t\\t<ReqHitRate>99.37565036420395</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4816113023</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>7.111987963257421</BytesProportion>\\r\\n\\t\\t\\t<ByteHitRate>99.82548062184921</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1922</TotalQuery>\\r\\n\\t\\t\\t<RegionEname>Guangdong</RegionEname>\\r\\n\\t\\t\\t<Region>广东省</Region>\\r\\n\\t\\t\\t<AvgResponseRate>1040.446859646019</AvgResponseRate>\\r\\n\\t\\t\\t<AvgObjectSize>2505782.0102497404</AvgObjectSize>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.03813492063492063</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2408.3709677419356</AvgResponseTime>\\r\\n\\t\\t</RegionProportionData>\\r\\n\\t</Value>\\r\\n\\t<DataInterval>86400</DataInterval>\\r\\n\\t<RequestId>2E5AD83F-BD7B-462E-8319-2E30E305519A</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2015-12-07T12:00:00Z</EndTime>\\r\\n\\t<StartTime>2015-12-05T12:00:00Z</StartTime>\\r\\n</DescribeDomainRegionDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '获取用户区域分布数据统计', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 如果不指定**StartTime**和**EndTime**,该接口返回过去**24**小时的数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" - .'> - 获取数据有一定延时,如果需要获取前一天的数据,建议您隔天获取。'."\n" - .'> - 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainISPData' => [ - 'summary' => '调用DescribeDomainISPData查询加速域名天粒度的用户运营商分布数据统计,支持获取最近90天的数据。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeDomainUsageData', + 'description' => '查询用量数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainUsageData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCdnCertificateDetailById', + 'description' => '查询证书详情-按ID', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnCertificateDetailById', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeRefreshQuota', + 'description' => '查询刷新预热配额', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeTopDomainsByFlow', + 'description' => '获取按流量排名的加速域名', 'operationType' => 'none', - 'abilityTreeCode' => '111778', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + 'ramAction' => [ + 'action' => 'cdn:DescribeTopDomainsByFlow', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,仅支持查询单个域名。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + [ + 'apiName' => 'DescribeCdnSecFuncInfo', + 'description' => '查询CDN应用安全具体功能信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSecFuncInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-29T05:33:00Z', + ], + [ + 'apiName' => 'DescribeCdnDeletedDomains', + 'description' => '查询已删除域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDeletedDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据结束时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', + ], + [ + 'apiName' => 'DescribeDomainCcActivityLog', + 'description' => '查询频次控制规则拦截日志', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCcActivityLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '获取数据结束时间点。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '获取数据起始时间点。', - 'type' => 'string', - 'example' => '2019-11-29T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DE81639B-DAC1-4C76-AB72-F34B836837D5', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '时间间隔,单位:秒。', - 'type' => 'string', - 'example' => '86400', - ], - 'Value' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'ISPProportionData' => [ - 'description' => '各运营商访问占比数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TotalQuery' => [ - 'description' => '总请求次数。', - 'type' => 'string', - 'example' => '1', - ], - 'TotalBytes' => [ - 'description' => '总流量。', - 'type' => 'string', - 'example' => '7081884', - ], - 'AvgResponseRate' => [ - 'description' => '平均响应速度,单位:byte/毫秒。', - 'type' => 'string', - 'example' => '88.92594866772144', - ], - 'AvgResponseTime' => [ - 'description' => '平均响应时间,单位:毫秒。', - 'type' => 'string', - 'example' => '79638.0', - ], - 'ReqErrRate' => [ - 'description' => '请求错误率。', - 'type' => 'string', - 'example' => '0.0', - ], - 'AvgObjectSize' => [ - 'description' => '响应平均大小,单位:byte。', - 'type' => 'string', - 'example' => '7081884.7', - ], - 'Bps' => [ - 'description' => '带宽。', - 'type' => 'string', - 'example' => '1311.4601296296296', - ], - 'Qps' => [ - 'description' => '每秒查询率。', - 'type' => 'string', - 'example' => '2.3148148148148147E-5', - ], - 'Proportion' => [ - 'description' => '占比使用数据。', - 'type' => 'string', - 'example' => '0.004509176173513099', - ], - 'IspEname' => [ - 'description' => '运营商英文名称。', - 'type' => 'string', - 'example' => 'alibaba', - ], - 'ISP' => [ - 'description' => '运营商信息。', - 'type' => 'string', - 'example' => '阿里巴巴', - ], - 'BytesProportion' => [ - 'description' => '总流量占比。', - 'type' => 'string', - 'example' => '0.012220518530445479', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeBlockedRegions', + 'description' => '查询支持封禁的区域', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeBlockedRegions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', + [ + 'apiName' => 'DescribeCdnSSLCertificateList', + 'description' => '查询证书列表-按域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSSLCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', + ], + ], + [ + 'apiName' => 'DescribeCertificateInfoByID', + 'description' => '查询证书信息-按ID', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCertificateInfoByID', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + ], + ], + [ + 'apiName' => 'RefreshObjectCaches', + 'description' => '刷新缓存', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:RefreshObjectCaches', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ], + ], + [ + 'apiName' => 'DescribeDomainRealTimeBpsData', + 'description' => '查询实时带宽', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - 404 => [ - [ - 'errorCode' => 'InvalidDomain.NotFound', - 'errorMessage' => 'The domain provided does not exist in our records.', + ], + [ + 'apiName' => 'DescribeDomainReqHitRateData', + 'description' => '查询请求命中率', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainReqHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-29T05:33:00Z\\",\\n \\"RequestId\\": \\"DE81639B-DAC1-4C76-AB72-F34B836837D5\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"86400\\",\\n \\"Value\\": {\\n \\"ISPProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"1\\",\\n \\"TotalBytes\\": \\"7081884\\",\\n \\"AvgResponseRate\\": \\"88.92594866772144\\",\\n \\"AvgResponseTime\\": \\"79638.0\\",\\n \\"ReqErrRate\\": \\"0.0\\",\\n \\"AvgObjectSize\\": \\"7081884.7\\",\\n \\"Bps\\": \\"1311.4601296296296\\",\\n \\"Qps\\": \\"2.3148148148148147E-5\\",\\n \\"Proportion\\": \\"0.004509176173513099\\",\\n \\"IspEname\\": \\"alibaba\\",\\n \\"ISP\\": \\"阿里巴巴\\",\\n \\"BytesProportion\\": \\"0.012220518530445479\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\"RequestId\\":\\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\"HostId\\":\\"cdn.aliyuncs.com\\",\\"Code\\":\\"InternalError\\",\\"Message\\":\\"The request processing has failed due to some unknown error.\\"}"},{"type":"xml","example":"<DescribeDomainISPDataResponse>\\r\\n\\t<Value>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>1</TotalQuery>\\r\\n\\t\\t\\t<Bps>1311.4601296296296</Bps>\\r\\n\\t\\t\\t<Proportion>0.004509176173513099</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>88.92594866772144</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>alibaba</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>7081884.7</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>阿里巴巴</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>2.3148148148148147E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>79638.0</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>7081884</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.012220518530445479</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>3</TotalQuery>\\r\\n\\t\\t\\t<Bps>444.455</Bps>\\r\\n\\t\\t\\t<Proportion>0.013527528520539298</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>154.3345765545624</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>overseas</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>800019.0</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>海外ISP</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>6.944444444444444E-5</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>5183.666666666667</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>2400057</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.004141544558417533</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>82</TotalQuery>\\r\\n\\t\\t\\t<Bps>45838.64816666667</Bps>\\r\\n\\t\\t\\t<Proportion>0.3697524462280741</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1025.5028528460102</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>drpeng</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>3018642.684146342</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>鹏博士</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.0018981481481481482</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2943.5731707317073</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>247528700</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.42713616424581613</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99999999999999</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>114</TotalQuery>\\r\\n\\t\\t\\t<Bps>65933.51396296297</Bps>\\r\\n\\t\\t\\t<Proportion>0.5140460837804933</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>484.6396117340071</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>cernet</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>3123166.4508771934</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>教育网</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.002638888888888889</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>6444.30701754386</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>356040975</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.6143852267848392</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.0</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>207</TotalQuery>\\r\\n\\t\\t\\t<Bps>81128.73735185186</Bps>\\r\\n\\t\\t\\t<Proportion>0.9333994679172115</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>752.2096624205244</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>tietong</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2116401.843961353</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>铁通</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.004791666666666666</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2813.5797101449275</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>438095181</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>0.7559781771177001</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>100.00000000000001</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>256</TotalQuery>\\r\\n\\t\\t\\t<Bps>129137.37100000001</Bps>\\r\\n\\t\\t\\t<Proportion>1.1543491004193533</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>321.5924922592767</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>other</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2723991.4195312504</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>其他</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.005925925925925926</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>8470.3203125</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>100.0</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>697341803</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>1.2033348171432345</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.14745652563326</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>2866</TotalQuery>\\r\\n\\t\\t\\t<Bps>879955.1972037038</Bps>\\r\\n\\t\\t\\t<Proportion>12.923298913288543</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1004.5513789924338</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>mobile</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>1657975.598360084</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>移动</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.06634259259259259</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>1650.463712491277</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>97.3831123517097</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>4751758064</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>8.19964599032574</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99981717005271</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>6534</TotalQuery>\\r\\n\\t\\t\\t<Bps>3194660.60262963</Bps>\\r\\n\\t\\t\\t<Proportion>29.46295711773459</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>1171.525957981939</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>unicom</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2640215.374074074</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>联通</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.15125</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2253.6550352004897</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>99.96939087848179</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>17251167254</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>29.768658772680293</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t\\t<ISPProportionData>\\r\\n\\t\\t\\t<ByteHitRate>99.99968869093071</ByteHitRate>\\r\\n\\t\\t\\t<TotalQuery>12114</TotalQuery>\\r\\n\\t\\t\\t<Bps>6333214.260796296</Bps>\\r\\n\\t\\t\\t<Proportion>54.62416016593768</Proportion>\\r\\n\\t\\t\\t<AvgResponseRate>984.184264638081</AvgResponseRate>\\r\\n\\t\\t\\t<IspEname>telecom</IspEname>\\r\\n\\t\\t\\t<AvgObjectSize>2823126.71357933</AvgObjectSize>\\r\\n\\t\\t\\t<ISP>电信</ISP>\\r\\n\\t\\t\\t<ReqErrRate>0.0</ReqErrRate>\\r\\n\\t\\t\\t<Qps>0.28041666666666665</Qps>\\r\\n\\t\\t\\t<AvgResponseTime>2868.494056463596</AvgResponseTime>\\r\\n\\t\\t\\t<ReqHitRate>99.97523526498266</ReqHitRate>\\r\\n\\t\\t\\t<TotalBytes>34199357008</TotalBytes>\\r\\n\\t\\t\\t<BytesProportion>59.01449878861353</BytesProportion>\\r\\n\\t\\t</ISPProportionData>\\r\\n\\t</Value>\\r\\n\\t<DataInterval>86400</DataInterval>\\r\\n\\t<RequestId>DE81639B-DAC1-4C76-AB72-F34B836837D5</RequestId>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<EndTime>2019-11-29T05:33:00Z</EndTime>\\r\\n\\t<StartTime>2019-11-29T05:33:00Z</StartTime>\\r\\n</DescribeDomainISPDataResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '查询用户运营商分布数据', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - ."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 如果您不指定StartTime和EndTime时,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" - .'> - 该接口只支持获取一个域名或当前账户下所有域名的数据。'."\n" - .'> - 单用户调用频率:100次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainAverageResponseTime' => [ - 'summary' => '调DescribeDomainAverageResponseTime获取加速域名的平均响应时间,支持获取最近90天的数据', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeCdnUserDomainsByFunc', + 'description' => '查询域名-按功能', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserDomainsByFunc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GenerateCdnDiagnose', + 'description' => '生成诊断链接', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:GenerateCdnDiagnose', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDomainMultiUsageData', + 'description' => '批量查询加速域名的流量和请求数', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainMultiUsageData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainRealTimeSrcTrafficData', + 'description' => '查询实时回源流量', 'operationType' => 'none', - 'abilityTreeCode' => '111763', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'TimeMerge', - 'in' => 'query', - 'schema' => [ - 'description' => '是否自适应计算Interval值,如果**timeMerge**=**1**,会根据startTime和endTime计算出合适的inteval值,和Interval参数任选。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + [ + 'apiName' => 'DescribeUserConfigs', + 'description' => '查询安全功能相关的配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'DomainType', - 'in' => 'query', - 'schema' => [ - 'description' => '查询类型。传dynamic时,查询全站加速动态资源的平均响应时间和静态资源的平均响应时间;默认不传,查询静态资源的平均响应时间。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'domaintype', + ], + [ + 'apiName' => 'AddFCTrigger', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:AddFCTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" - ."\n" - .'默认查询所有加速域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + ], + [ + 'apiName' => 'DescribeDomainSrcTrafficData', + 'description' => '查询回源流量', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:33:00Z', + ], + [ + 'apiName' => 'VerifyDomainOwner', + 'description' => '校验域名归属权', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:VerifyDomainOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。获取日期格式按照ISO8601表示法,并使用UTC时间。格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2019-11-30T05:40:00Z', + ], + [ + 'apiName' => 'SetReqHeaderConfig', + 'description' => '设置回源自定义头', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetReqHeaderConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '查询数据的时间粒度,单位:秒。根据您指定**StartTime**和**EndTime**两者的时间跨度,该参数取值如下:'."\n" - ."\n" - .'- 3天以内(不包含3天整)支持**300**、**3600**、 **86400**,如果不传该参数,默认值为**300**。'."\n" - ."\n" - .'- 3-31天(不包含31天整)支持**3600**和**86400**,如果不传该参数,默认值为**3600**。'."\n" - ."\n" - .'- 31天及以上支持**86400**,如果不传该参数,默认值为**86400**。', - 'type' => 'string', - 'required' => false, - 'example' => '300', + ], + [ + 'apiName' => 'DescribeDomainMax95BpsData', + 'description' => '查询95带宽峰值', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainMax95BpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有运营商。', - 'type' => 'string', - 'required' => false, - 'example' => 'unicom', + ], + [ + 'apiName' => 'UpdateFCTrigger', + 'description' => '更新函数计算触发器', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UpdateFCTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'LocationNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'beijing', + ], + [ + 'apiName' => 'DescribeCdnDomainConfigs', + 'description' => '查询域名配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:40:00Z', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2019-11-30T05:33:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F', - ], - 'DomainName' => [ - 'description' => '加速域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DataInterval' => [ - 'description' => '数据时间间隔。', - 'type' => 'string', - 'example' => '300', - ], - 'AvgRTPerInterval' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DataModule' => [ - 'description' => '每个时间点平均响应时间列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '平均响应时间。', - 'type' => 'string', - 'example' => '3', - ], - 'TimeStamp' => [ - 'description' => '时间片起始时刻。', - 'type' => 'string', - 'example' => '2015-12-10T20:00:00Z', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeCdnConditionIPBInfo', + 'description' => '查看高级条件所需要的信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnConditionIPBInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', + [ + 'apiName' => 'DescribeCdnUserBillHistory', + 'description' => '查询历史账单', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserBillHistory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', + ], + ], + [ + 'apiName' => 'DescribeCdnDomainLogs', + 'description' => '查询离线日志下载地址', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + ], + ], + [ + 'apiName' => 'StartCdnDomain', + 'description' => '启用域名', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:StartCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ], + ], + [ + 'apiName' => 'BatchDeleteCdnDomainConfig', + 'description' => '批量删除域名配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:BatchDeleteCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], ], - [ - 'errorCode' => 'InvalidIspParameter', - 'errorMessage' => 'The specified Isp is invalid.', + ], + ], + [ + 'apiName' => 'ModifyRealtimeLogDelivery', + 'description' => '修改实时日志投递', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2019-11-30T05:40:00Z\\",\\n \\"StartTime\\": \\"2019-11-30T05:33:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"AvgRTPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"Value\\": \\"3\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"DomainName\\": \\"example.com\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"StartTime\\": \\"2015-12-10T20:00:00Z\\",\\n \\"EndTime\\": \\"2015-12-11T21:00:00Z\\",\\n \\"DataInterval\\": \\"300\\",\\n \\"AvgRTPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\",\\n \\"Value\\": \\"3\\"\\n },\\n {\\n \\"TimeStamp\\": \\"2015-12-10T20:05:00Z\\",\\n \\"Value\\": \\"3\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<DescribeDomainAverageResponseTimeResponse>\\r\\n\\t<DomainName>example.com</DomainName>\\r\\n\\t<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\r\\n\\t<StartTime>2019-11-30T05:33:00Z</StartTime>\\r\\n\\t<EndTime>2019-11-30T05:40:00Z</EndTime>\\r\\n\\t<DataInterval>300</DataInterval>\\r\\n\\t<AvgRTPerInterval>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:33:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>3</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t\\t<DataModule>\\r\\n\\t\\t\\t<TimeStamp>2019-11-30T05:38:00Z</TimeStamp>\\r\\n\\t\\t\\t<Value>3</Value>\\r\\n\\t\\t</DataModule>\\r\\n\\t</AvgRTPerInterval>\\r\\n</DescribeDomainAverageResponseTimeResponse>\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => '获取平均响应时间数据', - 'description' => '<props="china">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。</props>'."\n" - .'<props="intl">阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。</props>'."\n" - .'> - 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" - .'> - 单用户调用频率:100次/秒。'."\n" - .'> - 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainRealTimeDetailData' => [ - 'summary' => '调用DescribeDomainRealTimeDetailData批量获取域名实时监控详细数据。', - 'methods' => [ - 'get', + [ + 'apiName' => 'DescribeCdnReportList', + 'description' => '查询报表定制列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnReportList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeUserDomains', + 'description' => '查询用户域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateCdnSubTask', + 'description' => '更新报表定制任务', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UpdateCdnSubTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeCdnDiagnoseReport', + 'description' => '获取诊断报告详情', 'operationType' => 'none', - 'abilityTreeCode' => '111790', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDiagnoseReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '待查询的加速域名,一次最多同时查询20个域名,域名之间用英文逗号分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + [ + 'apiName' => 'TagResources', + 'description' => '添加资源标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的起始时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。例如:2019-11-30T05:33:00Z。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-11-30T05:33:00Z', + ], + [ + 'apiName' => 'SetCdnDomainStagingConfig', + 'description' => '设置模拟环境配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间。'."\n" - ."\n" - .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。例如:2019-11-30T05:40:00Z。'."\n" - ."\n" - .'> 结束时间需大于开始时间,并且结束时间和开始时间相差不超过10分钟。', - 'type' => 'string', - 'required' => true, - 'example' => '2019-11-30T05:40:00Z', + ], + [ + 'apiName' => 'DescribeCdnHttpsDomainList', + 'description' => '查询证书列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnHttpsDomainList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Field', - 'in' => 'query', - 'schema' => [ - 'description' => '获取的类别信息,多个用英文逗号(,)分隔。取值:'."\n" - ."\n" - .'- **qps**:每秒访问次数。'."\n" - .'- **bps**:带宽数据。'."\n" - .'- **http_code**:HTTP返回码。', - 'type' => 'string', - 'required' => true, - 'example' => 'qps', + ], + [ + 'apiName' => 'EnableRealtimeLogDelivery', + 'description' => '开启实时日志投递', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:EnableRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'LocationNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '地域英文名,默认查询所有地域。您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取地域英文名。', - 'type' => 'string', - 'required' => false, - 'example' => 'Guangdong', + ], + [ + 'apiName' => 'ModifyCdnDomainSchdmByProperty', + 'description' => '修改域名的加速区域', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomainSchdmByProperty', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'IspNameEn', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商英文名,默认查询所有运营商。您可以调用[DescribeCdnRegionAndIsp](~~91077~~)接口获取运营商英文名。', - 'type' => 'string', - 'required' => false, - 'example' => 'telecom', + ], + [ + 'apiName' => 'DeleteFCTrigger', + 'description' => '删除函数计算触发器', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteFCTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Merge', - 'in' => 'query', - 'schema' => [ - 'description' => '是否输出汇总值。取值:'."\n" - ."\n" - .'- **true**:输出。'."\n" - .'- **false**:不输出。'."\n" - ."\n" - .'默认值为**false**。', - 'type' => 'string', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeDomainRealTimeByteHitRateData', + 'description' => '查询实时字节命中率', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeByteHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'MergeLocIsp', - 'in' => 'query', - 'schema' => [ - 'description' => '是否输出汇总值。取值:'."\n" - ."\n" - .'- **true**:输出只会按照Domain进行分组,聚合地域和运营商。'."\n" - .'- **false**:输出只会按照Domain进行分组。'."\n" - ."\n" - .'默认值为**false**。', - 'type' => 'string', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'OpenCdnService', + 'description' => '开通CDN服务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:OpenCdnService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => '地区运营商详细数据。', - 'type' => 'string', - 'example' => '['."\n" - .' {'."\n" - .' "time_stp": "2018-06-05T20:00:00Z",'."\n" - .' "domain_name": "example.com",'."\n" - .' "location": "Guangdong",'."\n" - .' "isp": "telecom",'."\n" - .' "qps": 10'."\n" - .' },'."\n" - .' {'."\n" - .' "time_stp": "2018-06-05T20:00:00Z",'."\n" - .' "domain_name": "example.com",'."\n" - .' "location": "Jiangsu",'."\n" - .' "isp": "unicom",'."\n" - .' "qps": 11.1'."\n" - .' }'."\n" - .']', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B49E6DDA-F413-422B-B58E-2FA23F286726', - ], - ], + [ + 'apiName' => 'DescribeDomainRealTimeDetailData', + 'description' => '批量获取域名实时监控详细数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeDetailData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidDomainName.Malformed', - 'errorMessage' => 'The specified DomainName is invalid.', + [ + 'apiName' => 'DescribeCdnTaskList', + 'description' => '获取诊断任务列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnTaskList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"[\\\\n {\\\\n \\\\\\"time_stp\\\\\\": \\\\\\"2018-06-05T20:00:00Z\\\\\\",\\\\n \\\\\\"domain_name\\\\\\": \\\\\\"example.com\\\\\\",\\\\n \\\\\\"location\\\\\\": \\\\\\"Guangdong\\\\\\",\\\\n \\\\\\"isp\\\\\\": \\\\\\"telecom\\\\\\",\\\\n \\\\\\"qps\\\\\\": 10\\\\n },\\\\n {\\\\n \\\\\\"time_stp\\\\\\": \\\\\\"2018-06-05T20:00:00Z\\\\\\",\\\\n \\\\\\"domain_name\\\\\\": \\\\\\"example.com\\\\\\",\\\\n \\\\\\"location\\\\\\": \\\\\\"Jiangsu\\\\\\",\\\\n \\\\\\"isp\\\\\\": \\\\\\"unicom\\\\\\",\\\\n \\\\\\"qps\\\\\\": 11.1\\\\n }\\\\n]\\",\\n \\"RequestId\\": \\"B49E6DDA-F413-422B-B58E-2FA23F286726\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainRealTimeDetailDataResponse>\\n<Data>\\n <2018-06-05T20:00:00Z>\\n <example.com>\\n <Guangdong>\\n <telecom>\\n <qps>10</qps>\\n <http_code>\\n <200>1</200>\\n <304>2</304>\\n </http_code>\\n </telecom>\\n </Guangdong>\\n <Jiangsu>\\n <unicom>\\n <qps>11.1</qps>\\n <http_code>\\n <200>1</200>\\n <304>2</304>\\n <403>3</403>\\n </http_code>\\n </unicom>\\n </Jiangsu>\\n </example.com>\\n </2018-06-05T20:00:00Z>\\n</Data>\\n<RequestId>B49E6DDA-F413-422B-B58E-2FA23F286726</RequestId>\\n</DescribeDomainRealTimeDetailDataResponse>","errorExample":""}]', - 'title' => '批量获取域名实时监控详细数据', - 'description' => '- 支持查询7天内的数据,查询粒度为1分钟。'."\n" - .'- 单个用户的调用频率:10次/秒。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '>Data字段受API限制,按JSON字符串返回,具体结构及字段描述如下:'."\n" - ."\n" - .'### Data字段描述 (如对应字段没有数据则不返回该字段)'."\n" - .'| 名称 | 类型 | 描述 |示例值|'."\n" - .'|-------------|----------|----------------------------------------------|---|'."\n" - .'| domain_name | String | 查询域名。 | example.com |'."\n" - .'| isp | String | 运营商名称。 |unicom|'."\n" - .'| location | String | 地区名称。 | qingdao |'."\n" - .'| qps | Long |每秒访问次数。 | 40 |'."\n" - .'| bps | Long | 带宽数据,单位:bit/s。 | 100 |'."\n" - .'| http_code | Map| http_code明细。键为状态码名称,值为状态码数量。 |{"200": 1, "304": 2, "403": 3}|'."\n" - .'| time_stp | String | 数据起始时间,键为查询数据的起始时间,日期格式按照ISO8601表示法,并使用UTC时间,<br>例如:2016-10-20T04:00:00Z.。|2022-10-20T04:00:00Z|', - 'extraInfo' => ' ', - ], - 'DescribeDomainMultiUsageData' => [ - 'summary' => '调用DescribeDomainMultiUsageData批量查询加速域名的流量和请求数类五分钟粒度的数据。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeUserUsageDataExportTask', + 'description' => '查询用量数据导出任务', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainQpsDataByLayer', + 'description' => '查询QPS-按协议', 'operationType' => 'none', - 'abilityTreeCode' => '111781', - 'abilityTreeNodes' => [ - 'FEATUREcdnNZNXYV', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainQpsDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" - ."\n" - .'> - 单次查询最多可添加30个域名。'."\n" - .'> - 若参数为空,默认返回所有加速域名分组数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + [ + 'apiName' => 'DescribeUserCertificateExpireCount', + 'description' => '查询证书过期的域名数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserCertificateExpireCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据起始时间点。日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-10T20:00:00Z', + ], + [ + 'apiName' => 'CreateUserUsageDataExportTask', + 'description' => '创建用量数据导出任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CreateUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '获取数据的结束时间点。日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" - ."\n" - .'> 结束时间需大于起始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2017-12-10T21:00:00Z', + ], + [ + 'apiName' => 'DescribeDomainCertificateInfo', + 'description' => '查询域名证书信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCertificateInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '查询用量的结束时间。', - 'type' => 'string', - 'example' => '2017-12-10T21:00:00Z', - ], - 'StartTime' => [ - 'description' => '查询用量的开始时间。', - 'type' => 'string', - 'example' => '2017-12-10T20:00:00Z', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F', - ], - 'RequestPerInterval' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'RequestDataModule' => [ - 'description' => '每五分钟各请求计量数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '类型。'."\n" - ."\n" - .'> CDN产品只有Simple。', - 'type' => 'string', - 'example' => 'Simple', - ], - 'TimeStamp' => [ - 'description' => '返回数据中,请求数所在时间片段起始时刻。', - 'type' => 'string', - 'example' => '2017-12-10T20:00:00Z', - ], - 'Domain' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Request' => [ - 'description' => '请求数,单位:个。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11288111', - ], - ], - ], - ], - ], - ], - 'TrafficPerInterval' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TrafficDataModule' => [ - 'description' => '每五分钟各流量计量数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '请求数类型。取值:'."\n" - ."\n" - .'- **StaticHttps**:静态HTTPS请求数。'."\n" - .'- **DynamicHttps**:动态HTTPS请求数。'."\n" - .'- **DynamicHttp**:动态HTTP请求数。'."\n" - .'- **StaticQuic**:静态QUIC请求数。'."\n" - .'- **DynamicQuic**:动态QUIC请求数。', - 'type' => 'string', - 'example' => 'DynamicHttp', - ], - 'Domain' => [ - 'description' => '域名名称。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'TimeStamp' => [ - 'description' => '返回数据中,用量数据所在时间片段起始时刻。', - 'type' => 'string', - 'example' => '2017-12-10T20:00:00Z', - ], - 'Area' => [ - 'description' => '大区名称。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Bps' => [ - 'description' => '比特率,单位:bit/second。', - 'type' => 'number', - 'format' => 'float', - 'example' => '11288111.1', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'SetWaitingRoomConfig', + 'description' => '配置WaitingRoom', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetWaitingRoomConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidStartTime.Malformed', - 'errorMessage' => 'The specified value of parameter StartTime is malformed.', - ], - [ - 'errorCode' => 'InvalidEndTime.Malformed', - 'errorMessage' => 'The specified value of parameter EndTime is malformed.', - ], - [ - 'errorCode' => 'InvalidStartTime.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter StartTime is not supported.', + [ + 'apiName' => 'DescribeDomainRealTimeSrcBpsData', + 'description' => '查询实时回源带宽', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidTime.Malformed', - 'errorMessage' => 'Specified StartTime or EndTime is malformed.', + ], + ], + [ + 'apiName' => 'DisableRealtimeLogDelivery', + 'description' => '暂停实时日志投递', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:DisableRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidDomainName', - 'errorMessage' => 'The specified DomainNames is invalid.', + ], + ], + [ + 'apiName' => 'DeleteCdnDomain', + 'description' => '删除域名', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'InvalidEndTime.Mismatch', - 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ], + ], + [ + 'apiName' => 'DescribeCdnDomainByCertificate', + 'description' => '查询域名-按证书', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainByCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidTimeSpan', - 'errorMessage' => 'The time span exceeds the limit.', + ], + ], + [ + 'apiName' => 'DescribeIpStatus', + 'description' => '查询节点IP状态', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeIpStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2017-12-10T21:00:00Z\\",\\n \\"StartTime\\": \\"2017-12-10T20:00:00Z\\",\\n \\"RequestId\\": \\"3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\",\\n \\"RequestPerInterval\\": {\\n \\"RequestDataModule\\": [\\n {\\n \\"Type\\": \\"Simple\\",\\n \\"TimeStamp\\": \\"2017-12-10T20:00:00Z\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"Request\\": 11288111\\n }\\n ]\\n },\\n \\"TrafficPerInterval\\": {\\n \\"TrafficDataModule\\": [\\n {\\n \\"Type\\": \\"DynamicHttp\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"TimeStamp\\": \\"2017-12-10T20:00:00Z\\",\\n \\"Area\\": \\"CN\\",\\n \\"Bps\\": 11288111.1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainMultiUsageDataResesponse>\\n<TrafficPerInterval>\\n <TrafficDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Bps>11288111.1</Bps>\\n <Type>Simple</Type>\\n <Area>CN</Area>\\n </TrafficDataModule>\\n</TrafficPerInterval>\\n<RequestPerInterval>\\n <RequestDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Request>11288111</Request>\\n <Type>DynamicHttp</Type>\\n </RequestDataModule>\\n <RequestDataModule>\\n <TimeStamp>2017-12-10T20:00:00Z</TimeStamp>\\n <Domain>example.com</Domain>\\n <Request>11288111</Request>\\n <Type>StaticHttps</Type>\\n </RequestDataModule>\\n</RequestPerInterval>\\n<RequestId>3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F</RequestId>\\n<StartTime>2017-12-10T20:00:00Z</StartTime>\\n<EndTime>2017-12-10T21:00:00Z</EndTime>\\n</DescribeDomainMultiUsageDataResesponse>","errorExample":""}]', - 'title' => '批量查询加速域名的流量和请求数', - 'description' => '- 如果您未指定StartTime和EndTime,该接口默认返回过去10分钟的数据。'."\n" - .'- StartTime和EndTime间隔最长为1小时。'."\n" - .'- 最多可获取最近90天的数据。'."\n" - .'- 支持查询已删除的加速域名的流量和请求数。'."\n" - .'- 单用户调用频率:50次/秒', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeUserConfigs' => [ - 'summary' => '调用DescribeUserConfigs查询安全功能相关的配置。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeUserUsageDetailDataExportTask', + 'description' => '查询用量明细导出任务详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserUsageDetailDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'BatchAddCdnDomain', + 'description' => '批量添加域名', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:BatchAddCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeCdnFullDomainsBlockIPConfig', + 'description' => '查询全量封禁配置', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnFullDomainsBlockIPConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeCustomLogConfig', + 'description' => '查询自定义日志配置-按日志配置ID', 'operationType' => 'get', - 'abilityTreeCode' => '111841', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', + 'ramAction' => [ + 'action' => 'cdn:DescribeCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Config', - 'in' => 'query', - 'schema' => [ - 'description' => '需要查询的配置,支持持单个查询。当前支持oss、green_manager、waf、cc_rule、ddos_dispatch、edge_safe、blocked_regions、http_acl_policy、bot_manager和ip_reputation配置。', - 'type' => 'string', - 'required' => true, - 'example' => 'oss', + [ + 'apiName' => 'DescribeDomainRegionData', + 'description' => '获取用户区域分布数据统计', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRegionData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84', - ], - 'Configs' => [ - 'description' => '对应的配置数据。', - 'type' => 'object', - 'properties' => [ - 'OssLogConfig' => [ - 'description' => 'OSS日志存储配置。', - 'type' => 'object', - 'properties' => [ - 'Prefix' => [ - 'description' => '前缀。', - 'type' => 'string', - 'example' => 'test', - ], - 'Enable' => [ - 'description' => '是否开启存储空间。', - 'type' => 'string', - 'example' => 'off', - ], - 'Bucket' => [ - 'description' => '存储空间名称。', - 'type' => 'string', - 'example' => 'Buckettest', - ], - ], - ], - 'WafConfig' => [ - 'description' => 'WAF功能配置。', - 'type' => 'object', - 'properties' => [ - 'Enable' => [ - 'description' => '是否开启WAF功能。', - 'type' => 'string', - 'example' => 'on', - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeDomainQpsData', + 'description' => '查询QPS', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingConfig', - 'errorMessage' => 'The input parameter Config that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'InvalidConfig.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter Config is not supported.', + [ + 'apiName' => 'DescribeCdnUserBillPrediction', + 'description' => '查询预测用量', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserBillPrediction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84\\",\\n \\"Configs\\": {\\n \\"OssLogConfig\\": {\\n \\"Prefix\\": \\"test\\",\\n \\"Enable\\": \\"off\\",\\n \\"Bucket\\": \\"Buckettest\\"\\n },\\n \\"WafConfig\\": {\\n \\"Enable\\": \\"on\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserConfigsResponse>\\n<RequestId>9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84</RequestId>\\n<Configs>\\n <OssLogConfig>\\n <Enable>off</Enable>\\n <Bucket>Bucket2</Bucket>\\n <Prefix>test</Prefix>\\n </OssLogConfig>\\n <GreenManagerConfig>\\n <Quota>500</Quota>\\n <Ratio>20%</Ratio>\\n </GreenManagerConfig>\\n <WafConfig>\\n <Enable>on</Enable>\\n </WafConfig>\\n</Configs>\\n</DescribeUserConfigsResponse>","errorExample":""}]', - 'title' => '查询安全功能相关的配置', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SetReqHeaderConfig' => [ - 'summary' => '调用SetReqHeaderConfig设置回源自定义头。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeUserTags', + 'description' => '查询用户标签', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserTags', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeRangeDataByLocateAndIspService', + 'description' => '查询访问数据-按运营商和地域', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeRangeDataByLocateAndIspService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CheckCdnDomainICP', + 'description' => '查询域名是否备案', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CheckCdnDomainICP', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'systemTags' => [ + [ + 'apiName' => 'ListRealtimeLogDeliveryDomains', + 'description' => '查询实时日志投递域名', 'operationType' => 'update', - 'abilityTreeCode' => '111909', - 'abilityTreeNodes' => [ - 'FEATUREcdnJA88R2', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDeliveryDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名,多个用逗号(,)隔开。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + [ + 'apiName' => 'DescribeDomainCname', + 'description' => '检测加速域名的Cname是否完成配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCname', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'Key', - 'in' => 'query', - 'schema' => [ - 'description' => '回源自定义头参数。', - 'type' => 'string', - 'required' => true, - 'example' => 'testkey', + ], + [ + 'apiName' => 'DescribeDomainBpsDataByLayer', + 'description' => '查询带宽-按协议', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'Value', - 'in' => 'query', - 'schema' => [ - 'description' => '回源自定义头取值。', - 'type' => 'string', - 'required' => true, - 'example' => 'testvalue', + ], + [ + 'apiName' => 'DescribeCdnOrderCommodityCode', + 'description' => '查询商品Code', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnOrderCommodityCode', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ConfigId', - 'in' => 'query', - 'schema' => [ - 'description' => '配置ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '123', + ], + [ + 'apiName' => 'DescribeRefreshTasks', + 'description' => '查询刷新预热任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - ], + [ + 'apiName' => 'DescribeDomainRealtimeLogDelivery', + 'description' => '查询实时日志投递信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The specified value of parameter DomainName can not be empty.', - ], - [ - 'errorCode' => 'InvalidKey.Malformed', - 'errorMessage' => 'The specified value of parameter Key is not malformed.', - ], - [ - 'errorCode' => 'InvalidValue.Malformed', - 'errorMessage' => 'The specified value of parameter Value is not malformed.', - ], - [ - 'errorCode' => 'InvalidHeaderKey.ValueNotSupported', - 'errorMessage' => 'The specified value of parameter HeaderKey is not supported.', + [ + 'apiName' => 'DescribeCdnFullDomainsBlockIPHistory', + 'description' => '查询封禁历史', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnFullDomainsBlockIPHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<SetReqHeaderConfigResponse>\\r\\n\\t <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n</SetReqHeaderConfigResponse>","errorExample":""}]', - 'title' => '设置回源自定义头', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyCdnService' => [ - 'summary' => '变更CDN服务的计费类型。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainHttpCodeData', + 'description' => '查询HTTP状态码', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDomainCustomLogConfig', + 'description' => '查询自定义日志配置-按域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainCustomLogConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#domainId}'], + ], ], ], - 'operationType' => 'write', - 'systemTags' => [ + [ + 'apiName' => 'DescribeCdnRegionAndIsp', + 'description' => '查询地域和运营商列表', 'operationType' => 'none', - 'abilityTreeCode' => '111871', - 'abilityTreeNodes' => [ - 'FEATUREcdnBXNWCW', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnRegionAndIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'InternetChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => '开通服务的计费类型', - 'type' => 'string', - 'required' => true, - 'example' => 'PayByTraffic', + [ + 'apiName' => 'ListRealtimeLogDelivery', + 'description' => '获取实时日志投递', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0979B99B-4F00-5037-8E15-5F7D4ABF8AA1', - ], - ], + [ + 'apiName' => 'DescribeTagResources', + 'description' => '查询资源标签', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', - ], - [ - 'errorCode' => 'InsufficientBalance', - 'errorMessage' => 'Your account does not have enough balance.', + [ + 'apiName' => 'DescribeCdnService', + 'description' => '查询CDN服务状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_INVALID_PAY_METHOD', - 'errorMessage' => 'INVALID_PAY_METHOD', + ], + ], + [ + 'apiName' => 'DescribeRefreshTaskById', + 'description' => '查询刷新预热任务-按ID', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRefreshTaskById', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_HASORDER', - 'errorMessage' => 'You have an order not yet effective', + ], + ], + [ + 'apiName' => 'DescribeStagingIp', + 'description' => '查询节点IP列表-模拟环境-L1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeStagingIp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'CSS_CHECK_UPDOWNGRADE_ERROR', - 'errorMessage' => 'You have an order not yet effective', + ], + ], + [ + 'apiName' => 'DescribeCdnDomainDetail', + 'description' => '查询域名详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], - [ - 'errorCode' => 'COMMODITY.INVALID_COMPONENT', - 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', + ], + ], + [ + 'apiName' => 'DescribeDomainRealTimeSrcHttpCodeData', + 'description' => '查询实时回源状态码', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeSrcHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0979B99B-4F00-5037-8E15-5F7D4ABF8AA1\\"\\n}","type":"json"}]', - 'title' => '修改CDN服务的计费类型', - ], - 'DescribeUserCdnStatus' => [ - 'summary' => '调用DescribeUserCdnStatus获取用户状态信息。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'CheckCdnDomainExist', + 'description' => '检测域名是否存在', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CheckCdnDomainExist', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#AccountId}:domain/{#DomainName}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCdnDeliverList', + 'description' => '查询报表订阅列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDeliverList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'BatchStopCdnDomain', + 'description' => '批量停用域名', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:BatchStopCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainRealTimeReqHitRateData', + 'description' => '查询实时请求命中率', 'operationType' => 'none', - 'abilityTreeCode' => '111839', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeReqHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'InDebt' => [ - 'description' => '是否欠费。'."\n" - ."\n" - .'- true:欠费。'."\n" - .'- false:未欠费。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'OnService' => [ - 'description' => '服务是否可用。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA', - ], - 'InDebtOverdue' => [ - 'description' => '是否欠费超期。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Enabled' => [ - 'description' => '是否开通了Cdn服务。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'BatchDescribeCdnIpInfo', + 'description' => '批量查询IP是否为CDN节点', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:BatchDescribeCdnIpInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InDebt\\": false,\\n \\"OnService\\": true,\\n \\"RequestId\\": \\"39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA\\",\\n \\"InDebtOverdue\\": false,\\n \\"Enabled\\": true\\n}","type":"json"}]', - 'title' => '获取用户状态信息', - ], - 'DescribeCdnTypes' => [ - 'summary' => '调用DescribeCdnTypes获取域名类型列表。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeEsExceptionData', + 'description' => '查询ES规则的异常情况', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeEsExceptionData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainPvData', + 'description' => '获取PV页面访问统计', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainPvData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteSpecificConfig', + 'description' => '删除域名的指定配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteSpecificConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainHitRateData', + 'description' => '查询字节命中率', 'operationType' => 'none', - 'abilityTreeCode' => '111744', - 'abilityTreeNodes' => [ - 'FEATUREcdn9UE6OO', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHitRateData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BDA62CE4-3477-439A-B52E-D2D7C829D7C1'."\n", - ], - 'CdnTypes' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'CdnType' => [ - 'description' => '域名业务类型。', - 'type' => 'array', - 'items' => [ - 'description' => '域名业务类型。', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '域名业务类型。', - 'type' => 'string', - 'example' => 'download', - ], - 'Desc' => [ - 'description' => '域名业务类型描述。', - 'type' => 'string', - 'example' => 'Download Acceleration', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'ModifyCdnDomainOwner', + 'description' => '迁移域名', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomainOwner', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BDA62CE4-3477-439A-B52E-D2D7C829D7C1\\\\n\\",\\n \\"CdnTypes\\": {\\n \\"CdnType\\": [\\n {\\n \\"Type\\": \\"download\\",\\n \\"Desc\\": \\"Download Acceleration\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '获取 CDN 类型列表', - ], - 'ModifyCdnDomainOwner' => [ - 'summary' => '调用ModifyCdnDomainOwner将其他阿里云账号下的域名迁移至本账号。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainHttpCodeDataByLayer', + 'description' => '查询HTTP状态码-按协议', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainHttpCodeDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListTagResources', + 'description' => '查询资源标签列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'UpdateCdnDeliverTask', + 'description' => '更新报表订阅任务', 'operationType' => 'update', - 'abilityTreeCode' => '162664', - 'abilityTreeNodes' => [ - 'FEATUREcdnRO9687', + 'ramAction' => [ + 'action' => 'cdn:UpdateCdnDeliverTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'DeliverTask', 'arn' => 'acs:cdn:*:{#accountId}:delivertask/{#DeliverId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '加速域名信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + [ + 'apiName' => 'DescribeDomainTopUrlVisit', + 'description' => '获取热门URL列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopUrlVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C98E518B-024E-538E-8276-66310CB8667D', - ], - 'Content' => [ - 'description' => '域名迁移说明。', - 'type' => 'object', - 'example' => '{'."\n" - .' "域名归属权校验": false'."\n" - .'}', - ], - ], + [ + 'apiName' => 'CreateCdnSubTask', + 'description' => '创建报表定制任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateCdnSubTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidDomain.NotExist', - 'errorMessage' => 'The domain you provided is not exist.', - ], - [ - 'errorCode' => 'DomainTransferFail', - 'errorMessage' => 'The domain does not allow to transfer to a different account.', + [ + 'apiName' => 'DescribeDomainSrcBpsData', + 'description' => '查询回源带宽', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C98E518B-024E-538E-8276-66310CB8667D\\",\\n \\"Content\\": {\\n \\"域名归属权校验\\": false\\n }\\n}","type":"json"}]', - 'title' => '迁移域名', - 'description' => '主要用于以下场景:'."\n" - .'- 您有多个阿里云账号,希望将账号A中的加速域名迁移至账号B。'."\n" - .'- 您在添加加速域名时,有提示该加速域名已经被添加过,您不清楚该加速域名归属于哪个账号,希望将该加速域名迁移至您正在操作的账号中。', - ], - 'DescribeCdnConditionIPBInfo' => [ - 'summary' => '调用DescribeCdnConditionIPBInfo查看高级条件所需要的运营商、地区和国家信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'AddCdnDomain', + 'description' => '添加域名', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:AddCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeL2VipsByDomain', + 'description' => '查询节点IP地址-L2', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeL2VipsByDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainDetailDataByLayer', + 'description' => '按协议类型获取详细数据', 'operationType' => 'none', - 'abilityTreeCode' => '165633', - 'abilityTreeNodes' => [ - 'FEATUREcdnORORBI', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainDetailDataByLayer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'DataId', - 'in' => 'query', - 'schema' => [ - 'description' => '配置ID。取值如下:'."\n" - .'- condition_region_config_cn:提供地区中文名称及其对应代码的映射列表。'."\n" - .'- condition_region_config_en:提供地区英文名称及其对应代码的映射列表。'."\n" - .'- condition_isp_config_cn:提供运营商中文名称及其对应代码的映射列表。'."\n" - .'- condition_isp_config_en:提供运营商英文名称及其对应代码的映射列表。'."\n" - .'- condition_country_config_cn:提供国家中文名称及其对应代码的映射列表。'."\n" - .'- condition_country_config_en:提供国家英文名称及其对应代码的映射列表。', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'condition_region_config_cn', - 'enum' => [ - 'condition_region_config_cn', - 'condition_region_config_en', - 'condition_isp_config_cn', - 'condition_isp_config_en', - 'condition_country_config_cn', - 'condition_country_config_en', - ], + [ + 'apiName' => 'DescribeEsExecuteData', + 'description' => '查询ES规则的运行情况', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeEsExecuteData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求ID。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '2C4AA72D-8C00-1113-BD68-8BC4E3CF4FF6', - ], - 'Datas' => [ - 'description' => '数据详情。', - 'type' => 'array', - 'items' => [ - 'description' => '数据详情。', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '配置值。', - 'type' => 'string', - 'example' => '"[{\\"text\\":\\"阿鲁巴\\",\\"value\\":\\"AW\\"}]"', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DeleteRealTimeLogLogstore', + 'description' => '删除实时日志推送的Logstore', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DeleteRealTimeLogLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeCdnSubList', + 'description' => '查询报表定制任务', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSubList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C4AA72D-8C00-1113-BD68-8BC4E3CF4FF6\\",\\n \\"Datas\\": [\\n {\\n \\"Value\\": \\"\\\\\\"[{\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿鲁巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AW\\\\\\\\\\\\\\"}]\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查看高级条件所需要的信息', - ], - 'DescribeCdnSecFuncInfo' => [ - 'summary' => '调用DescribeCdnSecFuncInfo查询CDN应用安全具体功能信息。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeDomainTrafficData', + 'description' => '查询流量', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyCdnService', + 'description' => '修改CDN服务的计费类型', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'BatchStartCdnDomain', + 'description' => '批量启用域名', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:BatchStartCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainUvData', + 'description' => '获取UV页面独立访问统计', 'operationType' => 'get', - 'abilityTreeCode' => '167969', - 'abilityTreeNodes' => [ - 'FEATUREcdnORORBI', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainUvData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SecFuncType', - 'in' => 'query', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '应用安全功能类型。'."\n" - ."\n" - .'- CipherSuiteGroupCustomize: 自定义加密算法套件'."\n" - .'- CipherSuiteGroupStrict: 默认加密算法套件', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CipherSuiteGroupCustomize' => '自定义加密算法套件', - 'CipherSuiteGroupStrict' => '默认加密算法套件', - ], - 'example' => 'CipherSuiteGroupCustomize', - 'enum' => [ - 'CipherSuiteGroupStrict', - 'CipherSuiteGroupCustomize', - ], + [ + 'apiName' => 'DescribeDomainRealTimeQpsData', + 'description' => '查询实时QPS', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '语言类型。'."\n" - ."\n" - .'- en: 英文'."\n" - .'- zh: 中文', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], + ], + [ + 'apiName' => 'DeleteRealtimeLogDelivery', + 'description' => '删除实时日志投递', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:DeleteRealtimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#Domain}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回应用安全功能信息数据。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761', - ], - 'Description' => [ - 'description' => '描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RetCode' => [ - 'description' => 'HTTP请求响应返回码。'."\n" - ."\n" - .'- 0:OK。'."\n" - .'- 非0:返回错误。', - 'type' => 'string', - 'example' => '0', - ], - 'HttpStatus' => [ - 'description' => 'HTTP状态码。', - 'type' => 'string', - 'example' => '200', - ], - 'Content' => [ - 'description' => '查询到的数据。', - 'type' => 'array', - 'items' => [ - 'description' => '应用安全功能信息。', - 'type' => 'object', - 'properties' => [ - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256', - ], - 'Value' => [ - 'description' => '值。', - 'type' => 'string', - 'example' => 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256', - ], - ], - ], - ], - ], + [ + 'apiName' => 'ListDomainsByLogConfigId', + 'description' => '查询域名列表-按日志配置ID', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'cdn:ListDomainsByLogConfigId', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"Description\\": \\"OK\\",\\n \\"RetCode\\": \\"0\\",\\n \\"HttpStatus\\": \\"200\\",\\n \\"Content\\": [\\n {\\n \\"Label\\": \\"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\\",\\n \\"Value\\": \\"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询CDN应用安全具体功能信息', - ], - 'CheckCdnDomainExist' => [ - 'summary' => '调用CheckCdnDomainExist检测域名是否存在。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteSpecificStagingConfig', + 'description' => '删除模拟环境指定配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteSpecificStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateRealTimeLogDelivery', + 'description' => '创建实时日志投递', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateRealTimeLogDelivery', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#Domain}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeCdnTypes', + 'description' => '获取 CDN 类型列表', 'operationType' => 'none', - 'abilityTreeCode' => '172982', - 'abilityTreeNodes' => [ - 'FEATUREcdnORORBI', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '加速域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - 'enum' => [], + [ + 'apiName' => 'DescribeDomainTopReferVisit', + 'description' => '获取热门页面引用次数排名', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopReferVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', - ], - 'Status' => [ - 'description' => '域名状态,取值:'."\n" - .'- **DomainNotExist**:域名未被添加'."\n" - .'- **DomainExistOtherUser**:域名已被其他账号添加'."\n" - .'- **DomainExistCdnProduct**:域名已被添加至Cdn'."\n" - .'- **DomainExistDcdnProduct**:域名已被添加至Dcdn'."\n" - .'- **DomainExistScdnProduct**:域名已被添加至Scdn'."\n" - .'- **DomainExistVodProduct**:域名已被添加至Vod'."\n" - .'- **DomainExistLiveProduct**:域名已被添加至Live'."\n" - .'- **DomainExistDcdnipaProduct**:域名已被添加至Dcdnipa', - 'type' => 'string', - 'example' => 'DomainNotExist', - ], - ], + [ + 'apiName' => 'DescribeDomainTopClientIpVisit', + 'description' => '获取Client IP列表排序数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainTopClientIpVisit', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'DomainExist.OtherUser', - 'errorMessage' => 'This domain is already added by another user.', + [ + 'apiName' => 'ListRealtimeLogDeliveryInfos', + 'description' => '查询实时日志投递信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListRealtimeLogDeliveryInfos', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'DomainExist.OtherProduct', - 'errorMessage' => 'This domain is already existed in %s.', + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '删除资源标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyCdnDomain', + 'description' => '修改域名基础信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:ModifyCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"Status\\": \\"DomainNotExist\\"\\n}","type":"json"}]', - 'title' => '检测域名是否存在', - ], - 'CheckCdnDomainICP' => [ - 'summary' => '调用CheckCdnDomainICP查询域名是否备案。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DeleteCdnDeliverTask', + 'description' => '删除报表订阅任务', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteCdnDeliverTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCdnReport', + 'description' => '查询报表定制数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateCdnCertificateSigningRequest', + 'description' => '创建证书签名请求', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateCdnCertificateSigningRequest', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainBpsDataByTimeStamp', + 'description' => '查询带宽-按时间戳', 'operationType' => 'none', - 'abilityTreeCode' => '174446', - 'abilityTreeNodes' => [ - 'FEATUREcdnRLQ471', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsDataByTimeStamp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', + [ + 'apiName' => 'SetCdnFullDomainsBlockIP', + 'description' => '设置海量封禁IP', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnFullDomainsBlockIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', - ], - 'Status' => [ - 'description' => '资源包状态。取值:'."\n" - ."\n" - .'- **DomainIsRegistration**:已备案。'."\n" - ."\n" - .'- **DomainNotRegistration**:未备案。', - 'type' => 'string', - 'enumValueTitles' => [ - 'DomainNotRegistration' => '未备案', - 'DomainIsRegistration' => '已备案', - ], - 'example' => 'DomainIsRegistration', - ], - ], + [ + 'apiName' => 'DescribeRealtimeDeliveryAcc', + 'description' => '查询实时日志投递次数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeRealtimeDeliveryAcc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => '-124', - 'errorMessage' => 'The domain provided does not belong to you.', - ], - [ - 'errorCode' => 'CheckDomainICPFail', - 'errorMessage' => 'The domain query icp info error,check domain icp failed.', + [ + 'apiName' => 'DescribeUserVipsByDomain', + 'description' => '查询节点IP列表-L1', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserVipsByDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\",\\n \\"Status\\": \\"DomainIsRegistration\\"\\n}","type":"json"}]', - 'title' => '查询域名是否备案', - ], - 'BatchDescribeCdnIpInfo' => [ - 'summary' => '调用BatchDescribeCdnIpInfo批量查询IP是否为阿里云CDN服务IP。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'BatchSetCdnDomainConfig', + 'description' => '批量配置域名', + 'operationType' => 'update', + 'additionalActions' => [ + ['action' => 'ram:CreateServiceLinkedRole', 'validationType' => 'always'], + ], + 'ramAction' => [ + 'action' => 'cdn:BatchSetCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteUsageDetailDataExportTask', + 'description' => '删除用量明细数据导出任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DeleteUsageDetailDataExportTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeCdnDomainStagingConfig', + 'description' => '查询模拟环境配置', 'operationType' => 'get', - 'abilityTreeCode' => '156304', - 'abilityTreeNodes' => [ - 'FEATUREcdnNSUDKT', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnDomainStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'IpAddrList', - 'in' => 'query', - 'schema' => [ - 'description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" - ."\n" - .'>- IPv4举例:192.0.2.1。'."\n" - .'>- IPv6举例:2001:db8:ffff:ffff:ffff:****:ffff。', - 'type' => 'string', - 'required' => true, - 'example' => '111.XXX.XXX.230,47.XXX.XXX.243', + [ + 'apiName' => 'DescribeDomainPathData', + 'description' => '按目录维度获取监控数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainPathData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'Language', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结果语言控制。取值:'."\n" - .'- **zh**(默认值):简体中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => 'en', - 'zh' => 'zh', - ], - 'example' => 'en', + ], + [ + 'apiName' => 'DeleteCdnSubTask', + 'description' => '删除报表定制任务', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:DeleteCdnSubTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '55ADD936-763F-5E1A-BF54-2EA3F6E94A52', - ], - 'IpInfoList' => [ - 'description' => 'IP地址返回结果。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IpAddress' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'example' => '111.XXX.XXX.230', - ], - 'IspName' => [ - 'description' => '所属运营商名称。', - 'type' => 'string', - 'example' => '移动', - ], - 'Country' => [ - 'description' => '所属国家。', - 'type' => 'string', - 'example' => '中国', - ], - 'Province' => [ - 'description' => '所属省。', - 'type' => 'string', - 'example' => '北京市', - ], - 'City' => [ - 'description' => '所属市。', - 'type' => 'string', - 'example' => '北京市', - ], - 'CdnIp' => [ - 'description' => '是否属于阿里云CDN节点。'."\n" - .'- **true**:属于。'."\n" - .'- **false**:不属于。', - 'type' => 'string', - 'example' => 'true', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeCdnUserConfigs', + 'description' => '查询安全功能配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnUserConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvaildBatchIp.LengthTooLong', - 'errorMessage' => 'The batchIp parameter is too long', + [ + 'apiName' => 'SetCdnDomainCSRCertificate', + 'description' => '设置CSR证书', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainCSRCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - 403 => [ - [ - 'errorCode' => 'InvaildParameter', - 'errorMessage' => 'The parameter you provided is invalid.', + ], + [ + 'apiName' => 'DescribeDomainSrcQpsData', + 'description' => '查询回源QPS', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcQpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55ADD936-763F-5E1A-BF54-2EA3F6E94A52\\",\\n \\"IpInfoList\\": [\\n {\\n \\"IpAddress\\": \\"111.XXX.XXX.230\\",\\n \\"IspName\\": \\"移动\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"北京市\\",\\n \\"City\\": \\"北京市\\",\\n \\"CdnIp\\": \\"true\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<BatchDescribeCdnIpInfoResponse>\\n <RequestId>55ADD936-763F-5E1A-BF54-2EA3F6E94A52</RequestId>\\n <IpInfoList>\\n <IspName>移动</IspName>\\n <Country>中国</Country>\\n <IpAddress>111.XXX.XXX.230</IpAddress>\\n <City>北京市</City>\\n <CdnIp>true</CdnIp>\\n <Province>北京市</Province>\\n </IpInfoList>\\n <IpInfoList>\\n <IspName>NTT</IspName>\\n <Country>中国</Country>\\n <IpAddress>47.XXX.XXX.243</IpAddress>\\n <City>香港</City>\\n <CdnIp>true</CdnIp>\\n <Province>香港特别行政区</Province>\\n </IpInfoList>\\n</BatchDescribeCdnIpInfoResponse>","errorExample":""}]', - 'title' => '批量查询IP是否为CDN节点', - 'description' => '> 单用户调用频率:20次/秒。', - ], - 'DescribeCdnFullDomainsBlockIPHistory' => [ - 'summary' => '调用DescribeCdnFullDomainsBlockIPHistory获取封禁历史记录。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeCdnWafDomain', + 'description' => '查询WAF全量域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnWafDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'RefreshObjectCacheByCacheTag', + 'description' => '根据缓存标签刷新缓存', 'operationType' => 'none', - 'abilityTreeCode' => '228025', - 'abilityTreeNodes' => [ - 'FEATUREcdnHPRG9U', + 'ramAction' => [ + 'action' => 'cdn:RefreshObjectCacheByCacheTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'IPList', - 'in' => 'formData', - 'schema' => [ - 'description' => '查询IP/IP段。', - 'type' => 'string', - 'required' => true, - 'example' => '1.XXX.XXX.1,2.XXX.XXX.2', + [ + 'apiName' => 'SetCdnDomainSSLCertificate', + 'description' => '设置CDN域名证书', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainSSLCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '查询获取数据起始时间点,时间格式为:YYYY-MM-DDThh:mm:ssZ。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-04-24T17:00:00Z'."\n", + ], + [ + 'apiName' => 'CreateCdnDeliverTask', + 'description' => '创建报表订阅任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'cdn:CreateCdnDeliverTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '查询获取数据结束时间点,时间格式为:YYYY-MM-DDThh:mm:ssZ;结束时间需大于起始时间。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-04-24T19:00:00Z'."\n", + ], + [ + 'apiName' => 'ListFCTrigger', + 'description' => '查询函数计算的触发器列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:ListFCTrigger', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BCD7D917-76F1-442F-BB75-C810DE34C761', - ], - 'IPBlockInfo' => [ - 'description' => '操作结果。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BlockIP' => [ - 'description' => '下发的IP/IP段。', - 'type' => 'string', - 'example' => '1.XXX.XXX.0~1.XXX.XXX.255'."\n", - ], - 'DeliverTime' => [ - 'description' => '下发时间。', - 'type' => 'string', - 'example' => '2023-04-24 18:49:37'."\n", - ], - 'Status' => [ - 'description' => '下发状态。'."\n" - ."\n" - .'+ Success:下发成功。'."\n" - .'+ Failed:下发失败,或未有下发记录。', - 'type' => 'string', - 'example' => 'Success', - ], - ], - ], - ], - 'Code' => [ - 'description' => '结果信息码。'."\n" - ."\n" - .'Code不为0可能有以下三种情况:'."\n" - ."\n" - .'+ IP格式不正确。'."\n" - .'+ 时间格式不正确。'."\n" - .'+ 其他。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Description' => [ - 'description' => '接口返回状态描述。', - 'type' => 'string', - 'example' => 'OK', - ], - ], + [ + 'apiName' => 'SetCdnDomainSMCertificate', + 'description' => '设置国密证书', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:SetCdnDomainSMCertificate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'The quota is exceeded.', + [ + 'apiName' => 'DescribeCdnCertificateDetail', + 'description' => '查询证书详情', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnCertificateDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', + ], + [ + 'apiName' => 'DescribeVerifyContent', + 'description' => '查询校验归属权内容', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeVerifyContent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCD7D917-76F1-442F-BB75-C810DE34C761\\",\\n \\"IPBlockInfo\\": [\\n {\\n \\"BlockIP\\": \\"1.XXX.XXX.0~1.XXX.XXX.255\\\\n\\",\\n \\"DeliverTime\\": \\"2023-04-24 18:49:37\\\\n\\",\\n \\"Status\\": \\"Success\\"\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Description\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '查询封禁历史', - 'description' => '> '."\n" - .'>- 该接口需要<props="china"><ph>[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>申请后使用。'."\n" - .'> - 对用户指定的IP和时间段,返回用户在该时间段对该IP的下发时间和对应结果。'."\n" - .'> - 当指定的IP/IP段在指定时间段存在多条下发记录时,会按下发时间降序排列。'."\n" - .'> - 查询时间段支持的最大范围为90天。'."\n" - .'> - 给定IP和时间段不存在下发记录或下发失败时,下发时间为空。', - ], - 'SetCdnFullDomainsBlockIP' => [ - 'summary' => '设置封禁的IP或解禁IP,该操作对您账号下所有的CDN域名同时生效。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeIpInfo', + 'description' => '查询IP是否为CDN节点', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeIpInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeDomainRealTimeTrafficData', + 'description' => '查询实时流量', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeTrafficData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'PublishStagingConfigToProduction', + 'description' => '发布模拟环境配置到生产环境', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:PublishStagingConfigToProduction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'BatchUpdateCdnDomain', + 'description' => '批量更新域名', 'operationType' => 'update', - 'abilityTreeCode' => '227991', - 'abilityTreeNodes' => [ - 'FEATUREcdnHPRG9U', + 'ramAction' => [ + 'action' => 'cdn:BatchUpdateCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'IPList', - 'in' => 'formData', - 'schema' => [ - 'title' => 'A short description of struct', - 'description' => '封禁或解禁IP列表,有多个IP时请用半角逗号(,)分隔,最大支持1000个IP。', - 'type' => 'string', - 'required' => true, - 'example' => '1.XXX.XXX.1,2.XXX.XXX.2', + [ + 'apiName' => 'RollbackStagingConfig', + 'description' => '回滚模拟环境配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'cdn:RollbackStagingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'OperationType', - 'in' => 'formData', - 'schema' => [ - 'description' => '操作类型。'."\n" - ."\n" - .'- block:封禁。'."\n" - .'- unblock:解禁。', - 'type' => 'string', - 'required' => true, - 'example' => 'block', + ], + [ + 'apiName' => 'DescribeDomainRealTimeHttpCodeData', + 'description' => '查询实时状态码', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainRealTimeHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], - [ - 'name' => 'BlockInterval', - 'in' => 'formData', - 'schema' => [ - 'description' => '封禁时长,单位为秒。设置为**0**时表示永久封禁。仅当**OperationType**为**block**时有效。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3000', + ], + [ + 'apiName' => 'DescribeDomainsBySource', + 'description' => '查询域名-按源站', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainsBySource', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'UpdateType', - 'in' => 'formData', - 'schema' => [ - 'description' => '封禁时间类别。仅当**OperationType**为**block**时有效。取值:'."\n" - ."\n" - .'- **cover**:当前请求是采取配置覆盖方式。'."\n" - .'- **uncover**:采取时间计算比对最长方式。'."\n" - .'- 该参数为空时默认采取配置覆盖方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'cover', + ], + [ + 'apiName' => 'DescribeCdnSMCertificateList', + 'description' => '查询国密证书列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSMCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '状态码。0为成功,其他状态码为异常。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Message' => [ - 'description' => '附加信息。取值说明如下:请求正常,返回OK。请求异常,返回具体异常错误码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '23ACE7E2-2302-42E3-98F8-E5E697FD86C3', - ], - ], + [ + 'apiName' => 'CreateUsageDetailDataExportTask', + 'description' => '创建用量明细数据导出任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:CreateUsageDetailDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'The quota is exceeded.', + [ + 'apiName' => 'DescribeCdnSMCertificateDetail', + 'description' => '查询国密证书详情', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnSMCertificateDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'You do not have access to this operation.', + ], + [ + 'apiName' => 'DescribeUserCdnStatus', + 'description' => '获取用户状态信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeUserCdnStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"23ACE7E2-2302-42E3-98F8-E5E697FD86C3\\"\\n}","type":"json"}]', - 'title' => '设置海量封禁IP', - 'description' => '> '."\n" - .'>- 该接口需要<props="china"><ph>[购买海量IP封禁服务](https://common-buy.aliyun.com/?commodityCode=dcdn_servicepackage_public_cn)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>后使用。'."\n" - .'> - 适用于封禁大批量IP,接口支持单次最大1000个IP/IP段。', - ], - 'DescribeCdnFullDomainsBlockIPConfig' => [ - 'summary' => '调用DescribeCdnFullDomainsBlockIPConfig查询全量封禁的相关配置。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDomainAverageResponseTime', + 'description' => '获取平均响应时间数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainAverageResponseTime', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ['validationType' => 'conditional', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeDomainSrcHttpCodeData', + 'description' => '查询回源HTTP状态码', 'operationType' => 'none', - 'abilityTreeCode' => '228031', - 'abilityTreeNodes' => [ - 'FEATUREcdnHPRG9U', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainSrcHttpCodeData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'IPList', - 'in' => 'formData', - 'schema' => [ - 'description' => '查询IP/IP段列表,多个IP请用半角逗号(,)分隔,最大支持50个。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XXX.XXX.1,2.XXX.XXX.2', + [ + 'apiName' => 'DescribeDomainBpsData', + 'description' => '查询带宽', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DescribeDomainBpsData', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '95994621-8382-464B-8762-C708E73568D1', - ], - 'Message' => [ - 'description' => '结果信息,返回正常是为OSS链接,异常是为错误信息。', - 'type' => 'string', - 'example' => 'http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx', - ], - 'Code' => [ - 'description' => '结果信息码。'."\n" - ."\n" - .'Code不为0可能有以下三种情况:'."\n" - ."\n" - .'+ IP格式不正确。'."\n" - .'+ IP个数超出限制。'."\n" - .'+ 其他。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], + [ + 'apiName' => 'DeleteUserUsageDataExportTask', + 'description' => '删除用量数据导出任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'cdn:DeleteUserUsageDataExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is invalid.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'The quota is exceeded.', + [ + 'apiName' => 'DescribePreloadDetailById', + 'description' => '查询预热任务详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribePreloadDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'internal server error', + ], + [ + 'apiName' => 'DescribeCdnCertificateList', + 'description' => '查询证书列表-按域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'cdn:DescribeCdnCertificateList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'StopCdnDomain', + 'description' => '停用域名', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'cdn:StopCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CDN', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95994621-8382-464B-8762-C708E73568D1\\",\\n \\"Message\\": \\"http://xxxx-api.oss-cn-hangzhou.aliyuncs.com/blocklist%2Fxxxxxxxxxxxx.txt?Expires=1682663947&OSSAccessKeyId=xxxxxxxxxx&Signature=xxxxxx\\",\\n \\"Code\\": 0\\n}","type":"json"}]', - 'title' => '查询全量封禁配置', - 'description' => '>'."\n" - .'>- 该接口需要<props="china"><ph>[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)</ph></props><props="intl"><ph>[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)</ph></props>申请后使用。'."\n" - .'> - 对用户给定的IP/IP段,给出该用户当前时间生效的IP和对应过期时间;用户不指定IP时,返回当前全量生效的IP和对应过期时间。'."\n" - .'> - 结果写入OSS,以OSS链接返回 ,OSS文件中内容格式为ip-对应过期时间,时间格式为YYYY-MM-DD hh:mm:ss 。'."\n" - .'> - OSS文件分享链接有效期为3天。', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'cdn.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'cdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'cdn.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainName}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/*'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:*'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#DomainNames}'], + ['validationType' => 'always', 'resourceType' => 'RealTimeLogDelivery', 'arn' => 'acs:cdn:*:{#accountId}:realtimelogdelivery/{#Domain}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn::{#accountId}:domain/{#DomainName}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#domainId}'], + ['validationType' => 'always', 'resourceType' => 'RealTimeLogDelivery', 'arn' => 'acs:cdn::{#accountId}:realtimelogdelivery/*'], + ['validationType' => 'always', 'resourceType' => 'DeliverTask', 'arn' => 'acs:cdn:*:{#accountId}:delivertask/{#DeliverId}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:cdn:*:{#accountId}:domain/{#Domain}'], ], ], ]; |
