summaryrefslogtreecommitdiff
path: root/data/maasaisearchproxy
diff options
context:
space:
mode:
Diffstat (limited to 'data/maasaisearchproxy')
-rw-r--r--data/maasaisearchproxy/2026-04-24/api-docs.php135
1 files changed, 135 insertions, 0 deletions
diff --git a/data/maasaisearchproxy/2026-04-24/api-docs.php b/data/maasaisearchproxy/2026-04-24/api-docs.php
new file mode 100644
index 0000000..66b61ef
--- /dev/null
+++ b/data/maasaisearchproxy/2026-04-24/api-docs.php
@@ -0,0 +1,135 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => ['style' => 'ROA', 'product' => 'MaasAISearchProxy', 'version' => '2026-04-24'],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'QaChat' => [
+ 'path' => '/qa/chat',
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ [
+ 'ApiKey' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['text/event-stream', 'application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'appId' => ['type' => 'string', 'required' => false],
+ 'sessionId' => ['type' => 'string', 'required' => false],
+ 'message' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'role' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['user'],
+ ],
+ 'parts' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['text', 'file'],
+ ],
+ 'text' => ['type' => 'string', 'required' => false],
+ 'url' => ['type' => 'string', 'required' => false],
+ 'mediaType' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'stream' => ['type' => 'boolean', 'required' => false],
+ 'options' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'searchMode' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['force', 'auto'],
+ ],
+ 'enableRewrite' => ['type' => 'boolean', 'required' => false],
+ 'enableCitation' => ['type' => 'boolean', 'required' => false],
+ 'enableFollowUp' => ['type' => 'boolean', 'required' => false],
+ 'enableImages' => ['type' => 'boolean', 'required' => false],
+ 'followUpPrompt' => ['type' => 'string', 'required' => false],
+ 'systemPrompt' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'WebSearch' => [
+ 'path' => '/api/web-search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ [
+ 'ApiKey' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'query' => ['type' => 'string', 'required' => false],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'includeDomain' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'excludeDomain' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'startTime' => ['type' => 'string', 'required' => false],
+ 'endTime' => ['type' => 'string', 'required' => false],
+ 'region' => ['type' => 'string', 'required' => false],
+ 'searchType' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'maasaisearchproxy.aliyuncs.com', 'endpoint' => 'maasaisearchproxy.aliyuncs.com', 'vpc' => ''],
+ ],
+];