summaryrefslogtreecommitdiff
path: root/data/eds-user/2021-06-22/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/eds-user/2021-06-22/api-docs.php
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/eds-user/2021-06-22/api-docs.php')
-rw-r--r--data/eds-user/2021-06-22/api-docs.php34
1 files changed, 6 insertions, 28 deletions
diff --git a/data/eds-user/2021-06-22/api-docs.php b/data/eds-user/2021-06-22/api-docs.php
index 2c0f40d..da255ba 100644
--- a/data/eds-user/2021-06-22/api-docs.php
+++ b/data/eds-user/2021-06-22/api-docs.php
@@ -1,23 +1,13 @@
<?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'],
'components' => [
'schemas' => [],
],
'apis' => [
'GetUserByToken' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28,25 +18,13 @@
[
'name' => 'Token',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '100',
- 'maxLength' => 9999999999999,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minimum' => '1', 'maximum' => '100', 'maxLength' => 9999999999999],
],
],
],
],
'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'],
],
];