summaryrefslogtreecommitdiff
path: root/data/en_us/eds-user/2021-06-22/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/eds-user/2021-06-22/api-docs.php')
-rw-r--r--data/en_us/eds-user/2021-06-22/api-docs.php77
1 files changed, 16 insertions, 61 deletions
diff --git a/data/en_us/eds-user/2021-06-22/api-docs.php b/data/en_us/eds-user/2021-06-22/api-docs.php
index cde0f75..31522b6 100644
--- a/data/en_us/eds-user/2021-06-22/api-docs.php
+++ b/data/en_us/eds-user/2021-06-22/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'eds-user',
- 'version' => '2021-06-22',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'eds-user', 'version' => '2021-06-22'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'GetUserByToken',
- ],
+ 'children' => ['GetUserByToken'],
],
],
'components' => [
@@ -21,35 +15,20 @@
'apis' => [
'GetUserByToken' => [
'summary' => '根据登录token获取用户信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Token',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'maxLength' => 9999999999999,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'maxLength' => 9999999999999],
],
],
'responses' => [
@@ -58,35 +37,17 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'type' => 'string',
- ],
+ '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',
- ],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
+ 'Name' => ['type' => 'string'],
+ 'Email' => ['type' => 'string'],
+ 'TenantId' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'OfficeSiteId' => ['type' => 'string'],
+ 'AdDomain' => ['type' => 'string'],
],
],
],
@@ -101,13 +62,7 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'eds-user.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'eds-user.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'eds-user.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'eds-user.ap-southeast-1.aliyuncs.com'],
],
];