summaryrefslogtreecommitdiff
path: root/data/facebody/2020-09-10/api-docs.php
blob: 820a8327c13971b77854f949e7f2d2ee6bc1d6fd (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'facebody', 'version' => '2020-09-10'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'ExecuteServerSideVerification' => [
            'path' => '/viapi/thirdparty/realperson/execServerSideVerification',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/x-www-form-urlencoded'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'certificateName',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'certificateNumber',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'facialPictureData',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'facialPictureUrl',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'sceneType',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-shanghai', 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com'],
    ],
];