summaryrefslogtreecommitdiff
path: root/data/multimodaldialog
diff options
context:
space:
mode:
Diffstat (limited to 'data/multimodaldialog')
-rw-r--r--data/multimodaldialog/2025-09-03/api-docs.php95
1 files changed, 95 insertions, 0 deletions
diff --git a/data/multimodaldialog/2025-09-03/api-docs.php b/data/multimodaldialog/2025-09-03/api-docs.php
new file mode 100644
index 0000000..e9a63b5
--- /dev/null
+++ b/data/multimodaldialog/2025-09-03/api-docs.php
@@ -0,0 +1,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',
+ ],
+ ],
+];