diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/maasaisearchproxy | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/maasaisearchproxy')
| -rw-r--r-- | data/maasaisearchproxy/2026-04-24/api-docs.php | 135 |
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' => ''], + ], +]; |
