summaryrefslogtreecommitdiff
path: root/data/multimodaldialog/2025-09-03/api-docs.php
blob: e9a63b5fb9bece14227be7971b101f4af602e0aa (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?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',
            'endpoint' => 'multimodaldialog.cn-beijing.aliyuncs.com',
        ],
    ],
];