diff options
Diffstat (limited to 'data/zh_cn/eds-user/2021-06-22/api-docs.php')
| -rw-r--r-- | data/zh_cn/eds-user/2021-06-22/api-docs.php | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/data/zh_cn/eds-user/2021-06-22/api-docs.php b/data/zh_cn/eds-user/2021-06-22/api-docs.php new file mode 100644 index 0000000..ae0475a --- /dev/null +++ b/data/zh_cn/eds-user/2021-06-22/api-docs.php @@ -0,0 +1,113 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'eds-user', + 'version' => '2021-06-22', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'GetUserByToken', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetUserByToken' => [ + 'summary' => '根据登录token获取用户信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Token', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'maximum' => '100', + 'minimum' => '1', + 'maxLength' => 9999999999999, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'User' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Name' => [ + 'type' => 'string', + ], + 'Email' => [ + 'type' => 'string', + ], + 'TenantId' => [ + 'type' => 'string', + ], + 'Type' => [ + 'type' => 'string', + ], + 'OfficeSiteId' => [ + 'type' => 'string', + ], + 'AdDomain' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'eds-user.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'eds-user.ap-southeast-1.aliyuncs.com', + ], + ], +]; |
