'1.0',
'info' => [
'style' => 'RPC',
'product' => 'Pcdn',
'version' => '2017-04-11',
],
'directories' => [
[
'id' => 131326,
'title' => null,
'type' => 'directory',
'children' => [
'GetAllAppVersions',
'GetShareRateData',
'GetClientsRatio',
'GetConsumerStatus',
'GetTokenList',
],
],
[
'id' => 131332,
'title' => null,
'type' => 'directory',
'children' => [
'AddConsumer',
'GetAllIsp',
'GetAllPlatformTypes',
'GetAllRegions',
'GetAllMarkets',
],
],
[
'id' => 131338,
'title' => null,
'type' => 'directory',
'children' => [
'GetBalanceBandwidthData',
'GetBalanceTrafficData',
'GetFeeHistory',
'GetCurrentMode',
'GetExpenseSummary',
],
],
[
'id' => 131344,
'title' => null,
'type' => 'directory',
'children' => [
'GetTrafficByRegion',
'GetTrafficData',
'GetFluencyData',
],
],
[
'id' => 131348,
'title' => null,
'type' => 'directory',
'children' => [
'GetLogsList',
],
],
[
'id' => 131350,
'title' => null,
'type' => 'directory',
'children' => [
'AddPcdnControlRule',
'DeletePcdnControlRule',
'DisablePcdnControlRule',
'EnablePcdnControlRule',
'GetControlRules',
'EditPcdnControlRule',
],
],
[
'id' => 131357,
'title' => null,
'type' => 'directory',
'children' => [
'AddDomain',
'DeleteDomain',
'StartDomain',
'StopDomain',
'GetAccessData',
'GetBandwidthData',
'GetCoverRateData',
'GetDomainCount',
'GetDomains',
'GetFirstFrameDelayData',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'GetAllAppVersions' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'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',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"4785676A-6382-4D0B-AA23-5081742EE74E\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 1,\\n \\"Value\\": \\"6.6.2\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 0484CF2A-3C0F-4183-9DF3-6239FA433001\\n \\n 0\\n","errorExample":""}]',
'title' => 'GetAllAppVersions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetShareRateData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-01',
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-10',
],
],
],
'responses' => [
200 => [
'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',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"P2P分享率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"1\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n 8ECFC607-8D62-4DE8-9D8D-CC7F63B07B7D\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetShareRateData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetClientsRatio' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'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',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"42FA014D-045F-491F-8749-20745C516F89\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"28914025061\\",\\n \\"Name\\": \\"iOS\\",\\n \\"Rate\\": \\"0.000001762543363929356\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 69501FC0-4CDD-4E1E-8995-C7EB8A16AA34\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetClientsRatio',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetConsumerStatus' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'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',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Comment\\": \\"审核通过\\",\\n \\"Inservice\\": true,\\n \\"CreatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"BusinessType\\": \\"vod\\",\\n \\"LiveMonitor\\": false,\\n \\"CdnUrlRedirectFlag\\": false,\\n \\"RequestId\\": \\"23321CEB-637B-44B3-B39C-B47FD36850F5\\",\\n \\"RealtimeMonitor\\": false,\\n \\"Code\\": 0,\\n \\"UpdatedAt\\": \\"2018-01-01 10:48:48\\",\\n \\"Audit\\": 1,\\n \\"IntegreatedMode\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\ttrue\\r\\n\\t23321CEB-637B-44B3-B39C-B47FD36850F5\\r\\n\\t0\\r\\n\\t1\\r\\n\\tfalse\\r\\n\\tfalse\\r\\n\\tfalse\\r\\n\\t1\\r\\n\\t审核通过\\r\\n vod\\r\\n\\t2018-01-01 10:48:48\\r\\n\\t2018-01-01 10:48:48\\r\\n ","errorExample":""}]',
'title' => 'GetConsumerStatus',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetTokenList' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'get',
],
'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',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"TokenList\\": {\\n \\"Token\\": [\\n {\\n \\"PlatformName\\": \\"OTT\\",\\n \\"Token\\": \\"6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0\\",\\n \\"PlatformType\\": \\"02\\",\\n \\"CreatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"UpdatedAt\\": \\"2017-05-16 20:16:20\\",\\n \\"ResourceId\\": \\"6y23ph\\",\\n \\"ClientId\\": \\"200000\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":" \\r\\n 5CED561E-A4E3-4842-8BB6-700BE2AE7784\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 02\\r\\n 1a5wb7s\\r\\n 6000170200591aed94fc62fb5e0166b64d199b86d1e0128fd0\\r\\n OTT\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 00\\r\\n 8zs9op\\r\\n 6000170000591aed949d0f54a343f1a4233c1e7d1c5ca816be\\r\\n PC\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 01\\r\\n blocm6\\r\\n 6000170100591aed94b45ed32785cc74f5a861ddfcb8b7c841\\r\\n Android\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 2017-05-16 20:16:20\\r\\n 05\\r\\n 1i85ijq\\r\\n 6000170500591aed949b2e40bf306fdb5c7081349621e412ee\\r\\n iOS\\r\\n 200000\\r\\n 2017-05-16 20:16:20\\r\\n \\r\\n \\r\\n 0\\r\\n \\r\\n","errorExample":""}]',
'title' => 'GetTokenList',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'AddConsumer' => [
'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' => 'download',
],
],
[
'name' => 'Company',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alibaba',
],
],
[
'name' => 'Site',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'example.com',
],
],
[
'name' => 'Requirement',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'yourRequirement',
],
],
[
'name' => 'Mobile',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '151016****',
],
],
[
'name' => 'Ca',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'Ca',
],
],
[
'name' => 'Operator',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'pop',
],
],
[
'name' => 'Email',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'username@example.com',
],
],
[
'name' => 'BandwidthRequirement',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '1',
],
],
],
'responses' => [
200 => [
'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',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"3D28E5B7-AA32-4C21-83E8-515947135E0D\\",\\n \\"ResourceId\\": \\"76lw75\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 76lwxx\\r\\n 636F1CA7-E59F-4B4F-9C4E-59E75CC01A0F\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'AddConsumer',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetAllIsp' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'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',
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'NameCn' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'ResourceId' => [
'description' => '',
'type' => 'string',
'example' => 'tp4xpa',
],
'NameEn' => [
'description' => '',
'type' => 'string',
'example' => 'greatwall',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"NameCn\\": \\"长宽\\",\\n \\"ResourceId\\": \\"tp4xpa\\",\\n \\"NameEn\\": \\"greatwall\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 7EA16831-74AC-4A2A-8355-19BEEF546663\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetAllIsp',
],
'GetAllPlatformTypes' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => 'E500E41E-C47B-4F0E-835B-71AFB0EB9773',
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'description' => '',
'type' => 'string',
'example' => 'Flash',
],
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '10',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"E500E41E-C47B-4F0E-835B-71AFB0EB9773\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"Flash\\",\\n \\"Code\\": 10\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 6EDE89AE-1B70-448E-B38F-77CB59F14C0D\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetAllPlatformTypes',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetAllRegions' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'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',
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'Code' => [
'description' => '',
'type' => 'string',
'example' => '11',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"FB3AA371-2230-4FF8-8E94-952EBF2CF30C\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Code\\": \\"11\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 7EA16831-74AC-4A2A-8355-19BEEF546663\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetAllRegions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetAllMarkets' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'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',
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'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' => '',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"BFCDB187-ED92-430A-8C8A-A96B63AD89F0\\",\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Code\\": 2,\\n \\"MarketCode\\": \\"b1f2523b184b66ab\\",\\n \\"MarketName\\": \\"Player SDK for 阿里少儿\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 607AB575-A09C-43DC-8204-943C54991A58\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetAllMarkets',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetBalanceBandwidthData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'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,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '20963AEE-E3A5-461F-8809-C494558373AB',
],
'Labels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Label' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
'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' => '185187502281',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"185187502281\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetBalanceBandwidthData',
],
'GetBalanceTrafficData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'DataInterval',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'required' => false,
'example' => '300',
],
],
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'abcde123',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '20963AEE-E3A5-461F-8809-C494558373AB',
],
'Labels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Label' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
'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' => '177339955340',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"177339955340\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n \\n\\n20963AEE-E3A5-461F-8809-C494558373AB\\n\\n0\\n","errorExample":""}]',
'title' => 'GetBalanceTrafficData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetFeeHistory' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Page',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '1',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '10',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '5CED561E-A4E3-4842-8BB6-700BE2AE7784',
],
'Pager' => [
'description' => '',
'type' => 'object',
'properties' => [
'PageSize' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '10',
],
'Total' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '8',
],
'Page' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
],
],
'FeeList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Fee' => [
'description' => '',
'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' => [
'description' => '',
'type' => 'string',
'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',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5CED561E-A4E3-4842-8BB6-700BE2AE7784\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 8,\\n \\"Page\\": 1\\n },\\n \\"FeeList\\": {\\n \\"Fee\\": [\\n {\\n \\"EndDate\\": \\"2017-05-05 23:59:59\\",\\n \\"TimeSpan\\": \\"2017-05-05 00:00:00 至 2017-05-05 23:59:59\\",\\n \\"Date\\": \\"2017-05-05\\",\\n \\"StartDate\\": \\"2017-05-05 00:00:00\\",\\n \\"LevelThreeTraffic\\": 12345678,\\n \\"Mode\\": \\"日峰值带宽\\",\\n \\"TotalTraffic\\": 12345678,\\n \\"BusinessType\\": \\"live\\",\\n \\"LevelTwoTraffic\\": 12345678,\\n \\"LevelThreeBandwidth\\": 999000,\\n \\"FlowOut\\": 0,\\n \\"LevelTwoBandwidth\\": 999000,\\n \\"ResourceId\\": \\"6aphce\\",\\n \\"TotalBandwidth\\": 89999000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n 2017-05-05 23:59:59\\r\\n 2017-05-05 00:00:00\\r\\n 123456789999000\\r\\n 2017-05-05\\r\\n 0\\r\\n vod\\r\\n 1\\r\\n 2017-05-05 00:00:00 至 2017-05-05 23:59:59\\r\\n 日峰值带宽\\r\\n \\r\\n \\r\\n 2017-05-04 23:59:59\\r\\n 2017-05-04 00:00:00\\r\\n 123456789999000\\r\\n 2017-05-04\\r\\n 0\\r\\n vod\\r\\n 1\\r\\n 2017-05-04 00:00:00 至 2017-05-04 23:59:59\\r\\n 日峰值带宽\\r\\n \\r\\n \\r\\n \\r\\n 10\\r\\n 1\\r\\n 8\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetFeeHistory',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetCurrentMode' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'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',
],
],
],
],
],
'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":"\\n F84A4387-33B0-4F2D-87E4-BC3465BF568E\\n 95\\n 6219331\\n 0\\n 0\\n 1540345299\\n\\n","errorExample":""}]',
'title' => 'GetCurrentMode',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetExpenseSummary' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '2017-05-01',
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '2017-05-10',
],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '00',
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '450CFF96-32FE-4229-85CA-EC588DAB0888',
],
'Data' => [
'description' => '',
'type' => 'object',
'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' => [
'description' => '',
'type' => 'number',
'format' => 'float',
'example' => '0',
],
'TotalUV' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '21723058',
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"450CFF96-32FE-4229-85CA-EC588DAB0888\\",\\n \\"Data\\": {\\n \\"ForecastFluency\\": 98,\\n \\"TopBandwidth\\": 414344,\\n \\"TotalTraffic\\": 12419172,\\n \\"CoverRate\\": 0,\\n \\"ShareRate\\": 0,\\n \\"TotalUV\\": 21723058\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n 0.0\\r\\n 98.03\\r\\n 12419172\\r\\n 414344\\r\\n 21723058\\r\\n \\r\\n 807F6545-56E7-4CB0-B178-722E7851C0B5\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetExpenseSummary',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetTrafficByRegion' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'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' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'TrafficData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'Traffic' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '448096774168859',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"26CF81F8-18F5-4F93-A1D6-33AAA592CF56\\",\\n \\"TrafficDataList\\": {\\n \\"TrafficData\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Traffic\\": 448096774168859\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n 北京\\r\\n 448096774168859\\r\\n \\r\\n \\r\\n 天津\\r\\n 149046039126012\\r\\n \\r\\n \\r\\n 河北\\r\\n 311633084563883\\r\\n \\r\\n \\r\\n 山西\\r\\n 111913357608613\\r\\n \\r\\n \\r\\n 内蒙古\\r\\n 121310599233230\\r\\n \\r\\n \\r\\n 辽宁\\r\\n 356807056403655\\r\\n \\r\\n \\r\\n 吉林\\r\\n 151925345175750\\r\\n \\r\\n \\r\\n 黑龙江\\r\\n 141110412597382\\r\\n \\r\\n \\r\\n 上海\\r\\n 532977262961283\\r\\n \\r\\n \\r\\n 江苏\\r\\n 1253060710817965\\r\\n \\r\\n \\r\\n 浙江\\r\\n 1257256406683929\\r\\n \\r\\n \\r\\n 安徽\\r\\n 334797729767759\\r\\n \\r\\n \\r\\n 福建\\r\\n 566841917282337\\r\\n \\r\\n \\r\\n 江西\\r\\n 272442583002765\\r\\n \\r\\n \\r\\n 山东\\r\\n 821863346319563\\r\\n \\r\\n \\r\\n 河南\\r\\n 379985564854609\\r\\n \\r\\n \\r\\n 湖北\\r\\n 456205987172989\\r\\n \\r\\n \\r\\n 湖南\\r\\n 328102608958956\\r\\n \\r\\n \\r\\n 广东\\r\\n 2191515252948832\\r\\n \\r\\n \\r\\n 广西\\r\\n 445799095250735\\r\\n \\r\\n \\r\\n 海南\\r\\n 66774008061768\\r\\n \\r\\n \\r\\n 重庆\\r\\n 193123106090999\\r\\n \\r\\n \\r\\n 四川\\r\\n 498112097201725\\r\\n \\r\\n \\r\\n 贵州\\r\\n 100434438057521\\r\\n \\r\\n \\r\\n 云南\\r\\n 303816561733595\\r\\n \\r\\n \\r\\n 西藏\\r\\n 18238481216618\\r\\n \\r\\n \\r\\n 陕西\\r\\n 231890693493741\\r\\n \\r\\n \\r\\n 甘肃\\r\\n 110097638533238\\r\\n \\r\\n \\r\\n 5F949A3F-850B-4139-B666-638F563BE843\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetTrafficByRegion',
],
'GetTrafficData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-01',
'docRequired' => true,
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-10',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => 'ECD5669E-DD42-4A1A-9D6D-09740F50CD92',
],
'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' => '171416772471986',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"ECD5669E-DD42-4A1A-9D6D-09740F50CD92\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"流量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"171416772471986\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n 38F88DFE-499C-4A6F-A42F-251C0825C788\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetTrafficData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetFluencyData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-01',
'docRequired' => true,
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-10',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '05870F21-0700-4770-A19C-13CA610884B7',
],
'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-06 00:00:00',
],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Values' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '98.47',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"05870F21-0700-4770-A19C-13CA610884B7\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"参考流畅率\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"98.47\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n B0C0A171-3CE8-4EBC-8956-3F227D86AB2B\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetFluencyData',
],
'GetLogsList' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'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',
],
],
],
'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',
],
],
],
],
],
],
],
],
],
],
'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":"\\n\\n \\n 2017-05-07 00:59:59\\n 2017-05-07 00:00:00\\n http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\n ccd_cdn.xxxx.com.cn_2017-05-03_01.tar.gz\\n \\n \\n 2017-05-07 21:59:59\\n 2017-05-07 21:00:00\\n http://pcdn-log.oss-cn-shanghai.aliyuncs.com/xxxx/2017-05-07/xxxx\\n ccd_cdn.xxxx.com.cn_2017-05-03_07.tar.gz\\n \\n\\n0\\nB40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\n\\n","errorExample":""}]',
'title' => 'GetLogsList',
'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',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'The input parameter domainName that is mandatory for processing this request is not supplied.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"ResourceId\\": \\"6p9uch\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6p9uch\\n 0\\n 20963AEE-E3A5-461F-8809-C494558373AB\\n","errorExample":""}]',
'title' => 'AddPcdnControlRule',
'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',
],
],
],
],
],
'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":"\\n 555F7320-5D9F-4C43-9FD4-442447691127\\n 0\\n","errorExample":""}]',
'title' => 'DeletePcdnControlRule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DisablePcdnControlRule' => [
'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',
],
],
],
],
],
'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":"\\n y6z7rp\\n C7075F7D-8998-47CD-AA59-5C207D012F7B\\n 0\\n","errorExample":""}]',
'title' => 'DisablePcdnControlRule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EnablePcdnControlRule' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'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',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"A2A7EBC0-089D-4F6F-8FF3-6AFA67ED4313\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n y6z7rp\\r\\n C7075F7D-8998-47CD-AA59-5C207D012F7B\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'EnablePcdnControlRule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetControlRules' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Page',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '10',
'docRequired' => true,
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '1',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '20963AEE-E3A5-461F-8809-C494558373AB',
],
'Pager' => [
'description' => '',
'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',
],
],
],
'SettingList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Setting' => [
'description' => '',
'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',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"20963AEE-E3A5-461F-8809-C494558373AB\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 2,\\n \\"Total\\": 173,\\n \\"Page\\": 1\\n },\\n \\"SettingList\\": {\\n \\"Setting\\": [\\n {\\n \\"CreatedAt\\": \\"2017-06-02 13:16:37.0\\",\\n \\"BusinessType\\": \\"live\\",\\n \\"ClientId\\": \\"200000\\",\\n \\"Usable\\": true,\\n \\"PlatformType\\": \\"01\\",\\n \\"Region\\": \\"11\\",\\n \\"MarketType\\": \\"all\\",\\n \\"UpdatedAt\\": \\"2017-06-01 21:19:12.0\\",\\n \\"AppVersion\\": \\"6.6.2\\",\\n \\"IspName\\": \\"unicom\\",\\n \\"Onoff\\": false,\\n \\"Name\\": \\"qqq\\",\\n \\"ResourceId\\": \\"lrntfr\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n 2\\r\\n 1\\r\\n 173\\r\\n \\r\\n 0\\r\\n \\r\\n \\r\\n 2017-06-02 13:16:37.0\\r\\n false\\r\\n qqq\\r\\n 01\\r\\n 11\\r\\n unicom\\r\\n lrntfr\\r\\n all\\r\\n 6.6.2\\r\\n live\\r\\n 200000\\r\\n 2017-06-02 13:16:37.0\\r\\n \\r\\n \\r\\n 2017-06-01 21:19:12.0\\r\\n false\\r\\n 59\\r\\n 02\\r\\n 11\\r\\n all\\r\\n pm8fq9\\r\\n b1f2523b184b66ab|39667742fd585678\\r\\n 3.3.024_home|DVB_TV_Yingshi_R_5.1.1.25_1d433747\\r\\n live\\r\\n 200000\\r\\n 2017-06-01 21:19:12.0\\r\\n \\r\\n \\r\\n","errorExample":""}]',
'title' => 'GetControlRules',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EditPcdnControlRule' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'TEST+RULE+EDIT',
'docRequired' => true,
],
],
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'y6z7rp',
'docRequired' => true,
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '67',
'docRequired' => true,
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'mobile',
'docRequired' => true,
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '01',
'docRequired' => true,
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'live',
'docRequired' => true,
],
],
[
'name' => 'Market',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'APPStore',
'docRequired' => true,
],
],
[
'name' => 'AppVersion',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '9.27.3501',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'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',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"6FFD92E4-AD03-423C-AD1D-41F1990E56BA\\",\\n \\"ResourceId\\": \\"y6z7rp\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n y6z7rp\\r\\n 555F7320-5D9F-4C43-9FD4-442447691127\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'EditPcdnControlRule',
'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',
],
],
],
],
],
'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":"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\ntu9lfh\\n0","errorExample":""}]',
'title' => 'AddDomain',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteDomain' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'example.com',
'docRequired' => true,
],
],
],
'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',
],
],
],
],
],
'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":"\\n0\\n23j63d\\n5923BFA8-ACC2-4949-A0AB-46B66FF45BDD\\n\\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',
'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' => 'jjh32t',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"9B9F0410-C648-4232-A424-7574905B7982\\",\\n \\"ResourceId\\": \\"jjh32t\\"\\n}","errorExample":""},{"type":"xml","example":"\\n0\\njjh32t\\n9B9F0410-C648-4232-A424-7574905B7982\\n","errorExample":""}]',
'title' => 'StartDomain',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'StopDomain' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'example.com',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '9B9F0410-C648-4232-A424-7574905B7982',
],
'ResourceId' => [
'description' => '',
'type' => 'string',
'example' => 'tu9lfh',
],
],
],
],
],
'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":"\\n0\\ntu9lfh\\n9B9F0410-C648-4232-A424-7574905B7982\\n\\n","errorExample":""}]',
'title' => 'StopDomain',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetAccessData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-01',
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-10',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '448328AF-82C4-420F-8D7F-4C9F2D523D7F',
],
'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-06 00:00:00',
],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Values' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '10879016',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"448328AF-82C4-420F-8D7F-4C9F2D523D7F\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"访客量\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-06 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"10879016\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n BF921B07-EEB0-44BD-8E21-BD796E3FFBF2\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetAccessData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetBandwidthData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'all',
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-01',
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '2017-05-10',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403',
],
'Labels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Label' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Date' => [
'description' => '',
'type' => 'string',
'example' => '2017-05-01 00:00:00',
],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Values' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '95231540262',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"95231540262\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 带宽\\r\\n C86F7C0C-D520-4F67-95DB-277E9A233E4E\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetBandwidthData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetCoverRateData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-01',
'docRequired' => true,
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-10',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '5C2C4882-69C3-45BA-A10E-67E4DFFEA403',
],
'Labels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Label' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Date' => [
'description' => '',
'type' => 'string',
'example' => '2017-05-01 00:00:00',
],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Values' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '290426020145',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"5C2C4882-69C3-45BA-A10E-67E4DFFEA403\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"带宽峰值\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"290426020145\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n C86F7C0C-D520-4F67-95DB-277E9A233E4E\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetCoverRateData',
],
'GetDomainCount' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'Data' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '6',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => 'B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF',
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"Data\\": 6,\\n \\"RequestId\\": \\"B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 6\\r\\n 9B9F0410-C648-4232-A424-7574905B7982\\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetDomainCount',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetDomains' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'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',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '425AEBD2-C4BA-44E4-9FC1-026844933422',
],
'Pager' => [
'description' => '',
'type' => 'object',
'properties' => [
'PageSize' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '10',
],
'Total' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
'Page' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
],
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
'Domain' => [
'description' => '',
'type' => 'string',
'example' => 'xxx.com.cn',
],
'SliceFormat' => [
'description' => '',
'type' => 'string',
'example' => 'flv',
],
'CreatedAt' => [
'description' => '',
'type' => 'string',
'example' => '2017-05-12 20:56:34',
],
'UpdatedAt' => [
'description' => '',
'type' => 'string',
'example' => '2017-05-12 20:56:34',
],
'ResourceId' => [
'description' => '',
'type' => 'string',
'example' => 'i4e6g9',
],
'BusinessType' => [
'description' => '',
'type' => 'string',
'example' => 'vod',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"425AEBD2-C4BA-44E4-9FC1-026844933422\\",\\n \\"Pager\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"Page\\": 1\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Status\\": true,\\n \\"Domain\\": \\"xxx.com.cn\\",\\n \\"SliceFormat\\": \\"flv\\",\\n \\"CreatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"UpdatedAt\\": \\"2017-05-12 20:56:34\\",\\n \\"ResourceId\\": \\"i4e6g9\\",\\n \\"BusinessType\\": \\"vod\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n 10\\n 1\\n 1\\n\\n425AEBD2-C4BA-44E4-9FC1-026844933422\\n\\n0\\n\\n","errorExample":""}]',
'title' => 'GetDomains',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetFirstFrameDelayData' => [
'methods' => [
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'Domain',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'all',
],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'IspName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'PlatformType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => 'all',
'docRequired' => true,
],
],
[
'name' => 'StartDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-01',
'docRequired' => true,
],
],
[
'name' => 'EndDate',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '2017-05-10',
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => 'AADC33E0-F172-4BA8-9D48-09BC013CEB47',
],
'Labels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Label' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '',
],
],
],
],
'DataList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UsageData' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Date' => [
'description' => '',
'type' => 'string',
'example' => '2017-05-01 00:00:00',
],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Values' => [
'type' => 'array',
'items' => [
'description' => '',
'type' => 'string',
'example' => '352',
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'MissingParameter',
'errorMessage' => 'You must specify domainName.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 0,\\n \\"RequestId\\": \\"AADC33E0-F172-4BA8-9D48-09BC013CEB47\\",\\n \\"Labels\\": {\\n \\"Label\\": [\\n \\"首帧延时\\"\\n ]\\n },\\n \\"DataList\\": {\\n \\"UsageData\\": [\\n {\\n \\"Date\\": \\"2017-05-01 00:00:00\\",\\n \\"Values\\": {\\n \\"Values\\": [\\n \\"352\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n \\r\\n E2C71271-907F-4F65-A7D9-452005960109\\r\\n \\r\\n 0\\r\\n","errorExample":""}]',
'title' => 'GetFirstFrameDelayData',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
[
'regionId' => 'cn-hangzhou',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-northeast-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-northeast-2-pop',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-south-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-2',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-3',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-5',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-beijing',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-beijing-finance-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-beijing-finance-pop',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-beijing-gov-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-beijing-nu16-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-chengdu',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-edge-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-fujian',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-haidian-cm12-c01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-bj-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-finance',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-internal-prod-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-internal-test-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-internal-test-2',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-internal-test-3',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-test-306',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hongkong',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-hongkong-finance-pop',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-huhehaote',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-huhehaote-nebula-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-north-2-gov-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-qingdao',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-qingdao-nebula',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-et15-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-et2-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-finance-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-inner',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-internal-test-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen-finance-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen-inner',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen-st4-d01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen-su18-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-wuhan',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-wulanchabu',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-yushanfang',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-zhangbei',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-zhangbei-na61-b01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-zhangjiakou',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-zhangjiakou-na62-a01',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'cn-zhengzhou-nebula-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'eu-central-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'eu-west-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'eu-west-1-oxs',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'me-east-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'rus-west-1-pop',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'us-east-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
[
'regionId' => 'us-west-1',
'endpoint' => 'pcdn.aliyuncs.com',
],
],
];