summaryrefslogtreecommitdiff
path: root/data/linkwan/2018-10-30/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/linkwan/2018-10-30/api-docs.php')
-rw-r--r--data/linkwan/2018-10-30/api-docs.php52
1 files changed, 10 insertions, 42 deletions
diff --git a/data/linkwan/2018-10-30/api-docs.php b/data/linkwan/2018-10-30/api-docs.php
index 83c2d27..f521883 100644
--- a/data/linkwan/2018-10-30/api-docs.php
+++ b/data/linkwan/2018-10-30/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'LinkWAN',
- 'version' => '2018-10-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'LinkWAN', 'version' => '2018-10-30'],
'components' => [
'schemas' => [],
],
'apis' => [
'GetKpmEncryptedNodeTuplesByOrderId' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28,22 +18,13 @@
[
'name' => 'OrderId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
'SubmitKpmEncryptedNodeTupleOrder' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -54,31 +35,18 @@
[
'name' => 'LoraVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RequiredCount',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'linkwan.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'linkwan.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'linkwan.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'linkwan.cn-shanghai.aliyuncs.com'],
],
];