summaryrefslogtreecommitdiff
path: root/data/iot/2017-07-20
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/iot/2017-07-20
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/iot/2017-07-20')
-rw-r--r--data/iot/2017-07-20/api-docs.php214
1 files changed, 41 insertions, 173 deletions
diff --git a/data/iot/2017-07-20/api-docs.php b/data/iot/2017-07-20/api-docs.php
index eb31715..5b08f2b 100644
--- a/data/iot/2017-07-20/api-docs.php
+++ b/data/iot/2017-07-20/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Iot',
- 'version' => '2017-07-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Iot', 'version' => '2017-07-20'],
'components' => [
'schemas' => [],
],
'apis' => [
'QueryDeviceByPkAndVersion' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,36 +17,22 @@
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ProductKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'IndistinctDevName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FirmwareVersion',
@@ -65,23 +41,15 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'maxItems' => 20,
],
],
],
],
'QueryDeviceUpgradeInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -91,65 +59,38 @@
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'ProductKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'DeviceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FirmwareName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
],
],
'QueryFirmwareByName' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -159,22 +100,13 @@
[
'name' => 'FirmwareName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryFirmwareVerifyInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -184,22 +116,13 @@
[
'name' => 'FirmwareName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryFirmwareByUid' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -209,41 +132,23 @@
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'DeleteStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'QueryFirmwareVersionById' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -253,23 +158,13 @@
[
'name' => 'FirmwareId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
'QueryVersionsByPk' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -279,46 +174,19 @@
[
'name' => 'ProductKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'iot.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'iot.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'iot.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'iot.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'iot.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'iot.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'iot.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'iot.eu-central-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'iot.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'iot.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'iot.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'iot.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'iot.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'iot.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'iot.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'iot.eu-central-1.aliyuncs.com'],
],
];