summaryrefslogtreecommitdiff
path: root/data/aimath/2024-11-14/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/aimath/2024-11-14/api-docs.php
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/aimath/2024-11-14/api-docs.php')
-rw-r--r--data/aimath/2024-11-14/api-docs.php286
1 files changed, 89 insertions, 197 deletions
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 @@
<?php return [
'version' => '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' => ''],
],
];