diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/aligenie/aiso_1.0/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/aligenie/aiso_1.0/api-docs.php')
| -rw-r--r-- | data/zh_cn/aligenie/aiso_1.0/api-docs.php | 92 |
1 files changed, 19 insertions, 73 deletions
diff --git a/data/zh_cn/aligenie/aiso_1.0/api-docs.php b/data/zh_cn/aligenie/aiso_1.0/api-docs.php index f796054..c3e3069 100644 --- a/data/zh_cn/aligenie/aiso_1.0/api-docs.php +++ b/data/zh_cn/aligenie/aiso_1.0/api-docs.php @@ -1,18 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'AliGenie', - 'product' => 'AliGenie', - 'version' => 'aiso_1.0', - ], + 'info' => ['style' => 'AliGenie', 'product' => 'AliGenie', 'version' => 'aiso_1.0'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'AppAuth', - ], + 'children' => ['AppAuth'], ], ], 'components' => [ @@ -21,39 +15,26 @@ 'apis' => [ 'AppAuth' => [ 'path' => '/v1.0/aiso/AppAuth', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], - 'consumes' => [ - 'application/json', - ], + 'consumes' => ['application/json'], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'AccessKey', 'in' => 'formData', - 'schema' => [ - 'title' => 'ak', - 'type' => 'string', - ], + 'schema' => ['title' => 'ak', 'type' => 'string'], ], [ 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'title' => '应用id', - 'type' => 'string', - ], + 'schema' => ['title' => '应用id', 'type' => 'string'], ], ], 'responses' => [ @@ -62,57 +43,25 @@ 'title' => 'Result<AuthTokenDTO>', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Code' => ['type' => 'integer', 'format' => 'int32'], 'Result' => [ 'type' => 'object', 'properties' => [ - 'AccessKey' => [ - 'title' => '应用凭证ak', - 'type' => 'string', - ], - 'AccessToken' => [ - 'title' => '访问令牌', - 'type' => 'string', - ], - 'RefreshToken' => [ - 'title' => '刷新令牌', - 'type' => 'string', - ], - 'AccessTokenExpire' => [ - 'title' => '有效时间单位:s', - 'type' => 'integer', - 'format' => 'int64', - ], - 'RefreshTokenExpire' => [ - 'title' => '有效时间单位:s', - 'type' => 'integer', - 'format' => 'int64', - ], - 'AppId' => [ - 'title' => '应用id', - 'type' => 'string', - ], - 'Uuid' => [ - 'title' => '分配到的sdk所处设备的uuid', - 'type' => 'string', - ], + 'AccessKey' => ['title' => '应用凭证ak', 'type' => 'string'], + 'AccessToken' => ['title' => '访问令牌', 'type' => 'string'], + 'RefreshToken' => ['title' => '刷新令牌', 'type' => 'string'], + 'AccessTokenExpire' => ['title' => '有效时间单位:s', 'type' => 'integer', 'format' => 'int64'], + 'RefreshTokenExpire' => ['title' => '有效时间单位:s', 'type' => 'integer', 'format' => 'int64'], + 'AppId' => ['title' => '应用id', 'type' => 'string'], + 'Uuid' => ['title' => '分配到的sdk所处设备的uuid', 'type' => 'string'], ], ], - 'Message' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], 'ExtendInfo' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - ], - ], - 'RequestId' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'any'], ], + 'RequestId' => ['type' => 'string'], ], ], ], @@ -121,9 +70,6 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'openapi.aligenie.com', - ], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'openapi.aligenie.com'], ], ]; |
