From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/zh_cn/cdn/2018-05-10/api-docs.php | 25954 +++++++++++++++++++++++++++++++ 1 file changed, 25954 insertions(+) create mode 100644 data/zh_cn/cdn/2018-05-10/api-docs.php (limited to 'data/zh_cn/cdn') diff --git a/data/zh_cn/cdn/2018-05-10/api-docs.php b/data/zh_cn/cdn/2018-05-10/api-docs.php new file mode 100644 index 0000000..f9cf900 --- /dev/null +++ b/data/zh_cn/cdn/2018-05-10/api-docs.php @@ -0,0 +1,25954 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'Cdn', + 'version' => '2018-05-10', + ], + 'directories' => [ + [ + 'id' => 159131, + 'title' => '域名管理', + 'type' => 'directory', + 'children' => [ + [ + 'id' => 159132, + 'title' => '添加/删除域名', + 'type' => 'directory', + 'children' => [ + 'AddCdnDomain', + 'BatchAddCdnDomain', + 'DeleteCdnDomain', + 'DescribeCdnDeletedDomains', + ], + ], + [ + 'id' => 159137, + 'title' => '域名归属校验', + 'type' => 'directory', + 'children' => [ + 'VerifyDomainOwner', + 'DescribeVerifyContent', + 'DescribeDomainVerifyData', + ], + ], + [ + 'id' => 159140, + 'title' => '停用/启用加速域名', + 'type' => 'directory', + 'children' => [ + 'StartCdnDomain', + 'BatchStartCdnDomain', + 'StopCdnDomain', + 'BatchStopCdnDomain', + ], + ], + [ + 'id' => 159145, + 'title' => '域名配置', + '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', + ], + ], + [ + 'id' => 159163, + 'title' => '安全配置', + 'type' => 'directory', + 'children' => [ + 'SetWaitingRoomConfig', + 'DescribeCdnUserConfigs', + 'DescribeCdnWafDomain', + 'DescribeBlockedRegions', + ], + ], + ], + ], + [ + 'id' => 159185, + 'title' => '刷新预热', + 'type' => 'directory', + 'children' => [ + 'RefreshObjectCacheByCacheTag', + 'DescribeRefreshQuota', + 'PushObjectCache', + 'RefreshObjectCaches', + 'DescribeRefreshTasks', + 'DescribeRefreshTaskById', + 'DescribePreloadDetailById', + 'DescribeCdnUserQuota', + ], + ], + [ + 'id' => 159074, + 'title' => '监控查询', + 'type' => 'directory', + 'children' => [ + [ + 'id' => 159075, + 'title' => '资源监控', + 'type' => 'directory', + 'children' => [ + [ + 'id' => 171915, + 'title' => '访问数据', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainPathData', + 'DescribeDomainQpsData', + 'DescribeDomainQpsDataByLayer', + 'DescribeDomainBpsData', + 'DescribeDomainBpsDataByLayer', + 'DescribeDomainBpsDataByTimeStamp', + 'DescribeDomainTrafficData', + 'DescribeDomainHttpCodeData', + 'DescribeDomainHttpCodeDataByLayer', + 'DescribeDomainHitRateData', + 'DescribeDomainReqHitRateData', + 'DescribeDomainsUsageByDay', + 'DescribeDomainDetailDataByLayer', + 'DescribeRangeDataByLocateAndIspService', + ], + ], + [ + 'id' => 171916, + 'title' => '回源数据', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainSrcBpsData', + 'DescribeDomainSrcHttpCodeData', + 'DescribeDomainSrcTrafficData', + 'DescribeDomainSrcQpsData', + ], + ], + ], + ], + [ + 'id' => 159094, + 'title' => '实时监控', + 'type' => 'directory', + 'children' => [ + [ + 'id' => 171917, + 'title' => '访问数据', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainRealTimeTrafficData', + 'DescribeDomainRealTimeBpsData', + 'DescribeDomainRealTimeHttpCodeData', + 'DescribeDomainRealTimeQpsData', + 'DescribeDomainRealTimeReqHitRateData', + 'DescribeDomainRealTimeByteHitRateData', + ], + ], + [ + 'id' => 171918, + 'title' => '回源数据', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainRealTimeSrcBpsData', + 'DescribeDomainRealTimeSrcHttpCodeData', + 'DescribeDomainRealTimeSrcTrafficData', + ], + ], + ], + ], + [ + 'id' => 159128, + 'title' => '边缘脚本监控', + 'type' => 'directory', + 'children' => [ + 'DescribeEsExecuteData', + 'DescribeEsExceptionData', + ], + ], + ], + ], + [ + 'id' => 159116, + 'title' => '用量查询', + 'type' => 'directory', + 'children' => [ + 'DescribeCdnUserBillHistory', + 'DescribeCdnUserBillType', + 'DescribeCdnUserBillPrediction', + 'CreateUserUsageDataExportTask', + 'DescribeUserUsageDataExportTask', + 'DeleteUserUsageDataExportTask', + 'CreateUsageDetailDataExportTask', + 'DescribeUserUsageDetailDataExportTask', + 'DeleteUsageDetailDataExportTask', + 'DescribeDomainMax95BpsData', + 'DescribeDomainUsageData', + 'DescribeCdnUserResourcePackage', + ], + ], + [ + 'id' => 159168, + 'title' => '日志管理', + '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', + ], + ], + ], + ], + [ + 'id' => 159191, + 'title' => '服务管理', + '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' => 159209, + 'title' => '标签管理', + 'type' => 'directory', + 'children' => [ + 'TagResources', + 'DescribeTagResources', + 'DescribeUserTags', + 'UntagResources', + 'ListTagResources', + ], + ], + [ + 'id' => 159214, + 'title' => '运营报表', + 'type' => 'directory', + 'children' => [ + 'CreateCdnSubTask', + 'DescribeCdnSubList', + 'UpdateCdnSubTask', + 'DeleteCdnSubTask', + 'DescribeCdnReport', + 'DescribeCdnReportList', + 'CreateCdnDeliverTask', + 'DescribeCdnDeliverList', + 'UpdateCdnDeliverTask', + 'DeleteCdnDeliverTask', + ], + ], + [ + 'id' => 169776, + 'title' => '辅助工具', + 'type' => 'directory', + 'children' => [ + 'DescribeIpInfo', + 'DescribeStagingIp', + 'DescribeL2VipsByDomain', + 'DescribeUserVipsByDomain', + 'DescribeIpStatus', + 'AddFCTrigger', + 'UpdateFCTrigger', + 'DescribeFCTrigger', + 'DeleteFCTrigger', + 'ListFCTrigger', + ], + ], + [ + 'id' => 159234, + 'title' => '安全信息查询', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainCcActivityLog', + ], + ], + [ + 'id' => 170411, + 'title' => '旧版已下线', + 'type' => 'directory', + 'children' => [ + [ + 'id' => 159104, + 'title' => '统计分析', + 'type' => 'directory', + 'children' => [ + 'DescribeDomainPvData', + 'DescribeDomainUvData', + 'DescribeDomainTopUrlVisit', + 'DescribeDomainTopClientIpVisit', + 'DescribeDomainTopReferVisit', + 'DescribeDomainSrcTopUrlVisit', + 'DescribeTopDomainsByFlow', + 'DescribeDomainRegionData', + 'DescribeDomainISPData', + 'DescribeDomainAverageResponseTime', + ], + ], + 'DescribeDomainRealTimeDetailData', + 'DescribeDomainMultiUsageData', + 'DescribeUserConfigs', + 'SetReqHeaderConfig', + ], + ], + [ + 'id' => 182313, + 'title' => '其他', + 'type' => 'directory', + 'children' => [ + 'ModifyCdnService', + 'DescribeUserCdnStatus', + 'DescribeCdnTypes', + 'ModifyCdnDomainOwner', + 'DescribeCdnConditionIPBInfo', + 'DescribeCdnSecFuncInfo', + 'CheckCdnDomainExist', + 'CheckCdnDomainICP', + 'BatchDescribeCdnIpInfo', + 'DescribeCdnFullDomainsBlockIPHistory', + 'SetCdnFullDomainsBlockIP', + 'DescribeCdnFullDomainsBlockIPConfig', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AddCdnDomain' => [ + 'summary' => '调用AddCdnDomain添加加速域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '111676', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CdnType', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名的业务类型。取值:'."\n" + ."\n" + .'- **web**:图片小文件。'."\n" + .'- **download**:大文件下载。'."\n" + .'- **video**:视音频点播。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'download' => '大文件下载', + 'web' => '图片小文件', + 'video' => '音视频点播', + ], + 'example' => 'web', + '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', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + '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" + .']', + ], + ], + [ + 'name' => 'CheckUrl', + 'in' => 'query', + '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', + ], + ], + [ + 'name' => 'TopLevelDomain', + 'in' => 'query', + 'schema' => [ + 'description' => '顶级接入域。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签信息列表。最大可填入20个标签信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'env', + ], + 'Value' => [ + 'description' => '标签值。', + 'type' => 'string', + 'required' => false, + 'example' => 'value', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + ], + ], + ], + ], + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AccountException', + 'errorMessage' => 'Account exception. Please open ticket to make an appeal.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 15C66C7B-671A-4297-9187-2C4477247A74\\n","errorExample":""}]', + 'title' => '添加域名', + 'description' => '- 添加域名之前,您需要先开通CDN服务。具体操作,请参见[开通CDN服务](~~27272~~)。'."\n" + .'- 加速域名必须已成功备案。'."\n" + .'- 每次只能添加一个加速域名,每个用户最多可以添加50个域名。'."\n" + .'- 源站内容如果不在阿里云平台上,需进行审核,审核工作会在下一个工作日前完成。'."\n" + .'- 单个用户的调用频率:30次/秒。'."\n" + ."\n" + .'## 注意事项'."\n" + .'- 通过接口添加了域名之后,将会有3~5分钟的域名生效时间,在这段时间内请不要添加任何配置,待域名状态处于online以后再进行下一步的配置。', + 'requestParamsDescription' => 'Sources参数的各字段含义如下表所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。取值:
ipaddr:IP源站。
domain:域名源站。
oss:OSS Bucket为源站。
fc_domain:函数计算为源站。 |'."\n" + .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" + .'| port| Integer| 否 | 端口。
您可以指定443或80端口,也可以自定义端口,默认值为80端口。443端口支持HTTPS协议回源。 |'."\n" + .'| priority | String | 否 | 源站地址对应的优先级。
支持20和30,默认值为20。20是主源,30是备源。|'."\n" + .'| weight | String | 否 | 回源权重,取值范围为100以内,默认值为10。|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BatchAddCdnDomain' => [ + 'summary' => '调用BatchAddCdnDomain可以实现批量添加加速域名,一次最多可以添加50个加速域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '111681', + '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', + ], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + '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**', + ], + ], + [ + '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" + .']', + ], + ], + [ + 'name' => 'CheckUrl', + 'in' => 'query', + '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', + ], + ], + [ + 'name' => 'TopLevelDomain', + 'in' => 'query', + 'schema' => [ + 'description' => '顶级接入域。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t15C66C7B-671A-4297-9187-2C4477247A74\\r\\n","errorExample":""}]', + 'title' => '批量添加域名', + 'description' => '- 添加加速域名之前,必须先开通CDN服务。具体操作,请参见[开通CDN服务](~~27272~~)。'."\n" + .'- 如果加速区域选择的是仅中国内地或者全球,则加速域名必须已完成备案。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持50个域名查询。'."\n" + .'- 其他配置相关的详细说明,具体请参见[添加加速域名](~~122181~~)。'."\n" + .'- 单用户调用频率:30次/秒。', + 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。
ipaddr:IP源站。
domain:域名源站。
oss:OSS Bucket为源站。
fc_domain:函数计算源站。 |'."\n" + .'| content | String | 是 | 回源地址,可以是IP或域名。 |'."\n" + .'| port| Integer| 否 | 端口,可以指定443、80(默认值),也可以自定义端口。443是HTTPS协议回源。 |'."\n" + .'| priority | String | 否 | 源站地址对应的优先级,支持20(默认值)和30。20是主源,30是备源。|'."\n" + .'| weight | String | 否 | 回源权重,100以内,默认值为10。|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteCdnDomain' => [ + 'summary' => '调用DeleteCdnDomain删除已添加的加速域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111702', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '要删除的CDN的域名,仅支持删除单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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.', + ], + [ + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'You do not have access to this operation.', + ], + ], + ], + '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":"\\t\\r\\n 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\r\\n","errorExample":""}]', + 'title' => '删除域名', + 'description' => '- 删除域名前建议您前往域名解析服务商处恢复域名A记录,以免删除域名后导致域名不可访问。'."\n" + .'- DeleteCdnDomain接口调用成功后将删除本条加速域名的全部相关记录,如果您仅需要暂停该加速域名的使用,请调用StopCdnDomain接口。'."\n" + .'- 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDeletedDomains' => [ + 'summary' => '调用DescribeCdnDeletedDomains查询您名下已删除的域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111723', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + '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', + ], + 'Domains' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'PageData' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n1\\n16\\n5\\nAA75AADB-5E25-4970-B480-EAA1F5658483\\n\\n \\n example.com\\n 2015-10-28T11:05:52Z\\n \\n \\n example.org\\n 2015-10-28T11:05:50Z\\n \\n \\n example.net\\n 2015-10-27T06:26:34Z\\n \\n \\n example.edu\\n 2015-10-23T09:23:29Z\\n \\n \\n aliyundoc.com\\n 2015-10-23T09:02:11Z\\n \\n\\n","errorExample":""}]', + 'title' => '查询已删除域名', + 'description' => '> 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'VerifyDomainOwner' => [ + 'summary' => '调用VerifyDomainOwner对域名归属权进行校验。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111923', + 'abilityTreeNodes' => [ + 'FEATUREcdnRLQ471', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '只支持单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'VerifyType', + 'in' => 'query', + 'schema' => [ + 'description' => '校验方式,取值:'."\n" + ."\n" + .'- **dnsCheck**:DNS验证。'."\n" + .'- **fileCheck**:文件验证。', + 'type' => 'string', + 'required' => true, + 'example' => 'dnsCheck', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '校验内容。'."\n" + ."\n" + .'>调用成功不返回该参数,调用失败返回校验内容。', + 'type' => 'string', + 'example' => 'verify_dffeb6610035dcb77b413a59c32c****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32c****\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"\\nverify_dffeb6610035dcb77b413a59c32c****\\n34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\n","errorExample":""}]', + 'title' => '校验域名归属权', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeVerifyContent' => [ + 'summary' => '调用DescribeVerifyContent查询归属校验内容。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111847', + 'abilityTreeNodes' => [ + 'FEATUREcdnRLQ471', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '只支持单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '校验内容。', + 'type' => 'string', + 'example' => 'verify_dffeb6610035dcb77b413a59c32cd91f', + ], + 'RequestId' => [ + 'description' => '该条任务请求ID。', + 'type' => 'string', + 'example' => '34AB41F1-04A5-496F-8C8D-634BDBE6A9FB', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32cd91f\\",\\n \\"RequestId\\": \\"34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\"\\n}","errorExample":""},{"type":"xml","example":"\\nverify_dffeb6610035dcb77b413a59c32cd91f\\n34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\n","errorExample":""}]', + 'title' => '查询校验归属权内容', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainVerifyData' => [ + 'summary' => '调用DescribeDomainVerifyData,根据加速域名是否开启全球资源计划,返回对应的校验内容。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178430', + 'abilityTreeNodes' => [ + 'FEATUREcdnRLQ471', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持查询单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'www.yourdomain.com', + ], + ], + [ + 'name' => 'GlobalResourcePlan', + 'in' => 'query', + 'schema' => [ + 'description' => '是否开启全球资源计划。'."\n" + .'支持:'."\n" + .'- **on**(开启)'."\n" + .'- **off**(不开启)', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'off' => 'off', + 'on' => 'on', + ], + 'example' => 'off', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111916', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持启用单个。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '启用域名', + 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + '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.', + ], + [ + 'errorCode' => 'IcpBlack', + 'errorMessage' => 'The domain is on the ICP blacklist.', + ], + [ + 'errorCode' => 'IspBlack', + 'errorMessage' => 'The domain is on the ISP blacklist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}"},{"type":"xml","example":"\\r\\n\\t0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '批量启用域名', + 'description' => '- 如果域名处于非法状态或域名对应账户欠费,您将无法正常调用该接口启用加速域名。'."\n" + .'- 单用户调用频率:30次/秒。'."\n" + .'- 单次配置的域名数量不超过50个。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StopCdnDomain' => [ + 'summary' => '调用StopCdnDomain停用某个加速域名,将DomainStatus变更为Offline。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111917', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持停用单个。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidDomain.BelongToConfigGroup', + 'errorMessage' => 'This Domain activated in configuration group and should modify by config group.', + ], + ], + ], + '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":"\\r\\n\\t324AEFFF-308C-4DA7-8CD3-01B277B98F28\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '停用域名', + 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" + .'- 单用户调用频率:40次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BatchStopCdnDomain' => [ + 'summary' => '调用BatchStopCdnDomain批量停用加速域名,将DomainStatus变更为Offline。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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":"\\r\\n\\t324AEFFF-308C-4DA7-8CD3-01B277B98F28\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '批量停用域名', + 'description' => '- 停用加速域名后,加速域名的配置信息仍然会保留,但是阿里云CDN将停止为该域名提供加速服务,且该域名会被解析到无效地址“offline.***.com”,无法被继续访问。'."\n" + .'- 如果您暂时不需要对某域名进行加速,推荐您使用StopDomain接口,暂停域名加速效果。'."\n" + .'- 单用户调用频率:30次/秒。'."\n" + .'- 单次配置的域名数量不超过50个。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserDomains' => [ + 'summary' => '调用DescribeUserDomains查询用户名下所有的域名与状态,支持域名模糊匹配过滤和域名状态过滤。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + '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' => '标签列表。列表元素最大数量: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' => '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n BDA62CE4-3477-439A-B52E-D2D7C829D7C1\\n 1\\n 20\\n 2\\n \\n on\\n normal\\n 2015-10-28T11:05:52Z\\n example.com\\n 11223344\\n 2015-10-28T09:32:51Z\\n filing description\\n domestic\\n abcd1234abcd1234\\n example.com.w.alikunlun.net\\n configure_failed\\n download\\n \\n oss\\n 15\\n 20\\n 80\\n ***.oss-cn-hangzhou.aliyuncs.com\\n \\n \\n","errorExample":""}]', + 'title' => '查询用户域名', + 'description' => '- 单用户调用频率:100次/秒。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持50个域名查询。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + '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' => [ + 'RequestId' => [ + 'description' => '请求ID', + 'type' => 'string', + 'example' => '06D29681-B7CD-4034-A8CC-28AFFA213539', + ], + 'CnameDatas' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Data' => [ + 'description' => 'Cname检测结果数组。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'DomainNameOverLimit', + 'errorMessage' => 'A maximum of 30 domains are supported for each request.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvaildParameter', + 'errorMessage' => 'The parameter you provided is invalid.', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111802', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Sources', + 'in' => 'query', + 'schema' => [ + 'description' => '源站,多个用半角逗号(,)分隔,不支持模糊匹配。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + '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":"\\n example.com,aliyundoc.com\\n B0F074E5-A1AC-4B32-8EA2-6F450410D1E0\\n \\n example.com\\n \\n online\\n 2017-03-31T04:49:00+08:00\\n 2016-07-12T11:53:19+08:00\\n ***.alikunlun.com\\n web\\n example.org\\n \\n example.org\\n \\n","errorExample":""}]', + 'title' => '查询域名-按源站', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserDomainsByFunc' => [ + 'summary' => '调用DescribeCdnUserDomainsByFunc查询用户名下配置了指定功能的所有的域名及其状态。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111750', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + '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', + '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' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"1\\n16\\n5\\nAA75AADB-5E25-4970-B480-EAA1F5658483\\n\\n \\n download\\n configure_failed\\n example.com\\n 2015-10-28T11:05:52Z\\n 2015-10-28T09:32:51Z\\n audit failed\\n rg-xxxxx\\n \\n \\n ipaddr\\n 1.1.1.1\\n 20\\n 80\\n 10\\n \\n \\n \\n \\n web\\n configure_failed\\n example.org\\n 2015-10-28T11:05:50Z\\n 2015-10-28T09:31:59Z\\n rg-xxxxx\\n \\n \\n example.edu.w.alikunlun.com\\n video\\n online\\n example.edu\\n 2015-10-23T09:02:11Z\\n 2015-10-23T09:01:57Z\\n rg-xxxxx\\n \\n","errorExample":""}]', + 'title' => '查询域名-按功能', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDomainDetail' => [ + 'summary' => '调用DescribeCdnDomainDetail查询指定加速域名的基本配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111728', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名信息,仅支持单个查询。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '直播域名', + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n\\n web\\n example.com.w.kunlunle.com\\n example.com\\n online\\n 2015-06-25T03:30:50Z\\n 2015-06-25T03:30:53Z\\n example.com.w.kunlunle.com\\n domain\\n abcd1234abcd1234\\n \\n \\n online\\n 80\\n domain\\n example.com\\n 20\\n 10\\n \\n \\n\\n18CF38AA-1275-451D-A12B-4EC0BF1C5E30\\n","errorExample":""}]', + 'title' => '查询域名详情', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDomainConfigs' => [ + 'summary' => '调用DescribeCdnDomainConfigs获取加速域名的配置信息,一次可查询多个功能配置信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111727', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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~~)。', + 'type' => 'string', + 'required' => false, + 'example' => '6295', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid%s.ValueNotSupported', + 'errorMessage' => 'FunctionName [%s] is not supported.', + ], + ], + ], + '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":"\\n C80705BF-0F76-41FA-BAD1-5B59296A4E59\\n \\n success\\n 222728944812032\\n 6295\\n aliauth\\n \\n auth_type\\n req_auth\\n \\n \\n","errorExample":""}]', + 'title' => '查询域名配置', + 'description' => '> 单用户调用频率:100次/秒。', + '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" + .'```', + 'extraInfo' => ' ', + ], + '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" + .'- 一次最多传50个域名。'."\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' => [ + 'DomainConfigModel' => [ + 'description' => '域名配置清单。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n04F0F334-1335-436C-A1D7-6C044FE73368\\n\\n www.example.com\\n 1234567\\n set_resp_header\\n\\n","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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111682', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainNames', + 'in' => 'query', + 'schema' => [ + 'description' => '需要删除配置的加速域名,多个用半角逗号(,)分隔,注意以下配置限制:'."\n" + ."\n" + .'- 一次最多传50个域名。'."\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' => [ + 200 => [ + 'schema' => [ + '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.', + ], + [ + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '批量删除域名配置', + 'description' => '- 单次配置的域名数量不超过50个。'."\n" + .'- 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'BatchUpdateCdnDomain' => [ + 'summary' => '调用BatchUpdateCdnDomain批量更新加速域名基本信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111688', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)隔开。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com,example.org', + ], + ], + [ + 'name' => 'Sources', + '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"}]', + ], + ], + [ + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + ], + ], + ], + ], + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'DomainInProtectedMode', + 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"\\t\\r\\n 15C66C7B-671A-4297-9187-2C4477247A74\\r\\n\\t","errorExample":""}]', + 'title' => '批量更新域名', + 'description' => '- 单用户调用频率:30次/秒。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持更新50个域名。', + 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。
ipaddr:IP源站。
domain:域名源站。
oss:OSS Bucket为源站。
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' => ' ', + ], + 'DeleteSpecificConfig' => [ + 'summary' => '调用DeleteSpecificConfig删除域名的指定配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111710', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持单个删除。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'ConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '功能配置ID,多个用半角逗号(,)分隔。ConfigId查询和使用,请参见[ConfigId使用说明](~~388994~~)。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2317', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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.', + ], + [ + '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', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"\\r\\n\\t04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '删除域名的指定配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyCdnDomainSchdmByProperty' => [ + 'summary' => '调用ModifyCdnDomainSchdmByProperty通过配置组修改域名的加速区域。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111870', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + '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"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', + ], + ], + ], + ], + ], + '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":"\\r\\n\\t15C66C7B-671A-4297-9187-2C4477247A74\\r\\n","errorExample":""}]', + 'title' => '修改域名的加速区域', + 'description' => '> - 单用户调用频率:100次/秒。'."\n" + .'> - 域名业务类型是直播的情况下,修改域名加速区域可能会引发业务不可用,因此直播域名不允许通过该接口来修改加速区域。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyCdnDomain' => [ + 'summary' => '调用ModifyCdnDomain修改加速域名基础信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111869', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持修改单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => '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' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmyuji4b6r4**', + ], + ], + [ + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\r\\n","errorExample":""}]', + 'title' => '修改域名基础信息', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => 'Sources各字段含义如下所示。'."\n" + ."\n" + .'| 参数 | 类型 | 是否必选 | 描述 |'."\n" + .'|------------|--------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| type | String | 是 | 源站类型。
ipaddr:IP源站。
domain:域名源站。
oss:OSS Bucket为源站。
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' => ' ', + ], + 'DescribeCdnDomainStagingConfig' => [ + 'summary' => '调用DescribeCdnDomainStagingConfig查询模拟环境配置信息,一次可查询多个功能配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111730', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持单个查询。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'FunctionNames', + 'in' => 'query', + 'schema' => [ + 'description' => '功能名称列表,多个用半角逗号(,)分隔,可配置功能请参见[功能列表](~~388460~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'aliauth', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + 'FunctionArgs' => [ + 'description' => '各个功能说明。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ArgName' => [ + 'description' => '配置名称。', + 'type' => 'string', + 'example' => 'auth_type', + ], + 'ArgValue' => [ + 'description' => '配置值。', + 'type' => 'string', + 'example' => 'req_auth', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Invalid%s.ValueNotSupported', + 'errorMessage' => 'FunctionName [%s] is not supported.', + ], + ], + ], + '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":"\\n example.com\\n C80705BF-0F76-41FA-BAD1-5B59296A4E59\\n \\n success\\n 222728944812032\\n 6xx5\\n aliauth\\n \\n auth_type\\n req_auth\\n \\n \\n","errorExample":""}]', + 'title' => '查询模拟环境配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '### ParentId配置示例'."\n" + ."\n" + .'**parentId**为`-1`:表示删除该配置里面已有的规则条件。'."\n" + ."\n" + .'```json'."\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" + ."\n" + .'不使用**parentId**的情况下,配置示例如下:'."\n" + ."\n" + .'使用函数**origin\\_request\\_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + ."\n" + .'```json'."\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" + ."\n" + .'使用**parentId**的情况下,配置示例如下:'."\n" + ."\n" + .'使用函数**origin\\_request\\_header**添加回源HTTP请求头的时候引用了**configid=222728944812032**的规则条件,请求参数如下:'."\n" + ."\n" + .'```json'."\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' => ' ', + ], + 'SetCdnDomainStagingConfig' => [ + 'summary' => '调用SetCdnDomainStagingConfig设置模拟环境下的加速域名配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111889', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n \\n 1234567\\n www.example.com\\n set_resp_header\\n \\n","errorExample":""}]', + 'title' => '设置模拟环境配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => "\n" + .'### edge_function边缘函数功能说明'."\n" + ."\n" + .'所有参数值均按照字符串类型处理。'."\n" + ."\n" + .'| 功能名称 | 参数 |'."\n" + .'| ----------------------- | ------------------------------------------------------------ |'."\n" + .'| edge_function:边缘函数 | 必填参数:
**rule**:DSL规则;
**pri**:优先级;
**enable**:本条规则是否生效,取值范围on/off;
可选参数:
**name**:规则名称。仅支持英文字母和下划线;
**pos**:规则执行位置;
**brk**:命中本条规则后,当前执行位置剩余规则均跳过;
**option**:option管控;
**grammar**:grammar管控,可选值:空、es2、js;
**jsmode**:js域名白单管控,可选值:redirect、bypass; |', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RollbackStagingConfig' => [ + 'summary' => '调用RollbackStagingConfig可以起到回滚模拟环境配置的作用,配置回滚后的模拟环境将被还原为初始状态,模拟环境下的所有配置都将被清空。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111884', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'StagingConfig.NotFound', + 'errorMessage' => 'The Staging configuration does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '回滚模拟环境配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'PublishStagingConfigToProduction' => [ + 'summary' => '调用PublishStagingConfigToProduction将模拟环境配置发布为生产环境配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111879', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'StagingConfig.Failed', + 'errorMessage' => 'Rules in staging are being configured, please try again later.', + ], + ], + 404 => [ + [ + 'errorCode' => 'StagingConfig.NotFound', + 'errorMessage' => 'The Staging configuration does not exist.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '发布模拟环境配置到生产环境', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteSpecificStagingConfig' => [ + 'summary' => '调用DeleteSpecificStagingConfig删除模拟环境中的指定配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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.', + ], + [ + '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":"\\r\\n\\t04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '删除模拟环境指定配置', + 'description' => '> 单用户调用频率:20次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SetWaitingRoomConfig' => [ + 'summary' => '调用SetWaitingRoomConfig设置waiting_room功能,只支持全站加速类型域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111915', + 'abilityTreeNodes' => [ + 'FEATUREcdn2GPRJF', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '您的加速域名,仅支持单个设置。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'WaitUri', + 'in' => 'query', + 'schema' => [ + 'description' => '开启waiting_room功能的URI正则字符串。', + 'type' => 'string', + 'required' => true, + 'example' => '.*/aaa/bbb$', + ], + ], + [ + 'name' => 'AllowPct', + 'in' => 'query', + 'schema' => [ + 'description' => '允许回源比例,取值范围:**0**~**100**。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '30', + ], + ], + [ + 'name' => 'MaxTimeWait', + 'in' => 'query', + 'schema' => [ + 'description' => '进入排队后,排队时长,单位:秒。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '30', + ], + ], + [ + 'name' => 'GapTime', + 'in' => 'query', + 'schema' => [ + 'description' => '离开排队后,跳过排队时长,单位:秒。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '20', + ], + ], + [ + 'name' => 'WaitUrl', + 'in' => 'query', + 'schema' => [ + 'description' => '排队等待页面URL。', + 'type' => 'string', + 'required' => true, + 'example' => 'https://example.com/waitingroom.html'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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":"\\r\\n AED00EC1-32A8-4D48-BEB9-BD782AF3C6BD\\r\\n","errorExample":""}]', + 'title' => '配置WaitingRoom', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserConfigs' => [ + 'summary' => '调用DescribeCdnUserConfigs查询安全功能相关的配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111749', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'FunctionName', + 'in' => 'query', + 'schema' => [ + 'description' => '需要查询的配置,支持查询的配置如下:'."\n" + .'- **domain_business_control**:用户配置。'."\n" + .'- **waf**:WAF功能配置。', + 'type' => 'string', + 'required' => true, + 'example' => 'domain_business_control', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidArgValue.Malformed', + 'errorMessage' => 'The specified ArgValue is invalid.', + ], + [ + 'errorCode' => 'InvalidArgName.ValueNotSupported', + 'errorMessage' => '%s', + ], + ], + ], + '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":"\\n 06D29681-B7CD-4034-A8CC-28AFFA213539\\n \\n domain_business_control\\n {\\"dcdn_allow\\":[\\"cc_rule\\",\\"ddos_dispatch\\"]}\\n allow_function\\n \\n","errorExample":""}]', + 'title' => '查询安全功能配置', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnWafDomain' => [ + 'summary' => '调用DescribeCdnWafDomain查询WAF全量域名列表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111755', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + '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', + ], + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => '1234', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n1\\n\\n 1\\n 1\\n example.com\\n 1\\n 1\\n\\nCB1A380B-09F0-41BB-802B-72F8FD6DA2FE\\n","errorExample":""}]', + 'title' => '查询WAF全量域名', + 'description' => '> 单用户调用频率:150次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeBlockedRegions' => [ + 'summary' => '调用DescribeBlockedRegions查询区域封禁支持的国家和地区。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111717', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'description' => '语言。取值:'."\n" + ."\n" + .'- **zh**:简体中文。'."\n" + .'- **en**:英文。'."\n" + .'- **jp**:日文。', + 'type' => 'string', + 'required' => true, + 'example' => 'zh', + 'enum' => [ + 'zh', + 'en', + 'jp', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23', + ], + 'InfoList' => [ + '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' => '阿富汗', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MISS_PARAMETER', + 'errorMessage' => 'MISS_PARAMETER', + ], + [ + 'errorCode' => 'INVALID_PARAMETER', + 'errorMessage' => 'INVALID_PARAMETER', + ], + [ + 'errorCode' => 'FAILED', + 'errorMessage' => 'FAILED', + ], + ], + ], + '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":"\\nBFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\n\\n \\n 亚洲\\n AF\\n 阿富汗\\n \\n\\n","errorExample":""}]', + 'title' => '查询支持封禁的区域', + 'description' => '> 单用户调用频率:50次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RefreshObjectCacheByCacheTag' => [ + 'summary' => '当用户设置了缓存标签功能后,通过调用RefreshObjectCacheByCacheTag指定缓存标签对缓存进行刷新。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '206248', + 'abilityTreeNodes' => [ + 'FEATUREcdnW2530F', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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' => [ + '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' => '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.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E5AD83F-BD7B-462E-8319-2E30E305519A\\",\\n \\"RefreshTaskId\\": \\"17772470184\\"\\n}","type":"json"}]', + 'title' => '根据缓存标签刷新缓存', + ], + 'DescribeRefreshQuota' => [ + 'summary' => '调用DescribeRefreshQuota查询当天URL刷新、目录刷新、预热及封禁的最大限制数量和剩余量。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111830', + 'abilityTreeNodes' => [ + 'FEATUREcdnW2530F', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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":"\\r\\n 42E0554B-80F4-4921-AED6-ACFB22CAAAD0\\r\\n\\t2000\\r\\n 100\\r\\n 1996\\r\\n\\t99\\r\\n\\t500\\r\\n\\t400\\r\\n 300\\r\\n 20\\r\\n 10\\r\\n 200\\r\\n\\t","errorExample":""}]', + 'title' => '查询刷新预热配额', + 'description' => '- 刷新预热类接口包含[RefreshObjectCaches](~~448057~~)刷新接口和[PushObjectCache](~~448058~~)预热接口。'."\n" + .'- 单用户调用频率:20次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'PushObjectCache' => [ + 'summary' => '将源站的内容主动预热到缓存节点上。您首次访问可直接命中缓存,缓解源站压力。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111882', + 'abilityTreeNodes' => [ + 'FEATUREcdnKZKOWX', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ObjectPath', + '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', + ], + ], + [ + 'name' => 'Area', + 'in' => 'query', + 'schema' => [ + '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" + .'>仅对加速区域为中国大陆的域名有效。>', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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.', + ], + ], + 429 => [ + [ + 'errorCode' => 'TooManyRequests', + 'errorMessage' => 'System load fluctuates, please try again later.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PushTaskId\\": \\"9524xxxx\\",\\n \\"RequestId\\": \\"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9524xxxx\\n 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\n","errorExample":""}]', + 'title' => '预热URL', + 'description' => '- 请求方式:支持POST请求,参数用form表单显示。'."\n" + .'- 相关接口:刷新预热类接口包含[RefreshObjectCaches](~~91164~~)刷新接口和[PushObjectCache](~~91161~~)预热接口。'."\n" + .'- URL预热配额(每日):默认情况下,一个账号每日最多可以提交1000条URL预热任务,如果您账号的日带宽峰值大于200 Mbps,可通过[配额管理](~~256513~~)[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111883', + 'abilityTreeNodes' => [ + 'FEATUREcdnW2530F', + 'FEATUREcdnMNEAI4', + 'FEATUREcdnMZ37V7', + ], + ], + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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.', + ], + ], + 429 => [ + [ + 'errorCode' => 'TooManyRequests', + 'errorMessage' => 'Too many requests, please try again later', + ], + ], + ], + '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":"\\n704222904\\nD61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C\\n","errorExample":"704225667AB14769A-A5F2-4CCD-B85B-3368DFF63C0A"}]', + '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,您可以参考[配额管理](~~256513~~)[提交工单](https://account.alibabacloud.com/login/login.htm?oauth_callback=https%3A//ticket-intl.console.aliyun.com/%23/ticket/createIndex)申请提升每日配额,阿里云将根据您业务的实际需求进行评估和配置。'."\n" + .'- 默认情况下,一个账号每日最多可以提交20个正则刷新、100个去参数刷新,如果您的阿里云账号的日带宽峰值大于10 Gbps,您可以通过[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)[提交工单](https://workorder-intl.console.aliyun.com/#/ticket/createIndex)来申请提升每日配额。'."\n" + .'- 每次请求最多支持提交1000条URL刷新或者100个目录刷新或者1个正则刷新。'."\n" + .'- 单个域名每分钟最多支持提交10000条URL刷新。', + ], + 'DescribeRefreshTasks' => [ + 'summary' => '调用DescribeRefreshTasks查询刷新、预热状态是否在全网生效。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111832', + 'abilityTreeNodes' => [ + 'FEATUREcdnW2530F', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '按任务ID查询刷新状态。', + 'type' => 'string', + 'required' => false, + 'example' => '1234321', + ], + ], + [ + 'name' => 'ObjectPath', + 'in' => 'query', + 'schema' => [ + 'description' => '按路径查询,准确匹配。', + 'type' => 'string', + 'required' => false, + 'example' => 'http://example.com/1.txt', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '取得第几页,取值范围为:**1**~**100000**。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100000', + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + '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', + ], + ], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名。仅支持单个查询,默认查询所有加速域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + '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', + ], + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '分页大小,默认**20**,最大**100**。取值:**1**~**100**。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '20', + 'default' => '20', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '开始时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2017-12-21T08: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**', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CDNTask' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n \\n 2014-11-27T08:23:22Z\\n http://example.com/1.txt\\n Complete\\n 704225667\\n file\\n 100%\\n \\n \\n 2014-11-27T08:18:38Z\\n http://aliyundoc.com/1.txt\\n Complete\\n 704222904\\n file\\n 100%\\n \\n\\n1\\n10\\n2\\n174F6032-AA26-470D-B90E-36F0EB205BEE","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~~)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeRefreshTaskById' => [ + 'summary' => '调用DescribeRefreshTaskById查询刷新状态和预热状态是否在全网生效。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111831', + 'abilityTreeNodes' => [ + 'FEATUREcdnW2530F', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '待查询的任务ID。'."\n" + ."\n" + .'您可以调用[RefreshObjectCaches](~~91164~~)接口,从其返回值中获取刷新预热的任务ID,并通过任务ID查询源站资源的刷新状态。'."\n" + ."\n" + .'支持同时传入多个任务ID,多个任务ID之间用英文逗号(,)分隔,最多支持同时传入10个任务ID。', + 'type' => 'string', + 'required' => true, + 'example' => '12345678', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '任务列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + '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":"\\nE0C2EF95-B1EC-4C93-855E-2059A7DA2B7B\\n\\n 2020-08-03T08:54:23Z\\n \\n http://example.com/abc.jpg\\n file\\n 100%\\n Complete\\n 12345678\\n\\n\\n 2020-08-03T09:12:44Z\\n \\n http://example.com/bcd.jpg\\n file\\n 99.37%\\n Refreshing\\n 23456789\\n\\n2\\n","errorExample":""}]', + 'title' => '查询刷新预热任务-按ID', + 'description' => '- 支持查询3天内(包含3天)的数据。'."\n" + .'- 单用户调用频率为:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribePreloadDetailById' => [ + 'summary' => '查询任务预热详情,包括任务下所有资源的预热进度。该接口需要申请白名单后才可以使用,带宽大于100Gbps的情况下,可以通过您的商务经理申请白名单。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '165361', + 'abilityTreeNodes' => [ + 'FEATUREcdnKZKOWX', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '按任务ID查询预热任务详情。'."\n" + .'支持单次查询一个任务ID。', + 'type' => 'string', + 'required' => true, + 'example' => '15423123921', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 429 => [ + [ + 'errorCode' => 'TooManyRequests', + 'errorMessage' => 'Too many requests, please try again later', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111751', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"BlockQuota\\": 100,\\n \\"RefreshUrlRemain\\": 2000,\\n \\"DomainQuota\\": 50,\\n \\"BlockRemain\\": 100,\\n \\"PreloadRemain\\": 100,\\n \\"RequestId\\": \\"EF4F084A-2F49-4E1C-9CA0-DC85BCE7F391\\",\\n \\"RefreshUrlQuota\\": 2000,\\n \\"PreloadQuota\\": 500,\\n \\"RefreshDirQuota\\": 100,\\n \\"RefreshDirRemain\\": 500,\\n \\"IgnoreParamsQuota\\": 100,\\n \\"IgnoreParamsRemain\\": 10\\n}","errorExample":"{\\n \\"DomainQuota\\" : 20,\\n \\"RefreshUrlQuota\\" : 1000,\\n \\"RefreshDirQuota\\" : 500,\\n \\"RefreshUrlRemain\\" : 500,\\n \\"RefreshDirRemain\\" : 300,\\n \\"PreloadQuota\\" : 300,\\n \\"PreloadRemain\\" : 100,\\n \\"BlockQuota\\" : 100,\\n \\"BlockRemain\\" : 100,\\n \\"RequestId\\" : \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\"\\n}"},{"type":"xml","example":"\\n 500\\n 2000\\n 50\\n 100\\n EF4F084A-2F49-4E1C-9CA0-DC85BCE7F391\\n 100\\n 2000\\n 100\\n 500\\n 100\\n","errorExample":""}]', + 'title' => '查询用户配额', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainPathData' => [ + 'summary' => '调用DescribeDomainPathData按目录维度获取监控数据,包括流量和访问次数。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111783', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '路径,以正斜线(/)开头,不填表示查询所有路径。如果路径是目录,需要以正斜线(/)结尾。'."\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。', + 'type' => 'string', + 'required' => false, + 'example' => '2016-10-21T04:00:00Z', + ], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名。'."\n" + .'>仅支持单个域名查询。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => '路径带宽数据列表。', + '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', + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + '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":"\\n300\\n2017-09-30T17:00:00Z\\n1\\n20\\n\\n \\n 10\\n /path/\\n \\n 346\\n \\n \\n 12\\n /path/\\n \\n 400\\n \\n\\n2017-09-30T16:00:00Z\\n2\\n","errorExample":""}]', + 'title' => '按目录维度获取监控数据', + 'description' => '- 该接口仅支持白名单用户(域名峰值带宽10 Gbps以上)调用,需要[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请,符合条件的情况下将在后台进行配置。'."\n" + .'- 单用户调用频率:6000次/分。'."\n" + .'- 目前仅支持对账号下的指定域名开启目录维度带宽统计,不支持对全部域名开启。'."\n" + .'- 域名下所有文件的平均大小需要大于1 MB。'."\n" + .'- 每个域名的目录数量不超过100个,超过100个目录的情况下,数据的精度将会降低,查询的不准确。'."\n" + .'- 不指定StartTime和EndTime时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" + .'- 最多可获取最近30天的数据。'."\n" + ."\n\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainQpsData' => [ + 'summary' => '调用DescribeDomainQpsData获取5分钟计算粒度加速域名的每秒访问次数QPS,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111786', + 'abilityTreeNodes' => [ + 'FEATUREcdnL8FLP3', + ], + ], + '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。', + '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', + ], + ], + [ + '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~~)接口获得,默认查询所有运营商。', + 'type' => 'string', + 'required' => false, + 'example' => 'unicom', + ], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + 'schema' => [ + 'description' => '地域英文名,通过[DescribeCdnRegionAndIsp](~~91077~~)接口获得,默认查询所有地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'beijing', + ], + ], + ], + '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' => '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' => '每个时间间隔的QPS数据列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n 2019-11-30T05:40:00Z\\n 2019-11-30T05:33:00Z\\n B8333EDB-4595-46E0-AFE9-29BAA290D0E0\\n example.com\\n 300\\n \\n 0\\n 0\\n 0\\n 1\\n 1\\n 0\\n 1\\n 1\\n 1\\n 0\\n 0\\n 2019-11-30T05:40:00Z\\n 1\\n \\n","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小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainQpsDataByLayer' => [ + 'summary' => '调用DescribeDomainQpsDataByLayer查询加速域名的每秒访问次数QPS,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111787', + 'abilityTreeNodes' => [ + 'FEATUREcdnL8FLP3', + ], + ], + '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。', + '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', + ], + ], + [ + '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~~)接口获得,默认查询所有运营商。', + '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' => [ + 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' => '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' => '每个时间间隔的QPS数据列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n 2019-11-30T05:40:00Z\\n 2019-11-30T05:33:00Z\\n BEA5625F-8FCF-48F4-851B-CA63946DA664\\n all\\n example.com\\n 300\\n \\n 0.56\\n 56\\n 12\\n 0.44\\n 44\\n 2015-12-10T21:00:00Z\\n 0.12\\n \\n","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小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainBpsData' => [ + 'summary' => '调用DescribeDomainBpsData查询带宽数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111764', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + '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。', + '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', + ], + ], + [ + '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' => 'beijing', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'BpsDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的网络带宽数据列表。', + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n0AD87822-E8CE-436B-B434-C13F53B5B2D4\\n2020-05-14T10:00:00Z\\n300\\n2020-05-14T09:50:00Z\\n\\n \\n 0\\n 0\\n 83.48266666666667\\n 0\\n 2020-05-14T09:50:00Z\\n 0\\n 83.48266666666667\\n \\n \\n 0\\n 0\\n 83.424\\n 0\\n 2020-05-14T09:55:00Z\\n 0\\n 83.424\\n \\n\\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天|90天|366天|次日一般延迟4小时,不超过24小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainBpsDataByLayer' => [ + 'summary' => '调用DescribeDomainBpsDataByLayer按协议分类获取带宽数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111765', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + [ + '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](~~DescribeCdnRegionAndIsp~~)接口获得,默认查询所有运营商。', + 'type' => 'string', + 'required' => false, + 'example' => 'unicom', + ], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'DataInterval' => [ + 'description' => '每条记录的时间间隔,单位为秒。', + 'type' => 'string', + 'example' => '300', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'C565B910-BC3B-467B-9046-2A48566EA967', + ], + 'BpsDataInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的每秒访问次数Bps数据列表。', + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvaildParameter', + 'errorMessage' => 'The parameter you provided is invalid.', + ], + ], + ], + '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":"\\n C565B910-BC3B-467B-9046-2A48566EA967\\n 300\\n \\n \\n 75.68\\n 2838\\n 2020-05-06T07:10:00Z\\n \\n \\n 99138.85333333333\\n 3717707\\n 2020-05-06T07:15:00Z\\n \\n \\n","errorExample":""}]', + 'title' => '查询带宽-按协议', + 'description' => '- 单用户调用频率:20次/秒。'."\n" + .'- 如果您不指定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天|90天|366天|一般延迟4小时,不超过24小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainBpsDataByTimeStamp' => [ + 'summary' => '调用DescribeDomainBpsDataByTimeStamp查询加速域名的在某个时刻不同运营商和区域的带宽数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111766', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + 'name' => 'IspNames', + 'in' => 'query', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'BpsDataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BpsDataModel' => [ + 'description' => '每个地域、运营商对应的带宽数据列表。', + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n \\r\\n\\t\\t\\r\\n\\t\\t\\tLiaoning\\r\\n\\t\\t\\t880996111\\r\\n\\t\\t\\ttelecom\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tLiaoning\\r\\n\\t\\t\\t52119553\\r\\n\\t\\t\\tunicom\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tGuangxi\\r\\n\\t\\t\\t51295137\\r\\n\\t\\t\\ttelecom\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tGuangxi\\r\\n\\t\\t\\t18673571\\r\\n\\t\\t\\tunicom\\r\\n\\t\\t\\r\\n 2016-08-01T22:00Z\\r\\n\\t7682DE14-3B4D-48D0-9B7C-DD3C8C3E1C78\\r\\n\\texample.com\\r\\n \\r\\n\\r\\n\\r\\n","errorExample":""}]', + 'title' => '查询带宽-按时间戳', + 'description' => '- 获取数据单位:bit/second。'."\n" + .'- 不支持批量域名查询。'."\n" + .'- 数据精确到5分钟粒度。'."\n" + .'- 单用户调用频率:20次/秒。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + ."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟 | 3天 |93天|15分钟|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainTrafficData' => [ + 'summary' => '调用DescribeDomainTrafficData查询加速域名的网络流量监控数据,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111814', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\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', + ], + ], + [ + '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', + ], + ], + [ + '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](~~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' => [ + 200 => [ + 'schema' => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的流量数据列表。单位:Byte。', + 'type' => 'array', + 'items' => [ + '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', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t300\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T20:00:00Z\\r\\n\\t\\t\\t423304182\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t423304182\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T20:05:00Z\\r\\n\\t\\t\\t454680793\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t423304182\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T20:10:00Z\\r\\n\\t\\t\\t501718342\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t423304182\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n\\tB955107D-E658-4E77-B913-E0AC3D31693E\\r\\n\\t2015-12-10T20:00:00Z\\r\\n\\t2015-12-10T21:00:00Z\\r\\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小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainHttpCodeData' => [ + 'summary' => '调用DescribeDomainHttpCodeData查询加速域名5分钟粒度的HTTP返回码总数和占比数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111775', + 'abilityTreeNodes' => [ + 'FEATUREcdn86PAS0', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。'."\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' => '2021-06-29T05:30: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', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + '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' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nBC858082-736F-4A25-867B-E5B67C85ACF7\\n2021-06-29T05:45:00Z\\nexample.com\\n300\\n2021-06-29T05:30:00Z\\n\\n \\n \\n \\n 64.26332288401254\\n 205\\n 200\\n \\n \\n 22.570532915360502\\n 72\\n 403\\n \\n \\n 10.344827586206897\\n 33\\n 499\\n \\n \\n 2.8213166144200628\\n 9\\n 504\\n \\n \\n 2021-06-29T05:30:00Z\\n \\n \\n \\n \\n 66.96969696969697\\n 221\\n 200\\n \\n \\n 18.787878787878785\\n 62\\n 403\\n \\n \\n 12.121212121212121\\n 40\\n 499\\n \\n \\n 2.1212121212121215\\n 7\\n 504\\n \\n \\n 2021-06-29T05:35:00Z\\n \\n \\n \\n \\n 79.6976241900648\\n 369\\n 200\\n \\n \\n 15.118790496760258\\n 70\\n 403\\n \\n \\n 4.535637149028078\\n 21\\n 499\\n \\n \\n 0.21598272138228944\\n 1\\n 502\\n \\n \\n 0.4319654427645789\\n 2\\n 504\\n \\n \\n 2021-06-29T05:40:00Z\\n \\n\\n","errorExample":""}]', + 'title' => '查询HTTP状态码', + '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' => ' ', + ], + 'DescribeDomainHttpCodeDataByLayer' => [ + 'summary' => '调用DescribeDomainHttpCodeDataByLayer按协议分类获取HTTP状态码数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111776', + 'abilityTreeNodes' => [ + 'FEATUREcdn86PAS0', + ], + ], + '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。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-07-05T22: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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '每个时间间隔的HTTPCode分布情况列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n \\n 2015-12-10T21:00:00Z\\n \\n <200>10\\n <206>100\\n \\n 110\\n \\n \\n 2015-12-10T20:35:00Z\\n \\n <200>12\\n <206>120\\n \\n 132\\n \\n\\n300\\nBEA5625F-8FCF-48F4-851B-CA63946DA664\\n","errorExample":""}]', + 'title' => '查询HTTP状态码-按协议', + 'description' => '- 单用户调用频率:20次/秒。'."\n" + .'- 如果您不指定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天|90天|366天|一般延迟4小时,不超过24小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainHitRateData' => [ + 'summary' => '调用DescribeDomainHitRateData查询字节命中率(命中字节百分比)。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111774', + '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' => '获取数据起始时间点。'."\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' => '获取数据结束时间点。'."\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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的字节命中百分占比数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nexample.com\\n300\\n0A521165-99B6-41EF-B166-5B8B8068E1CF\\n2019-12-30T08:10:00Z\\n2019-12-30T08:00:00Z\\n\\n \\n 2019-12-30T08:00:00Z\\n 74.82824427480917\\n 0\\n \\n \\n 2019-12-30T08:05:00Z\\n 62.83283497081019\\n 100\\n \\n\\n\\n","errorExample":""}]', + 'title' => '查询字节命中率', + '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' => ' ', + ], + 'DescribeDomainReqHitRateData' => [ + 'summary' => '调用DescribeDomainReqHitRateData查询请求命中率(命中请求百分比)。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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' => '获取数据起始时间点。'."\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' => '获取数据结束时间点。'."\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' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的请求命中百分占比数据列表。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t300\\r\\n\\t5ADA5190-EE5B-4EF2-BE00-DC441B8D81DD\\r\\n\\t2017-12-21T08:00:00Z\\r\\n\\t2017-12-22T08:00:00Z\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T21:00:00Z\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t50.0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T20:35:00Z\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t50.0\\r\\n\\t\\t\\r\\n\\t\\r\\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天|90天|366天|一般延迟4小时,不超过24小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainsUsageByDay' => [ + 'summary' => '调用DescribeDomainsUsageByDay查询加速域名天粒度的监控统计数据,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111810', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 404 => [ + [ + 'errorCode' => 'InvalidDomain.NotFound', + 'errorMessage' => 'The domain provided does not exist in our records.', + ], + ], + ], + '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":"\\n\\n 0.46869615163699024\\n 2019-12-23 11:45:00\\n 72584.072\\n 306747.76\\n 220090843\\n 1741\\n 2019-12-23 10:55:00\\n 0.9338625414779297\\n\\n\\n \\n 2019-12-23\\n 0.46869615163699024\\n 2019-12-23 11:45:00\\n 72584.072\\n 306747.76\\n 220090843\\n 1741\\n 2019-12-23 10:55:00\\n 0.020150462962962964\\n 0.9338625398107486\\n \\n\\n0DE5531F-A7C2-4788-A35A-38883193B2D8\\n2019-12-23T09:00:00Z\\n2019-12-22T08:00:00Z\\nexample.com\\n86400\\n\\n","errorExample":""}]', + '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' => ' ', + ], + 'DescribeDomainDetailDataByLayer' => [ + 'summary' => '调用DescribeDomainDetailDataByLayer按协议类型获取加速域名的数据明细(域名维度)。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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' => '需要查询的域名。支持批量域名查询,多个域名用半角逗号(,)分隔,一次最多支持30个域名查询。', + 'type' => 'string', + 'required' => true, + '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', + ], + ], + [ + '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', + ], + ], + [ + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664', + ], + 'Data' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '查询的加速域名返回数据。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n 2\\n 0\\n 200:2\\n 0\\n 268.8986666666667\\n 10083\\n 0\\n example.com\\n 0.006666666666666667\\n 0\\n 2020-09-07T03:35:00Z\\n\\nBEA5625F-8FCF-48F4-851B-CA63946DA664\\n","errorExample":""}]', + 'title' => '按协议类型获取详细数据', + 'description' => '单用户调用频率:20次/秒。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|1小时|93天|15分钟|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeRangeDataByLocateAndIspService' => [ + 'summary' => '调用DescribeRangeDataByLocateAndIspService获取按运营商和地域获取带宽数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'JsonResult' => [ + 'description' => 'JSON格式的返回结果。'."\n" + .'从左到右依次为:unix时间,地区,运营商,HTTP状态码分布,响应时长,带宽(单位:bps),响应平均速率,页面浏览量,缓存命中率,请求命中率。'."\n" + .'>地区、运营商维度不支持计算命中率,统一返回 0。>', + '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}}}}', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '16A96B9A-F203-4EC5-8E43-CB92E68F4CD8', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n <1472659200>\\n <天津市>\\n <电信>\\n 9889849.592\\n 5739\\n 0\\n \\n <200>5675\\n <206>5\\n <302>5\\n <304>45\\n <400>1\\n <403>8\\n <404>0\\n <405>0\\n <408>0\\n <412>0\\n <416>0\\n <500>0\\n <501>0\\n <502>0\\n <503>0\\n <504>0\\n <000>0\\n \\n 0\\n \\n <联通/>\\n <移动/>\\n \\n <北京市>\\n <电信>\\n 9889849.592\\n 5739\\n 0\\n \\n <200>5675\\n <206>5\\n <302>5\\n <304>45\\n <400>1\\n <403>8\\n <404>0\\n <405>0\\n <408>0\\n <412>0\\n <416>0\\n <500>0\\n <501>0\\n <502>0\\n <503>0\\n <504>0\\n <000>0\\n \\n 0\\n \\n <联通/>\\n <移动/>\\n \\n \\n <1472659500>\\n <天津市>\\n <电信>\\n 7024681.44\\n 5819\\n 0\\n \\n <200>5716\\n <206>11\\n <302>3\\n <304>72\\n <400>1\\n <403>16\\n <404>0\\n <405>0\\n <408>0\\n <412>0\\n <416>0\\n <500>0\\n <501>0\\n <502>0\\n <503>0\\n <504>0\\n <000>0\\n \\n 0\\n \\n <联通/>\\n <移动/>\\n \\n \\n\\n16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\n","errorExample":""}]', + 'title' => '查询访问数据-按运营商和地域', + 'description' => '- 查询的数据时间粒度为5分钟。'."\n" + .'- 单用户调用频率:20次/秒。'."\n" + ."\n" + .'**支持查询的时间粒度**'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + .'|时间粒度 |单次查询的最大时间跨度 |可查询历史数据时间范围|数据延迟|'."\n" + .'|---------------|--------|---|---|'."\n" + .'|5分钟|1小时|93天|15分钟|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainSrcBpsData' => [ + 'summary' => '调用DescribeDomainSrcBpsData查询加速域名的回源带宽监控数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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' => '获取数据起始时间点。'."\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:30:00Z', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '指定查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', + 'type' => 'string', + 'required' => false, + 'example' => '300', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的回源带宽数据列表。单位:bit/s。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n \\n 2019-12-10T20:00:00Z\\n 31.709333333333337\\n 0\\n \\n \\n 2019-12-10T20:05:00Z\\n 31.709333333333337\\n 0\\n \\n \\n 2019-12-10T20:10:00Z\\n 31.709333333333337\\n 0\\n \\n \\n 2019-12-10T20:15:00Z\\n 31.709333333333337\\n 0\\n \\n \\n 2019-12-10T20:20:00Z\\n 31.709333333333337\\n 0\\n \\n \\n 2019-12-10T20:25:00Z\\n 43.32533333333333\\n 0\\n \\n\\n300\\n28B4EBA6-0AF4-407A-AAC9-6BC5F8D8158B\\n2019-12-10T20:30:00Z\\n2019-12-10T20:00:00Z\\n\\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小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainSrcHttpCodeData' => [ + 'summary' => '调用DescribeDomainSrcHttpCodeData查询加速域名回源HTTP返回码的总数和占比数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111806', + 'abilityTreeNodes' => [ + 'FEATUREcdnUQAZK1', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com,example.org', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据起始时间点。'."\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" + .'日期格式按照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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据。'."\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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\t\\n\\n \\n 2019-11-30T05:35:00Z\\n \\n \\n 1\\n 100\\n 200\\n \\n \\n \\n\\n300\\nA2E05931-13B7-40C3-843F-ECD9423959C1\\n2019-11-30T05:40:00Z\\n2019-11-30T05:33:00Z\\n\\t\\n","errorExample":""}]', + 'title' => '查询回源HTTP状态码', + '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' => ' ', + ], + 'DescribeDomainSrcTrafficData' => [ + 'summary' => '调用DescribeDomainSrcTrafficData查询加速域名的回源流量监控数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111809', + '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' => '获取数据起始时间点。'."\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' => [ + 200 => [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t300\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T21:00:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-12-10T20:35:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n\\tA666D44F-19D6-490E-97CF-1A64AB962C57\\r\\n\\t2015-12-10T20:00:00Z\\r\\n\\t2015-12-10T21:00:00Z\\r\\n\\r\\n\\t\\r\\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小时|', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainSrcQpsData' => [ + 'summary' => '调用DescribeDomainSrcQpsData查询回源QPS数据,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111807', + 'abilityTreeNodes' => [ + 'FEATUREcdnE9OF3Y', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '查询的加速域名,多个域名用半角逗号(,)分隔。'."\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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '查询数据的时间粒度,单位:秒。'."\n" + ."\n" + .'根据单次查询的最大时间跨度不同,该参数支持300(5分钟)、3600(1小时)和86400(1天)取值,具体请参见**使用说明**中支持查询的时间粒度。', + 'type' => 'string', + 'required' => false, + 'example' => '300', + ], + ], + ], + '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' => '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nexample.com\\n300\\n\\n \\n 2019-11-30T05:33:00Z\\n 0\\n \\n \\n 2019-11-30T05:34:00Z\\n 0\\n \\n\\n7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\n2019-11-30T05:33:00Z\\n2019-11-30T05:40:00Z\\n\\n","errorExample":""}]', + 'title' => '查询回源QPS', + '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' => ' ', + ], + 'DescribeDomainRealTimeTrafficData' => [ + 'summary' => '调用DescribeDomainRealTimeTrafficData查询加速域名的流量监控数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2019-12-10T20:00:00Z', + ], + ], + [ + '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', + ], + ], + [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t60\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:00:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:01:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n\\tA666D44F-19D6-490E-97CF-1A64AB962C57\\r\\n\\t2019-12-10T20:00:00Z\\r\\n\\t2019-12-10T20:01:00Z\\r\\n","errorExample":""}]', + 'title' => '查询实时流量', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeBpsData' => [ + 'summary' => '调用DescribeDomainRealTimeBpsData查询加速域名的带宽数据。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111788', + 'abilityTreeNodes' => [ + 'FEATUREcdn5DW324', + ], + ], + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'B49E6DDA-F413-422B-B58E-2FA23F286726', + ], + 'Data' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BpsModel' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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\\": \\"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":"\\n\\n \\n 2019-11-30T05:41:00Z\\n 16710625.733333332\\n \\n \\n 2019-11-30T05:42:00Z\\n 59392614.8\\n \\n\\nB49E6DDA-F413-422B-B58E-2FA23F286726\\n","errorExample":""}]', + 'title' => '查询实时带宽', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeHttpCodeData' => [ + 'summary' => '调用DescribeDomainRealTimeHttpCodeData查询加速域名HTTP返回码的总数和占比数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111791', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'IspNameEn', + 'in' => 'query', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'RealTimeHttpCodeData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TimeStamp' => [ + 'description' => '时间片起始时刻。', + 'type' => 'string', + 'example' => '2019-11-29T05:39:00Z', + ], + 'Value' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RealTimeCodeProportionData' => [ + 'description' => '各返回码占比使用数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => 'HTTP返回码。', + 'type' => 'string', + 'example' => '500', + ], + 'Proportion' => [ + 'description' => '占比使用数据。', + 'type' => 'string', + 'example' => '28.4496124031008', + ], + 'Count' => [ + 'description' => '总数。', + 'type' => 'string', + 'example' => '100', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n60\\n99E690FC-86A3-4533-8F61-CF9E319141A4\\nexample.com,example.org\\n2019-11-29T05:42:00Z\\n2019-11-29T05:39:00Z\\n\\n \\n 2019-11-29T05:39:00Z\\n \\n \\n 2\\n 100\\n 200\\n \\n \\n \\n \\n 2019-11-29T05:40:00Z\\n \\n \\n 1\\n 50\\n 200\\n \\n \\n 1\\n 50\\n 304\\n \\n \\n \\n \\n 2019-11-29T05:41:00Z\\n \\n \\n 11\\n 91.66666666666666\\n 200\\n \\n \\n 1\\n 8.333333333333332\\n 206\\n \\n \\n \\n\\n","errorExample":""}]', + 'title' => '查询实时状态码', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeQpsData' => [ + 'summary' => '调用DescribeDomainRealTimeQpsData查询加速域名每秒访问次数数据。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111793', + 'abilityTreeNodes' => [ + 'FEATUREcdnL8FLP3', + ], + ], + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D', + ], + 'Data' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'QpsModel' => [ + 'description' => '返回数据。', + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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\\": \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-02T11:26:00Z\\r\\n\\t\\t\\t1851.25\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-02T11:25:00Z\\r\\n\\t\\t\\t8967.7\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D\\r\\n","errorExample":""}]', + 'title' => '查询实时QPS', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeReqHitRateData' => [ + 'summary' => '调用DescribeDomainRealTimeReqHitRateData查询加速域名请求命中率数据。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111794', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '70A26B11-3673-479C-AEA8-E03FC5D3496D', + ], + 'Data' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ReqHitRateDataModel' => [ + 'description' => '返回数据。', + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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 \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2018-01-02T11:26:00Z\\r\\n\\t\\t\\t0.8956940476262277\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2018-01-02T11:25:00Z\\r\\n\\t\\t\\t0.8429129920796812\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t70A26B11-3673-479C-AEA8-E03FC5D3496D\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时请求命中率', + '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' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111789', + 'abilityTreeNodes' => [ + 'FEATUREcdn3CRD2L', + ], + ], + 'parameters' => [ + [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n95C90452-100B-4226-A63D-2D570CE2A971\\n\\n \\n 0.8956940476262277\\n 2020-05-15T09:13:00Z\\n \\n \\n 0.8429129920796812\\n 2020-05-15T09:14:00Z\\n \\n\\n\\n","errorExample":""}]', + 'title' => '查询实时字节命中率', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + .'- 由于存在多个域名合并存储的情况,可能会导致查询的命中率数据不准确,具体情况请您以实际配置为准。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeSrcBpsData' => [ + 'summary' => '调用DescribeDomainRealTimeSrcBpsData查询域名回源带宽数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111795', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'RealTimeSrcBpsDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的回源带宽数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '详细使用数据,单位:bit/s。', + 'type' => 'string', + 'example' => '0', + ], + 'TimeStamp' => [ + 'description' => '时间片起始时刻。', + 'type' => 'string', + 'example' => '2019-12-10T20:01:00Z', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t60\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:00:00Z\\r\\n\\t\\t\\t821\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:01:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t7CBCD6AD-B016-42E5-AE0B-B3731DE8F755\\r\\n\\t2019-12-10T20:00:00Z\\r\\n\\t2019-12-10T20:01:00Z\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时回源带宽', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeSrcHttpCodeData' => [ + 'summary' => '调用DescribeDomainRealTimeSrcHttpCodeData查询加速域名回源HTTP返回码的总数和占比数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111797', + '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时间,格式为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', + ], + ], + ], + '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' => 'BC858082-736F-4A25-867B-E5B67C85ACF7', + ], + 'DomainName' => [ + 'description' => '加速域名信息。', + 'type' => 'string', + 'example' => 'example.com', + ], + 'DataInterval' => [ + 'description' => '每条记录的时间间隔,单位:秒。', + 'type' => 'string', + 'example' => '60', + ], + 'RealTimeSrcHttpCodeData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => '每个时间间隔的HTTP返回码占比数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TimeStamp' => [ + 'description' => '时间片起始时刻。', + 'type' => 'string', + 'example' => '2015-11-30T05:40:00Z', + ], + 'Value' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RealTimeSrcCodeProportionData' => [ + 'description' => '各返回码占比使用数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => 'HTTP返回码。', + 'type' => 'string', + 'example' => '200', + ], + 'Proportion' => [ + 'description' => '占比使用数据。', + 'type' => 'string', + 'example' => '0.62015503875969', + ], + 'Count' => [ + 'description' => '总数。', + 'type' => 'string', + 'example' => '100', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-11-30T05:40:00Z\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t66.046511627907\\r\\n\\t\\t\\t\\t\\t200\\r\\n 100\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t4.72868217054264\\r\\n\\t\\t\\t\\t\\t206\\r\\n 101\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t0.155038759689922\\r\\n\\t\\t\\t\\t\\t302\\r\\n 112\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t0.62015503875969\\r\\n\\t\\t\\t\\t\\t304\\r\\n 120\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t28.4496124031008\\r\\n\\t\\t\\t\\t\\t500\\r\\n 200\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-11-30T05:39:00Z\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t66.046511627907\\r\\n\\t\\t\\t\\t\\t200\\r\\n 100\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t4.72868217054264\\r\\n\\t\\t\\t\\t\\t206\\r\\n 101\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t0.155038759689922\\r\\n\\t\\t\\t\\t\\t302\\r\\n 112\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t0.62015503875969\\r\\n\\t\\t\\t\\t\\t304\\r\\n 120\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t28.4496124031008\\r\\n\\t\\t\\t\\t\\t500\\r\\n 200\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t60\\r\\n\\tBC858082-736F-4A25-867B-E5B67C85ACF7\\r\\n\\texample.com,example.org\\r\\n\\t2019-11-30T05:40:00Z\\r\\n\\t2019-11-30T05:33:00Z\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时回源状态码', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。'."\n" + .'- 最多支持查询过去7天内的数据,单次查询时间跨度最多一小时。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeSrcTrafficData' => [ + 'summary' => '调用DescribeDomainRealTimeSrcTrafficData查询加速域名1分钟粒度的回源流量监控数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111798', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + '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' => [ + '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', + ], + 'RealTimeSrcTrafficDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的回源流量数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '详细使用数据。', + 'type' => 'string', + 'example' => '0', + ], + 'TimeStamp' => [ + 'description' => '时间片起始时刻。', + 'type' => 'string', + 'example' => '2019-12-10T20:01:00Z', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t60\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:00:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-12-10T20:01:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n\\tA666D44F-19D6-490E-97CF-1A64AB962C57\\r\\n\\t2019-12-10T20:00:00Z\\r\\n\\t2019-12-10T20:01:00Z\\r\\n","errorExample":""}]', + 'title' => '查询实时回源流量', + 'description' => '- 如果您不指定StartTime和EndTime,该接口默认返回过去1小时的数据;指定StartTime和EndTime,该接口返回指定时间段的数据。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeEsExecuteData' => [ + 'summary' => '调用DescribeEsExecuteData查询ES规则的运行情况。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111818', + 'abilityTreeNodes' => [ + 'FEATUREcdnT7HAK0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据的起始时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => true, + 'example' => '2021-02-17T20:00:00Z', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据的结束时间点。日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', + 'type' => 'string', + 'required' => true, + 'example' => '2021-02-18T20:00:00Z', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', + 'type' => 'string', + 'required' => true, + 'example' => '212896**', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n time\\n Exception\\n Exception\\n \\n <0>2021-02-18T19:07:00Z\\n <1>6\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>6\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>8\\n \\n\\n\\n time\\n ExecutedAndHit\\n ExecutedAndHit\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n99D61AB3-6164-4CF2-A0DE-129C9B07618B\\n","errorExample":""}]', + 'title' => '查询ES规则的运行情况', + 'description' => '- 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeEsExceptionData' => [ + 'summary' => '调用DescribeEsExceptionData查询ES规则执行的异常情况。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111817', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据的起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => true, + 'example' => '2021-02-17T20:00:00Z', + ], + ], + [ + 'name' => 'EndTime', + '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', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '规则ID。您可以调用[DescribeCdnDomainConfigs](~~90924~~)接口获取规则ID。', + 'type' => 'string', + 'required' => true, + 'example' => '212896**', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n\\n time\\n 401\\n 401\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 402\\n 402\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 403\\n 403\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 404\\n 404\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 405\\n 405\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 406\\n 406\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 407\\n 407\\n \\n <0>2021-02-18T19:07:00Z\\n <1>6\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>6\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>8\\n \\n\\n\\n time\\n 408\\n 408\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 409\\n 409\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 410\\n 410\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n\\n time\\n 499\\n 499\\n \\n <0>2021-02-18T19:07:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:06:00Z\\n <1>0\\n \\n \\n <0>2021-02-18T19:05:00Z\\n <1>0\\n \\n\\n99D61AB3-6164-4CF2-A0DE-129C9B07618B\\n","errorExample":""}]', + 'title' => '查询ES规则的异常情况', + 'description' => '- 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserBillHistory' => [ + 'summary' => '调用DescribeCdnUserBillHistory查询用户历史账单。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111746', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + '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' => '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n \\n month_4th_day_bandwidth\\n \\n \\n 4041\\n AP1\\n 24567\\n \\n \\n 3819\\n NA\\n \\n \\n 272113\\n CN\\n \\n \\n flow\\n 2018-09-30T16:00:00Z\\n \\n \\n month_avg_day_bandwidth\\n \\n \\n 4389\\n AP1\\n \\n \\n 4302\\n NA\\n \\n \\n 291641\\n CN\\n \\n \\n flow\\n 2018-09-30T16:00:00Z\\n \\n \\n hour_vas\\n \\n \\n 205624\\n DynamicHttp\\n \\n \\n vas\\n 2018-09-30T16:00:00Z\\n \\n \\n hour_vas\\n \\n \\n 203601\\n DynamicHttp\\n \\n \\n vas\\n 2018-09-30T17:00:00Z\\n \\n\\nED61C6C3-8241-4187-AAA7-5157AE175CEC\\n","errorExample":""}]', + 'title' => '查询历史账单', + 'description' => '- 最多查询一个月内的数据。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserBillType' => [ + 'summary' => '调用DescribeCdnUserBillType查询用户计费类型,最多查询一个月的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111748', + 'abilityTreeNodes' => [ + 'FEATUREcdnYC0IJ0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + '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' => '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'C370DAF1-C838-4288-A1A0-9A87633D248E', + ], + 'BillTypeData' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'BillTypeDataItem' => [ + 'description' => '用户计费类型返回数据。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"C370DAF1-C838-4288-A1A0-9A87633D248E\\n\\n \\n month\\n cdn\\n flow\\n 2018-10-31T16:00:00Z\\n 2018-10-30T16:00:00Z\\n month_avg_day_bandwidth_overseas\\n \\n \\n hour\\n cdn\\n flow\\n 2018-10-30T16:00:00Z\\n 2018-10-10T16:00:00Z\\n hour_flow\\n \\n \\n hour\\n cdn\\n vas\\n 2018-10-31T16:00:00Z\\n 2018-09-30T16:00:00Z\\n hour_vas\\n \\n \\n day\\n cdn\\n flow\\n 2018-10-10T16:00:00Z\\n 2018-09-30T16:00:00Z\\n day_bandwidth\\n \\n","errorExample":""}]', + 'title' => '查询计费类型', + 'description' => '- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserBillPrediction' => [ + 'summary' => '调用DescribeCdnUserBillPrediction预测用户当月的用量数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111747', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '默认为月初第一天的零点整, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2018-09-30T16:00:00Z', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '默认为当前时间, 日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', + 'type' => 'string', + 'required' => false, + 'example' => '2018-10-25T10:00:00Z', + ], + ], + [ + 'name' => 'Dimension', + 'in' => 'query', + 'schema' => [ + 'description' => '获取计费类型的维度,flow表示流量带宽。', + 'type' => 'string', + 'required' => false, + 'example' => 'flow', + ], + ], + [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nC370DAF1-C838-4288-A1A0-9A87633D248E\\n2018-09-30T16:00:00Z\\n2018-10-25T10:00:00Z\\nmonth_95_overseas\\n\\n \\n 10000\\n CN\\n 2018-10-15T16:00:00Z\\n \\n \\n 5000\\n OverSeas\\n 2018-10-10T:00:00Z\\n \\n\\n","errorExample":""}]', + 'title' => '查询预测用量', + 'description' => '用于预测用户当月的用量数据,按用户月初第一天的计费模式计算,只支持月度计费模式的预测,只支持用户粒度。 起始时间为月初1号0点,结束时间为当前时间前两个小时。'."\n" + ."\n" + .'- 月95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。 '."\n" + .'- 月均日峰值:每日峰值带宽求和/时间天数,不计算当天的数据。 '."\n" + .'- 月第四日峰值:请求时间内,第四高的峰值为预测值,如果请求时间小于4天,返回预测值为0。 '."\n" + .'- 月均日95:每日日95峰值求和/时间天数,不计算当天的数据。 '."\n" + .'- 夜间半价95:开始时间至结束时间内,去掉最高5%点后的最高点,为预测值。'."\n" + ."\n" + .'> 单用户调用频率:1次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateUserUsageDataExportTask' => [ + 'summary' => '调用CreateUserUsageDataExportTask创建账号历史用量数据导出任务,将历史用量生成PDF文件用于下载。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111698', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + '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' => '刷新', + ], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'description' => '导出文件的语言。'."\n" + ."\n" + .'- **zh-cn**(默认值):简体中文。'."\n" + ."\n" + .'- **en-us**:英文。', + 'type' => 'string', + 'required' => false, + 'example' => 'zh-cn', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\tED61C6C3-8241-4187-AAA7-5157AE175CEC\\r\\n\\t2015-12-10T20:00:00Z\\r\\n\\t2015-12-10T21:00:00Z\\r\\n\\t129456\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '创建用量数据导出任务', + 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserUsageDataExportTask' => [ + 'summary' => '调用DescribeUserUsageDataExportTask查询用户最近三个月的用量导出任务信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111844', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52', + ], + 'UsageDataPerPage' => [ + 'description' => '每页的用量数据。', + 'type' => 'object', + 'properties' => [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameterProduct', + 'errorMessage' => 'Invalid Parameter Product.', + ], + [ + 'errorCode' => 'InvalidParameterOperator', + 'errorMessage' => 'Invalid Parameter Operator.', + ], + ], + ], + '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":"\\r\\n\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\tsuccess\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t2019-12-30T15:59:59Z\\r\\n\\t\\t\\t\\t\\t2019-12-29T16:00:00Z\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t2019-12-31T08:43:21Z\\r\\n\\t\\t\\t\\thttps://cdn-polaris.xxxx\\r\\n\\t\\t\\t\\t2019-12-31T08:45:02Z\\r\\n\\t\\t\\t\\t11584\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t10\\r\\n\\t\\r\\n\\tFB7EC32A-356A-4B33-BA59-6DB1FFF61FD2\\r\\n ","errorExample":""}]', + 'title' => '查询用量数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteUserUsageDataExportTask' => [ + 'summary' => '调用DeleteUserUsageDataExportTask删除账号历史用量数据导出任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111713', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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.', + ], + [ + 'errorCode' => 'InvalidParameterAliuid', + 'errorMessage' => 'Invalid Parameter Aliuid.', + ], + [ + 'errorCode' => 'InvalidTaskId.Malformed', + 'errorMessage' => 'Specified TaskId is malformed.', + ], + [ + 'errorCode' => 'InvalidParameterOperator', + 'errorMessage' => 'Invalid Parameter Operator.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '删除用量数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateUsageDetailDataExportTask' => [ + 'summary' => '调用CreateUsageDetailDataExportTask创建用量明细数据导出任务,将详细用量生成Excel文件用于下载。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111697', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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' => '如果域名组为空,则以该字段提供的域名为准导出数据。'."\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' => '刷新', + ], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'description' => '导出文件的语言。取值:'."\n" + .'- **zh-cn**(默认值):简体中文。'."\n" + .'- **en-us**:英文。', + 'type' => 'string', + 'required' => false, + 'example' => 'en-us', + 'default' => 'zh-cn', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\tED61C6C3-8241-4187-AAA7-5157AE175CEC\\r\\n\\t2015-12-10T20:00:00Z\\r\\n\\t2015-12-10T21:00:00Z\\r\\n\\t123456\\r\\n","errorExample":""}]', + 'title' => '创建用量明细数据导出任务', + 'description' => '- 最长可创建查询近一年数据的任务,单次导出任务跨度最长为一个月。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserUsageDetailDataExportTask' => [ + 'summary' => '调用DescribeUserUsageDetailDataExportTask查询您账户下单个或多个域名5分钟明细数据的导出任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111845', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '分页大小。默认值:**20**;最大值:**50**。'."\n" + ."\n" + .'取值:**1**~**50**之间的任意整数。', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '取得第几页,取值范围:**1**~**100000**。'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'A91BE91F-0B34-4CBF-8E0F-A2977E15AA52', + ], + 'UsageDataPerPage' => [ + 'description' => '每页的用量数据。', + 'type' => 'object', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameterProduct', + 'errorMessage' => 'Invalid Parameter Product.', + ], + [ + 'errorCode' => 'InvalidParameterOperator', + 'errorMessage' => 'Invalid Parameter Operator.', + ], + ], + ], + '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":"\\nA91BE91F-0B34-4CBF-8E0F-A2977E15AA52\\n\\n 10\\n 1\\n 1\\n \\n \\n 11\\n 2018-10-09T06:35:46Z\\n https://test.oss-cn-beijing.aliyuncs.com/billing_data/xxx\\n 2018-10-09T06:33:38Z\\n success\\n \\n 2018-07-31T16:00:00Z\\n 2018-08-31T15:59:59Z\\n \\n \\n \\n\\n","errorExample":""}]', + 'title' => '查询用量明细导出任务详情', + 'description' => '- 该功能从2018年7月20日开始,最长可查询近三个月的数据。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteUsageDetailDataExportTask' => [ + 'summary' => '调用DeleteUsageDetailDataExportTask删除用量明细数据导出任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111712', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '任务ID,可调用[DescribeUserUsageDataExportTask](~~91062~~)接口查询。', + '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.', + ], + [ + 'errorCode' => 'InvalidParameterAliuid', + 'errorMessage' => 'Invalid Parameter Aliuid.', + ], + [ + 'errorCode' => 'InvalidTaskId.Malformed', + 'errorMessage' => 'Specified TaskId is malformed.', + ], + [ + 'errorCode' => 'InvalidParameterOperator', + 'errorMessage' => 'Invalid Parameter Operator.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\r\\n","errorExample":""}]', + 'title' => '删除用量明细数据导出任务', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainMax95BpsData' => [ + 'summary' => '调用DescribeDomainMax95BpsData查询加速域名95带宽峰值监控数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111780', + 'abilityTreeNodes' => [ + 'FEATUREcdn5DW324', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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' => '2017-12-21T08: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', + ], + ], + [ + 'name' => 'TimePoint', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据起始时间点。'."\n" + ."\n" + .'日期格式按照ISO8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2017-12-21T10:00:00Z', + ], + ], + [ + 'name' => 'Cycle', + 'in' => 'query', + 'schema' => [ + 'description' => '95带宽峰值周期,默认值为**day**。取值:'."\n" + ."\n" + .'- **day**:按日查询95峰值。'."\n" + .'- **month**:按月查询95峰值。', + 'type' => 'string', + 'required' => false, + 'example' => 'month', + 'enum' => [ + 'day', + 'month', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Max95Detail' => [ + 'description' => '95带宽明细数据。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\r\\n\\t2015-12-10T20:00:00Z\\r\\n\\t2015-12-11T21:00:00Z\\r\\n\\t16777590.28\\r\\n\\t16777590.28\\r\\n\\t0\\r\\n ","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峰值。
'."\n" + .'
'."\n" + .'当这三种方式都不指定时,默认返回过去24小时的95峰值。
'."\n" + .'
'."\n" + .'* 数据最大查询跨度:90天'."\n" + .'* 数据最小查询粒度:1天'."\n" + .'* 数据最大查询范围:90天
'."\n" + .'
'."\n" + .'- 单用户调用频率:100次/秒。'."\n" + .'- 获取数据单位:bit/s。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainUsageData' => [ + 'summary' => '调用DescribeDomainUsageData查询域名在特定计费区域的用量数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111815', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'Field', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'ServiceType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + 'UsageDataPerInterval' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'DataModule' => [ + 'description' => '每个时间间隔的流量数据。', + 'type' => 'array', + 'items' => [ + 'description' => ' '."\n" + .'每个时间间隔的流量数据解释。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nexample.com\\n\\n \\n 2015-12-10T20:00:00Z\\n 2015-12-10T20:05:00Z\\n 423304182\\n 423304182\\n \\n \\n 2015-12-10T21:00:00Z\\n 2015-12-10T21:30:00Z\\n 454680793\\n 423304182\\n \\n\\nB955107D-E658-4E77-B913-E0AC3D31693E\\n2015-12-10T20:00Z\\n2015-12-10T21:00Z\\nCN\\ntraf\\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&Type=static\\n&DataProtocol=https\\n&Field=acc\\n&Area=all\\n&<公共请求参数>"}]', + 'title' => '查询用量数据', + 'description' => '- 单用户调用频率:10次/秒。'."\n" + .'- 支持查询的时间粒度:根据单次查询的最大时间跨度不同,请求参数Interval支持不同的查询数据时间粒度,对应的可查询历史数据时间范围和数据延迟如下:'."\n" + ."\n" + .'| 时间粒度 | 单次查询的最大时间跨度 | 可查询历史数据时间范围 | 数据延迟'."\n" + .'| -------------- | -------------- | ------ | ------ |'."\n" + .'| 5分钟 | 3天 | 93天 | 15分钟|'."\n" + .'| 1小时 | 7天 | 186天 | 一般延迟3-4小时|'."\n" + .'| 1天 | 31天 | 366天 | 一般延迟4小时,不超过24小时|', + 'requestParamsDescription' => '### 参数组合说明'."\n" + ."\n" + .'计费数据和参数取值的对应关系如下表,具体调用方法可参见请求示例。'."\n" + ."\n" + .'| 计费数据 | DataProtocol参数取值 | Type参数取值 | Field参数取值 | Area参数取值 |'."\n" + .'|-----------------|----------------------|--------------|---------------|---------------------------------------|'."\n" + .'| 流量 | all或不传 | all或不传 | traf | CN、OverSeas、AP1、AP2、AP3、NA、SA、EU、MEAA |'."\n" + .'| 带宽 | all或不传 | all或不传 | bps | CN、OverSeas、AP1、AP2、AP3、NA、SA、EU、MEAA |'."\n" + .'| 静态HTTPS请求数 | https | static | acc | all |'."\n" + .'| 动态HTTP请求数 | http | dynamic | acc | all |'."\n" + .'| 动态HTTPS请求数 | https | dynamic | acc | all |'."\n" + .'| 动态QUIC请求数 | quic | dynamic | acc | all |'."\n" + .'| 静态QUIC请求数 | quic | static | acc | all |', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnUserResourcePackage' => [ + 'summary' => '调用DescribeCdnUserResourcePackage查询CDN用户当前资源包信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111752', + 'abilityTreeNodes' => [ + 'FEATUREcdnG9C3XR', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Status', + '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', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '84839536-2B7E-457D-9D8C-82E6C7D4E1A3', + ], + 'ResourcePackageInfos' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ResourcePackageInfo' => [ + 'description' => '由ResourcePackageInfo组成的数组格式。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'CdnServiceNotFound', + 'errorMessage' => 'Your account does not open CDN service yet.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tclosed\\r\\n\\t\\t\\tFP-mkqgwsyui\\r\\n\\t\\t\\tcdnflowbag\\r\\n\\t\\t\\t10995116277760\\r\\n\\t\\t\\t2017-01-30T08:00:00Z\\r\\n\\t\\t\\t2016-01-30T03:40:06Z\\r\\n\\t\\t\\tCDN流量包(中国内地版)\\r\\n\\t\\t\\t10995089554629\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tvalid\\r\\n\\t\\t\\tFP-ilttxc23a\\r\\n\\t\\t\\tcdnflowbag\\r\\n\\t\\t\\t536870912000\\r\\n\\t\\t\\t2018-07-01T08:00:00Z\\r\\n\\t\\t\\t2017-07-01T01:26:41Z\\r\\n\\t\\t\\tCDN流量包(中国内地版)\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tvalid\\r\\n\\t\\t\\tCDNHTTPSBAG-cn-v0h0dnlq4000m9\\r\\n\\t\\t\\tcdnhttpsbag\\r\\n\\t\\t\\t10000000\\r\\n\\t\\t\\t2018-12-06T08:00:00Z\\r\\n\\t\\t\\t2017-12-05T19:10:58Z\\r\\n\\t\\t\\tCDN HTTPS请求数资源包\\r\\n\\t\\t\\t9999645\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t84839536-2B7E-457D-9D8C-82E6C7D4E1A3\\r\\n","errorExample":""}]', + 'title' => '查询资源包', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteRealTimeLogLogstore' => [ + 'summary' => '调用DeleteRealTimeLogLogstore删除实时日志推送的Logstore。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111709', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递SLS的ProjectName。', + 'type' => 'string', + 'required' => true, + 'example' => 'ProjectName', + ], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递SLS的LogStoreName。', + 'type' => 'string', + 'required' => true, + 'example' => 'LogstoreName', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递SLS的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shanghai', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + ], + ], + ], + ], + '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.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'internal server error', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9732E117-8A37-49FD-A36F-ABBB87556CA7\\n","errorExample":""}]', + 'title' => '删除实时日志推送的Logstore', + 'description' => '> 单用户调用频率:100次/秒。', + ], + 'CreateRealTimeLogDelivery' => [ + 'summary' => '调用CreateRealTimeLogDelivery创建域名实时日志投递。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '111696', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '开启实时日志投递服务域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'F32C57AA-7BF8-49AE-A2CC-9F42390F5A19', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"F32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\",\\n}"},{"type":"xml","example":"\\r\\n\\tF32C57AA-7BF8-49AE-A2CC-9F42390F5A19\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '创建实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyRealtimeLogDelivery' => [ + 'summary' => '调用ModifyRealtimeLogDelivery更改域名实时日志投递,一个域名仅支持投递单个Logstore。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111875', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的ProjectName。', + 'type' => 'string', + 'required' => true, + 'example' => 'testProject', + ], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的LogStoreName。', + 'type' => 'string', + 'required' => true, + 'example' => 'TestLog', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的地域,详情请参见[实时日志服务推送地域](~~144883~~)。', + 'type' => 'string', + 'required' => true, + 'example' => 'ch-shanghai', + ], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '修改实时日志投递的域名,仅支持修改单个。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + ], + ], + ], + ], + '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.', + ], + ], + 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":"\\r\\n\\t9732E117-8A37-49FD-A36F-ABBB87556CA7\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '修改实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteRealtimeLogDelivery' => [ + 'summary' => '调用DeleteRealtimeLogDelivery删除实时日志推送域名。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111708', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '删除实时日志投递服务域名,多个用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的ProjectName。', + 'type' => 'string', + 'required' => true, + 'example' => 'ProjectName', + ], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的LogStoreName。', + 'type' => 'string', + 'required' => true, + 'example' => 'LogstoreName', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的地域,详情请参见[实时日志投递用户Region列表](~~144883~~)。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shanghai', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + ], + ], + ], + ], + '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":"\\r\\n\\t9732E117-8A37-49FD-A36F-ABBB87556CA7\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '删除实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableRealtimeLogDelivery' => [ + 'summary' => '调用DisableRealtimeLogDelivery暂停域名实时日志投递。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111855', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '暂停实时日志投递服务域名,多个用英文逗号(,)分隔。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Project', + 'in' => 'query', + '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~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Unauthorized', + 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', + ], + ], + 404 => [ + [ + 'errorCode' => 'Domain.NotFound', + 'errorMessage' => 'Domain not found', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"\\r\\n\\t9732E117-8A37-49FD-A36F-ABBB87556CA7\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '暂停实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableRealtimeLogDelivery' => [ + 'summary' => '调用EnableRealtimeLogDelivery开启域名实时日志投递。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111857', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '开启实时日志投递服务域名,多个域名之间使用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Project', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Unauthorized', + 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', + ], + ], + 404 => [ + [ + 'errorCode' => 'Domain.NotFound', + 'errorMessage' => 'Domain not found', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9732E117-8A37-49FD-A36F-ABBB87556CA7\\",\\n}"},{"type":"xml","example":"\\r\\n\\t9732E117-8A37-49FD-A36F-ABBB87556CA7\\r\\n\\r\\n\\r\\n","errorExample":""}]', + 'title' => '开启实时日志投递', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRealtimeLogDelivery' => [ + 'summary' => '查询用户下所有实时日志投递。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111862', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Unauthorized', + 'errorMessage' => 'RealtimeLogDelivery Service Not Authorized', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111792', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => [ + 'description' => '开启实时日志投递服务域名,仅支持查询单个。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Unauthorized', + 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter is invalid.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'internal server error', + ], + ], + ], + '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":"\\r\\n\\ttest\\r\\n\\ttest\\r\\n\\tcn-shanghai\\r\\n\\tonline\\r\\n\\t2F8F3852-912F-42AC-80EB-F1CF4284DE93\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时日志投递信息', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeRealtimeDeliveryAcc' => [ + 'summary' => '调用DescribeRealtimeDeliveryAcc查询实时日志投递次数。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111827', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '实时日志投递的Logstore。默认查询所有Logstore。', + 'type' => 'string', + 'required' => false, + 'example' => 'LogStore', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t684306D2-2511-4977-991D-CE97E91FD7C0\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2018-09-03T06:00:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t321321\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2018-09-03T07:00:00Z\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t32943\\r\\n\\t\\t\\r\\n\\t\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时日志投递次数', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRealtimeLogDeliveryInfos' => [ + 'summary' => '调用ListRealtimeLogDeliveryInfos查询所有实时日志投递服务信息。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111864', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Unauthorized', + 'errorMessage' => 'RealtimeLogDelivery Service is not authorized.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'internal server error', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\ttest\\r\\n\\t\\t\\ttest\\r\\n\\t\\t\\tcn-shanghai\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\ttest1\\r\\n\\t\\t\\ttest2\\r\\n\\t\\t\\tcn-shanghai\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t95D5B69F-8AEC-419B-8F3A-612B35032B0D\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询实时日志投递信息列表', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListRealtimeLogDeliveryDomains' => [ + 'summary' => '调用ListRealtimeLogDeliveryDomains查询实时日志投递服务下所有域名。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111863', + 'abilityTreeNodes' => [ + 'FEATUREcdnXDFG0Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的ProjectName,多个用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => true, + 'example' => 'ProjectName', + ], + ], + [ + 'name' => 'Logstore', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的LogStoreName,多个用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => true, + 'example' => 'LogstoreName', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '实时投递sls的地域,多个用英文逗号(,)分隔。'."\n" + ."\n" + .'地域详情请参见[实时日志投递用户Region列表](~~144883~~)。', + 'type' => 'string', + 'required' => true, + 'example' => 'ch-shanghai', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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 ', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + '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":"\\n \\n example.com\\n online\\n \\n \\n aliyundoc.com\\n offline\\n \\n\\n95D5B69F-8AEC-419B-8F3A-612B35032B0D","errorExample":""}]', + 'title' => '查询实时日志投递域名', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainCustomLogConfig' => [ + 'summary' => '调用DescribeDomainCustomLogConfig查询域名自定义日志格式配置信息。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + '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\\', + ], + ], + ], + ], + ], + '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":"\\r\\n\\t25473b84-d598-498e-b148-f23d0a27df52\\r\\n\\tbook\\r\\n\\t$time_iso8601_$request_method_$server_protocol.....\\r\\n\\t[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/)\\r\\n\\t1805F349-0A2B-41D9-B4AD-33632AFC27F1\\r\\n","errorExample":""}]', + 'title' => '查询自定义日志配置-按域名', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCustomLogConfig' => [ + 'summary' => '调用DescribeCustomLogConfig根据configId查询自定义日志配置详细信息。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'InvalidConfigId', + 'errorMessage' => 'Illegal ConfigId', + ], + ], + [ + [ + 'errorCode' => 'Config.NotFound', + 'errorMessage' => 'Config does not exist or does not belong to the current user ', + ], + ], + ], + '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":"\\n img1\\n 94E3559F-7B6A-4A5E-AFFD-44E2A208A249\\n $time_iso8601_$request_method_$\\n \\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\\\\"-\\\\\\" \\\\\\"GEThttp: //www.aliyun.com/index.html\\\\\\" 200\\n","errorExample":""}]', + 'title' => '查询自定义日志配置-按日志配置ID', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDomainLogs' => [ + 'summary' => '调用DescribeCdnDomainLogs查询域名的离线日志下载地址。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111729', + 'abilityTreeNodes' => [ + 'FEATUREcdnGZSOSW', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '域名,只支持单个查询。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '分页大小,默认**300**,最大**1000**,取值:**1**~**1000**。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '1000', + 'example' => '300', + 'default' => '300', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '取得第几页,取值范围:大于**1**的任意整数。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + 'default' => '1', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + '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' => [ + 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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n077D0284-F041-4A41-A932-B48377FDAA25\\n\\n \\n \\n \\n demo.aliyundoc.com_2018_03_25_180000_190000.gz\\n guide.aliyundoc.com/image.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_180000_190000.gz?xxx\\n 2018-05-31T04:00:00Z\\n 2018-05-31T03:00:00Z\\n 2645401\\n \\n \\n demo.aliyundoc.com_2018_03_25_190000_200000.gz\\n guide.aliyundoc.com/demo.example.com/2018_03_25/demo.aliyundoc.com_2018_03_25_190000_200000.gz?xxx\\n 2018-05-31T06:00:00Z\\n 2018-05-31T05:00:00Z\\n 2653965\\n \\n \\n 20\\n \\n 1\\n 20\\n 20\\n \\n example.com\\n \\n\\n","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' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '111859', + 'abilityTreeNodes' => [ + 'FEATUREcdnGZSOSW', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '自定义配置ID。', + 'type' => 'string', + 'required' => true, + 'example' => '123', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9732E117-8A37-49FD-A36F-ABBB87556CA7', + ], + 'Domains' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Domain' => [ + 'description' => '域名列表。', + 'type' => 'array', + 'items' => [ + 'description' => '域名。', + 'type' => 'string', + 'example' => 'example.com', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'InvalidConfigId', + 'errorMessage' => 'Illegal ConfigId', + ], + ], + [ + [ + 'errorCode' => 'Domains.NotFound', + 'errorMessage' => 'No domain used in this log config', + ], + ], + ], + '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":"\\r\\n\\t9732E117-8A37-49FD-A36F-ABBB87556CA7\\r\\n\\t\\r\\n\\t\\texample.com\\r\\n\\t\\timage.developer.aliyundoc.com\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询域名列表-按日志配置ID', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListUserCustomLogConfig' => [ + 'summary' => '调用ListUserCustomLogConfig查询用户下所有自定义日志配置信息。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '111866', + 'abilityTreeNodes' => [ + 'FEATUREcdnGZSOSW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '95D5B69F-8AEC-419B-8F3A-612B35032B0D', + ], + 'ConfigIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ConfigId' => [ + 'description' => '日志配置ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => '日志配置ID。', + 'type' => 'string', + 'example' => 'c3bb2c78-2915-4d5a-b6a1-557789255555', + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\r\\n\\t95D5B69F-8AEC-419B-8F3A-612B35032B0D\\r\\n\\t\\r\\n\\t\\tc3bb2c78-2915-4d5a-b6a1-557789255555\\r\\n\\t\\t25473b84-d598-498e-b148-f23d0a255555\\r\\n\\t\\t1f1e6c6e-6701-4193-ae4d-54bf3e555555\\r\\n\\t\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询自定义日志配置ID', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'OpenCdnService' => [ + 'summary' => '调用OpenCdnService开通CDN服务。开通服务后才能进行域名操作。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111877', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'InternetChargeType', + 'in' => 'query', + 'schema' => [ + 'description' => '开通服务的计费类型。取值为**PayByTraffic**,表示按流量计费。', + 'type' => 'string', + 'required' => true, + 'example' => 'PayByTraffic', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '响应数据结构。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508', + ], + ], + ], + ], + ], + '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":"\\r\\n 97C68796-EB7F-4D41-9D5B-12B909D76508\\r\\n","errorExample":""}]', + 'title' => '开通CDN服务', + 'description' => '- 一个用户只能开通一次,且要求阿里云账号已通过实名认证。'."\n" + .'- 单用户调用频率:5次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnRegionAndIsp' => [ + 'summary' => '调用DescribeCdnRegionAndIsp查询地域和运营商列表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111736', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + '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' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Isp' => [ + 'description' => '运营商列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NameEn' => [ + 'description' => '英文名称。', + 'type' => 'string', + 'example' => 'unicom', + ], + 'NameZh' => [ + 'description' => '中文名称。', + 'type' => 'string', + 'example' => '联通', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n \\n 电信\\n telecom\\n \\n \\n 移动\\n mobile\\n \\n \\n 教育网\\n cernet\\n \\n \\n 铁通\\n tietong\\n \\n \\n 其他\\n other\\n \\n \\n 鹏博士\\n drpeng\\n \\n \\n 联通\\n unicom\\n \\n \\n 阿里巴巴\\n alibaba\\n \\n \\n 中信网络\\n citic\\n \\n \\n 方正宽带\\n dounder\\n \\n \\n 海外ISP\\n overseas\\n \\n \\n 有线通\\n ocn\\n \\n \\n 华数\\n wasu\\n \\n \\n 湖北广电\\n hrtn\\n \\n \\n 重庆有线\\n cqccn\\n \\n \\n 歌华有线\\n bjctv\\n \\n \\n 天威视讯\\n topway\\n \\n \\n 中国香港宽频\\n hkbn\\n \\n \\n 澳大利亚电信\\n telstra\\n \\n \\n 江西广电\\n jxsarft\\n \\n \\n 湖南广电\\n gbs\\n \\n \\n 中国澳门电讯\\n ctm\\n \\n \\n 黑龙江广电\\n ljwl\\n \\n \\n 中华电信\\n cht\\n \\n \\n 陕西广电\\n sxbctv\\n \\n \\n 广电\\n ccn\\n \\n \\n 长城宽带\\n gwbn\\n \\n \\n 华数传媒\\n wasumedia\\n \\n \\n 广东广电\\n gcable\\n \\n \\n 辽宁广电\\n lnsarft\\n \\n \\n 河南广电\\n hensarft\\n \\n \\n 山东广电\\n sdsarft\\n \\n \\n 江苏广电\\n jssarft\\n \\n \\n 四川艾普\\n aipu\\n \\n \\n 吉视传媒\\n jilincatv\\n \\n \\n 四川广电\\n sicsarft\\n \\n \\n 安徽广电\\n anhuicatv\\n \\n \\n 福建广电\\n fujiancatv\\n \\n \\n 新疆广电\\n xjsarft\\n \\n \\n 贵州广电\\n guizhoucatv\\n \\n \\n 局域网\\n local area network\\n \\n \\n 湖南巨亚\\n hunanjy\\n \\n \\n 珠江数码\\n zhujiangsm\\n \\n \\n 北京宝联之星\\n baolian\\n \\n \\n 印尼Telin\\n telin\\n \\n \\n 印尼Indosat\\n indosat\\n \\n \\n 上海驰联\\n shchilian\\n \\n \\n 上海企舜\\n shqishun\\n \\n \\n 皓宽网络\\n cnix\\n \\n \\n 印度Sify\\n sify\\n \\n \\n 印尼Zenlayer\\n zenlayer\\n \\n \\n 印度TATA\\n tata\\n \\n \\n 印度AirTel\\n airtel\\n \\n \\n Telstra Global\\n telstraglobal\\n \\n \\n Maxis\\n maxis\\n \\n \\n 内蒙古广电\\n nmgcatv\\n \\n \\n JasTel\\n jastel\\n \\n \\n Taiwan Fixed Network\\n taiwanfixednetwork\\n \\n \\n Digital United\\n digitalunited\\n \\n \\n NTT\\n ntt\\n \\n \\n KDDI\\n kddi\\n \\n \\n Korea Telecom\\n koreatelecom\\n \\n \\n TM Net\\n tmnet\\n \\n \\n True Internet\\n trueinternet\\n \\n \\n PT Aplikanusa Lintasarta\\n ptaplikanusalintasarta\\n \\n \\n VNPT\\n vnpt\\n \\n \\n EITC-DU\\n eitcdu\\n \\n \\n Rostelecom\\n rostelecom\\n \\n \\n GLOBALNET\\n globalnet\\n \\n \\n ER-Telecom Holding\\n ertelecomholding\\n \\n \\n Business Network Ltd\\n businessnetworkltd\\n \\n \\n Vodafone\\n vodafone\\n \\n \\n Level\\n level\\n \\n \\n TATA Communications(America)\\n tatacommunications\\n \\n \\n ENTER S.r.l.\\n entersrl\\n \\n \\n Vodacom ENS\\n vodacomens\\n \\n \\n Hurricane Electric\\n hurricaneelectric\\n \\n \\n CTA\\n cta\\n \\n \\n Telefonica USA\\n telefonicausa\\n \\n \\n Verizon Business\\n verizonbusiness\\n \\n \\n Telefonica Data S.A.\\n telefonicadatasa\\n \\n \\n PLDT\\n pldt\\n \\n \\n Viettel\\n viettel\\n \\n \\n RETN\\n retn\\n \\n \\n AIMS\\n aims\\n \\n \\n 广西广电\\n guangxsarft\\n \\n \\n 河北广电\\n hebsarft\\n \\n \\n 湖南有线\\n hunsarft\\n \\n \\n 山东青岛广电\\n sdqdsarft\\n \\n \\n Level3\\n level3\\n \\n \\n 宁夏广电\\n nxsarft\\n \\n \\n Zain\\n zain\\n \\n \\n Singtel\\n singtel\\n \\n \\n BBIX\\n bbix\\n \\n \\n MSK-IX\\n mskix\\n \\n \\n TPIX\\n tpix\\n \\n \\n Equinix\\n equinix\\n \\n \\n 台湾之星\\n taiwanstar\\n \\n \\n 阿里云\\n aliyun\\n \\n \\n TelekomMalaysia\\n telekommalaysia\\n \\n \\n KINX\\n kinx\\n \\n \\n SKBB\\n skbb\\n \\n \\n CAT\\n cat\\n \\n \\n Ooredoo\\n ooredoo\\n \\n \\n Fareastone\\n fareastone telecom\\n \\n \\n 全部\\n all\\n \\n \\n JIO\\n jio\\n \\n \\n 甘肃广电\\n gssarft\\n \\n \\n 天津广电\\n tjsarft\\n \\n \\n 大连理工大学\\n dlut\\n \\n\\n9CEF1678-CAE9-4173-88C9-31DA0931BBAF\\n\\n \\n 河北省\\n hebei\\n \\n \\n 宁夏回族自治区\\n ningxia\\n \\n \\n 贵州省\\n guizhou\\n \\n \\n 新疆维吾尔自治区\\n xinjiang\\n \\n \\n 北京市\\n beijing\\n \\n \\n 福建省\\n fujian\\n \\n \\n 海南省\\n hainan\\n \\n \\n 黑龙江省\\n heilongjiang\\n \\n \\n 广东省\\n guangdong\\n \\n \\n 广西壮族自治区\\n guangxi\\n \\n \\n 浙江省\\n zhejiang\\n \\n \\n 青海省\\n qinghai\\n \\n \\n 江苏省\\n jiangsu\\n \\n \\n 山西省\\n shanxi\\n \\n \\n 河南省\\n henan\\n \\n \\n 云南省\\n yunnan\\n \\n \\n 西藏自治区\\n xizang\\n \\n \\n 辽宁省\\n liaoning\\n \\n \\n 湖南省\\n hunan\\n \\n \\n 中国香港\\n China(Hong Kong)\\n \\n \\n 陕西省\\n shaanxi\\n \\n \\n 中国澳门\\n China(Macao)\\n \\n \\n 安徽省\\n anhui\\n \\n \\n 天津市\\n tianjin\\n \\n \\n 江西省\\n jiangxi\\n \\n \\n 湖北省\\n hubei\\n \\n \\n 重庆市\\n chongqing\\n \\n \\n 甘肃省\\n gansu\\n \\n \\n 中国台湾\\n China(Taiwan)\\n \\n \\n 山东省\\n shandong\\n \\n \\n 吉林省\\n jilin\\n \\n \\n 上海市\\n shanghai\\n \\n \\n 四川省\\n sichuan\\n \\n \\n 内蒙古自治区\\n neimenggu\\n \\n","errorExample":""}]', + 'title' => '查询地域和运营商列表', + 'description' => '- CDN支持的地域及运营商列表会不定时更新,请您及时关注官网最新信息。'."\n" + .'- 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnOrderCommodityCode' => [ + 'summary' => '调用DescribeCdnOrderCommodityCode查询客户UID对应的商品Code。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '137446', + 'abilityTreeNodes' => [ + 'FEATUREcdnYC0IJ0', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CommodityCode', + 'in' => 'query', + 'schema' => [ + 'description' => '原始商品Code。', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderCommodityCode\\": \\"xxx\\",\\n \\"RequestId\\": \\"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\"\\n}","errorExample":""},{"type":"xml","example":"\\n xxx\\n BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23\\n","errorExample":""}]', + 'title' => '查询商品Code', + ], + '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' => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UnsupportedParameter', + 'errorMessage' => 'There is unsupported parameters', + ], + [ + 'errorCode' => 'InternetChargeTypeInvalid', + 'errorMessage' => 'The specified InternetChargeType is invalid.', + ], + ], + ], + '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":"\\n 2019-11-27T16:00:00Z\\n 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8\\n PayByTraffic\\n 2019-02-28T13:11:49Z\\n PayByTraffic\\n aliuidxx\\n \\n financial\\n \\n","errorExample":""}]', + 'title' => '查询CDN服务状态', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDomainByCertificate' => [ + 'summary' => '调用DescribeCdnDomainByCertificate根据证书信息获取加速域名。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111726', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '表示返回的域名列表是否与证书精准匹配。'."\n" + .'- true:开启'."\n" + .'- false:关闭', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\nASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D\\n\\n C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1\\n RSA\\n example.com\\n Nov 29 23:59:59 2017 GMT\\n Nov 29 00:00:00 2016 GMT\\n *.example.com,aliyundoc.com\\n example.com,aliyundoc.com\\n yes\\n yes\\n\\n","errorExample":""}]', + 'title' => '查询域名-按证书', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainCertificateInfo' => [ + 'summary' => '调用DescribeDomainCertificateInfo查询指定加速域名证书信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n 5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\n \\n 2018-06-03T22:03:39Z\\n months\\n success\\n 2018-06-03T22:03:39Z\\n example.com\\n on\\n Let\'s Encrypt\\n example.com\\n 2018-06-03T22:03:39Z\\n free\\n example.com\\n ok\\n asdadaxxxx\\n \\n","errorExample":""}]', + 'title' => '查询域名证书信息', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnCertificateDetail' => [ + 'summary' => '调用DescribeCdnCertificateDetail查询CDN证书详细信息。', + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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":"\\n cert-15480655xxxx\\n xxxx\\n -----BEGIN CERTIFICATE-----\\\\nMIIFzDCCBLSgAwIBxxxx\\n 881049\\n 0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\n","errorExample":""}]', + 'title' => '查询证书详情', + 'description' => '> 单用户调用频率:20次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnCertificateList' => [ + 'summary' => '调用DescribeCdnCertificateList按照域名查询证书列表信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111722', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'如果不传入该参数,默认查询所有加速域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'FC0E34AC-0239-44A7-AB0E-800DE522C8DA', + ], + 'CertificateListModel' => [ + 'description' => 'CertificateListModel类型。', + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'FlowControlError', + 'errorMessage' => 'The request was denied due to flow control.', + ], + ], + ], + '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\\": \\"证书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":"\\n2\\n\\n \\n 证书1\\n CO****\\n 1512388610\\n 1\\n test\\n 2ED68FD33786C5B42950D40A6C50353575BB****\\n \\n \\n 证书2\\n CO****\\n 1512388659\\n 2\\n test\\n 2ED68FD33786C5B42950D40A6C50353575BB****\\n \\n\\nFC0E34AC-0239-44A7-AB0E-800DE522C8DA\\n","errorExample":""}]', + 'title' => '查询证书列表-按域名', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnSSLCertificateList' => [ + 'summary' => '调用DescribeCdnSSLCertificateList按照域名查询证书列表信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '168239', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + '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', + ], + ], + [ + 'name' => 'SearchKeyword', + 'in' => 'query', + 'schema' => [ + 'description' => '证书名称模糊查询。', + 'type' => 'string', + 'required' => false, + 'example' => 'certabc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'E9D3257A-1B7C-414C-90C1-8D07AC47BCAC', + ], + 'CertificateListModel' => [ + 'description' => '证书列表信息。', + 'type' => 'object', + 'properties' => [ + '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' => '证书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', + ], + ], + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '当前页数,起始值为1,默认为1。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'PageSize' => [ + 'description' => '每页大小,取值:1~1000之间的任意整数。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFoundCertList', + 'errorMessage' => 'The certList is null.', + ], + [ + 'errorCode' => 'InternalException', + 'errorMessage' => 'Internal occasional exception, please try again later.', + ], + ], + ], + '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\\": \\"证书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', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111731', + 'abilityTreeNodes' => [ + 'FEATUREcdnD4PEWG', + 'FEATUREcdn4R6KLH', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NoHttpsDomain', + 'errorMessage' => 'Your account doesn\'t have https domain.', + ], + ], + ], + '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":"\\n \\n \\n 2019-01-08 18:33:16\\n free\\n test\\n example.com\\n mismatch\\n 2018-12-26 14:45:09\\n 2018-11-26 14:45:09\\n example.org\\n \\n \\n 16\\n F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\n","errorExample":""}]', + 'title' => '查询证书列表', + 'description' => '> 单用户调用频率:100次/秒。', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n 5C1E43DC-9E51-4771-82C0-7D5ECEB547A1\\n \\n 2098-02-08 08:02:07 +0000 UTC\\n 2015-12-21 08:02:07 +0000 UTC\\n cas\\n example_cert\\n 1644xx\\n [\\"example.com\\"]\\n -----BEGIN CERTIFICATE-----\\\\nxxx-----END CERTIFICATE-----\\\\n\\n \\n","errorExample":""}]', + 'title' => '查询证书信息-按ID', + 'description' => '- 单用户调用频率:100次/秒。'."\n" + .'- 域名绑定证书后,但证书未启用时,通过该接口查询会提示证书不存在。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnCertificateDetailById' => [ + 'summary' => '调用DescribeCdnCertificateDetailById根据证书ID获取证书详细信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '168240', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'CertId', + '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", + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + ], + ], + ], + ], + ], + '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":"\\n 0\\n F5E8DF64-7175-4186-9B06-F002C0BBD0C5\\n 6\\n","errorExample":""}]', + 'title' => '查询证书过期的域名数', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateCdnCertificateSigningRequest' => [ + 'summary' => '调用CreateCdnCertificateSigningRequest创建 CSR(证书签名请求)文件。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + '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' => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidValue.Malformed', + 'errorMessage' => 'Country must be 2 characters.', + ], + ], + 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.', + ], + ], + ], + '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":"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\nCommonName\\n-----BEGIN CERTIFICATE REQUEST-----\\nMIIC/zqT****\\n-----END CERTIFICATE REQUEST-----\\n\\n629bf4fd8104eda171135bcb0f77****","errorExample":""}]', + 'title' => '创建证书签名请求', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SetCdnDomainCSRCertificate' => [ + 'summary' => '调用SetCdnDomainCSRCertificate设置指定域名下的HTTPS证书。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111887', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ServerCertificate', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C9', + ], + ], + ], + ], + ], + '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.', + ], + ], + 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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n0AEDAF20-4DDF-4165-8750-47FF9C1929C9\\r\\n","errorExample":""}]', + 'title' => '设置CSR证书', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SetCdnDomainSMCertificate' => [ + 'summary' => '调用SetCdnDomainSMCertificate设置某域名下国密证书功能是否启用。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111888', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '证书所属的加速域名。'."\n" + ."\n" + .'> 证书需属于HTTPS加速类型。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + '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' => 'SSLProtocol', + 'in' => 'query', + 'schema' => [ + 'description' => 'HTTPS证书是否启用。取值:'."\n" + ."\n" + .'- **on**:启用。'."\n" + .'- **off**:不启用。', + 'type' => 'string', + 'required' => true, + 'example' => 'on', + 'enum' => [ + 'on', + 'off', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '0AEDAF20-4DDF-4165-8750-47FF9C1929C8', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidCertIdentifier.ValueNotSupported', + 'errorMessage' => 'The specified value of parameter CertIdentifier is not valid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AEDAF20-4DDF-4165-8750-47FF9C1929C8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0AEDAF20-4DDF-4165-8750-47FF9C1929C8\\n","errorExample":""}]', + 'title' => '设置国密证书', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnSMCertificateList' => [ + 'summary' => '调用DescribeCdnSMCertificateList查询指定加速域名下国密证书列表信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111742', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持查询单个域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n\\n 2\\n \\n \\n yourCertName1\\n yourCertIssuer1\\n yourCertIdentifier1\\n yourCertCommon1\\n \\n \\n yourCertName2\\n yourCertIssuer2\\n yourCertIdentifier2\\n yourCertCommon2\\n \\n \\n\\nDC0E34AC-0239-44A7-AB0E-800DE522C8DC\\n","errorExample":""}]', + 'title' => '查询国密证书列表', + 'description' => '>单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnSMCertificateDetail' => [ + 'summary' => '调用DescribeCdnSMCertificateDetail查询国密证书的详细信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111741', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + ], + 'parameters' => [ + [ + '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--', + ], + ], + ], + ], + ], + '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":"\\n--BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\n--BEGIN CERTIFICATE-----***-----END CERTIFICATE--\\nyourCerName\\n648****-cn-hangzhou\\nexample.com\\n***.example.com\\nDigiCert Inc\\n2022-08-31T09:42:28Z\\nA7C69682-7F88-40DD-A198-10D0309E439D\\n","errorExample":""}]', + 'title' => '查询国密证书详情', + 'description' => '>单用户调用频率:20次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SetCdnDomainSSLCertificate' => [ + 'summary' => '调用SetCdnDomainSSLCertificate用于设置某域名下证书功能是否启用及更新证书信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '168241', + 'abilityTreeNodes' => [ + 'FEATUREcdn4R6KLH', + ], + ], + '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', + 'in' => 'query', + 'schema' => [ + 'description' => '私钥内容,不启用证书则无需输入,配置证书请输入私钥内容。', + 'type' => 'string', + 'required' => false, + 'example' => 'y****'."\n", + ], + ], + [ + 'name' => 'CertRegion', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'A7C69682-7F88-40DD-A198-10D0309E439D'."\n", + ], + ], + ], + ], + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'DomainInProtectedMode', + 'errorMessage' => 'The domain is in protection mode. To request permission, contact Customer Service.', + ], + ], + [ + [ + 'errorCode' => 'CertName.MissingParameter', + 'errorMessage' => 'You must specify CertName.', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + '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, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '97C68796-EB7F-4D41-9D5B-12B909D76508', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"97C68796-EB7F-4D41-9D5B-12B909D76508\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 97C68796-EB7F-4D41-9D5B-12B909D76508\\n","errorExample":""}]', + 'title' => '添加资源标签', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeTagResources' => [ + 'summary' => '调用DescribeTagResources查询资源对应的标签。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111837', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '固定值:**DOMAIN**。', + 'type' => 'string', + 'required' => true, + 'example' => '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' => 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' => '请求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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\n \\n example.com\\n \\n env\\n product\\n \\n \\n","errorExample":""}]', + 'title' => '查询资源标签', + 'description' => '> 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserTags' => [ + 'summary' => '调用DescribeUserTags查询用户标签。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111843', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n \\n env\\n product\\n pre\\n daily\\n \\n \\n region\\n hangzhou\\n \\n 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB\\n","errorExample":""}]', + 'title' => '查询用户标签', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'UntagResources' => [ + 'summary' => '调用UntagResources删除资源标签。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111919', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + 'parameters' => [ + [ + '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', + ], + ], + ], + ], + ], + '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":"\\n 97C68796-EB7F-4D41-9D5B-12B909D76508\\n","errorExample":""}]', + 'title' => '删除资源标签', + 'description' => '> 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListTagResources' => [ + 'summary' => '调用ListTagResources查询资源标签列表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111865', + 'abilityTreeNodes' => [ + 'FEATUREcdnFGPKCB', + ], + ], + 'parameters' => [ + [ + 'name' => 'TagOwnerUid', + 'in' => 'query', + 'schema' => [ + 'description' => '标签所属阿里云账号ID。', + 'type' => 'string', + 'required' => false, + 'example' => '123xxxx', + ], + ], + [ + 'name' => 'TagOwnerBid', + 'in' => 'query', + 'schema' => [ + 'description' => '标签拥有者Bid。', + 'type' => 'string', + 'required' => false, + 'example' => '26842', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '资源类型。固定值:**DOMAIN**。', + 'type' => 'string', + 'required' => true, + 'example' => 'DOMAIN', + 'enum' => [ + 'DOMAIN', + ], + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '下一个查询开始Token。', + 'type' => 'string', + 'required' => false, + 'example' => 'QpgBAAAAAABsb2dzL2RzLw==', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '资源ID。', + 'type' => 'array', + 'items' => [ + 'description' => '实例ID,N取值[1,50]。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + 'required' => false, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签组合。', + 'type' => 'array', + 'items' => [ + 'description' => '标签组合。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'testKey', + ], + 'Value' => [ + 'description' => '标签值。', + 'type' => 'string', + 'required' => false, + 'example' => 'testValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '下一个查询开始Token。', + 'type' => 'string', + 'example' => 'QpgBAAAAAABsb2dzL2RzLw==', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '64D28B53-5902-409B-94F6-FD46680144FE', + ], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => '资源和标签的关系列表。', + 'type' => 'array', + 'items' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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' => '待订阅的域名列表,多个域名用半角逗号(,)分隔'."\n" + ."\n" + .'待订阅的域名列表,多个域名用半角逗号(,)分隔'."\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.', + ], + [ + '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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n","errorExample":""}]', + 'title' => '创建报表定制任务', + 'description' => '- 定制可精确到报表和域名粒度,定制成功后可供您日常查看定制的报表数据。'."\n" + .'- 单用户调用频率:3次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnSubList' => [ + 'summary' => '调用DescribeCdnSubList查询已定制的报表任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111743', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '已定制的报表任务。', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'title' => '运营报表定制信息主体', + 'description' => '运营报表定制信息主体', + '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', + ], + ], + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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 \\"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":"\\n 3250A51D-C11D-46BA-B6B3-95348EEDE652\\n 成功\\n \\n \\n 5\\n 1\\n 2\\n 3\\n 2020-09-25T09:39:33Z\\n www.example.com\\n www.example.com\\n 2020-09-17T00:00:00Z\\n 2020-11-17T00:00:00Z\\n enable\\n \\n \\n","errorExample":""}]', + 'title' => '查询报表定制任务', + 'description' => '- 调用该接口默认返回所有已定制的报表,但目前只支持展示单个定制任务,因此调用结果只会返回一个定制报表任务。'."\n" + .'- 单用户调用频率:3次/秒。', + '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|定制任务状态。取值:
**enable**:启用。
**disable**:关闭。|', + 'extraInfo' => ' ', + ], + 'UpdateCdnSubTask' => [ + 'summary' => '调用UpdateCdnSubTask更新已定制的运营报表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111921', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ReportIds', + 'in' => 'formData', + 'schema' => [ + 'description' => '新定制的报表ID列表,多个用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => false, + 'example' => '1,2,3', + ], + ], + [ + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => [ + 'description' => '待订阅的域名列表,支持批量查询域名,多个域名用英文逗号(,)分隔'."\n" + .'如果不传该参数,默认为账号下的所有域名订阅报表交付任务。', + 'type' => 'string', + 'required' => false, + 'example' => 'www.example.com', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '定制任务的开始时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-09-17T00:00:00Z', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '定制任务的结束时间。使用UTC+0时间表示,格式为yyyy-MM-ddTHH:mm:ssZ。', + 'type' => 'string', + 'required' => false, + 'example' => '2020-11-17T00:00:00Z', + ], + ], + ], + '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.', + ], + [ + '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":"\\r\\n04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '更新报表定制任务', + 'description' => '>单用户调用频率:3次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteCdnSubTask' => [ + 'summary' => '调用DeleteCdnSubTask删除所有已定制的运营报表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111703', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + '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.', + ], + [ + '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":"\\r\\n04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '删除报表定制任务', + 'description' => '> 单用户调用频率:3次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnReport' => [ + 'summary' => '调用DescribeCdnReport查询已定制的报表数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111737', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '待查询的域名列表,多个域名用英文逗号(,)分隔。', + 'type' => 'string', + 'required' => false, + 'example' => 'www.example1.com,example2.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', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + '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 \\"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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n 成功\\n \\n \\n \\n \\n TopUrlByAcc\\n table\\n \\n
url
\\n
traf
\\n
traf_rate
\\n
acc
\\n
acc_rate
\\n
\\n
\\n \\n 440\\n 0.200%\\n 22\\n http://demo.com\\n 0.100%\\n \\n \\n 440\\n 0.200%\\n 22\\n http://demo.com\\n 0.100%\\n \\n
\\n
\\n
","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|报表类型。取值如下:
chart:图表。
table:表格。|'."\n" + .'|shape|String|图表类型。当format为table时,请忽略此字段。取值如下:
line:曲线图。
pie:饼状图。
bar:柱状图。|'."\n" + .'|header|String[]|报表的表头字段。|'."\n" + .'|legend|String|图形的图例字段。|'."\n" + .'|xAxis|String|图形x轴,没有则为空。|'."\n" + .'|yAxis|String|图形y轴,没有则为空。|', + 'extraInfo' => ' ', + ], + 'DescribeCdnReportList' => [ + 'summary' => '查询所有的定制报表列表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111738', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + 'parameters' => [ + [ + 'name' => 'ReportId', + 'in' => 'query', + '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' => '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"]}}}', + ], + ], + ], + ], + ], + '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 \\"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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n 成功\\n \\n \\n 1\\n \\n \\n DomainPvUv\\n chart\\n line\\n ds\\n cnt\\n cnt_type\\n
ds
\\n
cnt_type
\\n
cnt
\\n
\\n
\\n
\\n \\n 2\\n \\n \\n table\\n line\\n
url
\\n
traf
\\n
traf_rate
\\n
acc
\\n
acc_rate
\\n TopUrlByAcc\\n
\\n
\\n
\\n
\\n
","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|报表类型。取值:
chart:图表。
table:表格。|'."\n" + .'|shape|String|图表类型。当format为table时,请忽略此字段。取值:
line:曲线图。
pie:饼状图。
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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '111692', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + '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' => 'DomainName', + 'in' => 'formData', + 'schema' => [ + 'description' => '待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[填写信息](https://page.aliyun.com/form/act2017566026/index.htm)申请。'."\n" + ."\n" + .'待订阅的域名列表,多个域名用半角逗号(,)分隔,订阅域名数量上限为500个,超过500个请[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请。'."\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":"主题名称","to":["username@example.com","username@example.org"]}}', + ], + ], + [ + '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\\"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'DeliverId' => [ + 'description' => '订阅任务ID。', + 'type' => 'string', + 'example' => '1025', + ], + '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' => '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 \\"DeliverId\\": \\"1025\\",\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 1025\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n","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|是|执行频率。取值:
**h**:小时
**d**:天
**w**:周|'."\n" + .'|status|String|否|订阅任务状态。取值:
**enable**:启用。
**disable**:关闭。|'."\n" + .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" + .'|effectiveEnd|String|否|订阅交付任务结束时间。|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeCdnDeliverList' => [ + 'summary' => '调用DescribeCdnDeliverList查询报表订阅任务列表,系统将返回该用户所有的订阅任务列表。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '111724', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DeliverId', + 'in' => 'query', + 'schema' => [ + 'description' => '待查询的订阅任务ID。如果不传该参数,默认返回所有的订阅任务。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回主体', + '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"]}}}]}}', + ], + ], + ], + ], + ], + '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\\": \\"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":"\\n 12345\\n \\n \\n 1\\n enable\\n 2020-10-14T11:19:26Z\\n 0 0 0 * * ?\\n d\\n 域名订阅\\n www.example.com\\n \\n 1\\n \\n in\\n prov\\n 黑龙江\\n 北京\\n \\n \\n \\n 2\\n \\n \\n \\n 主题\\n example@alibaba-inc.com\\n example@alibaba-inc.com\\n \\n \\n \\n \\n","errorExample":""}]', + 'title' => '查询报表订阅列表', + 'description' => '> 单用户调用频率:3次/秒。', + 'responseParamsDescription' => '**data数据说明**'."\n" + ."\n" + .'|参数|类型|描述|'."\n" + .'|--------|-------|-----------|'."\n" + .'|deliverId|Long|订阅任务ID。|'."\n" + .'|status|String|订阅任务状态。取值:
**enable**:启用。
**disable**:关闭。|'."\n" + .'|createTime|String|订阅任务创建时间。|'."\n" + .'|crontab|String|订阅任务执行周期。|'."\n" + .'|frequency|String|执行频率。取值:
**h**:小时
**d**:天
**M**:月|'."\n" + .'|name|String|订阅任务名称。|'."\n" + .'|dmList|String[]|订阅任务的域名过滤列表。|'."\n" + .'|reports|String[]|订阅报表列表。包含以下参数:
reportId:报表ID。
conditions:报表过滤条件(包含过滤操作、过滤字段和过滤值),没有则为空。op:过滤操作,目前只支持**in**;field:过滤字段;value:过滤值。|'."\n" + .'|deliver|String|交付模块,包含邮件主题、收件人等信息。
email:邮件交付。
subject:邮件主题。
to:发送邮件列表。
copy:抄送邮件列表。|'."\n" + ."\n" + .'**reports数据说明**'."\n" + ."\n" + .'|参数|类型|描述|'."\n" + .'|--------|---------|---------|'."\n" + .'|deliverId|Long|订阅任务ID。|'."\n" + .'|status|String|订阅任务状态。取值:
**enable**:启用。
**disable**:关闭。|', + ], + 'UpdateCdnDeliverTask' => [ + 'summary' => '调用UpdateCdnDeliverTask根据订阅任务ID更新已订阅的报表任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111920', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + ], + '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\\"}"', + ], + ], + ], + '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.', + ], + [ + '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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n","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|是|执行频率。取值:
**h**:小时
**d**:天
**w**:周|'."\n" + .'|status|String|否|订阅任务状态。取值:
**enable**:启用。
**disable**:关闭。|'."\n" + .'|effectiveFrom|String|否|订阅交付任务开始时间。|'."\n" + .'|effectiveEnd|String|否|订阅交付任务结束时间。|', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteCdnDeliverTask' => [ + 'summary' => '调用DeleteCdnDeliverTask根据任务ID删除已订阅的报表任务。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111701', + 'abilityTreeNodes' => [ + 'FEATUREcdnEK7SNH', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + ], + ], + ], + ], + ], + '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":"\\n 04F0F334-1335-436C-A1D7-6C044FE73368\\n","errorExample":""}]', + 'title' => '删除报表订阅任务', + 'description' => '> 单用户调用频率:3次/秒。', + ], + 'DescribeIpInfo' => [ + 'summary' => '调用DescribeIpInfo验证指定的IP是否为阿里云CDN节点的IP地址。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111823', + 'abilityTreeNodes' => [ + 'FEATUREcdnNSUDKT', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'IP', + 'in' => 'query', + 'schema' => [ + 'description' => '指定IP地址,不支持批量。', + 'type' => 'string', + 'required' => true, + 'example' => '192.168.0.1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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' => '电信', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidIP.ValueNotSupported', + 'errorMessage' => 'The specified value of parameter IP is not supported.', + ], + ], + ], + '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":"\\n True\\n 123847FA-9A00-4426-83B8-B4B45D475930\\n China-Guizhou-guiyang\\n 中国-贵州省-贵阳市\\n telecom\\n 电信\\n","errorExample":""}]', + 'title' => '查询IP是否为CDN节点', + 'description' => '> 单用户调用频率:50次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeStagingIp' => [ + 'summary' => '调用DescribeStagingIp查询模拟环境的节点IP地址。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111836', + 'abilityTreeNodes' => [ + 'FEATUREcdnD8A1YM', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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":"\\n\\n xx.xx.xx.xx\\n xx.xx.xx.xx\\n xx.xx.xx.xx\\n\\n1B9E0E83-24AC-49F4-9EE0-BF5EB03E8381\\n","errorExample":""}]', + 'title' => '查询节点IP列表-模拟环境-L1', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeL2VipsByDomain' => [ + 'summary' => '调用DescribeL2VipsByDomain查询指定域名的L2节点的IP地址。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111825', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,仅支持查询单个域名。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'SystemBusy', + 'errorMessage' => 'The system is busy, please try again later.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\txxx.111.111/25\\r\\n\\t\\txxx.112.112/25\\r\\n\\t\\txxx.33.190/25\\r\\n\\t\\txxx.96.109/25\\r\\n\\t\\txxx.20.226/25\\r\\n\\t\\txxx.19.140/25\\r\\n\\t\\txxx.215.140/25\\r\\n\\t\\r\\n\\t820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\r\\n\\texample.com\\r\\n\\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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111846', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + ], + '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', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t122.72.xxx.xxx\\r\\n\\t\\t119.14.xxx.xxx\\r\\n\\t\\t221.13.xxx.xxx\\r\\n\\t\\t124.95.xxx.xxx\\r\\n\\t\\t58.211.xxx.xxx\\r\\n\\t\\r\\n\\t820E7900-5CA9-4AEF-B0DD-20ED5F64BE55\\r\\n\\texample.com\\r\\n","errorExample":""}]', + 'title' => '查询节点IP列表-L1', + 'description' => '> 单用户调用频率:30次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeIpStatus' => [ + 'summary' => '调用DescribeIpStatus查询节点IP可用状态,进而根据节点IP可用状态来了解节点加速服务的可用状态。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111824', + 'abilityTreeNodes' => [ + 'FEATUREcdnNSUDKT', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidArgIps.Malformed', + 'errorMessage' => 'The specified ips is invalid.', + ], + [ + 'errorCode' => 'InvalidArgIps.IpCanNotFound', + 'errorMessage' => 'The ips can not found.', + ], + ], + ], + '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":"\\n\\n abnormal\\n 10.10.10.10\\n\\n\\n normal\\n 192.168.0.1\\n\\n\\n nonali\\n 172.16.0.1\\n\\n\\n normal\\n 192.0.2.1\\n\\nF61CDR30-E83C-4FDA-BF73-9A94CDD44229\\n","errorExample":""}]', + 'title' => '查询节点IP状态', + 'description' => '> 单用户调用频率:50次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'AddFCTrigger' => [ + 'summary' => '调用AddFCTrigger添加指定的函数计算触发器。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '111678', + 'abilityTreeNodes' => [ + 'FEATUREcdnCG0XWT', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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.', + ], + [ + '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90\\"\\n}","errorExample":""},{"type":"xml","example":"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90","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' => ' ', + ], + 'UpdateFCTrigger' => [ + 'summary' => '调用UpdateFCTrigger更新指定的函数计算触发器。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111922', + 'abilityTreeNodes' => [ + 'FEATUREcdnCG0XWT', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'TriggerARN', + 'in' => 'query', + 'schema' => [ + 'description' => '函数计算服务对应的的触发器。', + 'type' => 'string', + 'required' => true, + 'example' => 'acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger', + ], + ], + [ + 'name' => 'SourceARN', + 'in' => 'formData', + 'schema' => [ + 'description' => '事件侦听的资源和过滤器。', + 'type' => 'string', + 'required' => false, + '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' => false, + 'example' => 'acs:ram:: 1234567890:role/aliyuncdneventnotificationrole', + ], + ], + [ + 'name' => 'Notes', + 'in' => 'formData', + 'schema' => [ + 'description' => '备注信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + '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.', + ], + [ + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'PermissionDeny', + 'errorMessage' => 'No permission to operate this FCTrigger.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\n","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' => ' ', + ], + 'DescribeFCTrigger' => [ + 'summary' => '调用DescribeFCTrigger查询指定的函数计算触发器。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111820', + 'abilityTreeNodes' => [ + 'FEATUREcdnCG0XWT', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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', + ], + '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.', + ], + ], + [ + [ + 'errorCode' => 'NotFound.FCTrigger', + 'errorMessage' => 'FCTrigger not found.', + ], + ], + ], + '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":"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\n\\n acs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\n acs:cdn:*:1234567890:domain/example.com\\n LogFileCreated\\n 1.0.0\\n test\\n acs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\n","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' => ' ', + ], + 'DeleteFCTrigger' => [ + 'summary' => '调用DeleteFCTrigger删除指定的函数计算触发器。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '111706', + 'abilityTreeNodes' => [ + 'FEATUREcdnCG0XWT', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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.', + ], + ], + 403 => [ + [ + 'errorCode' => 'PermissionDeny', + 'errorMessage' => 'No permission to operate this FCTrigger.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nEC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\r\\n","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' => ' ', + ], + 'ListFCTrigger' => [ + 'summary' => '调用ListFCTrigger查询指定事件的函数计算触发器列表。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111861', + 'abilityTreeNodes' => [ + 'FEATUREcdnCG0XWT', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'EventMetaName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件名称。仅支持传单个名称。'."\n" + ."\n" + .'事件名称请参见[CDN事件触发器](~~73333~~)。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'LogFileCreated', + ], + ], + [ + 'name' => 'EventMetaVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '事件版本号。仅支持传单个版本号。'."\n" + ."\n" + .'事件版本请参见[CDN事件触发器](~~73333~~)。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '1.0.0', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound.EventMeta', + 'errorMessage' => 'EventMeta not found.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t测试\\r\\n\\t\\tacs:cdn:*:1234567890:domain/example.com\\r\\n\\t\\t1.0.0\\r\\n\\t\\tLogFileCreated\\r\\n\\t\\tacs:ram:: 1234567890:role/aliyuncdneventnotificationrole\\r\\n\\t\\tacs:fc:cn-beijing: 1234567890:services/FCTestService/functions/printEvent/triggers/testtrigger\\r\\n\\t\\r\\n\\tEC046C5D-8CB4-4B6B-B7F8-B335E51EF90E\\r\\n","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' => ' ', + ], + 'DescribeDomainCcActivityLog' => [ + 'summary' => '调用DescribeDomainCcActivityLog查询频次控制规则拦截日志。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111767', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '需要查询的加速域名。支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'若参数为空,默认返回所有加速域名合并后的数据。'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'StartTime', + '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', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '获取数据结束时间。日期格式按照ISO8601表示法,并使用UTC+0时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'结束时间需大于起始时间。', + 'type' => 'string', + 'required' => false, + 'example' => '2018-12-10T21:00:00Z', + ], + ], + [ + 'name' => 'TriggerObject', + 'in' => 'query', + 'schema' => [ + 'description' => '触发对象。'."\n" + ."\n" + .'若该参数为空,则查询所有拦截事件。', + 'type' => 'string', + 'required' => false, + 'example' => 'IP', + ], + ], + [ + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n20\\n30\\n1\\n3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\n\\n 2015-12-10T20:00:00Z\\n 1.2.3.4\\n Ip\\n example.com\\n 300\\n deny\\n test2\\n\\n\\n 2015-12-10T20:00:00Z\\n safari 5.1 – Windows\\n Header_UserAgent\\n example.com\\n 300\\n deny\\n test2\\n\\n","errorExample":""}]', + 'title' => '查询频次控制规则拦截日志', + 'description' => '- 不指定StartTime和EndTime时,该接口默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n" + .'- 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持20个域名查询。'."\n" + .'- 最多可获取30天的数据。'."\n" + .'- 单用户调用频率:50次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainPvData' => [ + 'summary' => '调用DescribeDomainPvData按小时粒度获取加速域名的PV页面访问统计,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111785', + 'abilityTreeNodes' => [ + 'FEATUREcdnF7OM8K', + ], + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\r\\n\\t3600\\r\\n\\tBCD7D917-76F1-442F-BB75-C810DE34C761\\r\\n\\texample.com\\r\\n\\t2015-11-29T00:00:00Z\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T03:00:00Z\\r\\n\\t\\t\\t9292\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T23:00:00Z\\r\\n\\t\\t\\t9239\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T07:00:00Z\\r\\n\\t\\t\\t9464\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T12:00:00Z\\r\\n\\t\\t\\t9379\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T22:00:00Z\\r\\n\\t\\t\\t9243\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T10:00:00Z\\r\\n\\t\\t\\t10063\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T15:00:00Z\\r\\n\\t\\t\\t9068\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T14:00:00Z\\r\\n\\t\\t\\t9353\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T04:00:00Z\\r\\n\\t\\t\\t9513\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T02:00:00Z\\r\\n\\t\\t\\t9377\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T08:00:00Z\\r\\n\\t\\t\\t9579\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T20:00:00Z\\r\\n\\t\\t\\t9109\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T09:00:00Z\\r\\n\\t\\t\\t10631\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T06:00:00Z\\r\\n\\t\\t\\t9587\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T01:00:00Z\\r\\n\\t\\t\\t9108\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T16:00:00Z\\r\\n\\t\\t\\t9454\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T21:00:00Z\\r\\n\\t\\t\\t9285\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T19:00:00Z\\r\\n\\t\\t\\t9059\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T00:00:00Z\\r\\n\\t\\t\\t9470\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T05:00:00Z\\r\\n\\t\\t\\t11830\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T13:00:00Z\\r\\n\\t\\t\\t9992\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T17:00:00Z\\r\\n\\t\\t\\t9529\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T18:00:00Z\\r\\n\\t\\t\\t9203\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2015-11-28T11:00:00Z\\r\\n\\t\\t\\t9604\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t2015-11-28T00:00:00Z\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '获取PV页面访问统计', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + ."\n" + .' >- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" + .'- 单用户调用频率:50次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainUvData' => [ + 'summary' => '调用DescribeDomainUvData按小时粒度获取加速域名的UV页面独立访问统计,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111816', + 'abilityTreeNodes' => [ + 'FEATUREcdnF7OM8K', + ], + ], + '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。'."\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' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n3600\\n17276F0E-66F4-4547-B9C6-42E2547362D4\\nexample.com\\n2019-11-29T04:00:00Z\\n2019-11-29T00:00:00Z\\n\\n \\n 2019-11-29T00:00:00Z\\n 2\\n \\n \\n 2019-11-29T01:00:00Z\\n 12\\n \\n \\n 2019-11-29T02:00:00Z\\n 6\\n \\n \\n 2019-11-29T03:00:00Z\\n 7\\n \\n \\n 2019-11-29T04:00:00Z\\n 5\\n \\n\\n\\n","errorExample":""}]', + 'title' => '获取UV页面独立访问统计', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + ."\n\n" + .'>- 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime,返回起止时间的数据。'."\n" + .'- 您只可以查询一个域名或当前用户下所有域名的数据。'."\n" + .'- 单用户调用频率:100次/秒。'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainTopUrlVisit' => [ + 'summary' => '获取加速域名某个指定时间段内的热门URL列表(TOP100)。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111813', + 'abilityTreeNodes' => [ + 'FEATUREcdnB3I7MU', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n\\n\\n \\n 9304\\n 0\\n 2\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n \\n 3986\\n 0\\n 1\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n \\n 784\\n 0\\n 1\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n\\n\\n \\n 3986\\n 0\\n 1\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n \\n 784\\n 0\\n 1\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n\\n8E7A2ABF-1BB0-4E46-AE3E-58DB3151080C\\nexample.com\\n\\n \\n 9304\\n 0\\n 2\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0\\n \\n\\n2019-10-04T00:00:00Z\\n\\n\\n","errorExample":""}]', + 'title' => '获取热门URL列表', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'>- 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" + .'- 支持获取最近90天的数据。'."\n" + .'- 该接口仅支持单个域名查询。'."\n" + .'- 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainTopClientIpVisit' => [ + 'summary' => '调用DescribeDomainTopClientIpVisit查询加速域名在指定时间范围内按照访问次数或流量排序的客户端IP排行,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111811', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'LocationNameEn', + 'in' => 'query', + '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-09-30T16: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-10-01T16:00:00Z', + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'description' => '排序方式。取值:'."\n" + ."\n" + .'- **traf**(默认值):流量。'."\n" + .'- **acc**:访问次数。', + 'type' => 'string', + 'required' => false, + 'example' => 'traf', + 'default' => 'traf', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '返回数据条目,最大值为100。'."\n" + ."\n" + .'默认为20,即返回TOP 20的数据条目。', + 'type' => 'string', + 'required' => false, + 'example' => '20', + 'default' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n64D28B53-5902-409B-94F6-FD46680144FE\\n\\n 1\\n 1.1.xx\\n 1024\\n 128\\n\\n\\n 2\\n 2.2.xx\\n 2048\\n 256\\n\\n\\n","errorExample":""}]', + 'title' => '获取Client IP列表排序数据', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按照指定的时间查询。'."\n" + .'> - 该接口计算的数据粒度为1小时。'."\n" + .'> - 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainTopReferVisit' => [ + 'summary' => '调用DescribeDomainTopReferVisit获取加速域名某天的热门页面引用次数排名,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111812', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + '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' => 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' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n \\n 1557043\\n 0.9078341013824884\\n 591\\n -\\n 0.07801388057582173\\n \\n \\n 18397394\\n 0.08602150537634409\\n 56\\n learn.aliyundoc.com\\n 0.9217806434519402\\n \\n \\n 4101\\n 0.006144393241167435\\n 4\\n learn.aliyundoc.com\\n 0.00020547597223804668\\n \\n\\nBA64068A-D73C-4613-8AAB-E9374F78FB95\\nexample.com\\n2019-12-21T12:00:00Z\\n\\n","errorExample":""}]', + 'title' => '获取热门页面引用次数排名', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口默认读取过去24小时的数据;指定StartTime和EndTime时,按指定的起止时间查询。'."\n" + .'> - 该接口的数据计算粒度为5分钟。'."\n" + .'> - 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainSrcTopUrlVisit' => [ + 'summary' => '调用DescribeDomainSrcTopUrlVisit获取加速域名的回源热门URL。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111808', + 'abilityTreeNodes' => [ + 'FEATUREcdnE9OF3Y', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + '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。'."\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' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n\\n \\n 161673\\n http://example.com/nn_live/nn_x64/a0.m3u8\\n 0.35\\n 460486880\\n 0.35\\n \\n \\n 37\\n http://example.com/nn_live/nn_x64/ZXg9MQ,,/HNJSMPP360.ts\\n 0.35\\n 460486880\\n 0.35\\n \\n\\n\\n \\n 161673\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8\\n 0.35\\n 460486880\\n 0.35\\n \\n \\n 3\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts\\n 0.35\\n 460486880\\n 0.35\\n \\n\\n\\n \\n 1884\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhb,,/HNJSMPP360.m3u8\\n 0.35\\n 460486880\\n 0.35\\n \\n \\n 1\\n http://example.com/nn_live/nn_x64/aWQ9SEEwODgm,/HNJSMPP360.ts\\n 0.35\\n 460486880\\n 0.35\\n \\n\\n64D28B53-5902-409B-94F6-FD46680144FE\\nexample.com\\n\\n \\n 161673\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcG,,/HNJSMPP360.m3u8\\n 0.35\\n 460486880\\n 0.35\\n \\n \\n 3\\n http://example.com/nn_live/nn_x64/aWQ9SE5KDMlPTIwMTQ,,/HNJSMPP360.ts\\n 0.35\\n 460486880\\n 0.35\\n \\n\\n2018-10-03T16:00:00Z\\n\\n \\n 161673\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8\\n 0.35\\n 460486880\\n 0.35\\n \\n \\n 3\\n http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts\\n 0.35\\n 460486880\\n 0.35\\n \\n\\n\\n","errorExample":""}]', + 'title' => '获取回源热门URL', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 查询的时间粒度为5分钟。'."\n" + .'> - 单用户调用频率:10次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeTopDomainsByFlow' => [ + 'summary' => '调用DescribeTopDomainsByFlow获取用户按流量排名的域名,支持获取最近30天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111838', + 'abilityTreeNodes' => [ + 'FEATUREcdnGZSOSW', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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' => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n4\\n4\\n6796A2B4-15A7-4142-85C0-5A93406034B5\\n\\n \\n 26.752000000000002\\n 3\\n 0.000910078753253719\\n 2003\\n 2\\n example.com\\n 2019-12-22T20:50:00Z\\n \\n\\n2019-12-23T08:00:00Z\\n2019-12-22T08:00:00Z\\n","errorExample":""}]', + 'title' => '获取按流量排名的加速域名', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'>- 如果您不指定**StartTime**和**EndTime**,该接口返回当月数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" + .'- 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRegionData' => [ + 'summary' => '调用DescribeDomainRegionData获取加速域名天粒度的用户区域分布数据统计,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111800', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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' => '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' => [ + 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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 404 => [ + [ + 'errorCode' => 'InvalidDomain.NotFound', + 'errorMessage' => 'The domain provided does not exist in our records.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t380.9614285714286\\r\\n\\t\\t\\t0.01155980271270037\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t2400057\\r\\n\\t\\t\\t0.003544181046236794\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t日本\\r\\n\\t\\t\\t154.3345765545624\\r\\n\\t\\t\\t800019.0\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t5.9523809523809524E-5\\r\\n\\t\\t\\t5183.666666666667\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t25110.431412698414\\r\\n\\t\\t\\t0.31211467324291\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t158195717\\r\\n\\t\\t\\t0.23360872886644055\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t81\\r\\n\\t\\t\\txizang\\r\\n\\t\\t\\t西藏自治区\\r\\n\\t\\t\\t1397.1430909315718\\r\\n\\t\\t\\t1953033.5543209878\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0016071428571428571\\r\\n\\t\\t\\t1397.8765432098764\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t40343.86242857143\\r\\n\\t\\t\\t0.33908754623921084\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t254166333\\r\\n\\t\\t\\t0.37532921137846464\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t88\\r\\n\\t\\t\\tzhongqing\\r\\n\\t\\t\\t重庆市\\r\\n\\t\\t\\t787.8073097249128\\r\\n\\t\\t\\t2888253.7875\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.001746031746031746\\r\\n\\t\\t\\t3666.193181818182\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t38835.2834920635\\r\\n\\t\\t\\t0.37376695437731194\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t244662286\\r\\n\\t\\t\\t0.3612945179094354\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t97\\r\\n\\t\\t\\ttianjin\\r\\n\\t\\t\\t天津市\\r\\n\\t\\t\\t1711.4277340197823\\r\\n\\t\\t\\t2522291.608247423\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0019246031746031746\\r\\n\\t\\t\\t1473.7938144329896\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t69358.64117460318\\r\\n\\t\\t\\t0.5895499383477188\\r\\n\\t\\t\\t99.34640522875817\\r\\n\\t\\t\\t436959439\\r\\n\\t\\t\\t0.6452610763393265\\r\\n\\t\\t\\t99.99291705425965\\r\\n\\t\\t\\t153\\r\\n\\t\\t\\tqinghai\\r\\n\\t\\t\\t青海省\\r\\n\\t\\t\\t1210.9708048576356\\r\\n\\t\\t\\t2855944.0483660134\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0030357142857142857\\r\\n\\t\\t\\t2358.392156862745\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t66239.68633333335\\r\\n\\t\\t\\t0.6473489519112207\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t417310023\\r\\n\\t\\t\\t0.6162446463192347\\r\\n\\t\\t\\t99.99999999999999\\r\\n\\t\\t\\t168\\r\\n\\t\\t\\tHainan\\r\\n\\t\\t\\t海南省\\r\\n\\t\\t\\t324.9427676080411\\r\\n\\t\\t\\t2483988.2375000003\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0033333333333333335\\r\\n\\t\\t\\t7644.386904761905\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t62071.644380952384\\r\\n\\t\\t\\t0.7745067817509248\\r\\n\\t\\t\\t99.50248756218906\\r\\n\\t\\t\\t391051359\\r\\n\\t\\t\\t0.5774682921278322\\r\\n\\t\\t\\t99.99983347455928\\r\\n\\t\\t\\t201\\r\\n\\t\\t\\tshanghai\\r\\n\\t\\t\\t上海市\\r\\n\\t\\t\\t1319.43005273653\\r\\n\\t\\t\\t1945529.152238806\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0039880952380952385\\r\\n\\t\\t\\t1474.5223880597016\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t86967.5461111111\\r\\n\\t\\t\\t0.9286374845869297\\r\\n\\t\\t\\t96.2655601659751\\r\\n\\t\\t\\t547895540\\r\\n\\t\\t\\t0.8090811968039774\\r\\n\\t\\t\\t98.60251863101267\\r\\n\\t\\t\\t241\\r\\n\\t\\t\\tbeijing\\r\\n\\t\\t\\t北京市\\r\\n\\t\\t\\t1223.3552235839977\\r\\n\\t\\t\\t2273425.479253112\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.004781746031746032\\r\\n\\t\\t\\t1858.3526970954356\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t228242.86641269844\\r\\n\\t\\t\\t1.9690197287299631\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1437930058\\r\\n\\t\\t\\t2.1234014270475434\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t511\\r\\n\\t\\t\\tningxia\\r\\n\\t\\t\\t宁夏回族自治区\\r\\n\\t\\t\\t512.8134924297486\\r\\n\\t\\t\\t2813953.1475538164\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.010138888888888888\\r\\n\\t\\t\\t5487.283757338552\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t219378.5598888889\\r\\n\\t\\t\\t2.250308261405672\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1382084927\\r\\n\\t\\t\\t2.040934529315853\\r\\n\\t\\t\\t100.00000000000001\\r\\n\\t\\t\\t584\\r\\n\\t\\t\\tJilin\\r\\n\\t\\t\\t吉林省\\r\\n\\t\\t\\t1152.4327405034373\\r\\n\\t\\t\\t2366583.779623288\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.011587301587301587\\r\\n\\t\\t\\t2053.554794520548\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t181938.64595238096\\r\\n\\t\\t\\t2.3273736128236746\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1146213469\\r\\n\\t\\t\\t1.6926214892159708\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t604\\r\\n\\t\\t\\tGansu\\r\\n\\t\\t\\t甘肃省\\r\\n\\t\\t\\t476.60455862620415\\r\\n\\t\\t\\t1897704.4197019867\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.011984126984126984\\r\\n\\t\\t\\t3981.7168874172185\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t302711.6698571429\\r\\n\\t\\t\\t2.8013255240443895\\r\\n\\t\\t\\t99.8624484181568\\r\\n\\t\\t\\t1907083520\\r\\n\\t\\t\\t2.816203642467227\\r\\n\\t\\t\\t99.99996931440107\\r\\n\\t\\t\\t727\\r\\n\\t\\t\\txinjiang\\r\\n\\t\\t\\t新疆维吾尔自治区\\r\\n\\t\\t\\t786.5196031941114\\r\\n\\t\\t\\t2623223.5489683636\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.014424603174603175\\r\\n\\t\\t\\t3335.2297111416783\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t330366.9671587302\\r\\n\\t\\t\\t2.847564734895191\\r\\n\\t\\t\\t99.86468200270636\\r\\n\\t\\t\\t2081311893\\r\\n\\t\\t\\t3.0734879058423363\\r\\n\\t\\t\\t99.99996955766207\\r\\n\\t\\t\\t739\\r\\n\\t\\t\\tneimenggu\\r\\n\\t\\t\\t内蒙古自治区\\r\\n\\t\\t\\t537.274830290738\\r\\n\\t\\t\\t2816389.5711772665\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.014662698412698412\\r\\n\\t\\t\\t5241.9905277401895\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t296377.9758412699\\r\\n\\t\\t\\t2.8552712700369915\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1867181247\\r\\n\\t\\t\\t2.7572796764166547\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t741\\r\\n\\t\\t\\tGuizhou\\r\\n\\t\\t\\t贵州省\\r\\n\\t\\t\\t784.3618585093111\\r\\n\\t\\t\\t2519812.7500674766\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.014702380952380953\\r\\n\\t\\t\\t3212.5641025641025\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t359904.2652857143\\r\\n\\t\\t\\t3.0749075215782984\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t2267396871\\r\\n\\t\\t\\t3.348280901477785\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t798\\r\\n\\t\\t\\tshanxixian\\r\\n\\t\\t\\t陕西省\\r\\n\\t\\t\\t936.6710791561273\\r\\n\\t\\t\\t2841349.462781955\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.015833333333333335\\r\\n\\t\\t\\t3033.4548872180453\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t351643.65639682545\\r\\n\\t\\t\\t3.101880394574599\\r\\n\\t\\t\\t98.88198757763975\\r\\n\\t\\t\\t2215355035\\r\\n\\t\\t\\t3.2714303563604967\\r\\n\\t\\t\\t99.8809108401154\\r\\n\\t\\t\\t805\\r\\n\\t\\t\\tJiangxi\\r\\n\\t\\t\\t江西省\\r\\n\\t\\t\\t1809.5402913913995\\r\\n\\t\\t\\t2751993.832670808\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.01597222222222222\\r\\n\\t\\t\\t1520.824844720497\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t337654.18080952385\\r\\n\\t\\t\\t3.313810110974106\\r\\n\\t\\t\\t99.4186046511628\\r\\n\\t\\t\\t2127221339\\r\\n\\t\\t\\t3.141282707530976\\r\\n\\t\\t\\t99.99985277977696\\r\\n\\t\\t\\t860\\r\\n\\t\\t\\tFujian\\r\\n\\t\\t\\t福建省\\r\\n\\t\\t\\t1154.391434785841\\r\\n\\t\\t\\t2473513.185\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.017063492063492062\\r\\n\\t\\t\\t2142.6988372093024\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t359782.1130793651\\r\\n\\t\\t\\t3.4525277435265105\\r\\n\\t\\t\\t99.55357142857143\\r\\n\\t\\t\\t2266627312\\r\\n\\t\\t\\t3.3471444884395347\\r\\n\\t\\t\\t99.88374126237764\\r\\n\\t\\t\\t896\\r\\n\\t\\t\\tshanxi\\r\\n\\t\\t\\t山西省\\r\\n\\t\\t\\t1235.7418245535987\\r\\n\\t\\t\\t2529717.982589286\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.017777777777777778\\r\\n\\t\\t\\t2047.125\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t400389.1932857143\\r\\n\\t\\t\\t3.5103267570900125\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t2522451917\\r\\n\\t\\t\\t3.7249224817393896\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t911\\r\\n\\t\\t\\tyunnan\\r\\n\\t\\t\\t云南省\\r\\n\\t\\t\\t1662.686634908582\\r\\n\\t\\t\\t2768882.4563117456\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.018075396825396824\\r\\n\\t\\t\\t1665.3062568605928\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t396200.5617777778\\r\\n\\t\\t\\t3.695283600493218\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t2496063539\\r\\n\\t\\t\\t3.685954577676852\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t959\\r\\n\\t\\t\\tHebei\\r\\n\\t\\t\\t河北省\\r\\n\\t\\t\\t1028.303387588414\\r\\n\\t\\t\\t2602777.413138686\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.01902777777777778\\r\\n\\t\\t\\t2531.1376433785194\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t487959.9617619048\\r\\n\\t\\t\\t4.188501849568434\\r\\n\\t\\t\\t99.72401103955842\\r\\n\\t\\t\\t3074147759\\r\\n\\t\\t\\t4.5396156096015785\\r\\n\\t\\t\\t99.99993802509998\\r\\n\\t\\t\\t1087\\r\\n\\t\\t\\tHubei\\r\\n\\t\\t\\t湖北省\\r\\n\\t\\t\\t884.3783424312907\\r\\n\\t\\t\\t2828102.81425943\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.02156746031746032\\r\\n\\t\\t\\t3197.8426862925485\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t451918.7006190476\\r\\n\\t\\t\\t4.296393341553637\\r\\n\\t\\t\\t99.64125560538116\\r\\n\\t\\t\\t2847087813\\r\\n\\t\\t\\t4.2043145921101575\\r\\n\\t\\t\\t99.91296907710742\\r\\n\\t\\t\\t1115\\r\\n\\t\\t\\tzhejiang\\r\\n\\t\\t\\t浙江省\\r\\n\\t\\t\\t1127.3220113227628\\r\\n\\t\\t\\t2553441.9855605382\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.022123015873015874\\r\\n\\t\\t\\t2265.0511210762334\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t508989.9772222223\\r\\n\\t\\t\\t4.37345869297164\\r\\n\\t\\t\\t99.64757709251101\\r\\n\\t\\t\\t3206636856\\r\\n\\t\\t\\t4.73526319123739\\r\\n\\t\\t\\t99.7790833225895\\r\\n\\t\\t\\t1135\\r\\n\\t\\t\\tJiangsu\\r\\n\\t\\t\\t江苏省\\r\\n\\t\\t\\t1330.4354698914951\\r\\n\\t\\t\\t2825230.7105726874\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.02251984126984127\\r\\n\\t\\t\\t2123.5383259911896\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t488243.6136984127\\r\\n\\t\\t\\t4.37731196054254\\r\\n\\t\\t\\t99.03169014084507\\r\\n\\t\\t\\t3075934766\\r\\n\\t\\t\\t4.54225449569792\\r\\n\\t\\t\\t99.99857147165532\\r\\n\\t\\t\\t1136\\r\\n\\t\\t\\tHunan\\r\\n\\t\\t\\t湖南省\\r\\n\\t\\t\\t1339.8235569585188\\r\\n\\t\\t\\t2707689.0548415496\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.02253968253968254\\r\\n\\t\\t\\t2020.9295774647887\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t508313.40790476196\\r\\n\\t\\t\\t4.465937114673243\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t3202374469\\r\\n\\t\\t\\t4.728968894829482\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1159\\r\\n\\t\\t\\tHeilongjiang\\r\\n\\t\\t\\t黑龙江省\\r\\n\\t\\t\\t1397.6178986771317\\r\\n\\t\\t\\t2763049.585677308\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.022996031746031747\\r\\n\\t\\t\\t1976.9706643658326\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t490651.66979365086\\r\\n\\t\\t\\t4.519882860665844\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t3091105519\\r\\n\\t\\t\\t4.564657253906334\\r\\n\\t\\t\\t99.99999999999999\\r\\n\\t\\t\\t1173\\r\\n\\t\\t\\tLiaoning\\r\\n\\t\\t\\t辽宁省\\r\\n\\t\\t\\t1452.8561771775414\\r\\n\\t\\t\\t2635213.5717817564\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.023273809523809523\\r\\n\\t\\t\\t1813.8158567774935\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t493617.2470952381\\r\\n\\t\\t\\t4.519882860665844\\r\\n\\t\\t\\t99.65899403239557\\r\\n\\t\\t\\t3109788656\\r\\n\\t\\t\\t4.592246773671759\\r\\n\\t\\t\\t99.962662755313\\r\\n\\t\\t\\t1173\\r\\n\\t\\t\\tanhui\\r\\n\\t\\t\\t安徽省\\r\\n\\t\\t\\t1502.2255494727121\\r\\n\\t\\t\\t2651141.2248081844\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.023273809523809523\\r\\n\\t\\t\\t1764.8090366581416\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t544321.7694444446\\r\\n\\t\\t\\t4.778051787916153\\r\\n\\t\\t\\t98.79032258064517\\r\\n\\t\\t\\t3429227147\\r\\n\\t\\t\\t5.063963838946395\\r\\n\\t\\t\\t99.3034652219695\\r\\n\\t\\t\\t1240\\r\\n\\t\\t\\tGuangxi\\r\\n\\t\\t\\t广西壮族自治区\\r\\n\\t\\t\\t469.5304824766785\\r\\n\\t\\t\\t2765505.7641129037\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.024603174603174603\\r\\n\\t\\t\\t5889.938709677419\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t518272.7902698413\\r\\n\\t\\t\\t5.725955610357583\\r\\n\\t\\t\\t99.93270524899057\\r\\n\\t\\t\\t3265118578\\r\\n\\t\\t\\t4.821623561583812\\r\\n\\t\\t\\t99.99678589314689\\r\\n\\t\\t\\t1486\\r\\n\\t\\t\\tsichuan\\r\\n\\t\\t\\t四川省\\r\\n\\t\\t\\t720.671411528823\\r\\n\\t\\t\\t2197253.41769852\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.029484126984126984\\r\\n\\t\\t\\t3048.897711978466\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t688129.0886031748\\r\\n\\t\\t\\t6.022657213316893\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t4335213258\\r\\n\\t\\t\\t6.4018398984302864\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1563\\r\\n\\t\\t\\tshandong\\r\\n\\t\\t\\t山东省\\r\\n\\t\\t\\t2216.86197693452\\r\\n\\t\\t\\t2773648.9175943704\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.03101190476190476\\r\\n\\t\\t\\t1251.1599488163788\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t650147.539904762\\r\\n\\t\\t\\t6.149815043156597\\r\\n\\t\\t\\t99.93734335839599\\r\\n\\t\\t\\t4095929501\\r\\n\\t\\t\\t6.048487892405889\\r\\n\\t\\t\\t99.99998447727191\\r\\n\\t\\t\\t1596\\r\\n\\t\\t\\tHenan\\r\\n\\t\\t\\t河南省\\r\\n\\t\\t\\t1091.8003744598548\\r\\n\\t\\t\\t2566371.868045113\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.03166666666666667\\r\\n\\t\\t\\t2350.5870927318297\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t764462.3847142858\\r\\n\\t\\t\\t7.405980271270037\\r\\n\\t\\t\\t99.37565036420395\\r\\n\\t\\t\\t4816113023\\r\\n\\t\\t\\t7.111987963257421\\r\\n\\t\\t\\t99.82548062184921\\r\\n\\t\\t\\t1922\\r\\n\\t\\t\\tGuangdong\\r\\n\\t\\t\\t广东省\\r\\n\\t\\t\\t1040.446859646019\\r\\n\\t\\t\\t2505782.0102497404\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.03813492063492063\\r\\n\\t\\t\\t2408.3709677419356\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t86400\\r\\n\\t2E5AD83F-BD7B-462E-8319-2E30E305519A\\r\\n\\texample.com\\r\\n\\t2015-12-07T12:00:00Z\\r\\n\\t2015-12-05T12:00:00Z\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '获取用户区域分布数据统计', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 如果不指定**StartTime**和**EndTime**,该接口返回过去**24**小时的数据;指定**StartTime**和**EndTime**,返回起止时间的数据。'."\n" + .'> - 获取数据有一定延时,如果需要获取前一天的数据,建议您隔天获取。'."\n" + .'> - 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainISPData' => [ + 'summary' => '调用DescribeDomainISPData查询加速域名天粒度的用户运营商分布数据统计,支持获取最近90天的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111778', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + '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-11-29T05: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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + 404 => [ + [ + 'errorCode' => 'InvalidDomain.NotFound', + 'errorMessage' => 'The domain provided does not exist in our records.', + ], + ], + ], + '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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1311.4601296296296\\r\\n\\t\\t\\t0.004509176173513099\\r\\n\\t\\t\\t88.92594866772144\\r\\n\\t\\t\\talibaba\\r\\n\\t\\t\\t7081884.7\\r\\n\\t\\t\\t阿里巴巴\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t2.3148148148148147E-5\\r\\n\\t\\t\\t79638.0\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t7081884\\r\\n\\t\\t\\t0.012220518530445479\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\t444.455\\r\\n\\t\\t\\t0.013527528520539298\\r\\n\\t\\t\\t154.3345765545624\\r\\n\\t\\t\\toverseas\\r\\n\\t\\t\\t800019.0\\r\\n\\t\\t\\t海外ISP\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t6.944444444444444E-5\\r\\n\\t\\t\\t5183.666666666667\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t2400057\\r\\n\\t\\t\\t0.004141544558417533\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t82\\r\\n\\t\\t\\t45838.64816666667\\r\\n\\t\\t\\t0.3697524462280741\\r\\n\\t\\t\\t1025.5028528460102\\r\\n\\t\\t\\tdrpeng\\r\\n\\t\\t\\t3018642.684146342\\r\\n\\t\\t\\t鹏博士\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.0018981481481481482\\r\\n\\t\\t\\t2943.5731707317073\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t247528700\\r\\n\\t\\t\\t0.42713616424581613\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t99.99999999999999\\r\\n\\t\\t\\t114\\r\\n\\t\\t\\t65933.51396296297\\r\\n\\t\\t\\t0.5140460837804933\\r\\n\\t\\t\\t484.6396117340071\\r\\n\\t\\t\\tcernet\\r\\n\\t\\t\\t3123166.4508771934\\r\\n\\t\\t\\t教育网\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.002638888888888889\\r\\n\\t\\t\\t6444.30701754386\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t356040975\\r\\n\\t\\t\\t0.6143852267848392\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t207\\r\\n\\t\\t\\t81128.73735185186\\r\\n\\t\\t\\t0.9333994679172115\\r\\n\\t\\t\\t752.2096624205244\\r\\n\\t\\t\\ttietong\\r\\n\\t\\t\\t2116401.843961353\\r\\n\\t\\t\\t铁通\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.004791666666666666\\r\\n\\t\\t\\t2813.5797101449275\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t438095181\\r\\n\\t\\t\\t0.7559781771177001\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100.00000000000001\\r\\n\\t\\t\\t256\\r\\n\\t\\t\\t129137.37100000001\\r\\n\\t\\t\\t1.1543491004193533\\r\\n\\t\\t\\t321.5924922592767\\r\\n\\t\\t\\tother\\r\\n\\t\\t\\t2723991.4195312504\\r\\n\\t\\t\\t其他\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.005925925925925926\\r\\n\\t\\t\\t8470.3203125\\r\\n\\t\\t\\t100.0\\r\\n\\t\\t\\t697341803\\r\\n\\t\\t\\t1.2033348171432345\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t99.14745652563326\\r\\n\\t\\t\\t2866\\r\\n\\t\\t\\t879955.1972037038\\r\\n\\t\\t\\t12.923298913288543\\r\\n\\t\\t\\t1004.5513789924338\\r\\n\\t\\t\\tmobile\\r\\n\\t\\t\\t1657975.598360084\\r\\n\\t\\t\\t移动\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.06634259259259259\\r\\n\\t\\t\\t1650.463712491277\\r\\n\\t\\t\\t97.3831123517097\\r\\n\\t\\t\\t4751758064\\r\\n\\t\\t\\t8.19964599032574\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t99.99981717005271\\r\\n\\t\\t\\t6534\\r\\n\\t\\t\\t3194660.60262963\\r\\n\\t\\t\\t29.46295711773459\\r\\n\\t\\t\\t1171.525957981939\\r\\n\\t\\t\\tunicom\\r\\n\\t\\t\\t2640215.374074074\\r\\n\\t\\t\\t联通\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.15125\\r\\n\\t\\t\\t2253.6550352004897\\r\\n\\t\\t\\t99.96939087848179\\r\\n\\t\\t\\t17251167254\\r\\n\\t\\t\\t29.768658772680293\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t99.99968869093071\\r\\n\\t\\t\\t12114\\r\\n\\t\\t\\t6333214.260796296\\r\\n\\t\\t\\t54.62416016593768\\r\\n\\t\\t\\t984.184264638081\\r\\n\\t\\t\\ttelecom\\r\\n\\t\\t\\t2823126.71357933\\r\\n\\t\\t\\t电信\\r\\n\\t\\t\\t0.0\\r\\n\\t\\t\\t0.28041666666666665\\r\\n\\t\\t\\t2868.494056463596\\r\\n\\t\\t\\t99.97523526498266\\r\\n\\t\\t\\t34199357008\\r\\n\\t\\t\\t59.01449878861353\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t86400\\r\\n\\tDE81639B-DAC1-4C76-AB72-F34B836837D5\\r\\n\\texample.com\\r\\n\\t2019-11-29T05:33:00Z\\r\\n\\t2019-11-29T05:33:00Z\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '查询用户运营商分布数据', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + ."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 如果您不指定StartTime和EndTime时,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" + .'> - 该接口只支持获取一个域名或当前账户下所有域名的数据。'."\n" + .'> - 单用户调用频率:100次/秒。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainAverageResponseTime' => [ + 'summary' => '调DescribeDomainAverageResponseTime获取加速域名的平均响应时间,支持获取最近90天的数据', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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' => '加速域名,多个域名用英文逗号(,)分隔。'."\n" + ."\n" + .'默认查询所有加速域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + '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', + ], + ], + [ + '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', + ], + ], + [ + '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' => [ + 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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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' => 'InvalidIspParameter', + 'errorMessage' => 'The specified Isp is invalid.', + ], + ], + ], + '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":"\\r\\n\\texample.com\\r\\n\\t3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\r\\n\\t2019-11-30T05:33:00Z\\r\\n\\t2019-11-30T05:40:00Z\\r\\n\\t300\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-11-30T05:33:00Z\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2019-11-30T05:38:00Z\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\r\\n\\t\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => '获取平均响应时间数据', + 'description' => '阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)或者[投递实时日志到SLS](~~440145~~)来实现。'."\n" + .'阿里云CDN产品的统计分析功能已经下线,与统计分析功能相关的OpenAPI接口已不再继续维护。鉴于当前该接口可能存在数据缺失、不准确等问题,建议您不要使用该接口。如果您有数据统计分析相关的需求,可以通过[运营报表](~~279577~~)来实现。'."\n" + .'> - 如果您不指定StartTime和EndTime,该接口返回过去24小时的数据;指定StartTime和EndTime时,返回起止时间的数据。'."\n" + .'> - 单用户调用频率:100次/秒。'."\n" + .'> - 支持批量查询域名,多个域名用半角逗号(,)分隔,一次最多支持500个域名查询。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeDomainRealTimeDetailData' => [ + 'summary' => '调用DescribeDomainRealTimeDetailData批量获取域名实时监控详细数据。', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + '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', + ], + ], + ], + ], + ], + '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 \\"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":"\\n\\n <2018-06-05T20:00:00Z>\\n \\n \\n \\n 10\\n \\n <200>1\\n <304>2\\n \\n \\n \\n \\n \\n 11.1\\n \\n <200>1\\n <304>2\\n <403>3\\n \\n \\n \\n \\n \\n\\nB49E6DDA-F413-422B-B58E-2FA23F286726\\n","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时间,
例如:2016-10-20T04:00:00Z.。|2022-10-20T04:00:00Z|', + 'extraInfo' => ' ', + ], + 'DescribeDomainMultiUsageData' => [ + 'summary' => '调用DescribeDomainMultiUsageData批量查询加速域名的流量和请求数类五分钟粒度的数据。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111781', + 'abilityTreeNodes' => [ + 'FEATUREcdnNZNXYV', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个域名用半角逗号(,)分隔。'."\n" + ."\n" + .'> - 单次查询最多可添加30个域名。'."\n" + .'> - 若参数为空,默认返回所有加速域名分组数据。', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + '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' => '获取数据的结束时间点。日期格式按照ISO 8601表示法,并使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。'."\n" + ."\n" + .'> 结束时间需大于起始时间。', + 'type' => 'string', + 'required' => false, + 'example' => '2017-12-10T21:00:00Z', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.Malformed', + 'errorMessage' => 'Specified StartTime or EndTime is malformed.', + ], + [ + 'errorCode' => 'InvalidDomainName', + 'errorMessage' => 'The specified DomainNames is invalid.', + ], + [ + 'errorCode' => 'InvalidEndTime.Mismatch', + 'errorMessage' => 'Specified EndTime does not match the specified StartTime.', + ], + [ + 'errorCode' => 'InvalidTimeSpan', + 'errorMessage' => 'The time span exceeds the limit.', + ], + ], + ], + '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":"\\n\\n \\n 2017-12-10T20:00:00Z\\n example.com\\n 11288111.1\\n Simple\\n CN\\n \\n\\n\\n \\n 2017-12-10T20:00:00Z\\n example.com\\n 11288111\\n DynamicHttp\\n \\n \\n 2017-12-10T20:00:00Z\\n example.com\\n 11288111\\n StaticHttps\\n \\n\\n3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F\\n2017-12-10T20:00:00Z\\n2017-12-10T21:00:00Z\\n","errorExample":""}]', + 'title' => '批量查询加速域名的流量和请求数', + 'description' => '- 如果您未指定StartTime和EndTime,该接口默认返回过去10分钟的数据。'."\n" + .'- StartTime和EndTime间隔最长为1小时。'."\n" + .'- 最多可获取最近90天的数据。'."\n" + .'- 支持查询已删除的加速域名的流量和请求数。'."\n" + .'- 单用户调用频率:50次/秒', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DescribeUserConfigs' => [ + 'summary' => '调用DescribeUserConfigs查询安全功能相关的配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '111841', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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":"\\n9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84\\n\\n \\n off\\n Bucket2\\n test\\n \\n \\n 500\\n 20%\\n \\n \\n on\\n \\n\\n","errorExample":""}]', + 'title' => '查询安全功能相关的配置', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SetReqHeaderConfig' => [ + 'summary' => '调用SetReqHeaderConfig设置回源自定义头。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '111909', + 'abilityTreeNodes' => [ + 'FEATUREcdnJA88R2', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名,多个用逗号(,)隔开。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + [ + 'name' => 'Key', + 'in' => 'query', + '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' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '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.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t 04F0F334-1335-436C-A1D7-6C044FE73368\\r\\n","errorExample":""}]', + 'title' => '设置回源自定义头', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyCdnService' => [ + 'summary' => '变更CDN服务的计费类型。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111871', + 'abilityTreeNodes' => [ + 'FEATUREcdnBXNWCW', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'InternetChargeType', + 'in' => 'query', + 'schema' => [ + 'description' => '开通服务的计费类型', + 'type' => 'string', + 'required' => true, + 'example' => 'PayByTraffic', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '0979B99B-4F00-5037-8E15-5F7D4ABF8AA1', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', + ], + [ + 'errorCode' => 'InsufficientBalance', + 'errorMessage' => 'Your account does not have enough balance.', + ], + [ + 'errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_INVALID_PAY_METHOD', + 'errorMessage' => 'INVALID_PAY_METHOD', + ], + [ + 'errorCode' => 'FUWU_BIZ_COMMODITY_VERIFY_FAIL_HASORDER', + 'errorMessage' => 'You have an order not yet effective', + ], + [ + 'errorCode' => 'CSS_CHECK_UPDOWNGRADE_ERROR', + 'errorMessage' => 'You have an order not yet effective', + ], + [ + 'errorCode' => 'COMMODITY.INVALID_COMPONENT', + 'errorMessage' => 'The specified value of parameter "InternetChargeType" is not valid.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0979B99B-4F00-5037-8E15-5F7D4ABF8AA1\\"\\n}","type":"json"}]', + 'title' => '修改CDN服务的计费类型', + ], + 'DescribeUserCdnStatus' => [ + 'summary' => '调用DescribeUserCdnStatus获取用户状态信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '111839', + 'abilityTreeNodes' => [ + 'FEATUREcdn9UE6OO', + ], + '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', + ], + ], + ], + ], + ], + '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', + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '162664', + 'abilityTreeNodes' => [ + 'FEATUREcdnRO9687', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'description' => '加速域名信息。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + '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" + .'}', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '165633', + 'abilityTreeNodes' => [ + 'FEATUREcdnORORBI', + ], + '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', + ], + ], + ], + ], + '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\\"}]"', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => '查看高级条件所需要的信息', + ], + 'DescribeCdnSecFuncInfo' => [ + 'summary' => '调用DescribeCdnSecFuncInfo查询CDN应用安全具体功能信息。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '167969', + 'abilityTreeNodes' => [ + 'FEATUREcdnORORBI', + ], + ], + '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', + ], + ], + ], + [ + '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', + ], + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '172982', + 'abilityTreeNodes' => [ + 'FEATUREcdnORORBI', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + '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' => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'DomainExist.OtherUser', + 'errorMessage' => 'This domain is already added by another user.', + ], + [ + 'errorCode' => 'DomainExist.OtherProduct', + 'errorMessage' => 'This domain is already existed in %s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"64D28B53-5902-409B-94F6-FD46680144FE\\",\\n \\"Status\\": \\"DomainNotExist\\"\\n}","type":"json"}]', + 'title' => '检测域名是否存在', + ], + 'CheckCdnDomainICP' => [ + 'summary' => '调用CheckCdnDomainICP查询域名是否备案。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '174446', + 'abilityTreeNodes' => [ + 'FEATUREcdnRLQ471', + ], + ], + 'parameters' => [ + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '域名。', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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.', + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '156304', + 'abilityTreeNodes' => [ + 'FEATUREcdnNSUDKT', + ], + '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', + ], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'description' => '查询结果语言控制。取值:'."\n" + .'- **zh**(默认值):简体中文。'."\n" + .'- **en**:英文。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'en' => 'en', + 'zh' => 'zh', + ], + 'example' => 'en', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvaildBatchIp.LengthTooLong', + 'errorMessage' => 'The batchIp parameter is too long', + ], + ], + 403 => [ + [ + 'errorCode' => 'InvaildParameter', + 'errorMessage' => 'The parameter you provided is invalid.', + ], + ], + ], + '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":"\\n 55ADD936-763F-5E1A-BF54-2EA3F6E94A52\\n \\n 移动\\n 中国\\n 111.XXX.XXX.230\\n 北京市\\n true\\n 北京市\\n \\n \\n NTT\\n 中国\\n 47.XXX.XXX.243\\n 香港\\n true\\n 香港特别行政区\\n \\n","errorExample":""}]', + 'title' => '批量查询IP是否为CDN节点', + 'description' => '> 单用户调用频率:20次/秒。', + ], + 'DescribeCdnFullDomainsBlockIPHistory' => [ + 'summary' => '调用DescribeCdnFullDomainsBlockIPHistory获取封禁历史记录。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '228025', + 'abilityTreeNodes' => [ + 'FEATUREcdnHPRG9U', + ], + 'tenantRelevance' => 'publicInformation', + ], + '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' => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter is invalid.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'The quota is exceeded.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'internal server error', + ], + ], + ], + '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" + .'>- 该接口需要[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请后使用。'."\n" + .'> - 对用户指定的IP和时间段,返回用户在该时间段对该IP的下发时间和对应结果。'."\n" + .'> - 当指定的IP/IP段在指定时间段存在多条下发记录时,会按下发时间降序排列。'."\n" + .'> - 查询时间段支持的最大范围为90天。'."\n" + .'> - 给定IP和时间段不存在下发记录或下发失败时,下发时间为空。', + ], + 'SetCdnFullDomainsBlockIP' => [ + 'summary' => '设置封禁的IP或解禁IP,该操作对您账号下所有的CDN域名同时生效。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '227991', + 'abilityTreeNodes' => [ + 'FEATUREcdnHPRG9U', + ], + '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', + ], + ], + [ + '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' => [ + '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', + 'errorMessage' => 'The specified parameter is invalid.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'The quota is exceeded.', + ], + ], + 403 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'You do not have access to this operation.', + ], + ], + ], + '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" + .'>- 该接口需要[购买海量IP封禁服务](https://common-buy.aliyun.com/?commodityCode=dcdn_servicepackage_public_cn)[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)后使用。'."\n" + .'> - 适用于封禁大批量IP,接口支持单次最大1000个IP/IP段。', + ], + 'DescribeCdnFullDomainsBlockIPConfig' => [ + 'summary' => '调用DescribeCdnFullDomainsBlockIPConfig查询全量封禁的相关配置。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '228031', + 'abilityTreeNodes' => [ + 'FEATUREcdnHPRG9U', + ], + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter is invalid.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'The quota is exceeded.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'internal server error', + ], + ], + ], + '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" + .'>- 该接口需要[提交工单](https://selfservice.console.aliyun.com/ticket/createIndex)[提交工单](https://workorder-intl.console.aliyun.com/?spm=5176.2020520001.aliyun_topbar.18.dbd44bd3e4f845#/ticket/createIndex)申请后使用。'."\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', + ], + ], +]; -- cgit v1.2.3