summaryrefslogtreecommitdiff
path: root/data/eds-user/2021-06-22/api-docs.php
blob: da255ba0586a6e08c64d41904bc711c7a7a98faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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'],
    ],
];