diff options
Diffstat (limited to 'data/onsmqtt/2019-12-11/api-docs.php')
| -rw-r--r-- | data/onsmqtt/2019-12-11/api-docs.php | 326 |
1 files changed, 66 insertions, 260 deletions
diff --git a/data/onsmqtt/2019-12-11/api-docs.php b/data/onsmqtt/2019-12-11/api-docs.php index 3f51a8c..cc49841 100644 --- a/data/onsmqtt/2019-12-11/api-docs.php +++ b/data/onsmqtt/2019-12-11/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'OnsMqtt', - 'version' => '2019-12-11', - ], + 'info' => ['style' => 'RPC', 'product' => 'OnsMqtt', 'version' => '2019-12-11'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'SendMessage' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,45 +18,28 @@ [ 'name' => 'MqttTopic', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Payload', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ReceiptId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateGroupId' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -76,29 +50,18 @@ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteGroupId' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -109,30 +72,18 @@ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListGroupId' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -143,22 +94,13 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'QuerySessionByClientId' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -169,30 +111,18 @@ [ 'name' => 'ClientId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'BatchQuerySessionByClientIds' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -203,10 +133,7 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ClientIdList', @@ -215,23 +142,15 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'maxItems' => 10, ], ], ], ], 'QueryToken' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -242,29 +161,18 @@ [ 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ApplyToken' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -275,46 +183,28 @@ [ 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Actions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'RevokeToken' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -325,126 +215,42 @@ [ 'name' => 'Token', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'onsmqtt.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'onsmqtt.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'onsmqtt.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'onsmqtt.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'onsmqtt.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'onsmqtt.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'onsmqtt.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'onsmqtt.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'onsmqtt.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'onsmqtt.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'onsmqtt.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'onsmqtt.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'onsmqtt.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan-acdr-1', - 'endpoint' => 'onsmqtt.cn-heyuan-acdr-1.aliyuncs.com', - ], - [ - 'regionId' => 'mq-internet-access', - 'endpoint' => 'onsmqtt.mq-internet-access.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'onsmqtt.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'onsmqtt.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'onsmqtt.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'onsmqtt.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'onsmqtt.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'onsmqtt.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'onsmqtt.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'onsmqtt.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'onsmqtt.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'onsmqtt.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'onsmqtt.cn-hangzhou-finance.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'onsmqtt.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'endpoint' => 'onsmqtt.cn-qingdao.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'onsmqtt.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'onsmqtt.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'endpoint' => 'onsmqtt.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'onsmqtt.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'onsmqtt.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'onsmqtt.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'onsmqtt.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'onsmqtt.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'onsmqtt.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'endpoint' => 'onsmqtt.me-central-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'onsmqtt.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'onsmqtt.cn-heyuan-acdr-1.aliyuncs.com'], + ['regionId' => 'mq-internet-access', 'endpoint' => 'onsmqtt.mq-internet-access.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'onsmqtt.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'endpoint' => 'onsmqtt.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'onsmqtt.cn-chengdu.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'onsmqtt.us-east-1.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'onsmqtt.cn-hongkong.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'onsmqtt.eu-west-1.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'endpoint' => 'onsmqtt.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'onsmqtt.us-west-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'onsmqtt.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'endpoint' => 'onsmqtt.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'onsmqtt.cn-hangzhou-finance.aliyuncs.com'], ], ]; |
