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/wuyingai/2026-03-11 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/wuyingai/2026-03-11')
| -rw-r--r-- | data/wuyingai/2026-03-11/api-docs.php | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/data/wuyingai/2026-03-11/api-docs.php b/data/wuyingai/2026-03-11/api-docs.php new file mode 100644 index 0000000..f577fbc --- /dev/null +++ b/data/wuyingai/2026-03-11/api-docs.php @@ -0,0 +1,136 @@ +<?php return [ + 'version' => '1.0', + 'info' => ['style' => 'RPC', 'product' => 'WuyingAI', 'version' => '2026-03-11'], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'Chat' => [ + 'path' => '/api/agent/chat', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Input', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Role' => ['type' => 'string', 'required' => false], + 'Content' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Type' => ['type' => 'string', 'required' => false], + 'Text' => ['type' => 'string', 'required' => false], + 'ImageUrl' => ['type' => 'string', 'required' => false], + 'FileUrl' => ['type' => 'string', 'required' => false], + 'FileName' => ['type' => 'string'], + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RoutingKey', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Authorization', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ExternalUserId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'StreamOptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'IncludeReasoning' => ['type' => 'boolean', 'required' => false], + 'IncludeToolCalls' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + [ + 'name' => 'Settings', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'OutputFileMode' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'Resume', + 'in' => 'formData', + 'schema' => ['type' => 'boolean'], + ], + ], + ], + 'GetAccessToken' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ExternalUserId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'endpoints' => [], +]; |
