diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/pcdn | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/pcdn')
| -rw-r--r-- | data/en_us/pcdn/2017-04-11/api-docs.php | 5662 |
1 files changed, 2540 insertions, 3122 deletions
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,293 @@ <?php return [ 'version' => '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":"<GetAllAppVersionsResponse>\\n <RequestId>0484CF2A-3C0F-4183-9DF3-6239FA433001</RequestId>\\n <DataList>\\n <UsageData>\\n <Value>6.6.2</Value>\\n <Code>01</Code>\\n </UsageData>\\n <UsageData>\\n <Value>6.4.7</Value>\\n <Code>01</Code>\\n </UsageData>\\n </DataList>\\n <Code>0</Code>\\n</GetAllAppVersionsResponse>","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', + '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' => false, - 'example' => 'all', + 'required' => true, + 'docRequired' => true, + 'example' => 'live', + 'enum' => ['vod', 'live', 'download'], + 'title' => '', ], ], [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'Domain name information. Only a single domain name can be added.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'LiveFormat', + 'in' => 'query', + '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' => 'SliceDomain', + 'in' => 'query', + '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' => 'Region', 'in' => 'query', + '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' => 'DemoUrls', + 'in' => 'query', + 'schema' => ['description' => 'Sample URL addresses. Separate multiple URLs with a VERTICAL LINE (|).', 'type' => 'string', 'required' => false, 'example' => 'http://lesson-01.mp4', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + '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' => ' ', + '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' => [], + ], + ], + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Carrier English names, separated by VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mobile', 'title' => ''], ], [ 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Terminal type codes, separated by VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '01', 'title' => ''], ], [ 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Business Type: **live**, **vod**, **download**. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'live', 'title' => ''], ], [ - 'name' => 'StartDate', + 'name' => 'Market', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-01', - ], + 'schema' => ['description' => 'Marketplace. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], [ - 'name' => 'EndDate', + 'name' => 'AppVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2017-05-10', - ], + 'schema' => ['description' => 'Application Version. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'all', 'title' => ''], ], ], 'responses' => [ @@ -275,380 +295,219 @@ '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 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\\": \\"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":"<GetShareRateDataResponse>\\r\\n <Labels>\\r\\n <Label>P2P分享率</Label>\\r\\n </Labels>\\r\\n <RequestId>8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>1.0</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>1.0</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetShareRateDataResponse>","errorExample":""}]', - 'title' => 'GetShareRateData', + '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' => ' ', - ], - 'GetClientsRatio' => [ - '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' => [ - '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 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 \\"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":"<GetClientsRatioResponse>\\r\\n <RequestId>69501FC0-4CDD-4E1E-8995-C7EB8A16AA34</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Name>PC</Name>\\r\\n <Value>16375213495846691</Value>\\r\\n <Rate>0.9982015239711776</Rate>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>Android</Name>\\r\\n <Value>29474576234067</Value>\\r\\n <Rate>0.0017967134854585337</Rate>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>OTT</Name>\\r\\n <Value>0</Value>\\r\\n <Rate>0.0</Rate>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>iOS</Name>\\r\\n <Value>28914025061</Value>\\r\\n <Rate>0.000001762543363929356</Rate>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetClientsRatioResponse>","errorExample":""}]', - 'title' => 'GetClientsRatio', + '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' => ' ', - ], - 'GetConsumerStatus' => [ - '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' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - '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' => [ - '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 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' => 'You must specify domainName.', - ], + ['errorCode' => 'UnauthorizedOperation', 'errorMessage' => 'You have no permission to delete this pcdn control rule.', '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":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<GetConsumerStatusResponse>\\r\\n\\t<Inservice>true</Inservice>\\r\\n\\t<RequestId>23321CEB-637B-44B3-B39C-B47FD36850F5</RequestId>\\r\\n\\t<Code>0</Code>\\r\\n\\t<IntegreatedMode>1</IntegreatedMode>\\r\\n\\t<RealtimeMonitor>false</RealtimeMonitor>\\r\\n\\t<LiveMonitor>false</LiveMonitor>\\r\\n\\t<CdnUrlRedirectFlag>false</CdnUrlRedirectFlag>\\r\\n\\t<Audit>1</Audit>\\r\\n\\t<Comment>审核通过</Comment>\\r\\n <BusinessType>vod</BusinessType>\\r\\n\\t<CreatedAt>2018-01-01 10:48:48</CreatedAt>\\r\\n\\t<UpdatedAt>2018-01-01 10:48:48</UpdatedAt>\\r\\n </GetConsumerStatusResponse>","errorExample":""}]', - 'title' => 'GetConsumerStatus', + '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' => ' ', - ], - 'GetTokenList' => [ - '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' => [], ], ], - 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'readAndWrite', + 'deprecated' => false, + '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' => '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 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' => '', + '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\\": \\"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":"<GetTokenListResponse> \\r\\n <RequestId>5CED561E-A4E3-4842-8BB6-700BE2AE7784</RequestId>\\r\\n <TokenList>\\r\\n <Token>\\r\\n <UpdatedAt>2017-05-16 20:16:20</UpdatedAt>\\r\\n <PlatformType>02</PlatformType>\\r\\n <ResourceId>1a5wb7s</ResourceId>\\r\\n <Token>6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0</Token>\\r\\n <PlatformName>OTT</PlatformName>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-05-16 20:16:20</CreatedAt>\\r\\n </Token>\\r\\n <Token>\\r\\n <UpdatedAt>2017-05-16 20:16:20</UpdatedAt>\\r\\n <PlatformType>00</PlatformType>\\r\\n <ResourceId>8zs9op</ResourceId>\\r\\n <Token>6000170000591aed949d0f54a343f1a4233c1e7d1c5ca816be</Token>\\r\\n <PlatformName>PC</PlatformName>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-05-16 20:16:20</CreatedAt>\\r\\n </Token>\\r\\n <Token>\\r\\n <UpdatedAt>2017-05-16 20:16:20</UpdatedAt>\\r\\n <PlatformType>01</PlatformType>\\r\\n <ResourceId>blocm6</ResourceId>\\r\\n <Token>6000170100591aed94b45ed32785cc74f5a861ddfcb8b7c841</Token>\\r\\n <PlatformName>Android</PlatformName>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-05-16 20:16:20</CreatedAt>\\r\\n </Token>\\r\\n <Token>\\r\\n <UpdatedAt>2017-05-16 20:16:20</UpdatedAt>\\r\\n <PlatformType>05</PlatformType>\\r\\n <ResourceId>1i85ijq</ResourceId>\\r\\n <Token>6000170500591aed949b2e40bf306fdb5c7081349621e412ee</Token>\\r\\n <PlatformName>iOS</PlatformName>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-05-16 20:16:20</CreatedAt>\\r\\n </Token>\\r\\n </TokenList>\\r\\n <Code>0</Code>\\r\\n</GetTokenListResponse> \\r\\n","errorExample":""}]', - 'title' => 'GetTokenList', + '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' => ' ', - ], - 'AddConsumer' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + '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' => [], @@ -656,104 +515,110 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'BusinessType', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'download', - ], + 'schema' => ['description' => 'Rule Name. ', 'type' => 'string', 'required' => true, 'example' => 'TEST+RULE+EDIT', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Company', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'alibaba', - ], + 'schema' => ['description' => 'Start-stop rule resource. ', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Site', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + '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' => 'Requirement', + 'name' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'yourRequirement', - ], + 'schema' => ['description' => 'Carrier name in English. Separate multiple names with a VERTICAL LINE (|). ', 'type' => 'string', 'required' => true, 'example' => 'mobile', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Mobile', + 'name' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '151016****', - ], + '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' => 'Ca', + 'name' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Ca', - ], + 'schema' => ['description' => 'Business Type: live, vod, or download. ', 'type' => 'string', 'required' => true, 'example' => 'live', 'docRequired' => true, 'title' => ''], ], [ - 'name' => 'Operator', + 'name' => 'Market', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pop', - ], + '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' => 'Email', + 'name' => 'AppVersion', 'in' => 'query', + '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' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'username@example.com', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + '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' => ' ', + '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' => [ [ - 'name' => 'BandwidthRequirement', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Start-stop rule resource ID.', 'type' => 'string', 'required' => true, 'example' => 'y6z7rp', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -761,48 +626,45 @@ '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. 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' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"3D28E5B7-AA32-4C21-83E8-515947135E0D\\",\\n \\"ResourceId\\": \\"76lw75\\"\\n}","errorExample":""},{"type":"xml","example":"<AddConsumerResponse>\\r\\n <ResourceId>76lwxx</ResourceId>\\r\\n <RequestId>636F1CA7-E59F-4B4F-9C4E-59E75CC01A0F</RequestId>\\r\\n <Code>0</Code>\\r\\n</AddConsumerResponse>","errorExample":""}]', - 'title' => 'AddConsumer', + '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' => ' ', - ], - 'GetAllIsp' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:EnablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAccessData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -810,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' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', + 'title' => '', + 'example' => '', ], 'DataList' => [ 'type' => 'object', @@ -840,49 +743,78 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'NameCn' => [ + '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' => 'string', + 'title' => '', 'example' => '', ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tp4xpa', - ], - 'NameEn' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'greatwall', - ], ], + '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\\": \\"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' => ' ', + 'changeSet' => [], + 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAccessData', + '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":"<GetAllIspResponse>\\r\\n <RequestId>7EA16831-74AC-4A2A-8355-19BEEF546663</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <ResourceId>tu9lfh</ResourceId>\\r\\n <NameEn>unicom</NameEn>\\r\\n <NameCn>联通</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>1em7qj4</ResourceId>\\r\\n <NameEn>telecom</NameEn>\\r\\n <NameCn>电信</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>iplnlf</ResourceId>\\r\\n <NameEn>mobile</NameEn>\\r\\n <NameCn>移动</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>1c0vz6g</ResourceId>\\r\\n <NameEn>cernet</NameEn>\\r\\n <NameCn>教育网</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>1stffhs</ResourceId>\\r\\n <NameEn>dounder</NameEn>\\r\\n <NameCn>方正宽带</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>rbgdlh</ResourceId>\\r\\n <NameEn>tietong</NameEn>\\r\\n <NameCn>铁通</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>tp4xpa</ResourceId>\\r\\n <NameEn>greatwall</NameEn>\\r\\n <NameCn>长宽</NameCn>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <ResourceId>13e8i39</ResourceId>\\r\\n <NameEn>other</NameEn>\\r\\n <NameCn>其他</NameCn>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetAllIspResponse>","errorExample":""}]', - 'title' => 'GetAllIsp', ], - 'GetAllPlatformTypes' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAllAppVersions' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -890,78 +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' => 'E500E41E-C47B-4F0E-835B-71AFB0EB9773', - ], + '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' => 'Flash', - ], - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + '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\\": \\"E500E41E-C47B-4F0E-835B-71AFB0EB9773\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"Flash\\",\\n \\"Code\\": 10\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAllPlatformTypesResponse>\\r\\n <RequestId>6EDE89AE-1B70-448E-B38F-77CB59F14C0D</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Name>OTT</Name>\\r\\n <Code>02</Code>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>PC</Name>\\r\\n <Code>00</Code>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>Android</Name>\\r\\n <Code>01</Code>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>iOS</Name>\\r\\n <Code>05</Code>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Name>Flash</Name>\\r\\n <Code>10</Code>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetAllPlatformTypesResponse>","errorExample":""}]', - 'title' => 'GetAllPlatformTypes', + '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' => ' ', - ], - 'GetAllRegions' => [ - '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' => [], @@ -969,77 +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' => 'FB3AA371-2230-4FF8-8E94-952EBF2CF30C', - ], + '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' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => '11', - ], + '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\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Code\\": \\"11\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAllIRegionsResponse>\\r\\n <RequestId>7EA16831-74AC-4A2A-8355-19BEEF546663</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Code>11</Code>\\r\\n <Name>北京</Name>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Code>12</Code>\\r\\n <Name>天津</Name>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Code>13</Code>\\r\\n <Name>河北</Name>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Code>14</Code>\\r\\n <Name>山西</Name>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetAllIRegionsResponse>","errorExample":""}]', - 'title' => 'GetAllRegions', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], 'GetAllMarkets' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1047,83 +975,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' => 'BFCDB187-ED92-430A-8C8A-A96B63AD89F0', - ], + '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' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MarketCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b1f2523b184b66ab', - ], - 'MarketName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + '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' => '[{"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":"<GetAllMarketsResponse>\\r\\n <RequestId>607AB575-A09C-43DC-8204-943C54991A58</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <MarketCode>1</MarketCode>\\r\\n <MarketName>1</MarketName>\\r\\n <Code>01</Code>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <MarketCode>b1f2523b184b66ab</MarketCode>\\r\\n <MarketName>Player SDK for 阿里少儿</MarketName>\\r\\n <Code>02</Code>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetAllMarketsResponse>","errorExample":""}]', - 'title' => 'GetAllMarkets', + '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' => ' ', - ], - 'GetBalanceBandwidthData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllMarkets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAllPlatformTypes' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1131,120 +1053,154 @@ ], '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' => [ + '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' => [ - 'Label' => [ + 'UsageData' => [ + 'description' => 'The returned data.', 'type' => 'array', 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The terminal name.', 'type' => 'string', 'example' => 'Flash', 'title' => ''], + 'Code' => ['description' => 'The terminal type code.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], 'description' => '', - 'type' => 'string', + 'title' => '', 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + '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' => ' ', + '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' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + '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' => [ - 'type' => 'object', 'itemNode' => true, + 'description' => '', + 'type' => 'object', 'properties' => [ 'UsageData' => [ - 'description' => '', + 'description' => 'The returned Data. ', 'type' => 'array', 'items' => [ + 'description' => '', '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', - ], - ], - ], - ], + '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.', + ['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' => '*'], + ], ], ], ], - '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":"<GetBalanceBandwidthDataResponse>\\r\\n <Labels>\\r\\n <Label>带宽</Label>\\r\\n <Label>带宽峰值</Label>\\r\\n <Label>日峰值带宽</Label>\\r\\n </Labels>\\r\\n <RequestId>5923BFA8-ACC2-4949-A0AB-46B66FF45BDD</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>185187502281</Values>\\r\\n <Values>347993190084</Values>\\r\\n <Values>0</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>177339955340</Values>\\r\\n <Values>347993190084</Values>\\r\\n <Values>0</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:05:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetBalanceBandwidthDataResponse>","errorExample":""}]', - 'title' => 'GetBalanceBandwidthData', ], - 'GetBalanceTrafficData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetBalanceBandwidthData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1252,31 +1208,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'DataInterval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '300', - ], + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abcde123', - ], + 'schema' => ['description' => 'The resource ID of the current bill. ', 'type' => 'string', 'required' => true, 'example' => 'xxx', 'docRequired' => true, 'title' => ''], ], ], 'responses' => [ @@ -1284,91 +1228,98 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], + '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' => [ 'Label' => [ + 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'items' => ['description' => 'Labels that describe 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-01 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' => '177339955340', - ], + 'items' => ['description' => 'Bandwidth data, in bits per second.', 'type' => 'string', 'example' => '185187502281', '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\\": \\"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\\": \\"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":"<GetBalanceTrafficDataResponse>\\n<Labels>\\n <Label>流量</Label>\\n</Labels>\\n<RequestId>20963AEE-E3A5-461F-8809-C494558373AB</RequestId>\\n<DataList>\\n <UsageData>\\n <Values>\\n <Values>185187502281</Values>\\n </Values>\\n <Date>2017-05-01 00:00:00</Date>\\n </UsageData>\\n <UsageData>\\n <Values>\\n <Values>177339955340</Values>\\n </Values>\\n <Date>2017-05-01 00:05:00</Date>\\n </UsageData>\\n</DataList>\\n<Code>0</Code>\\n</GetBalanceTrafficDataResponse>","errorExample":""}]', - 'title' => 'GetBalanceTrafficData', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetFeeHistory' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetBalanceTrafficData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1376,31 +1327,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Page', + 'name' => 'DataInterval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + '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' => 'PageSize', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The resource ID of the current bill. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abcde123', 'title' => ''], ], ], 'responses' => [ @@ -1408,315 +1347,156 @@ '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 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' => [ - '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 list of returned 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' => 'Traffic data, in bytes.', 'type' => 'string', 'example' => '177339955340', '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' => '[{"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":"<GetFeeHistoryResponse>\\r\\n <FeeList>\\r\\n <Fee>\\r\\n <EndDate>2017-05-05 23:59:59</EndDate>\\r\\n <StartDate>2017-05-05 00:00:00</StartDate>\\r\\n <TotalBandwidth>123456789999000</TotalBandwidth>\\r\\n <Date>2017-05-05</Date>\\r\\n <FlowOut>0</FlowOut>\\r\\n <BusinessType>vod</BusinessType>\\r\\n <BillingType>1</BillingType>\\r\\n <TimeSpan>2017-05-05 00:00:00 至 2017-05-05 23:59:59</TimeSpan>\\r\\n <Mode>日峰值带宽</Mode>\\r\\n </Fee>\\r\\n <Fee>\\r\\n <EndDate>2017-05-04 23:59:59</EndDate>\\r\\n <StartDate>2017-05-04 00:00:00</StartDate>\\r\\n <TotalBandwidth>123456789999000</TotalBandwidth>\\r\\n <Date>2017-05-04</Date>\\r\\n <FlowOut>0</FlowOut>\\r\\n <BusinessType>vod</BusinessType>\\r\\n <BillingType>1</BillingType>\\r\\n <TimeSpan>2017-05-04 00:00:00 至 2017-05-04 23:59:59</TimeSpan>\\r\\n <Mode>日峰值带宽</Mode>\\r\\n </Fee>\\r\\n </FeeList>\\r\\n <Pager>\\r\\n <PageSize>10</PageSize>\\r\\n <Page>1</Page>\\r\\n <Total>8</Total>\\r\\n </Pager>\\r\\n <Code>0</Code>\\r\\n</GetFeeHistoryResponse>","errorExample":""}]', - 'title' => 'GetFeeHistory', + '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' => ' ', - ], - 'GetCurrentMode' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - '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' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'EffectiveAt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1540345299', - ], + 'changeSet' => [], + 'translator' => 'machine', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - '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":"<GetCurrentModeResponse>\\n <RequestId>F84A4387-33B0-4F2D-87E4-BC3465BF568E</RequestId>\\n <ModeCode>95</ModeCode>\\n <EstimateBandwidth>6219331</EstimateBandwidth>\\n <Code>0</Code>\\n <PaddingModeCode>0</PaddingModeCode>\\n <EffectiveAt>1540345299</EffectiveAt>\\n</GetCurrentModeResponse>\\n","errorExample":""}]', - 'title' => 'GetCurrentMode', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetExpenseSummary' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '98', - ], - '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' => [ + 'Label' => [ 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', + 'type' => 'array', + 'items' => ['description' => 'Labels used to describe the data type.', 'type' => 'string', 'example' => '带宽', 'title' => ''], + 'title' => '', + 'example' => '', ], - '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":"<GetExpenseSummaryResponse>\\r\\n <Data>\\r\\n <CoverRate>0.0</CoverRate>\\r\\n <ForecastFluency>98.03</ForecastFluency>\\r\\n <TotalTraffic>12419172</TotalTraffic>\\r\\n <TopBandwidth>414344</TopBandwidth>\\r\\n <TotalUV>21723058</TotalUV>\\r\\n </Data>\\r\\n <RequestId>807F6545-56E7-4CB0-B178-722E7851C0B5</RequestId>\\r\\n <Code>0</Code>\\r\\n</GetExpenseSummaryResponse>","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":"<GetTrafficByRegionResponse>\\r\\n <TrafficDataList>\\r\\n <TrafficData>\\r\\n <Name>北京</Name>\\r\\n <Traffic>448096774168859</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>天津</Name>\\r\\n <Traffic>149046039126012</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>河北</Name>\\r\\n <Traffic>311633084563883</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>山西</Name>\\r\\n <Traffic>111913357608613</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>内蒙古</Name>\\r\\n <Traffic>121310599233230</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>辽宁</Name>\\r\\n <Traffic>356807056403655</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>吉林</Name>\\r\\n <Traffic>151925345175750</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>黑龙江</Name>\\r\\n <Traffic>141110412597382</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>上海</Name>\\r\\n <Traffic>532977262961283</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>江苏</Name>\\r\\n <Traffic>1253060710817965</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>浙江</Name>\\r\\n <Traffic>1257256406683929</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>安徽</Name>\\r\\n <Traffic>334797729767759</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>福建</Name>\\r\\n <Traffic>566841917282337</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>江西</Name>\\r\\n <Traffic>272442583002765</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>山东</Name>\\r\\n <Traffic>821863346319563</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>河南</Name>\\r\\n <Traffic>379985564854609</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>湖北</Name>\\r\\n <Traffic>456205987172989</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>湖南</Name>\\r\\n <Traffic>328102608958956</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>广东</Name>\\r\\n <Traffic>2191515252948832</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>广西</Name>\\r\\n <Traffic>445799095250735</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>海南</Name>\\r\\n <Traffic>66774008061768</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>重庆</Name>\\r\\n <Traffic>193123106090999</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>四川</Name>\\r\\n <Traffic>498112097201725</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>贵州</Name>\\r\\n <Traffic>100434438057521</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>云南</Name>\\r\\n <Traffic>303816561733595</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>西藏</Name>\\r\\n <Traffic>18238481216618</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>陕西</Name>\\r\\n <Traffic>231890693493741</Traffic>\\r\\n </TrafficData>\\r\\n <TrafficData>\\r\\n <Name>甘肃</Name>\\r\\n <Traffic>110097638533238</Traffic>\\r\\n </TrafficData>\\r\\n </TrafficDataList>\\r\\n <RequestId>5F949A3F-850B-4139-B666-638F563BE843</RequestId>\\r\\n <Code>0</Code>\\r\\n</GetTrafficByRegionResponse>","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":"<GetTrafficDataResponse>\\r\\n <Labels>\\r\\n <Label>流量</Label>\\r\\n </Labels>\\r\\n <RequestId>38F88DFE-499C-4A6F-A42F-251C0825C788</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>171416772471986</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>66244974273637</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetTrafficDataResponse>","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":"<GetFluencyDataResponse>\\r\\n <Labels>\\r\\n <Label>参考流畅率</Label>\\r\\n </Labels>\\r\\n <RequestId>B0C0A171-3CE8-4EBC-8956-3F227D86AB2B</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>98.47</Values>\\r\\n </Values>\\r\\n <Date>2017-05-06 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>100.0</Values>\\r\\n </Values>\\r\\n <Date>2017-05-06 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetFluencyDataResponse>","errorExample":""}]', - 'title' => 'GetFluencyData', ], - 'GetLogsList' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCurrentMode' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2239,464 +2016,120 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Date', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2016-10-20T04:01:00Z', - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', - ], - 'LogList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Log' => [ - 'description' => '', - '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', - ], - ], - ], - ], - ], - ], + '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' => ''], ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - '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":"<GetLogsListResponse>\\n<LogList>\\n <Log>\\n <EndDate>2017-05-07 00:59:59</EndDate>\\n <StartDate>2017-05-07 00:00:00</StartDate>\\n <Url>http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx</Url>\\n <FileName>ccd_cdn.xxxx.com.cn_2017-05-03_01.tar.gz</FileName>\\n </Log>\\n <Log>\\n <EndDate>2017-05-07 21:59:59</EndDate>\\n <StartDate>2017-05-07 21:00:00</StartDate>\\n <Url>http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx</Url>\\n <FileName>ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz</FileName>\\n </Log>\\n</LogList>\\n<Code>0</Code>\\n<RequestId>B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF</RequestId>\\n</GetLogsListResponse>\\n","errorExample":""}]', - 'title' => 'GetLogsList', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddPcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'TEST+RULE', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'IspName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mobile', - ], - ], - [ - 'name' => 'PlatformType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '01', - ], - ], - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'live', - ], - ], - [ - 'name' => 'Market', - 'in' => 'query', - 'schema' => [ 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], - ], - [ - 'name' => 'AppVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], - ], - ], - 'responses' => [ - 200 => [ - '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', - ], - ], + '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\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"ResourceId\\": \\"6p9uch\\"\\n}","errorExample":""},{"type":"xml","example":"<AddPcdnControlRuleResponse>\\n <ResourceId>6p9uch</ResourceId>\\n <Code>0</Code>\\n <RequestId>20963AEE-E3A5-461F-8809-C494558373AB</RequestId>\\n<AddPcdnControlRuleResponse>","errorExample":""}]', - 'title' => 'AddPcdnControlRule', + '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' => ' ', - ], - 'DeletePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', - ], + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCurrentMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'UnauthorizedOperation', - 'errorMessage' => 'You have no permission to delete this pcdn control rule.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\"\\n}","errorExample":""},{"type":"xml","example":"<EditPcdnControlRuleResponse>\\n <RequestId>555F7320-5D9F-4C43-9FD4-442447691127</RequestId>\\n <Code>0</Code>\\n</EditPcdnControlRuleResponse>","errorExample":""}]', - 'title' => 'DeletePcdnControlRule', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DisablePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDomainCount' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - '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' => 'A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'y6z7rp', - ], + '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' => '', + '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\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"<EnablePcdnControlRuleResponse>\\n <ResourceId>y6z7rp</ResourceId>\\n <RequestId>C7075F7D-8998-47CD-AA59-5C207D012F7B</RequestId>\\n <Code>0</Code>\\n</EnablePcdnControlRuleResponse>","errorExample":""}]', - 'title' => 'DisablePcdnControlRule', + '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' => ' ', - ], - 'EnablePcdnControlRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - 'docRequired' => true, - ], - ], - ], - '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', - ], + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomainCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - '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":"<EnablePcdnControlRuleResponse>\\r\\n <ResourceId>y6z7rp</ResourceId>\\r\\n <RequestId>C7075F7D-8998-47CD-AA59-5C207D012F7B</RequestId>\\r\\n <Code>0</Code>\\r\\n</EnablePcdnControlRuleResponse>","errorExample":""}]', - 'title' => 'EnablePcdnControlRule', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetControlRules' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDomains' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2704,31 +2137,22 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Current page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'docRequired' => true, 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'docRequired' => true, - ], + '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' => [ @@ -2736,243 +2160,135 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20963AEE-E3A5-461F-8809-C494558373AB', - ], + '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' => '', + 'description' => 'Paging information.', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '173', - ], - 'Page' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + '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' => '', ], - 'SettingList' => [ + 'DataList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Setting' => [ - 'description' => '', + 'UsageData' => [ + 'description' => 'The list of returned domain 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' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'lrntfr', - ], + '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\\": \\"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":"<GetControlRulesResponse>\\r\\n <Pager>\\r\\n <PageSize>2</PageSize>\\r\\n <Page>1</Page>\\r\\n <Total>173</Total>\\r\\n </Pager>\\r\\n <Code>0</Code>\\r\\n <SettingList>\\r\\n <Setting>\\r\\n <UpdatedAt>2017-06-02 13:16:37.0</UpdatedAt>\\r\\n <Onoff>false</Onoff>\\r\\n <Name>qqq</Name>\\r\\n <PlatformType>01</PlatformType>\\r\\n <Region>11</Region>\\r\\n <IspName>unicom</IspName>\\r\\n <ResourceId>lrntfr</ResourceId>\\r\\n <MarketType>all</MarketType>\\r\\n <AppVersion>6.6.2</AppVersion>\\r\\n <BusinessType>live</BusinessType>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-06-02 13:16:37.0</CreatedAt>\\r\\n </Setting>\\r\\n <Setting>\\r\\n <UpdatedAt>2017-06-01 21:19:12.0</UpdatedAt>\\r\\n <Onoff>false</Onoff>\\r\\n <Name>59</Name>\\r\\n <PlatformType>02</PlatformType>\\r\\n <Region>11</Region>\\r\\n <IspName>all</IspName>\\r\\n <ResourceId>pm8fq9</ResourceId>\\r\\n <MarketType>b1f2523b184b66ab|39667742fd585678</MarketType>\\r\\n <AppVersion>3.3.024_home|DVB_TV_Yingshi_R_5.1.1.25_1d433747</AppVersion>\\r\\n <BusinessType>live</BusinessType>\\r\\n <ClientId>200000</ClientId>\\r\\n <CreatedAt>2017-06-01 21:19:12.0</CreatedAt>\\r\\n </Setting>\\r\\n </SettingList>\\r\\n</GetControlRulesResponse>","errorExample":""}]', - 'title' => 'GetControlRules', + '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' => ' ', - ], - 'EditPcdnControlRule' => [ - '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' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'TEST+RULE+EDIT', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Start Time.', 'type' => 'string', 'required' => false, 'example' => '2017-05-01', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'y6z7rp', - 'docRequired' => true, - ], + 'schema' => ['description' => 'End Time. ', 'type' => 'string', 'required' => false, 'example' => '2017-05-10', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'Content to search for. If empty, all content is displayed.', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '67', - 'docRequired' => true, - ], + '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' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mobile', - 'docRequired' => true, - ], + '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' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '01', - 'docRequired' => true, - ], + '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' => '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', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '9.27.3501', - 'docRequired' => true, - ], + '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' => [ @@ -2980,265 +2296,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6FFD92E4-AD03-423C-AD1D-41F1990E56BA', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'y6z7rp', + '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' => '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\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"<EditPcdnControlRuleResponse>\\r\\n <ResourceId>y6z7rp</ResourceId>\\r\\n <RequestId>555F7320-5D9F-4C43-9FD4-442447691127</RequestId>\\r\\n <Code>0</Code>\\r\\n</EditPcdnControlRuleResponse>","errorExample":""}]', - 'title' => 'EditPcdnControlRule', + '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' => ' ', - ], - 'AddDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'BusinessType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'live', - 'enum' => [ - 'vod', - 'live', - 'download', - ], - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'LiveFormat', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hls', - ], - ], - [ - 'name' => 'SliceDomain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'DemoUrls', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'http://lesson-01.mp4', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tu9lfh', - ], + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetExpenseSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\",\\n \\"ResourceId\\": \\"tu9lfh\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF</RequestId>\\n<ResourceId>tu9lfh</ResourceId>\\n<Code>0</Code>","errorExample":""}]', - 'title' => 'AddDomain', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DeleteDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFeeHistory' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - 'docRequired' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5923BFA8-ACC2-4949-A0AB-46B66FF45BDD', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23j63d', - ], - ], - ], + 'schema' => ['description' => 'The current page number. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'You must specify domainName.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\",\\n \\"ResourceId\\": \\"23j63d\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDomainResponse>\\n<code>0</code>\\n<ResourceId>23j63d</ResourceId>\\n<requestId>5923BFA8-ACC2-4949-A0AB-46B66FF45BDD</requestId>\\n</DeleteDomainResponse>\\n","errorExample":""}]', - 'title' => 'DeleteDomain', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'StartDomain' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'Domain', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'The number of records per page. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -3246,118 +2373,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9B9F0410-C648-4232-A424-7574905B7982', + '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' => '', ], - 'ResourceId' => [ + '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' => 'jjh32t', + '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\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"jjh32t\\"\\n}","errorExample":""},{"type":"xml","example":"<StartDomainResponse>\\n<code>0</code>\\n<ResourceId>jjh32t</ResourceId>\\n<requestId>9B9F0410-C648-4232-A424-7574905B7982</requestId>\\n</StartDomainResponse>","errorExample":""}]', - 'title' => 'StartDomain', + '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' => ' ', - ], - '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' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tu9lfh', - ], + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFeeHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - '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\\": \\"tu9lfh\\"\\n}","errorExample":""},{"type":"xml","example":"<StopDomainResponse>\\n<code>0</code>\\n<ResourceId>tu9lfh</ResourceId>\\n<requestId>9B9F0410-C648-4232-A424-7574905B7982</requestId>\\n</StopDomainResponse>\\n","errorExample":""}]', - 'title' => 'StopDomain', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetAccessData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFirstFrameDelayData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3365,85 +2468,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, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Region, separated by VERTICAL LINE. Use "all" to indicate all regions.'."\n", '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, 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, - 'docRequired' => true, - 'example' => 'all', - ], + 'schema' => ['description' => 'Terminal, separated by VERTICAL LINE. Use "all" to indicate all terminals.', '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, 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' => '', - '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,91 +2511,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '448328AF-82C4-420F-8D7F-4C9F2D523D7F', - ], + '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' => '', - '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, in bits per second.', 'type' => 'string', 'example' => '352', '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":"<GetAccessDataResponse>\\r\\n <Labels>\\r\\n <Label>访客量</Label>\\r\\n </Labels>\\r\\n <RequestId>BF921B07-EEB0-44BD-8E21-BD796E3FFBF2</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>10879016</Values>\\r\\n </Values>\\r\\n <Date>2017-05-06 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>10844042</Values>\\r\\n </Values>\\r\\n <Date>2017-05-07 00:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetAccessDataResponse>","errorExample":""}]', - 'title' => 'GetAccessData', + ['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' => ' ', - ], - 'GetBandwidthData' => [ - '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' => [], @@ -3543,85 +2619,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' => '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' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + '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' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'all', - ], + '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' => '', - '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' => [ @@ -3629,91 +2662,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', - ], + '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' => [ '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-01 00:00:00', - ], + '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' => '', - 'type' => 'string', - 'example' => '95231540262', - ], + 'items' => ['description' => 'Bandwidth data, in bit/second.'."\n", 'type' => 'string', 'example' => '98.47', '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\\": \\"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\\": \\"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":"<GetBandwidthDataResponse>\\r\\n <Labels>带宽</Labels>\\r\\n <RequestId>C86F7C0C-D520-4F67-95DB-277E9A233E4E</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>95231540262</Values>\\r\\n <Values>290426020145</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>36802763485</Values>\\r\\n <Values>290426020145</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetBandwidthDataResponse>","errorExample":""}]', - 'title' => 'GetBandwidthData', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetCoverRateData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLogsList' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3721,85 +2760,151 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'Content to search for. If empty, all logs are displayed.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'Date', + 'in' => 'query', + 'schema' => ['description' => 'Log Date.', 'type' => 'string', 'required' => false, 'example' => '2016-10-20', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + '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' => 'EndTime', + 'in' => 'query', + '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' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + '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' => '', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'all', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'MissingParameter', 'errorMessage' => 'You must specify domainName.', 'description' => ''], + ], + ], + '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' => ' ', + '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' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'Content to search for. If empty, all results are displayed. ', 'type' => 'string', 'required' => false, 'example' => 'all', 'title' => ''], + ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + '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' => 'IspName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + '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' => 'PlatformType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + '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' => 'BusinessType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'all', - 'docRequired' => true, - ], + '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' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2017-05-01', - 'docRequired' => true, - ], + 'schema' => ['description' => 'Start Time. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2017-05-01', '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, 'docRequired' => true, 'example' => '2017-05-10', 'title' => ''], ], ], 'responses' => [ @@ -3807,147 +2912,181 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403', - ], + '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' => '', - 'type' => 'string', - 'example' => '', - ], + 'items' => ['description' => 'Data.', 'type' => 'string', 'example' => 'P2P分享率', '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-01 00:00:00', - ], + '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' => '', - 'type' => 'string', - 'example' => '290426020145', - ], + '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' => '', + '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\\": \\"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' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetShareRateData', + '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":"<GetBandwidthDataResponse>\\r\\n <Labels>\\r\\n <Label>带宽</Label>\\r\\n <Label>带宽峰值</Label>\\r\\n </Labels>\\r\\n <RequestId>C86F7C0C-D520-4F67-95DB-277E9A233E4E</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>95231540262</Values>\\r\\n <Values>290426020145</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>36802763485</Values>\\r\\n <Values>290426020145</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetBandwidthDataResponse>","errorExample":""}]', - 'title' => 'GetCoverRateData', ], - 'GetDomainCount' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTokenList' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - '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', - ], - 'Data' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RequestId' => [ + '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' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF', + '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 \\"Data\\": 6,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDomainCountResponse>\\r\\n <Data>6</Data>\\r\\n <RequestId>9B9F0410-C648-4232-A424-7574905B7982</RequestId>\\r\\n <Code>0</Code>\\r\\n</GetDomainCountResponse>","errorExample":""}]', - 'title' => 'GetDomainCount', + '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' => ' ', - ], - 'GetDomains' => [ - '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' => [], @@ -3955,159 +3094,73 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Page', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'docRequired' => true, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - 'docRequired' => true, - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx.com.cn', - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], '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' => [ + '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' => [ - 'UsageData' => [ - 'description' => '', + 'TrafficData' => [ + 'description' => 'Data list.', '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', - ], + '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' => '', + '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\\": \\"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":"<GetDomainsResponse>\\n<Pager>\\n <PageSize>10</PageSize>\\n <Page>1</Page>\\n <Total>1</Total>\\n</Pager>\\n<RequestId>425AEBD2-C4BA-44E4-9FC1-026844933422</RequestId>\\n<DataList>\\n <UsageData>\\n <UpdatedAt>2017-05-12 20:56:34</UpdatedAt>\\n <Status>true</Status>\\n <Domain>xxx.com.cn</Domain>\\n <BusinessType>vod</BusinessType>\\n <ResourceId>i4e6g9</ResourceId>\\n <CreatedAt>2017-05-12 20:56:34</CreatedAt>\\n </UsageData>\\n</DataList>\\n<Code>0</Code>\\n</GetDomainsResponse>\\n","errorExample":""}]', - 'title' => 'GetDomains', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetFirstFrameDelayData' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTrafficData' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4115,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, - 'example' => 'all', - 'docRequired' => true, - ], + '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, - 'example' => 'all', - 'docRequired' => true, - ], + '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, - 'example' => 'all', - 'docRequired' => true, - ], + '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, - 'example' => 'all', - 'docRequired' => true, - ], + '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, - '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' => [ @@ -4201,312 +3211,720 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AADC33E0-F172-4BA8-9D48-09BC013CEB47', - ], + '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-01 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' => '352', - ], + '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.', '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' => ' ', + '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' => 'readAndWrite', + 'deprecated' => false, + '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' => '', + '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\\": \\"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' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + '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' => '', + 'title' => '', + 'example' => '', ], ], ], - '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":"<GetFirstFrameDelayDataResponse>\\r\\n <Labels>\\r\\n <Label>首帧延时</Label>\\r\\n </Labels>\\r\\n <RequestId>E2C71271-907F-4F65-A7D9-452005960109</RequestId>\\r\\n <DataList>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>352</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 00:00:00</Date>\\r\\n </UsageData>\\r\\n <UsageData>\\r\\n <Values>\\r\\n <Values>316</Values>\\r\\n </Values>\\r\\n <Date>2017-05-01 04:00:00</Date>\\r\\n </UsageData>\\r\\n </DataList>\\r\\n <Code>0</Code>\\r\\n</GetFirstFrameDelayDataResponse>","errorExample":""}]', - 'title' => 'GetFirstFrameDelayData', + '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' => '*'], + ], + ], + ], + ], ], ], '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', + ['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' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCoverRateData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCoverRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetLogsList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetLogsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAllIsp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddDomain', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetFluencyData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFluencyData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetFirstFrameDelayData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFirstFrameDelayData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddConsumer', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddConsumer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAccessData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAccessData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDomainCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetDomainCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetShareRateData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetShareRateData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetBalanceBandwidthData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddPcdnControlRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pcdn:AddPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnablePcdnControlRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:EnablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StartDomain', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StartDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StopDomain', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:StopDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCurrentMode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetCurrentMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeletePcdnControlRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeletePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetFeeHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetFeeHistory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAllAppVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllAppVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTokenList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTokenList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DisablePcdnControlRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pcdn:DisablePcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTrafficByRegion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetTrafficByRegion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetExpenseSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetExpenseSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAllRegions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetConsumerStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetConsumerStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetClientsRatio', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetClientsRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAllMarkets', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllMarkets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDomain', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pcdn:DeleteDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetControlRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetControlRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EditPcdnControlRule', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pcdn:EditPcdnControlRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAllPlatformTypes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetAllPlatformTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetBandwidthData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBandwidthData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetBalanceTrafficData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pcdn:GetBalanceTrafficData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PCDN', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
