From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/aimath/2024-11-14/api-docs.php | 286 +++++++++++------------------------- 1 file changed, 89 insertions(+), 197 deletions(-) (limited to 'data/aimath') diff --git a/data/aimath/2024-11-14/api-docs.php b/data/aimath/2024-11-14/api-docs.php index 3221121..ebbbbe5 100644 --- a/data/aimath/2024-11-14/api-docs.php +++ b/data/aimath/2024-11-14/api-docs.php @@ -1,23 +1,14 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'AIMath', - 'version' => '2024-11-14', - ], + 'info' => ['style' => 'RPC', 'product' => 'AIMath', 'version' => '2024-11-14'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GenAnalysis' => [ - 'path' => '/genAnalysis', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'ChatMessage' => [ + 'path' => '/conversation/message', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], @@ -26,48 +17,26 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ExerciseContent', + 'name' => 'ConversationId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'GenStep' => [ - 'path' => '/genStep', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Content', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ExerciseCode', + 'name' => 'UserId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GlobalConfirm' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateConversation' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -76,70 +45,41 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ExerciseCode', + 'name' => 'ExerciseContent', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Tag', + 'name' => 'ExerciseAnswer', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'UpdateAnalysis' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ExerciseAnalysis', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ExerciseCode', + 'name' => 'ExerciseType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ContentCode', + 'name' => 'OuterBizId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Content', + 'name' => 'UserId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateStep' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateRelatedConversation' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -150,38 +90,24 @@ [ 'name' => 'ExerciseCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ContentCode', + 'name' => 'UserId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Content', + 'name' => 'OuterBizId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ChatMessage' => [ - 'path' => '/conversation/message', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'GenAnalysis' => [ + 'path' => '/genAnalysis', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], @@ -190,39 +116,33 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ConversationId', + 'name' => 'ExerciseContent', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GenStep' => [ + 'path' => '/genStep', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ [ - 'name' => 'Content', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'ExerciseCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateConversation' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GlobalConfirm' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -231,63 +151,47 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ExerciseContent', + 'name' => 'ExerciseCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ExerciseAnswer', + 'name' => 'Tag', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'UpdateAnalysis' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ExerciseAnalysis', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'ExerciseType', + 'name' => 'ExerciseCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'OuterBizId', + 'name' => 'ContentCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'UserId', + 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateRelatedConversation' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateStep' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -298,34 +202,22 @@ [ 'name' => 'ExerciseCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'UserId', + 'name' => 'ContentCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'OuterBizId', + 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'public', - 'endpoint' => 'aimath.aliyuncs.com', - ], + ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'aimath.aliyuncs.com', 'endpoint' => 'aimath.aliyuncs.com', 'vpc' => ''], ], ]; -- cgit v1.2.3