diff options
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 | 129 |
1 files changed, 129 insertions, 0 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 new file mode 100644 index 0000000..f796054 --- /dev/null +++ b/data/zh_cn/aligenie/aiso_1.0/api-docs.php @@ -0,0 +1,129 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'AliGenie', + 'product' => 'AliGenie', + 'version' => 'aiso_1.0', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'AppAuth', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AppAuth' => [ + 'path' => '/v1.0/aiso/AppAuth', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'http', + ], + 'security' => [ + [ + 'AliGenie_Auth_SPI' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'AccessKey', + 'in' => 'formData', + 'schema' => [ + 'title' => 'ak', + 'type' => 'string', + ], + ], + [ + 'name' => 'AppId', + 'in' => 'formData', + 'schema' => [ + 'title' => '应用id', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Result<AuthTokenDTO>', + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + 'Message' => [ + 'type' => 'string', + ], + 'ExtendInfo' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'any', + ], + ], + 'RequestId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'openapi.aligenie.com', + ], + ], +]; |
