diff options
Diffstat (limited to 'data/en_us/aligenie/aiso_1.0')
| -rw-r--r-- | data/en_us/aligenie/aiso_1.0/api-docs.php | 92 |
1 files changed, 19 insertions, 73 deletions
diff --git a/data/en_us/aligenie/aiso_1.0/api-docs.php b/data/en_us/aligenie/aiso_1.0/api-docs.php index dd7f054..0bc7a74 100644 --- a/data/en_us/aligenie/aiso_1.0/api-docs.php +++ b/data/en_us/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'], ], ]; |
