summaryrefslogtreecommitdiff
path: root/data/multimodaldialog/2025-09-03/api-docs.php
blob: 85713be76140a600d09a6fdd37ccf0476a948c81 (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
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'MultimodalDialog', 'version' => '2025-09-03'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'Vocabulary' => [
            'path' => '/openapi/vocabulary/v1',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'object',
                        'required' => false,
                        'properties' => [
                            'action' => ['type' => 'string', 'required' => false],
                            'vocabularyName' => ['type' => 'string', 'required' => false],
                            'vocabulary' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => [
                                    'type' => 'object',
                                    'required' => false,
                                    'properties' => [
                                        'text' => ['type' => 'string', 'required' => false],
                                        'lang' => ['type' => 'string', 'required' => false],
                                        'type' => ['type' => 'string', 'required' => false],
                                    ],
                                ],
                            ],
                            'vocabularyId' => ['type' => 'string', 'required' => false],
                            'vocabularyIds' => [
                                'type' => 'array',
                                'required' => false,
                                'items' => ['type' => 'string', 'required' => false],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'multimodaldialog.cn-beijing.aliyuncs.com', 'endpoint' => 'multimodaldialog.cn-beijing.aliyuncs.com', 'vpc' => 'multimodaldialog-vpc.cn-beijing.aliyuncs.com'],
    ],
];