diff options
Diffstat (limited to 'data/wuyingai/2026-03-11/api-docs.php')
| -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' => [], +]; |
