From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/pcdn/2017-04-11/api-docs.php | 5858 ++++++++++++++----------------- 1 file changed, 2638 insertions(+), 3220 deletions(-) (limited to 'data/en_us/pcdn') diff --git a/data/en_us/pcdn/2017-04-11/api-docs.php b/data/en_us/pcdn/2017-04-11/api-docs.php index 1937c67..304c2ff 100644 --- a/data/en_us/pcdn/2017-04-11/api-docs.php +++ b/data/en_us/pcdn/2017-04-11/api-docs.php @@ -1,273 +1,206 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Pcdn', - 'version' => '2017-04-11', - ], + 'info' => ['style' => 'RPC', 'product' => 'Pcdn', 'version' => '2017-04-11'], 'directories' => [ [ - 'id' => 131326, - 'title' => null, + 'children' => ['GetAllAppVersions', 'GetShareRateData', 'GetClientsRatio', 'GetConsumerStatus', 'GetTokenList'], 'type' => 'directory', - 'children' => [ - 'GetAllAppVersions', - 'GetShareRateData', - 'GetClientsRatio', - 'GetConsumerStatus', - 'GetTokenList', - ], + 'title' => 'Application', ], [ - 'id' => 131332, - 'title' => null, + 'children' => ['AddConsumer', 'GetAllIsp', 'GetAllPlatformTypes', 'GetAllRegions', 'GetAllMarkets'], 'type' => 'directory', - 'children' => [ - 'AddConsumer', - 'GetAllIsp', - 'GetAllPlatformTypes', - 'GetAllRegions', - 'GetAllMarkets', - ], + 'title' => 'Service', ], [ - 'id' => 131338, - 'title' => null, + 'children' => ['GetBalanceBandwidthData', 'GetBalanceTrafficData', 'GetFeeHistory', 'GetCurrentMode', 'GetExpenseSummary'], 'type' => 'directory', - 'children' => [ - 'GetBalanceBandwidthData', - 'GetBalanceTrafficData', - 'GetFeeHistory', - 'GetCurrentMode', - 'GetExpenseSummary', - ], + 'title' => 'Fee', ], [ - 'id' => 131344, - 'title' => null, + 'children' => ['GetTrafficByRegion', 'GetTrafficData', 'GetFluencyData'], 'type' => 'directory', - 'children' => [ - 'GetTrafficByRegion', - 'GetTrafficData', - 'GetFluencyData', - ], + 'title' => 'Traffic', ], [ - 'id' => 131348, - 'title' => null, + 'children' => ['GetLogsList'], 'type' => 'directory', - 'children' => [ - 'GetLogsList', - ], + 'title' => 'Log', ], [ - 'id' => 131350, - 'title' => null, + 'children' => ['AddPcdnControlRule', 'DeletePcdnControlRule', 'DisablePcdnControlRule', 'EnablePcdnControlRule', 'GetControlRules', 'EditPcdnControlRule'], 'type' => 'directory', - 'children' => [ - 'AddPcdnControlRule', - 'DeletePcdnControlRule', - 'DisablePcdnControlRule', - 'EnablePcdnControlRule', - 'GetControlRules', - 'EditPcdnControlRule', - ], + 'title' => 'Start/Stop Settings', ], [ - 'id' => 131357, - 'title' => null, + 'children' => ['AddDomain', 'DeleteDomain', 'StartDomain', 'StopDomain', 'GetAccessData', 'GetBandwidthData', 'GetCoverRateData', 'GetDomainCount', 'GetDomains', 'GetFirstFrameDelayData'], 'type' => 'directory', - 'children' => [ - 'AddDomain', - 'DeleteDomain', - 'StartDomain', - 'StopDomain', - 'GetAccessData', - 'GetBandwidthData', - 'GetCoverRateData', - 'GetDomainCount', - 'GetDomains', - 'GetFirstFrameDelayData', - ], + 'title' => 'Domain name', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetAllAppVersions' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddConsumer' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'BusinessType', + 'in' => 'query', + 'schema' => ['description' => 'Business type. '."\n" + .'- **download**: Large file download. '."\n" + .'- **live**: Live streaming media. '."\n" + .'- **vod**: Video-on-demand. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'download', 'title' => ''], + ], + [ + 'name' => 'Company', + 'in' => 'query', + 'schema' => ['description' => 'Company name. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'alibaba', 'title' => ''], + ], + [ + 'name' => 'Site', + 'in' => 'query', + 'schema' => ['description' => 'Website URL. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'Requirement', + 'in' => 'query', + 'schema' => ['description' => 'Requirement description. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'yourRequirement', 'title' => ''], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => ['description' => 'Phone number. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '151016****', 'title' => ''], + ], + [ + 'name' => 'Ca', + 'in' => 'query', + 'schema' => ['description' => 'Fixed parameter. Default value is empty. ', 'type' => 'string', 'required' => false, 'example' => 'Ca', 'title' => ''], + ], + [ + 'name' => 'Operator', + 'in' => 'query', + 'schema' => ['description' => 'Operator. ', 'type' => 'string', 'required' => false, 'example' => 'pop', 'title' => ''], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => ['description' => 'Email address. ', 'type' => 'string', 'required' => false, 'example' => 'username@example.com', 'title' => ''], + ], + [ + 'name' => 'BandwidthRequirement', + 'in' => 'query', + 'schema' => ['description' => 'Bandwidth requirement. Unit: 5 Gbps. ', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4785676A-6382-4D0B-AA23-5081742EE74E', - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6.6.2', - ], - ], - ], - ], - ], - ], + 'Code' => ['description' => 'Business code. Returns 0 upon success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '3D28E5B7-AA32-4C21-83E8-515947135E0D', 'title' => ''], + 'ResourceId' => ['description' => 'Resource ID created. ', 'type' => 'string', 'example' => '76lw75', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"4785676A-6382-4D0B-AA23-5081742EE74E\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 1,\\n \\"Value\\": \\"6.6.2\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 0484CF2A-3C0F-4183-9DF3-6239FA433001\\n \\n \\n 6.6.2\\n 01\\n \\n \\n 6.4.7\\n 01\\n \\n \\n 0\\n","errorExample":""}]', - 'title' => 'GetAllAppVersions', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"3D28E5B7-AA32-4C21-83E8-515947135E0D\\",\\n \\"ResourceId\\": \\"76lw75\\"\\n}","type":"json"}]', + 'title' => 'Request Activation of P2P CDN Service ', + 'summary' => 'Invoke AddConsumer to request activation of P2P CDN service. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetShareRateData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddConsumer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddDomain' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], - ], - [ - 'name' => 'Region', + 'name' => 'BusinessType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'Business type. Valid values:'."\n" + .'- **live**: Live streaming media.'."\n" + .'- **vod**: Video-on-demand.'."\n" + .'- **download**: Large file download.', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'all', + 'example' => 'live', + 'enum' => ['vod', 'live', 'download'], + 'title' => '', ], ], [ - 'name' => 'IspName', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Domain name information. Only a single domain name can be added.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'PlatformType', + 'name' => 'LiveFormat', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Live format. Separate multiple values with a VERTICAL LINE (|). Required when the business type is live. Valid values:'."\n" + ."\n" + .'- **hls**'."\n" + .'- **flv**', 'type' => 'string', 'required' => false, 'example' => 'hls', 'title' => ''], ], [ - 'name' => 'BusinessType', + 'name' => 'SliceDomain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Segment domain name. Required when the business type is live, the live format includes flv, and the customer integration mode is "Integration with third-party Alibaba Cloud CDN".', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'StartDate', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-01', - ], + 'schema' => ['description' => 'Region where the domain name resides. Required when the business type is live and the live format includes flv.'."\n" + ."\n" + .'Valid values currently include cn-beijing, cn-shanghai, and ap-southeast-1. The backend returns a fault when the area is "ap-southeast-1".', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'EndDate', + 'name' => 'DemoUrls', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-10', - ], + 'schema' => ['description' => 'Sample URL addresses. Separate multiple URLs with a VERTICAL LINE (|).', 'type' => 'string', 'required' => false, 'example' => 'http://lesson-01.mp4', 'title' => ''], ], ], 'responses' => [ @@ -275,380 +208,247 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', 'title' => ''], + 'ResourceId' => ['description' => 'Rule resource ID.', 'type' => 'string', 'example' => 'tu9lfh', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"P2P分享率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"1\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n 8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D\\r\\n \\r\\n \\r\\n \\r\\n 1.0\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 1.0\\r\\n \\r\\n 2017-05-01 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetShareRateData', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\",\\n \\"ResourceId\\": \\"tu9lfh\\"\\n}","type":"json"}]', + 'title' => 'Add Domain Name', + 'summary' => 'Invoke AddDomain to add a domain name.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetClientsRatio' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddPcdnControlRule' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'Rule Name. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TEST+RULE', 'title' => ''], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => 'Region list codes, separated by VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'IspName', + 'in' => 'query', + 'schema' => ['description' => 'Carrier English names, separated by VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mobile', 'title' => ''], + ], + [ + 'name' => 'PlatformType', + 'in' => 'query', + 'schema' => ['description' => 'Terminal type codes, separated by VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '01', 'title' => ''], + ], + [ + 'name' => 'BusinessType', + 'in' => 'query', + 'schema' => ['description' => 'Business Type: **live**, **vod**, **download**. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'live', 'title' => ''], + ], + [ + 'name' => 'Market', + 'in' => 'query', + 'schema' => ['description' => 'Marketplace. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'AppVersion', + 'in' => 'query', + 'schema' => ['description' => 'Application Version. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '42FA014D-045F-491F-8749-20745C516F89', - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '28914025061', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iOS', - ], - 'Rate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0.000001762543363929356', - ], - ], - ], - ], - ], - ], + 'Code' => ['description' => 'Business return code. A normal return value is 0. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', 'title' => ''], + 'ResourceId' => ['description' => 'Rule resource ID. ', 'type' => 'string', 'example' => '6p9uch', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"42FA014D-045F-491F-8749-20745C516F89\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"28914025061\\",\\n \\"Name\\": \\"iOS\\",\\n \\"Rate\\": \\"0.000001762543363929356\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 69501FC0-4CDD-4E1E-8995-C7EB8A16AA34\\r\\n \\r\\n \\r\\n PC\\r\\n 16375213495846691\\r\\n 0.9982015239711776\\r\\n \\r\\n \\r\\n Android\\r\\n 29474576234067\\r\\n 0.0017967134854585337\\r\\n \\r\\n \\r\\n OTT\\r\\n 0\\r\\n 0.0\\r\\n \\r\\n \\r\\n iOS\\r\\n 28914025061\\r\\n 0.000001762543363929356\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetClientsRatio', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"ResourceId\\": \\"6p9uch\\"\\n}","type":"json"}]', + 'title' => 'Add Start/Stop Settings ', + 'summary' => 'Invoke AddPcdnControlRule to add start/stop settings. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetConsumerStatus' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteDomain' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name to delete.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'docRequired' => true, 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Comment' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Inservice' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-01-01 10:48:48', - ], - 'BusinessType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vod', - ], - 'LiveMonitor' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CdnUrlRedirectFlag' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23321CEB-637B-44B3-B39C-B47FD36850F5', - ], - 'RealtimeMonitor' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'UpdatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-01-01 10:48:48', - ], - 'Audit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IntegreatedMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Code' => ['description' => 'Business code. Returns 0 upon success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '5923BFA8-ACC2-4949-A0AB-46B66FF45BDD', 'title' => ''], + 'ResourceId' => ['description' => 'Domain name resource ID.', 'type' => 'string', 'example' => '23j63d', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Comment\\": \\"审核通过\\",\\n \\"Inservice\\": true,\\n \\"CreatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"BusinessType\\": \\"vod\\",\\n \\"LiveMonitor\\": false,\\n \\"CdnUrlRedirectFlag\\": false,\\n \\"RequestId\\": \\"23321CEB-637B-44B3-B39C-B47FD36850F5\\",\\n \\"RealtimeMonitor\\": false,\\n \\"Code\\": 0,\\n \\"UpdatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"Audit\\": 1,\\n \\"IntegreatedMode\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\ttrue\\r\\n\\t23321CEB-637B-44B3-B39C-B47FD36850F5\\r\\n\\t0\\r\\n\\t1\\r\\n\\tfalse\\r\\n\\tfalse\\r\\n\\tfalse\\r\\n\\t1\\r\\n\\t审核通过\\r\\n vod\\r\\n\\t2018-01-01 10:48:48\\r\\n\\t2018-01-01 10:48:48\\r\\n ","errorExample":""}]', - 'title' => 'GetConsumerStatus', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\",\\n \\"ResourceId\\": \\"23j63d\\"\\n}","type":"json"}]', + 'title' => 'Delete domain name', + 'summary' => 'Invoke DeleteDomain to delete a domain name.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetTokenList' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeleteDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeletePcdnControlRule' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => 'Resource ID of the start-stop rule.', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5CED561E-A4E3-4842-8BB6-700BE2AE7784', - ], - 'TokenList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Token' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PlatformName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'OTT', - ], - 'Token' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0', - ], - 'PlatformType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '02', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-16 20:16:20', - ], - 'UpdatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-16 20:16:20', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6y23ph', - ], - 'ClientId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '200000', - ], - ], - ], - ], - ], - ], + 'Code' => ['description' => 'Business return code. Normal return code is 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', - ], + ['errorCode' => 'UnauthorizedOperation', 'errorMessage' => 'You have no permission to delete this pcdn control rule.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"TokenList\\": {\\n \\"Token\\": [\\n {\\n \\"PlatformName\\": \\"OTT\\",\\n \\"Token\\": \\"6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0\\",\\n \\"PlatformType\\": \\"02\\",\\n \\"CreatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"UpdatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"ResourceId\\": \\"6y23ph\\",\\n \\"ClientId\\": \\"200000\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":" \\r\\n 5CED561E-A4E3-4842-8BB6-700BE2AE7784\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 02\\r\\n 1a5wb7s\\r\\n 6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0\\r\\n OTT\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 00\\r\\n 8zs9op\\r\\n 6000170000591aed949d0f54a343f1a4233c1e7d1c5ca816be\\r\\n PC\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 01\\r\\n blocm6\\r\\n 6000170100591aed94b45ed32785cc74f5a861ddfcb8b7c841\\r\\n Android\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 05\\r\\n 1i85ijq\\r\\n 6000170500591aed949b2e40bf306fdb5c7081349621e412ee\\r\\n iOS\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 0\\r\\n \\r\\n","errorExample":""}]', - 'title' => 'GetTokenList', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\"\\n}","type":"json"}]', + 'title' => 'Delete Start-Stop Settings', + 'summary' => 'Invoke DeletePcdnControlRule to delete the start-stop settings.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddConsumer' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeletePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DisablePcdnControlRule' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -656,104 +456,110 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'BusinessType', + 'name' => 'ResourceId', 'in' => 'query', + 'schema' => ['description' => 'Start-stop rule resource ID.', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'docRequired' => true, 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'Business return code. Normal return is 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313', 'title' => ''], + 'ResourceId' => ['description' => 'Rule resource ID.', 'type' => 'string', 'example' => 'y6z7rp', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'download', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","type":"json"}]', + 'title' => 'Disable Start-Stop Settings', + 'summary' => 'Invoke DisablePcdnControlRule to disable the start-stop Settings.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:DisablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'EditPcdnControlRule' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ [ - 'name' => 'Company', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'alibaba', - ], + 'schema' => ['description' => 'Rule Name. ', 'type' => 'string', 'required' => true, 'example' => 'TEST+RULE+EDIT', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Site', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'Start-stop rule resource. ', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Requirement', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'yourRequirement', - ], + 'schema' => ['description' => 'Region codes. Separate multiple codes with a VERTICAL LINE (|). '."\n" + ."\n" + .'For details about the codes, see [Common Field Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'example' => '67', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Mobile', + 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '151016****', - ], + 'schema' => ['description' => 'Carrier name in English. Separate multiple names with a VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'example' => 'mobile', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Ca', + 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Ca', - ], + 'schema' => ['description' => 'Platform type codes. Separate multiple codes with a VERTICAL LINE (|). '."\n" + ."\n" + .'For details about the codes, see [Common Field Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'example' => '01', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Operator', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pop', - ], + 'schema' => ['description' => 'Business Type: live, vod, or download. ', 'type' => 'string', 'required' => true, 'example' => 'live', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Email', + 'name' => 'Market', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'username@example.com', - ], + 'schema' => ['description' => 'Marketplace. Separate multiple markets with a VERTICAL LINE (|). To apply to all markets, specify "all". ', 'type' => 'string', 'required' => true, 'example' => 'APPStore', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'BandwidthRequirement', + 'name' => 'AppVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Application Version. Separate multiple versions with a VERTICAL LINE (|). To apply to all versions, specify "all". ', 'type' => 'string', 'required' => true, 'example' => '9.27.3501', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -761,128 +567,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3D28E5B7-AA32-4C21-83E8-515947135E0D', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '76lw75', - ], + 'Code' => ['description' => 'Business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', 'title' => ''], + 'ResourceId' => ['description' => 'Rule resource ID. ', 'type' => 'string', 'example' => 'y6z7rp', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"3D28E5B7-AA32-4C21-83E8-515947135E0D\\",\\n \\"ResourceId\\": \\"76lw75\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 76lwxx\\r\\n 636F1CA7-E59F-4B4F-9C4E-59E75CC01A0F\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'AddConsumer', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","type":"json"}]', + 'title' => 'Modify Start-Stop Settings ', + 'summary' => 'Invoke EditPcdnControlRule to modify the start-stop settings. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetAllIsp' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pcdn:EditPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'EnablePcdnControlRule' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => 'Start-stop rule resource ID.', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'docRequired' => true, 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NameCn' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tp4xpa', - ], - 'NameEn' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'greatwall', - ], - ], - ], - ], - ], - ], + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313', 'title' => ''], + 'ResourceId' => ['description' => 'Rule resource ID.', 'type' => 'string', 'example' => 'y6z7rp', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","type":"json"}]', + 'title' => 'Enable Start-Stop Settings', + 'summary' => 'Invoke EnablePcdnControlRule to enable the start-stop settings.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:EnablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"NameCn\\": \\"长宽\\",\\n \\"ResourceId\\": \\"tp4xpa\\",\\n \\"NameEn\\": \\"greatwall\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 7EA16831-74AC-4A2A-8355-19BEEF546663\\r\\n \\r\\n \\r\\n tu9lfh\\r\\n unicom\\r\\n 联通\\r\\n \\r\\n \\r\\n 1em7qj4\\r\\n telecom\\r\\n 电信\\r\\n \\r\\n \\r\\n iplnlf\\r\\n mobile\\r\\n 移动\\r\\n \\r\\n \\r\\n 1c0vz6g\\r\\n cernet\\r\\n 教育网\\r\\n \\r\\n \\r\\n 1stffhs\\r\\n dounder\\r\\n 方正宽带\\r\\n \\r\\n \\r\\n rbgdlh\\r\\n tietong\\r\\n 铁通\\r\\n \\r\\n \\r\\n tp4xpa\\r\\n greatwall\\r\\n 长宽\\r\\n \\r\\n \\r\\n 13e8i39\\r\\n other\\r\\n 其他\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetAllIsp', ], - 'GetAllPlatformTypes' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAccessData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -890,25 +672,66 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'Domain name to query. Separate multiple domain names with a VERTICAL LINE (|). If not specified, all domain names are queried.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => 'Region. Separate multiple values with a VERTICAL LINE (|). Use "all" to query all regions.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'IspName', + 'in' => 'query', + 'schema' => ['description' => 'Carrier name. Separate multiple carriers with a VERTICAL LINE (|). To query all carriers, enter "all". ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'PlatformType', + 'in' => 'query', + 'schema' => ['description' => 'Platform. Separate multiple values with a VERTICAL LINE (|). Use "all" to query all platforms.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'BusinessType', + 'in' => 'query', + 'schema' => ['description' => 'Business Type. Separate multiple values with a VERTICAL LINE (|). Use "all" to indicate all types.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['description' => 'Start Time. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-01', 'title' => ''], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => 'End Time.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-10', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '448328AF-82C4-420F-8D7F-4C9F2D523D7F', 'title' => ''], + 'Labels' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => '', 'type' => 'string', 'example' => '访客量', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'E500E41E-C47B-4F0E-835B-71AFB0EB9773', + 'title' => '', + 'example' => '', ], 'DataList' => [ 'type' => 'object', @@ -920,48 +743,78 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Flash', - ], - 'Code' => [ + 'Date' => ['description' => '', 'type' => 'string', 'example' => '2017-05-06 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'type' => 'array', + 'items' => ['description' => '', 'type' => 'string', 'example' => '10879016', 'title' => ''], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"E500E41E-C47B-4F0E-835B-71AFB0EB9773\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"Flash\\",\\n \\"Code\\": 10\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 6EDE89AE-1B70-448E-B38F-77CB59F14C0D\\r\\n \\r\\n \\r\\n OTT\\r\\n 02\\r\\n \\r\\n \\r\\n PC\\r\\n 00\\r\\n \\r\\n \\r\\n Android\\r\\n 01\\r\\n \\r\\n \\r\\n iOS\\r\\n 05\\r\\n \\r\\n \\r\\n Flash\\r\\n 10\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetAllPlatformTypes', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"448328AF-82C4-420F-8D7F-4C9F2D523D7F\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"访客量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"10879016\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain visitor statistics for accelerated domain names ', + 'summary' => 'Obtain visitor statistics for accelerated domain names with a minimum granularity of one day. ', + 'description' => '> - When **StartTime** and **EndTime** are not specified, data from the past 24 hours is read by default. When **StartTime** and **EndTime** are specified, the query is performed based on the specified time range. '."\n" + ."\n" + .'- Batch queries for multiple domain names are supported. Separate multiple domain names with a VERTICAL LINE (|). '."\n" + ."\n" + .'- Data from up to the last 90 days can be retrieved. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetAllRegions' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAccessData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAllAppVersions' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -969,77 +822,77 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', - ], + 'Code' => ['description' => 'Business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '4785676A-6382-4D0B-AA23-5081742EE74E', 'title' => ''], 'DataList' => [ - 'type' => 'object', 'itemNode' => true, + 'description' => '', + 'type' => 'object', 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned data. ', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => '11', - ], + 'Code' => ['description' => 'Platform Type code. ', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Value' => ['description' => 'Version number. ', 'type' => 'string', 'example' => '6.6.2', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Code\\": \\"11\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 7EA16831-74AC-4A2A-8355-19BEEF546663\\r\\n \\r\\n \\r\\n 11\\r\\n 北京\\r\\n \\r\\n \\r\\n 12\\r\\n 天津\\r\\n \\r\\n \\r\\n 13\\r\\n 河北\\r\\n \\r\\n \\r\\n 14\\r\\n 山西\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetAllRegions', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"4785676A-6382-4D0B-AA23-5081742EE74E\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 1,\\n \\"Value\\": \\"6.6.2\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the list of all application versions', + 'summary' => 'Invoke GetAllAppVersions to obtain the list of all supported regions. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetAllMarkets' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllAppVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'GetAllIsp' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1047,83 +900,74 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BFCDB187-ED92-430A-8C8A-A96B63AD89F0', - ], + 'Code' => ['description' => 'Business code. A value of 0 indicates Succeeded.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', 'title' => ''], 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned Data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MarketCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b1f2523b184b66ab', - ], - 'MarketName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'NameCn' => ['description' => 'Display Name.', 'type' => 'string', 'example' => '长宽', 'title' => ''], + 'ResourceId' => ['description' => 'Resource ID.', 'type' => 'string', 'example' => 'tp4xpa', 'title' => ''], + 'NameEn' => ['description' => 'Name.', 'type' => 'string', 'example' => 'greatwall', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"NameCn\\": \\"长宽\\",\\n \\"ResourceId\\": \\"tp4xpa\\",\\n \\"NameEn\\": \\"greatwall\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the List of all supported carriers', + 'summary' => 'You can invoke GetAllIsp to obtain the List of all supported carriers.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"BFCDB187-ED92-430A-8C8A-A96B63AD89F0\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 2,\\n \\"MarketCode\\": \\"b1f2523b184b66ab\\",\\n \\"MarketName\\": \\"Player SDK for 阿里少儿\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 607AB575-A09C-43DC-8204-943C54991A58\\r\\n \\r\\n \\r\\n 1\\r\\n 1\\r\\n 01\\r\\n \\r\\n \\r\\n b1f2523b184b66ab\\r\\n Player SDK for 阿里少儿\\r\\n 02\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetAllMarkets', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetBalanceBandwidthData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAllMarkets' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1131,120 +975,77 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'DataInterval', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '300', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'xxx', - 'docRequired' => true, - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], + 'Code' => ['description' => 'The business code. A value of 0 indicates Succeeded. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The Request ID. ', 'type' => 'string', 'example' => 'BFCDB187-ED92-430A-8C8A-A96B63AD89F0', 'title' => ''], 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '185187502281', - ], - ], - ], - ], + 'Code' => ['description' => 'The platform type code.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'MarketCode' => ['description' => 'The marketplace type code.', 'type' => 'string', 'example' => 'b1f2523b184b66ab', 'title' => ''], + 'MarketName' => ['description' => 'The marketplace name.', 'type' => 'string', 'example' => 'Player SDK for 阿里少儿', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"BFCDB187-ED92-430A-8C8A-A96B63AD89F0\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 2,\\n \\"MarketCode\\": \\"b1f2523b184b66ab\\",\\n \\"MarketName\\": \\"Player SDK for 阿里少儿\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the List of All marketplaces', + 'summary' => 'You can invoke GetAllMarkets to obtain the List of all marketplace instances for the current User. ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllMarkets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"185187502281\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\r\\n \\r\\n \\r\\n \\r\\n 185187502281\\r\\n 347993190084\\r\\n 0\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 177339955340\\r\\n 347993190084\\r\\n 0\\r\\n \\r\\n 2017-05-01 00:05:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetBalanceBandwidthData', ], - 'GetBalanceTrafficData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAllPlatformTypes' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1252,123 +1053,76 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'DataInterval', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '300', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abcde123', - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], + 'Code' => ['description' => 'The business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E500E41E-C47B-4F0E-835B-71AFB0EB9773', 'title' => ''], 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '177339955340', - ], - ], - ], - ], + 'Name' => ['description' => 'The terminal name.', 'type' => 'string', 'example' => 'Flash', 'title' => ''], + 'Code' => ['description' => 'The terminal type code.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"177339955340\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n \\n\\n20963AEE-E3A5-461F-8809-C494558373AB\\n\\n \\n \\n 185187502281\\n \\n 2017-05-01 00:00:00\\n \\n \\n \\n 177339955340\\n \\n 2017-05-01 00:05:00\\n \\n\\n0\\n","errorExample":""}]', - 'title' => 'GetBalanceTrafficData', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"E500E41E-C47B-4F0E-835B-71AFB0EB9773\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"Flash\\",\\n \\"Code\\": 10\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the list of all supported terminal types', + 'summary' => 'You can invoke GetAllPlatformTypes to obtain the list of all supported terminal types.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetFeeHistory' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllPlatformTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAllRegions' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1376,31 +1130,97 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Page', - 'in' => 'query', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates that the request Succeeded. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The resource ID. ', 'type' => 'string', 'example' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', 'title' => ''], + 'DataList' => [ + 'itemNode' => true, + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UsageData' => [ + 'description' => 'The returned Data. ', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The Display Name. ', 'type' => 'string', 'example' => '北京', 'title' => ''], + 'Code' => ['description' => 'The region code. ', 'type' => 'string', 'example' => '11', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Code\\": \\"11\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the List of all supported regions', + 'summary' => 'You can invoke GetAllRegions to obtain the List of all supported regions. ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetBalanceBandwidthData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'DataInterval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The time granularity for querying data. Supported values are 300, 3600, 14400, 28800, and 86400 seconds. '."\n" + ."\n" + .'If this parameter is not provided or an unsupported value is provided, the default value of 300 seconds is used. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => 'The resource ID of the current bill. ', 'type' => 'string', 'required' => true, 'example' => 'xxx', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -1408,159 +1228,98 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5CED561E-A4E3-4842-8BB6-700BE2AE7784', - ], - 'Pager' => [ - 'description' => '', + 'Code' => ['description' => 'The business code. A successful response returns 0. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', 'title' => ''], + 'Labels' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'Page' => [ + 'Label' => [ 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'type' => 'array', + 'items' => ['description' => 'Labels that describe the data type.', 'type' => 'string', 'example' => '带宽', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'FeeList' => [ + 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Fee' => [ - 'description' => '', + 'UsageData' => [ + 'description' => 'The returned list of information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-05 23:59:59', - ], - 'TimeSpan' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-05', - ], - 'StartDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-05 00:00:00', - ], - 'LevelThreeTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12345678', - ], - 'Mode' => [ + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Bandwidth data, in bits per second.', 'type' => 'string', 'example' => '185187502281', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', + 'title' => '', 'example' => '', ], - 'TotalTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12345678', - ], - 'BusinessType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'live', - ], - 'LevelTwoTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12345678', - ], - 'LevelThreeBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '999000', - ], - 'FlowOut' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'LevelTwoBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '999000', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6aphce', - ], - 'TotalBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '89999000', - ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"185187502281\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the user\'s billed consumption cycle ', + 'summary' => 'Obtain information such as the consumption cycle, consumption time, peak metered numeric value, and service type for the user\'s billed bills. ', + 'description' => 'When the user has more than one service type (live, vod, download), consumption time and metered data are output separately for each service type. ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 8,\\n \\"Page\\": 1\\n },\\n \\"FeeList\\": {\\n \\"Fee\\": [\\n {\\n \\"EndDate\\": \\"2017-05-05 23:59:59\\",\\n \\"TimeSpan\\": \\"2017-05-05 00:00:00 至 2017-05-05 23:59:59\\",\\n \\"Date\\": \\"2017-05-05\\",\\n \\"StartDate\\": \\"2017-05-05 00:00:00\\",\\n \\"LevelThreeTraffic\\": 12345678,\\n \\"Mode\\": \\"日峰值带宽\\",\\n \\"TotalTraffic\\": 12345678,\\n \\"BusinessType\\": \\"live\\",\\n \\"LevelTwoTraffic\\": 12345678,\\n \\"LevelThreeBandwidth\\": 999000,\\n \\"FlowOut\\": 0,\\n \\"LevelTwoBandwidth\\": 999000,\\n \\"ResourceId\\": \\"6aphce\\",\\n \\"TotalBandwidth\\": 89999000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n 2017-05-05 23:59:59\\r\\n 2017-05-05 00:00:00\\r\\n 123456789999000\\r\\n 2017-05-05\\r\\n 0\\r\\n vod\\r\\n 1\\r\\n 2017-05-05 00:00:00 至 2017-05-05 23:59:59\\r\\n 日峰值带宽\\r\\n \\r\\n \\r\\n 2017-05-04 23:59:59\\r\\n 2017-05-04 00:00:00\\r\\n 123456789999000\\r\\n 2017-05-04\\r\\n 0\\r\\n vod\\r\\n 1\\r\\n 2017-05-04 00:00:00 至 2017-05-04 23:59:59\\r\\n 日峰值带宽\\r\\n \\r\\n \\r\\n \\r\\n 10\\r\\n 1\\r\\n 8\\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetFeeHistory', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetCurrentMode' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetBalanceTrafficData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1568,155 +1327,176 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'DataInterval', + 'in' => 'query', + 'schema' => ['description' => 'The time granularity for querying data, in seconds. Supported values are **300**, **3600**, **14400**, **28800**, and **86400**.'."\n" + ."\n" + .'> If this parameter is not specified or an unsupported value is provided, the default value of **300** seconds is used. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => 'The resource ID of the current bill. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abcde123', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F84A4387-33B0-4F2D-87E4-BC3465BF568E', - ], - 'EstimateBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6219331', - ], - 'PaddingModeCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ModeCode' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', 'title' => ''], + 'Labels' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Labels that describe the data type.', 'type' => 'string', 'example' => '流量', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'title' => '', + 'example' => '', ], - 'EffectiveAt' => [ + 'DataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => 'The list of returned information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Traffic data, in bytes.', 'type' => 'string', 'example' => '177339955340', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1540345299', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F84A4387-33B0-4F2D-87E4-BC3465BF568E\\",\\n \\"EstimateBandwidth\\": 6219331,\\n \\"PaddingModeCode\\": 0,\\n \\"Code\\": 0,\\n \\"ModeCode\\": 0,\\n \\"EffectiveAt\\": 1540345299\\n}","errorExample":""},{"type":"xml","example":"\\n F84A4387-33B0-4F2D-87E4-BC3465BF568E\\n 95\\n 6219331\\n 0\\n 0\\n 1540345299\\n\\n","errorExample":""}]', - 'title' => 'GetCurrentMode', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"177339955340\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain bill bandwidth details ', + 'summary' => 'Invoke GetBalanceTrafficData to obtain bill bandwidth details. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetExpenseSummary' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetBandwidthData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'StartDate', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2017-05-01', - ], + 'schema' => ['description' => 'List of domain names to query. Batch domain name queries are supported. Separate multiple domain names with a VERTICAL LINE (|).'."\n" + ."\n" + .'If this parameter is not specified, all domains are queried.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'EndDate', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2017-05-10', - ], + 'schema' => ['description' => 'Region code. Separate multiple values with a VERTICAL LINE (|). Use **all** to specify all regions.'."\n" + ."\n" + .'For more information, see [Common Fields Reference](~~151572~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'Carrier codes, separated by VERTICAL LINE (|). Use "all" to indicate all carriers.'."\n" + ."\n" + .'For details about the query, see [Common Field Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '00', - ], + 'schema' => ['description' => 'Client platform code. Separate multiple values with a VERTICAL LINE (|). Use **all** to specify all platforms.'."\n" + ."\n" + .'For more information, see [Common Fields Reference](~~151572~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'IspName', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'Business type. Separate multiple values with a VERTICAL LINE (|). Valid values:'."\n" + .'- **live**: live streaming media.'."\n" + .'- **download**: large file download.'."\n" + .'- **vod**: ApsaraVideo VOD.'."\n" + .'- **all**: all business types.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'PlatformType', + 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'Start Time. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-01', 'title' => ''], ], [ - 'name' => 'BusinessType', + 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'End Time.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-10', 'title' => ''], ], ], 'responses' => [ @@ -1724,85 +1504,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '450CFF96-32FE-4229-85CA-EC588DAB0888', - ], - 'Data' => [ - 'description' => '', + 'Code' => ['description' => 'The business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', 'title' => ''], + 'Labels' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'ForecastFluency' => [ + 'Label' => [ 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '98', + 'type' => 'array', + 'items' => ['description' => 'Labels used to describe the data type.', 'type' => 'string', 'example' => '带宽', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'TopBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '414344', - ], - 'TotalTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12419172', - ], - 'CoverRate' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'ShareRate' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'TotalUV' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21723058', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'DataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => 'The list of returned information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'The start time of the data time segment.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Bandwidth data, in bit/second.', 'type' => 'string', 'example' => '95231540262', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"450CFF96-32FE-4229-85CA-EC588DAB0888\\",\\n \\"Data\\": {\\n \\"ForecastFluency\\": 98,\\n \\"TopBandwidth\\": 414344,\\n \\"TotalTraffic\\": 12419172,\\n \\"CoverRate\\": 0,\\n \\"ShareRate\\": 0,\\n \\"TotalUV\\": 21723058\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n 0.0\\r\\n 98.03\\r\\n 12419172\\r\\n 414344\\r\\n 21723058\\r\\n \\r\\n 807F6545-56E7-4CB0-B178-722E7851C0B5\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetExpenseSummary', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"95231540262\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain network bandwidth monitoring data for an accelerated domain name ', + 'summary' => 'You can invoke GetBandwidthData to obtain network bandwidth monitoring data for an accelerated domain name. Data from the last 90 days is supported. ', + 'description' => '> - Unit: bit/second.'."\n" + ."\n" + .'- If StartTime and EndTime are not specified, data from the past 24 hours is read by default. If StartTime and EndTime are specified, data is queried within the specified time range. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetTrafficByRegion' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'GetClientsRatio' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1810,75 +1609,77 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '26CF81F8-18F5-4F93-A1D6-33AAA592CF56', - ], - 'TrafficDataList' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '42FA014D-045F-491F-8749-20745C516F89', 'title' => ''], + 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'TrafficData' => [ - 'description' => '', + 'UsageData' => [ + 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Traffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '448096774168859', - ], + 'Value' => ['description' => 'The traffic value.', 'type' => 'string', 'example' => '28914025061', 'title' => ''], + 'Name' => ['description' => 'The platform type.', 'type' => 'string', 'example' => 'iOS', 'title' => ''], + 'Rate' => ['description' => 'The ratio.', 'type' => 'string', 'example' => '0.000001762543363929356', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"42FA014D-045F-491F-8749-20745C516F89\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"28914025061\\",\\n \\"Name\\": \\"iOS\\",\\n \\"Rate\\": \\"0.000001762543363929356\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the distribution ratio of all terminals in the current calendar month', + 'summary' => 'You can invoke GetClientsRatio to obtain the distribution ratio of all terminals in the current calendar month. ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetClientsRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"26CF81F8-18F5-4F93-A1D6-33AAA592CF56\\",\\n \\"TrafficDataList\\": {\\n \\"TrafficData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Traffic\\": 448096774168859\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n 北京\\r\\n 448096774168859\\r\\n \\r\\n \\r\\n 天津\\r\\n 149046039126012\\r\\n \\r\\n \\r\\n 河北\\r\\n 311633084563883\\r\\n \\r\\n \\r\\n 山西\\r\\n 111913357608613\\r\\n \\r\\n \\r\\n 内蒙古\\r\\n 121310599233230\\r\\n \\r\\n \\r\\n 辽宁\\r\\n 356807056403655\\r\\n \\r\\n \\r\\n 吉林\\r\\n 151925345175750\\r\\n \\r\\n \\r\\n 黑龙江\\r\\n 141110412597382\\r\\n \\r\\n \\r\\n 上海\\r\\n 532977262961283\\r\\n \\r\\n \\r\\n 江苏\\r\\n 1253060710817965\\r\\n \\r\\n \\r\\n 浙江\\r\\n 1257256406683929\\r\\n \\r\\n \\r\\n 安徽\\r\\n 334797729767759\\r\\n \\r\\n \\r\\n 福建\\r\\n 566841917282337\\r\\n \\r\\n \\r\\n 江西\\r\\n 272442583002765\\r\\n \\r\\n \\r\\n 山东\\r\\n 821863346319563\\r\\n \\r\\n \\r\\n 河南\\r\\n 379985564854609\\r\\n \\r\\n \\r\\n 湖北\\r\\n 456205987172989\\r\\n \\r\\n \\r\\n 湖南\\r\\n 328102608958956\\r\\n \\r\\n \\r\\n 广东\\r\\n 2191515252948832\\r\\n \\r\\n \\r\\n 广西\\r\\n 445799095250735\\r\\n \\r\\n \\r\\n 海南\\r\\n 66774008061768\\r\\n \\r\\n \\r\\n 重庆\\r\\n 193123106090999\\r\\n \\r\\n \\r\\n 四川\\r\\n 498112097201725\\r\\n \\r\\n \\r\\n 贵州\\r\\n 100434438057521\\r\\n \\r\\n \\r\\n 云南\\r\\n 303816561733595\\r\\n \\r\\n \\r\\n 西藏\\r\\n 18238481216618\\r\\n \\r\\n \\r\\n 陕西\\r\\n 231890693493741\\r\\n \\r\\n \\r\\n 甘肃\\r\\n 110097638533238\\r\\n \\r\\n \\r\\n 5F949A3F-850B-4139-B666-638F563BE843\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetTrafficByRegion', ], - 'GetTrafficData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetConsumerStatus' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1886,85 +1687,87 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Comment' => ['description' => 'Review comments.', 'type' => 'string', 'example' => '审核通过', 'title' => ''], + 'Inservice' => ['description' => 'Indicates whether the service is active.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CreatedAt' => ['description' => 'Creation Time.', 'type' => 'string', 'example' => '2018-01-01 10:48:48', 'title' => ''], + 'BusinessType' => ['description' => 'Business Type. Valid values:'."\n" + .'- **vod**: video-on-demand'."\n" + .'- **live**: live streaming'."\n" + .'- **download**: download', 'type' => 'string', 'example' => 'vod', 'title' => ''], + 'LiveMonitor' => ['description' => 'Indicates whether live monitoring is supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CdnUrlRedirectFlag' => ['description' => 'Indicates whether Alibaba Cloud CDN hyperlink is supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '23321CEB-637B-44B3-B39C-B47FD36850F5', 'title' => ''], + 'RealtimeMonitor' => ['description' => 'Indicates whether real-time monitoring is supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Code' => ['description' => 'Business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'UpdatedAt' => ['description' => 'Updated At.', 'type' => 'string', 'example' => '2018-01-01 10:48:48', 'title' => ''], + 'Audit' => ['description' => 'Review Status. Valid values:'."\n" + .'- **1**: Pass'."\n" + .'- **0**: Under review'."\n" + .'- **-1**: Failed', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'IntegreatedMode' => ['description' => 'Integration mode. Valid values:'."\n" + .'- **1**: Merge billing'."\n" + .'- **2**: Separate billing', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], - [ - 'name' => 'PlatformType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Comment\\": \\"审核通过\\",\\n \\"Inservice\\": true,\\n \\"CreatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"BusinessType\\": \\"vod\\",\\n \\"LiveMonitor\\": false,\\n \\"CdnUrlRedirectFlag\\": false,\\n \\"RequestId\\": \\"23321CEB-637B-44B3-B39C-B47FD36850F5\\",\\n \\"RealtimeMonitor\\": false,\\n \\"Code\\": 0,\\n \\"UpdatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"Audit\\": 1,\\n \\"IntegreatedMode\\": 1\\n}","type":"json"}]', + 'title' => 'Obtain Customer Status Information', + 'summary' => 'You can invoke GetConsumerStatus to obtain customer status information.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetConsumerStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetControlRules' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'StartDate', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-01', - 'docRequired' => true, - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'string', 'required' => true, 'example' => '10', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'EndDate', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-10', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Number of records per page.', 'type' => 'string', 'required' => true, 'example' => '1', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -1972,91 +1775,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ECD5669E-DD42-4A1A-9D6D-09740F50CD92', - ], - 'Labels' => [ + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', 'title' => ''], + 'Pager' => [ + 'description' => 'Paging information.', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], + 'PageSize' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'Total' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '173', 'title' => ''], + 'Page' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'DataList' => [ + 'SettingList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'UsageData' => [ - 'description' => '', + 'Setting' => [ + 'description' => 'The returned billing information list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '171416772471986', - ], - ], - ], - ], + 'CreatedAt' => ['description' => 'Insertion time.', 'type' => 'string', 'example' => '2017-06-02 13:16:37.0', 'title' => ''], + 'BusinessType' => ['description' => 'Business type.', 'type' => 'string', 'example' => 'live', 'title' => ''], + 'ClientId' => ['description' => 'User ID. ', 'type' => 'string', 'example' => '200000', 'title' => ''], + 'Usable' => ['description' => 'Indicates whether the rule is enabled. This is usually true.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'PlatformType' => ['description' => 'Terminal type code. ', 'type' => 'string', 'example' => '01', 'title' => ''], + 'Region' => ['description' => 'Region. ', 'type' => 'string', 'example' => '11', 'title' => ''], + 'MarketType' => ['description' => 'Marketplace type. ', 'type' => 'string', 'example' => 'all', 'title' => ''], + 'UpdatedAt' => ['description' => 'Update time.', 'type' => 'string', 'example' => '2017-06-01 21:19:12.0', 'title' => ''], + 'AppVersion' => ['description' => 'Application version number.', 'type' => 'string', 'example' => '6.6.2', 'title' => ''], + 'IspName' => ['description' => 'Carrier.', 'type' => 'string', 'example' => 'unicom', 'title' => ''], + 'Onoff' => ['description' => 'On/off status. ', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Name' => ['description' => 'Rule name.', 'type' => 'string', 'example' => 'qqq', 'title' => ''], + 'ResourceId' => ['description' => 'Resource ID of the start/stop rule.', 'type' => 'string', 'example' => 'lrntfr', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"ECD5669E-DD42-4A1A-9D6D-09740F50CD92\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"171416772471986\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n 38F88DFE-499C-4A6F-A42F-251C0825C788\\r\\n \\r\\n \\r\\n \\r\\n 171416772471986\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 66244974273637\\r\\n \\r\\n 2017-05-01 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetTrafficData', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 2,\\n \\"Total\\": 173,\\n \\"Page\\": 1\\n },\\n \\"SettingList\\": {\\n \\"Setting\\": [\\n {\\n \\"CreatedAt\\": \\"2017-06-02 13:16:37.0\\",\\n \\"BusinessType\\": \\"live\\",\\n \\"ClientId\\": \\"200000\\",\\n \\"Usable\\": true,\\n \\"PlatformType\\": \\"01\\",\\n \\"Region\\": \\"11\\",\\n \\"MarketType\\": \\"all\\",\\n \\"UpdatedAt\\": \\"2017-06-01 21:19:12.0\\",\\n \\"AppVersion\\": \\"6.6.2\\",\\n \\"IspName\\": \\"unicom\\",\\n \\"Onoff\\": false,\\n \\"Name\\": \\"qqq\\",\\n \\"ResourceId\\": \\"lrntfr\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the on/off settings list.', + 'summary' => 'Invoke GetControlRules to obtain the start-stop settings list. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetFluencyData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetControlRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'GetCoverRateData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2064,85 +1868,42 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'List of domain names to query, separated by VERTICAL LINE. If not specified, all domain names are queried.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Region, separated by VERTICAL LINE. Enter "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Carrier, separated by VERTICAL LINEs. Use "all" to indicate all carriers.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Platform, separated by VERTICAL LINE. Enter "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Business type, separated by VERTICAL LINE. Enter "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-01', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Start Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-01', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-10', - 'docRequired' => true, - ], + 'schema' => ['description' => 'End Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-10', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -2150,88 +1911,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '05870F21-0700-4770-A19C-13CA610884B7', - ], + 'Code' => ['description' => 'The business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', 'title' => ''], 'Labels' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Label' => [ + 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'items' => ['description' => 'Label that describes the Data Type.', 'type' => 'string', 'example' => '带宽峰值', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned list of information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-06 00:00:00', - ], + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Values' => [ + 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '98.47', - ], + 'items' => ['description' => 'Bandwidth data. Unit: bit/second.', 'type' => 'string', 'example' => '290426020145', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽峰值\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"290426020145\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Query P2P CDN Coverage Rate Data of Accelerated Domain Names', + 'summary' => 'Queries the P2P CDN Coverage Rate data of accelerated domain names with a minimum granularity of 1 Day. Unit: %.', + 'description' => '**Before you invoke this API, note the following:**'."\n" + ."\n" + .'If StartTime and EndTime are not specified, data from the last 24 hours is read by default. If StartTime and EndTime are specified, data is queried within the specified time range.'."\n" + ."\n" + .'Batch queries for multiple domain names are supported. Separate multiple domain names with a VERTICAL LINE (|).'."\n" + ."\n" + .'You can retrieve data from up to the last 90 Days.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCoverRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"05870F21-0700-4770-A19C-13CA610884B7\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"参考流畅率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"98.47\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n B0C0A171-3CE8-4EBC-8956-3F227D86AB2B\\r\\n \\r\\n \\r\\n \\r\\n 98.47\\r\\n \\r\\n 2017-05-06 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 100.0\\r\\n \\r\\n 2017-05-06 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetFluencyData', ], - 'GetLogsList' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCurrentMode' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2239,49 +2016,143 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F84A4387-33B0-4F2D-87E4-BC3465BF568E', 'title' => ''], + 'EstimateBandwidth' => ['description' => 'The estimated monthly 95th percentile bandwidth (in bps). This field is returned only when ModeCode is 95.', 'type' => 'integer', 'format' => 'int32', 'example' => '6219331', 'title' => ''], + 'PaddingModeCode' => ['description' => 'The metering method that is yet to be effective.'."\n" + ."\n" + .'- **0**: Daily peak bandwidth.'."\n" + ."\n" + .'- **1**: Daily traffic.'."\n" + ."\n" + .'- **95**: Monthly 95th percentile bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Code' => ['description' => 'The business status code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ModeCode' => ['description' => 'The current metering method.'."\n" + ."\n" + .'- **0**: Daily peak bandwidth.'."\n" + ."\n" + .'- **1**: Daily traffic.'."\n" + ."\n" + .'- **95**: Monthly 95th percentile bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'EffectiveAt' => ['description' => 'The UNIX timestamp indicating when the new metering method takes effect. This field is returned only when a service upgrade/downgrade has been initiated but not yet taken effect.', 'type' => 'integer', 'format' => 'int32', 'example' => '1540345299', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F84A4387-33B0-4F2D-87E4-BC3465BF568E\\",\\n \\"EstimateBandwidth\\": 6219331,\\n \\"PaddingModeCode\\": 0,\\n \\"Code\\": 0,\\n \\"ModeCode\\": 0,\\n \\"EffectiveAt\\": 1540345299\\n}","type":"json"}]', + 'title' => 'Query the current metering method', + 'summary' => 'Invoke GetCurrentMode to query the current metering method.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCurrentMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetDomainCount' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Date', - 'in' => 'query', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Data' => ['description' => 'The quantity of domain names.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Data\\": 6,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\"\\n}","type":"json"}]', + 'title' => 'Obtain the total quantity of user custom domain names', + 'summary' => 'You can invoke GetDomainCount to obtain the total quantity of custom domain names for a user.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomainCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetDomains' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:00:00Z', - ], + 'schema' => ['description' => 'Current page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:01:00Z', - ], + 'schema' => ['description' => 'Number of records per page.', 'type' => 'string', 'required' => true, 'example' => '10', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => false, 'example' => 'xxx.com.cn', 'title' => ''], ], ], 'responses' => [ @@ -2289,163 +2160,135 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '425AEBD2-C4BA-44E4-9FC1-026844933422', 'title' => ''], + 'Pager' => [ + 'description' => 'Paging information.', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Page' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'LogList' => [ + 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Log' => [ - 'description' => '', + 'UsageData' => [ + 'description' => 'The list of returned domain information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Url' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx', - ], - 'StartDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-07 21:00:00', - ], - 'EndDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-07 21:59:59', - ], - 'FileName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz', - ], + 'Status' => ['description' => 'The current domain status, indicating whether it is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Domain' => ['description' => 'Domain name.', 'type' => 'string', 'example' => 'xxx.com.cn', 'title' => ''], + 'SliceFormat' => ['description' => 'Segment format, returned only when BusinessType=live.', 'type' => 'string', 'example' => 'flv', 'title' => ''], + 'CreatedAt' => ['description' => 'Creation Time.', 'type' => 'string', 'example' => '2017-05-12 20:56:34', 'title' => ''], + 'UpdatedAt' => ['description' => 'Update Time.', 'type' => 'string', 'example' => '2017-05-12 20:56:34', 'title' => ''], + 'ResourceId' => ['description' => 'Domain resource ID.', 'type' => 'string', 'example' => 'i4e6g9', 'title' => ''], + 'BusinessType' => ['description' => 'Business type: download, live, vod.', 'type' => 'string', 'example' => 'vod', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\",\\n \\"LogList\\": {\\n \\"Log\\": [\\n {\\n \\"Url\\": \\"http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\",\\n \\"StartDate\\": \\"2017-05-07 21:00:00\\",\\n \\"EndDate\\": \\"2017-05-07 21:59:59\\",\\n \\"FileName\\": \\"ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n \\n 2017-05-07 00:59:59\\n 2017-05-07 00:00:00\\n http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\n ccd_cdn.xxxx.com.cn_2017-05-03_01.tar.gz\\n \\n \\n 2017-05-07 21:59:59\\n 2017-05-07 21:00:00\\n http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\n ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz\\n \\n\\n0\\nB40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\n\\n","errorExample":""}]', - 'title' => 'GetLogsList', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"425AEBD2-C4BA-44E4-9FC1-026844933422\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"Page\\": 1\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Status\\": true,\\n \\"Domain\\": \\"xxx.com.cn\\",\\n \\"SliceFormat\\": \\"flv\\",\\n \\"CreatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"UpdatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"ResourceId\\": \\"i4e6g9\\",\\n \\"BusinessType\\": \\"vod\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Query domain name and status', + 'summary' => 'Query all domain names under the username and their status. Domain status includes: Normal, disabled.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddPcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetExpenseSummary' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'TEST+RULE', - ], + 'schema' => ['description' => 'Start Time.', 'type' => 'string', 'required' => false, 'example' => '2017-05-01', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'End Time. ', 'type' => 'string', 'required' => false, 'example' => '2017-05-10', 'title' => ''], ], [ - 'name' => 'IspName', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mobile', - ], + 'schema' => ['description' => 'Content to search for. If empty, all content is displayed.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'PlatformType', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '01', - ], + 'schema' => ['description' => 'Region codes, separated by VERTICAL LINE (|). To query all regions, pass "all".'."\n" + ."\n" + .'For code queries, see [Common Field Reference](~~151572~~).', 'type' => 'string', 'required' => false, 'example' => '00', 'title' => ''], ], [ - 'name' => 'BusinessType', + 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'live', - ], + 'schema' => ['description' => 'Carrier codes, separated by VERTICAL LINE (|). To query all carriers, pass "all".'."\n" + ."\n" + .'For code queries, see [Common Field Reference](~~151572~~).', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'Market', + 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Terminal code. Separate multiple values with a VERTICAL LINE (|). To query all, pass "all". '."\n" + ."\n" + .'For Code queries, see [Common Fields Reference](~~151572~~). ', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'AppVersion', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Business type codes, separated by VERTICAL LINE (|). To query all types, pass "all".'."\n" + ."\n" + .'For code queries, see [Common Field Reference](~~151572~~).', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], ], 'responses' => [ @@ -2453,66 +2296,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6p9uch', + 'Code' => ['description' => 'Business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '450CFF96-32FE-4229-85CA-EC588DAB0888', 'title' => ''], + 'Data' => [ + 'description' => 'Data information.', + 'type' => 'object', + 'properties' => [ + 'ForecastFluency' => ['description' => 'Reference low definition rate.', 'type' => 'number', 'format' => 'float', 'example' => '98', 'title' => ''], + 'TopBandwidth' => ['description' => 'Total peak bandwidth.', 'type' => 'integer', 'format' => 'int64', 'example' => '414344', 'title' => ''], + 'TotalTraffic' => ['description' => 'Total Traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '12419172', 'title' => ''], + 'CoverRate' => ['description' => 'Coverage Rate.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'ShareRate' => ['description' => 'Share rate.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'TotalUV' => ['description' => 'Total number of access users.', 'type' => 'integer', 'format' => 'int32', 'example' => '21723058', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"ResourceId\\": \\"6p9uch\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6p9uch\\n 0\\n 20963AEE-E3A5-461F-8809-C494558373AB\\n","errorExample":""}]', - 'title' => 'AddPcdnControlRule', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"450CFF96-32FE-4229-85CA-EC588DAB0888\\",\\n \\"Data\\": {\\n \\"ForecastFluency\\": 98,\\n \\"TopBandwidth\\": 414344,\\n \\"TotalTraffic\\": 12419172,\\n \\"CoverRate\\": 0,\\n \\"ShareRate\\": 0,\\n \\"TotalUV\\": 21723058\\n }\\n}","type":"json"}]', + 'title' => 'Obtain Consumption Data Summary', + 'summary' => 'Invoke GetExpenseSummary to obtain the consumption data summary.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeletePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetExpenseSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFeeHistory' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ResourceId', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - ], + 'schema' => ['description' => 'The current page number. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of records per page. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -2520,134 +2373,137 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'Code' => ['description' => 'Business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '5CED561E-A4E3-4842-8BB6-700BE2AE7784', 'title' => ''], + 'Pager' => [ + 'description' => 'Paging information.', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'Page' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ + 'FeeList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Fee' => [ + 'description' => 'List of returned billing information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndDate' => ['description' => 'End Time of the billing epoch.', 'type' => 'string', 'example' => '2017-05-05 23:59:59', 'title' => ''], + 'TimeSpan' => ['description' => 'Billing epoch.', 'type' => 'string', 'example' => '2017-05-05 00:00:00 至 2017-05-05 23:59:59', 'title' => ''], + 'Date' => ['description' => 'Billing Time.', 'type' => 'string', 'example' => '2017-05-05', 'title' => ''], + 'StartDate' => ['description' => 'Start Time of the billing epoch.', 'type' => 'string', 'example' => '2017-05-05 00:00:00', 'title' => ''], + 'LevelThreeTraffic' => ['description' => 'Traffic.', 'type' => 'integer', 'format' => 'int32', 'example' => '12345678', 'title' => ''], + 'Mode' => ['description' => 'Description of the current metering method.', 'type' => 'string', 'example' => '日峰值带宽', 'title' => ''], + 'TotalTraffic' => ['description' => 'Total traffic.', 'type' => 'integer', 'format' => 'int32', 'example' => '12345678', 'title' => ''], + 'BusinessType' => ['description' => 'Business Type.', 'type' => 'string', 'example' => 'live', 'title' => ''], + 'LevelTwoTraffic' => ['description' => 'Traffic.', 'type' => 'integer', 'format' => 'int32', 'example' => '12345678', 'title' => ''], + 'LevelThreeBandwidth' => ['description' => 'Bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '999000', 'title' => ''], + 'FlowOut' => ['description' => 'Metering method. Valid values:'."\n" + .'- **0**: Daily peak bandwidth.'."\n" + .'- **95**: Monthly 95th percentile bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'LevelTwoBandwidth' => ['description' => 'Bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '999000', 'title' => ''], + 'ResourceId' => ['description' => 'Resource ID.', 'type' => 'string', 'example' => '6aphce', 'title' => ''], + 'TotalBandwidth' => ['description' => 'Total bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '89999000', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'UnauthorizedOperation', - 'errorMessage' => 'You have no permission to delete this pcdn control rule.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 555F7320-5D9F-4C43-9FD4-442447691127\\n 0\\n","errorExample":""}]', - 'title' => 'DeletePcdnControlRule', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 8,\\n \\"Page\\": 1\\n },\\n \\"FeeList\\": {\\n \\"Fee\\": [\\n {\\n \\"EndDate\\": \\"2017-05-05 23:59:59\\",\\n \\"TimeSpan\\": \\"2017-05-05 00:00:00 至 2017-05-05 23:59:59\\",\\n \\"Date\\": \\"2017-05-05\\",\\n \\"StartDate\\": \\"2017-05-05 00:00:00\\",\\n \\"LevelThreeTraffic\\": 12345678,\\n \\"Mode\\": \\"日峰值带宽\\",\\n \\"TotalTraffic\\": 12345678,\\n \\"BusinessType\\": \\"live\\",\\n \\"LevelTwoTraffic\\": 12345678,\\n \\"LevelThreeBandwidth\\": 999000,\\n \\"FlowOut\\": 0,\\n \\"LevelTwoBandwidth\\": 999000,\\n \\"ResourceId\\": \\"6aphce\\",\\n \\"TotalBandwidth\\": 89999000\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Retrieve billing data history ', + 'summary' => 'Invoke GetFeeHistory to retrieve billing data history.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisablePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFeeHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFirstFrameDelayData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ResourceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - 'docRequired' => true, - ], + 'schema' => ['description' => 'List of domain names to query, separated by VERTICAL LINE. If not specified, all domain names are queried.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'y6z7rp', - ], - ], - ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => 'Region, separated by VERTICAL LINE. Use "all" to indicate all regions.'."\n", 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + [ + 'name' => 'IspName', + 'in' => 'query', + 'schema' => ['description' => 'Carrier, separated by VERTICAL LINEs. Use "all" to indicate all carriers. ', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"\\n y6z7rp\\n C7075F7D-8998-47CD-AA59-5C207D012F7B\\n 0\\n","errorExample":""}]', - 'title' => 'DisablePcdnControlRule', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnablePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PlatformType', + 'in' => 'query', + 'schema' => ['description' => 'Terminal, separated by VERTICAL LINE. Use "all" to indicate all terminals.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ [ - 'name' => 'ResourceId', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Business type, separated by VERTICAL LINEs. Use "all" to indicate all business types.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['description' => 'Start Time. ', 'type' => 'string', 'required' => true, 'example' => '2017-05-01', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => 'End Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-10', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -2655,48 +2511,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ + 'Code' => ['description' => 'The business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => 'AADC33E0-F172-4BA8-9D48-09BC013CEB47', 'title' => ''], + 'Labels' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Label that describes the data type.', 'type' => 'string', 'example' => '首帧延时', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313', + 'title' => '', + 'example' => '', ], - 'ResourceId' => [ + 'DataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => 'The list of returned information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Bandwidth data, in bits per second.', 'type' => 'string', 'example' => '352', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'y6z7rp', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n y6z7rp\\r\\n C7075F7D-8998-47CD-AA59-5C207D012F7B\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'EnablePcdnControlRule', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"AADC33E0-F172-4BA8-9D48-09BC013CEB47\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"首帧延时\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"352\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain First-Frame Latency Data of Accelerated Domain Names ', + 'summary' => 'Obtain the first-frame latency data of accelerated domain names. Unit: ms. ', + 'description' => '**Before you invoke this API, note the following:** '."\n" + ."\n" + .'- If StartTime and EndTime are not specified, data from the last 24 hours is read by default. If StartTime and EndTime are specified, data is queried within the specified time range. '."\n" + ."\n" + .'- Batch query of multiple domain names is supported. Separate multiple domain names with a VERTICAL LINE (|). '."\n" + ."\n" + .'- Data from up to the last 90 days can be obtained. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetControlRules' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFirstFrameDelayData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFluencyData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2704,31 +2619,42 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Page', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - 'docRequired' => true, - ], + 'schema' => ['description' => 'The domain name to query. Separate multiple domain names with a VERTICAL LINE (|). If not specified, all domain names are queried. ', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Region, separated by VERTICAL LINE. Use "all" for all regions.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'IspName', + 'in' => 'query', + 'schema' => ['description' => 'Carrier, separated by VERTICAL LINE. Use "all" for all carriers.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'PlatformType', + 'in' => 'query', + 'schema' => ['description' => 'The terminal type. Separate multiple values with a VERTICAL LINE. Use "all" to specify all terminals. ', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'BusinessType', + 'in' => 'query', + 'schema' => ['description' => 'Business type, separated by VERTICAL LINE (|). Use "all" for all types.'."\n", 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['description' => 'Start Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-01', 'docRequired' => true, 'title' => ''], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => 'End Time. ', 'type' => 'string', 'required' => true, 'example' => '2017-05-10', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -2736,243 +2662,126 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], - 'Pager' => [ - 'description' => '', + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '05870F21-0700-4770-A19C-13CA610884B7', 'title' => ''], + 'Labels' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '173', - ], - 'Page' => [ + 'Label' => [ 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'type' => 'array', + 'items' => ['description' => 'Label that describes the data type.', 'type' => 'string', 'example' => '参考流畅率', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'SettingList' => [ + 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Setting' => [ - 'description' => '', + 'UsageData' => [ + 'description' => 'The list of returned information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-06-02 13:16:37.0', - ], - 'BusinessType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'live', - ], - 'ClientId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '200000', - ], - 'Usable' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'PlatformType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '01', - ], - 'Region' => [ - 'description' => '', - 'type' => 'string', - 'example' => '11', - ], - 'MarketType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'all', - ], - 'UpdatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-06-01 21:19:12.0', - ], - 'AppVersion' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6.6.2', - ], - 'IspName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'unicom', - ], - 'Onoff' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'qqq', - ], - 'ResourceId' => [ + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-06 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Bandwidth data, in bit/second.'."\n", 'type' => 'string', 'example' => '98.47', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'lrntfr', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"05870F21-0700-4770-A19C-13CA610884B7\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"参考流畅率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"98.47\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain reference low definition rate data', + 'summary' => 'Obtain the reference low definition rate data of the accelerated domain name, in %.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFluencyData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 2,\\n \\"Total\\": 173,\\n \\"Page\\": 1\\n },\\n \\"SettingList\\": {\\n \\"Setting\\": [\\n {\\n \\"CreatedAt\\": \\"2017-06-02 13:16:37.0\\",\\n \\"BusinessType\\": \\"live\\",\\n \\"ClientId\\": \\"200000\\",\\n \\"Usable\\": true,\\n \\"PlatformType\\": \\"01\\",\\n \\"Region\\": \\"11\\",\\n \\"MarketType\\": \\"all\\",\\n \\"UpdatedAt\\": \\"2017-06-01 21:19:12.0\\",\\n \\"AppVersion\\": \\"6.6.2\\",\\n \\"IspName\\": \\"unicom\\",\\n \\"Onoff\\": false,\\n \\"Name\\": \\"qqq\\",\\n \\"ResourceId\\": \\"lrntfr\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n 2\\r\\n 1\\r\\n 173\\r\\n \\r\\n 0\\r\\n \\r\\n \\r\\n 2017-06-02 13:16:37.0\\r\\n false\\r\\n qqq\\r\\n 01\\r\\n 11\\r\\n unicom\\r\\n lrntfr\\r\\n all\\r\\n 6.6.2\\r\\n live\\r\\n 200000\\r\\n 2017-06-02 13:16:37.0\\r\\n \\r\\n \\r\\n 2017-06-01 21:19:12.0\\r\\n false\\r\\n 59\\r\\n 02\\r\\n 11\\r\\n all\\r\\n pm8fq9\\r\\n b1f2523b184b66ab|39667742fd585678\\r\\n 3.3.024_home|DVB_TV_Yingshi_R_5.1.1.25_1d433747\\r\\n live\\r\\n 200000\\r\\n 2017-06-01 21:19:12.0\\r\\n \\r\\n \\r\\n","errorExample":""}]', - 'title' => 'GetControlRules', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'EditPcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLogsList' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'TEST+RULE+EDIT', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Content to search for. If empty, all logs are displayed.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'Date', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Log Date.', 'type' => 'string', 'required' => false, 'example' => '2016-10-20', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '67', - 'docRequired' => true, - ], + 'schema' => ['description' => 'The start time point for retrieving logs. The date format follows ISO8601 notation and uses UTC.', 'type' => 'string', 'required' => false, 'example' => '2016-10-20T04:00:00Z', 'title' => ''], ], [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mobile', - 'docRequired' => true, - ], - ], - [ - 'name' => 'PlatformType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '01', - 'docRequired' => true, - ], - ], - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'live', - 'docRequired' => true, - ], - ], - [ - 'name' => 'Market', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'APPStore', - 'docRequired' => true, - ], - ], - [ - 'name' => 'AppVersion', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '9.27.3501', - 'docRequired' => true, - ], + 'schema' => ['description' => 'The end time point for retrieving logs. The date format follows ISO8601 notation and uses UTC.'."\n" + .'> The end time must be later than the start time.', 'type' => 'string', 'required' => false, 'example' => '2016-10-20T04:01:00Z', 'title' => ''], ], ], 'responses' => [ @@ -2980,125 +2789,122 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', - ], - 'ResourceId' => [ + 'Code' => ['description' => 'Business code. Returns 0 on success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', 'title' => ''], + 'LogList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Log' => [ + 'description' => 'Returns a list of log information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'Link path.', 'type' => 'string', 'example' => 'http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx', 'title' => ''], + 'StartDate' => ['description' => 'Start Time.', 'type' => 'string', 'example' => '2017-05-07 21:00:00', 'title' => ''], + 'EndDate' => ['description' => 'End Time.', 'type' => 'string', 'example' => '2017-05-07 21:59:59', 'title' => ''], + 'FileName' => ['description' => 'File Name.', 'type' => 'string', 'example' => 'ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'y6z7rp', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n y6z7rp\\r\\n 555F7320-5D9F-4C43-9FD4-442447691127\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'EditPcdnControlRule', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\",\\n \\"LogList\\": {\\n \\"Log\\": [\\n {\\n \\"Url\\": \\"http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\",\\n \\"StartDate\\": \\"2017-05-07 21:00:00\\",\\n \\"EndDate\\": \\"2017-05-07 21:59:59\\",\\n \\"FileName\\": \\"ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain Log List', + 'summary' => 'Obtain the log list for the selected time of the current user, for viewing and downloading.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetLogsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetShareRateData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'BusinessType', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'live', - 'enum' => [ - 'vod', - 'live', - 'download', - ], - ], + 'schema' => ['description' => 'Content to search for. If empty, all results are displayed. ', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'Region code. Separate multiple values with a VERTICAL LINE (|). To query all regions, pass "all". '."\n" + ."\n" + .'For details about the codes, see [Common Fields Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'LiveFormat', + 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hls', - ], + 'schema' => ['description' => 'Carrier code. Separate multiple codes with a VERTICAL LINE (|). To query all carriers, use "all". '."\n" + ."\n" + .'For details about the codes, see [Common Field Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'SliceDomain', + 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'Terminal code. Separate multiple values with a VERTICAL LINE (|). To query all terminals, pass "all". '."\n" + ."\n" + .'For details about the codes, see [Common Fields Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'Business type code. Separate multiple codes with a VERTICAL LINE (|). To query all types, use "all". '."\n" + ."\n" + .'For details about the codes, see [Common Field Reference](~~151572~~). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'DemoUrls', + 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'http://lesson-01.mp4', - ], + 'schema' => ['description' => 'Start Time. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-01', 'title' => ''], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => 'End Time. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-10', 'title' => ''], ], ], 'responses' => [ @@ -3106,258 +2912,255 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ + 'Code' => ['description' => 'Business code. A value of 0 indicates success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D', 'title' => ''], + 'Labels' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Data.', 'type' => 'string', 'example' => 'P2P分享率', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', + 'title' => '', + 'example' => '', ], - 'ResourceId' => [ + 'DataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'UsageData' => [ + 'description' => 'The returned list of information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'The start time of the data time segment.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], + 'Values' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Values' => [ + 'description' => '', + 'type' => 'array', + 'items' => ['description' => 'Share rate data, ranging from **0** to **1**.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'tu9lfh', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\",\\n \\"ResourceId\\": \\"tu9lfh\\"\\n}","errorExample":""},{"type":"xml","example":"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\ntu9lfh\\n0","errorExample":""}]', - 'title' => 'AddDomain', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"P2P分享率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"1\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain P2P CDN Share Rate Information ', + 'summary' => 'Invoke GetShareRateData to obtain P2P CDN share rate information. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetShareRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTokenList' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - 'docRequired' => true, - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5923BFA8-ACC2-4949-A0AB-46B66FF45BDD', - ], - 'ResourceId' => [ + 'Code' => ['description' => 'Business code. Returns 0 upon success. ', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '5CED561E-A4E3-4842-8BB6-700BE2AE7784', 'title' => ''], + 'TokenList' => [ + 'itemNode' => true, 'description' => '', - 'type' => 'string', - 'example' => '23j63d', + 'type' => 'object', + 'properties' => [ + 'Token' => [ + 'description' => 'Returns a list of token information. ', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PlatformName' => ['description' => 'Terminal name. ', 'type' => 'string', 'example' => 'OTT', 'title' => ''], + 'Token' => ['description' => 'Token value. ', 'type' => 'string', 'example' => '6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0', 'title' => ''], + 'PlatformType' => ['description' => 'Terminal code. ', 'type' => 'string', 'example' => '02', 'title' => ''], + 'CreatedAt' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '2017-05-16 20:16:20', 'title' => ''], + 'UpdatedAt' => ['description' => 'Update Time. ', 'type' => 'string', 'example' => '2017-05-16 20:16:20', 'title' => ''], + 'ResourceId' => ['description' => 'Terminal resource ID. ', 'type' => 'string', 'example' => '6y23ph', 'title' => ''], + 'ClientId' => ['description' => 'User Client ID. ', 'type' => 'string', 'example' => '200000', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\",\\n \\"ResourceId\\": \\"23j63d\\"\\n}","errorExample":""},{"type":"xml","example":"\\n0\\n23j63d\\n5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\n\\n","errorExample":""}]', - 'title' => 'DeleteDomain', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"TokenList\\": {\\n \\"Token\\": [\\n {\\n \\"PlatformName\\": \\"OTT\\",\\n \\"Token\\": \\"6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0\\",\\n \\"PlatformType\\": \\"02\\",\\n \\"CreatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"UpdatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"ResourceId\\": \\"6y23ph\\",\\n \\"ClientId\\": \\"200000\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the terminal token list', + 'summary' => 'Retrieve the list of terminal tokens. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'StartDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTokenList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'GetTrafficByRegion' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9B9F0410-C648-4232-A424-7574905B7982', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'jjh32t', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"jjh32t\\"\\n}","errorExample":""},{"type":"xml","example":"\\n0\\njjh32t\\n9B9F0410-C648-4232-A424-7574905B7982\\n","errorExample":""}]', - 'title' => 'StartDomain', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'StopDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9B9F0410-C648-4232-A424-7574905B7982', - ], - 'ResourceId' => [ + 'Code' => ['description' => 'Business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '26CF81F8-18F5-4F93-A1D6-33AAA592CF56', 'title' => ''], + 'TrafficDataList' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TrafficData' => [ + 'description' => 'Data list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Region name.', 'type' => 'string', 'example' => '北京', 'title' => ''], + 'Traffic' => ['description' => 'Traffic data.', 'type' => 'integer', 'format' => 'int64', 'example' => '448096774168859', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'example' => 'tu9lfh', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"26CF81F8-18F5-4F93-A1D6-33AAA592CF56\\",\\n \\"TrafficDataList\\": {\\n \\"TrafficData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Traffic\\": 448096774168859\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain the traffic data for each region of the user in the current calendar month', + 'summary' => 'Invoke GetTrafficByRegion to obtain the traffic data for each region of the user in the current calendar month.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTrafficByRegion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"tu9lfh\\"\\n}","errorExample":""},{"type":"xml","example":"\\n0\\ntu9lfh\\n9B9F0410-C648-4232-A424-7574905B7982\\n\\n","errorExample":""}]', - 'title' => 'StopDomain', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetAccessData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTrafficData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3365,85 +3168,42 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => 'Domain name. Separate multiple values with a VERTICAL LINE (|). If this parameter is not provided, all domain names are queried.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Region. Separate multiple values with a VERTICAL LINE (|). Specify "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Carrier. Separate multiple carriers with a VERTICAL LINE (|). Use "all" to indicate all carriers.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Platform type. Separate multiple values with a VERTICAL LINE (|). Specify "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Business type. Separate multiple values with a VERTICAL LINE (|). Specify "all" to select all.', 'type' => 'string', 'required' => true, 'example' => 'all', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-01', - ], + 'schema' => ['description' => 'Start Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-01', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-10', - ], + 'schema' => ['description' => 'End Time.', 'type' => 'string', 'required' => true, 'example' => '2017-05-10', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -3451,1062 +3211,720 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '448328AF-82C4-420F-8D7F-4C9F2D523D7F', - ], + 'Code' => ['description' => 'Business code. A value of 0 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ECD5669E-DD42-4A1A-9D6D-09740F50CD92', 'title' => ''], 'Labels' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Label' => [ + 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'items' => ['description' => 'Label that describes the data type.', 'type' => 'string', 'example' => '流量', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-06 00:00:00', - ], + 'Date' => ['description' => 'The start time of the data time slice.', 'type' => 'string', 'example' => '2017-05-01 00:00:00', 'title' => ''], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Values' => [ + 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10879016', - ], + 'items' => ['description' => 'Bandwidth data. Unit: bit/second.', 'type' => 'string', 'example' => '171416772471986', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"448328AF-82C4-420F-8D7F-4C9F2D523D7F\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"访客量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"10879016\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n BF921B07-EEB0-44BD-8E21-BD796E3FFBF2\\r\\n \\r\\n \\r\\n \\r\\n 10879016\\r\\n \\r\\n 2017-05-06 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 10844042\\r\\n \\r\\n 2017-05-07 00:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetAccessData', + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"ECD5669E-DD42-4A1A-9D6D-09740F50CD92\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"171416772471986\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Obtain Network Traffic Monitoring Data', + 'summary' => 'Obtain network traffic monitoring data for accelerated domain names. Unit: byte.', + 'description' => '**Before you invoke this API, note the following:**'."\n" + ."\n" + .'- If StartTime and EndTime are not specified, data from the last 24 hours is read by default. If StartTime and EndTime are specified, data is queried within the specified time range.'."\n" + ."\n" + .'- Batch queries for multiple domain names are supported. Separate multiple domain names with a VERTICAL LINE (|).'."\n" + ."\n" + .'- You can retrieve data from up to the last 90 days.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetBandwidthData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'StartDomain' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'Domain name information.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'Business code. Returns 0 upon success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '9B9F0410-C648-4232-A424-7574905B7982', 'title' => ''], + 'ResourceId' => ['description' => 'Domain name resource ID.', 'type' => 'string', 'example' => 'jjh32t', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"jjh32t\\"\\n}","type":"json"}]', + 'title' => 'Enable Domain Name', + 'summary' => 'Invoke StartDomain to enable the domain name.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StartDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'StopDomain' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ - 'name' => 'PlatformType', + 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'Business code. Returns 0 upon success.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '9B9F0410-C648-4232-A424-7574905B7982', 'title' => ''], + 'ResourceId' => ['description' => 'Domain name resource ID.', 'type' => 'string', 'example' => 'tu9lfh', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"tu9lfh\\"\\n}","type":"json"}]', + 'title' => 'Disable Domain Name', + 'summary' => 'Invoke StopDomain to disable a domain name.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StopDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-01', + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'pcdn.aliyuncs.com', 'endpoint' => 'pcdn.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'MissingDomainName', 'message' => 'The input parameter DomainName that is mandatory for processing this request is not supplied.', 'http_code' => null, 'description' => ''], + ['code' => 'MissingParameter', 'message' => 'The parameter {0} is required for this request.', 'http_code' => null, 'description' => ''], + ['code' => 'MissingParameter', 'message' => 'You must specify domainName.', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [], + 'ram' => [ + 'productCode' => 'PCDN', + 'productName' => 'PCDN', + 'ramCodes' => ['pcdn'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetTrafficData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-10', + ], + [ + 'apiName' => 'GetCoverRateData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCoverRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '95231540262', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + [ + 'apiName' => 'GetLogsList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetLogsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"95231540262\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 带宽\\r\\n C86F7C0C-D520-4F67-95DB-277E9A233E4E\\r\\n \\r\\n \\r\\n \\r\\n 95231540262\\r\\n 290426020145\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 36802763485\\r\\n 290426020145\\r\\n \\r\\n 2017-05-01 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetBandwidthData', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetCoverRateData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetAllIsp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'AddDomain', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetFluencyData', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFluencyData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', + [ + 'apiName' => 'GetFirstFrameDelayData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFirstFrameDelayData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + ], + [ + 'apiName' => 'AddConsumer', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddConsumer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + ], + [ + 'apiName' => 'GetAccessData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAccessData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PlatformType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + ], + [ + 'apiName' => 'GetDomainCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomainCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, + ], + [ + 'apiName' => 'GetShareRateData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetShareRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-01', - 'docRequired' => true, + ], + [ + 'apiName' => 'GetBalanceBandwidthData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-10', - 'docRequired' => true, + ], + [ + 'apiName' => 'AddPcdnControlRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '290426020145', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'EnablePcdnControlRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:EnablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + [ + 'apiName' => 'StartDomain', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StartDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽峰值\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"290426020145\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n C86F7C0C-D520-4F67-95DB-277E9A233E4E\\r\\n \\r\\n \\r\\n \\r\\n 95231540262\\r\\n 290426020145\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 36802763485\\r\\n 290426020145\\r\\n \\r\\n 2017-05-01 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetCoverRateData', - ], - 'GetDomainCount' => [ - 'methods' => [ - 'get', + [ + 'apiName' => 'StopDomain', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StopDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetCurrentMode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCurrentMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeletePcdnControlRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeletePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetFeeHistory', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFeeHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Data' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', - ], - ], + [ + 'apiName' => 'GetAllAppVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllAppVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + [ + 'apiName' => 'GetTokenList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTokenList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Data\\": 6,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 6\\r\\n 9B9F0410-C648-4232-A424-7574905B7982\\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetDomainCount', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDomains' => [ - 'methods' => [ - 'get', + [ + 'apiName' => 'DisablePcdnControlRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:DisablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetTrafficByRegion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTrafficByRegion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetExpenseSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetExpenseSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetAllRegions', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Page', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'docRequired' => true, + [ + 'apiName' => 'GetConsumerStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetConsumerStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - 'docRequired' => true, + ], + [ + 'apiName' => 'GetClientsRatio', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetClientsRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx.com.cn', + ], + [ + 'apiName' => 'GetAllMarkets', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllMarkets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '425AEBD2-C4BA-44E4-9FC1-026844933422', - ], - 'Pager' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Page' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xxx.com.cn', - ], - 'SliceFormat' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'flv', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-12 20:56:34', - ], - 'UpdatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-12 20:56:34', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i4e6g9', - ], - 'BusinessType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vod', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DeleteDomain', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeleteDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + [ + 'apiName' => 'GetControlRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetControlRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"425AEBD2-C4BA-44E4-9FC1-026844933422\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"Page\\": 1\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Status\\": true,\\n \\"Domain\\": \\"xxx.com.cn\\",\\n \\"SliceFormat\\": \\"flv\\",\\n \\"CreatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"UpdatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"ResourceId\\": \\"i4e6g9\\",\\n \\"BusinessType\\": \\"vod\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n 10\\n 1\\n 1\\n\\n425AEBD2-C4BA-44E4-9FC1-026844933422\\n\\n \\n 2017-05-12 20:56:34\\n true\\n xxx.com.cn\\n vod\\n i4e6g9\\n 2017-05-12 20:56:34\\n \\n\\n0\\n\\n","errorExample":""}]', - 'title' => 'GetDomains', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetFirstFrameDelayData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EditPcdnControlRule', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pcdn:EditPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetAllPlatformTypes', + 'description' => '', 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], - ], - [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], - ], - [ - 'name' => 'PlatformType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], - ], - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], - ], - [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-01', - 'docRequired' => true, - ], - ], - [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-10', - 'docRequired' => true, + 'ramAction' => [ + 'action' => 'pcdn:GetAllPlatformTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AADC33E0-F172-4BA8-9D48-09BC013CEB47', - ], - 'Labels' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Label' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'DataList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'UsageData' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2017-05-01 00:00:00', - ], - 'Values' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '352', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetBandwidthData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', + [ + 'apiName' => 'GetBalanceTrafficData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"AADC33E0-F172-4BA8-9D48-09BC013CEB47\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"首帧延时\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"352\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n E2C71271-907F-4F65-A7D9-452005960109\\r\\n \\r\\n \\r\\n \\r\\n 352\\r\\n \\r\\n 2017-05-01 00:00:00\\r\\n \\r\\n \\r\\n \\r\\n 316\\r\\n \\r\\n 2017-05-01 04:00:00\\r\\n \\r\\n \\r\\n 0\\r\\n","errorExample":""}]', - 'title' => 'GetFirstFrameDelayData', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'pcdn.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'pcdn.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3