summaryrefslogtreecommitdiff
path: root/data/eds-user/2021-06-22/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/eds-user/2021-06-22/api-docs.php')
-rw-r--r--data/eds-user/2021-06-22/api-docs.php52
1 files changed, 52 insertions, 0 deletions
diff --git a/data/eds-user/2021-06-22/api-docs.php b/data/eds-user/2021-06-22/api-docs.php
new file mode 100644
index 0000000..2c0f40d
--- /dev/null
+++ b/data/eds-user/2021-06-22/api-docs.php
@@ -0,0 +1,52 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'eds-user',
+ 'version' => '2021-06-22',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'GetUserByToken' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Token',
+ 'in' => 'formData',
+ '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',
+ ],
+ ],
+];