summaryrefslogtreecommitdiff
path: root/data/btripopen/2022-05-17/api-docs.php
blob: 336ba4b956ceb83df1059a70c3daef18422d63d0 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'btripOpen', 'version' => '2022-05-17'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'ScanMsgList' => [
            'path' => '/ScanMsgList',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'btripOpen' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'ChannelType',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'SequenceId',
                    'in' => 'formData',
                    'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
                ],
                [
                    'name' => 'Biz',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ScanSequence',
                    'in' => 'formData',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'Size',
                    'in' => 'formData',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'CorpId',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'UserId',
                    'in' => 'formData',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
        'TakeAccessToken' => [
            'path' => '/btrip/open/access-token/take/{app_key}',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'Anonymous' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'app_key',
                    'in' => 'path',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'app_secret',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
        ],
    ],
    'endpoints' => [],
];