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/en_us/eds-user/2021-06-22 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/eds-user/2021-06-22')
| -rw-r--r-- | data/en_us/eds-user/2021-06-22/api-docs.php | 77 |
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'], ], ]; |
