summaryrefslogtreecommitdiff
path: root/data/eduinterpreting
diff options
context:
space:
mode:
Diffstat (limited to 'data/eduinterpreting')
-rw-r--r--data/eduinterpreting/2024-08-28/api-docs.php87
1 files changed, 18 insertions, 69 deletions
diff --git a/data/eduinterpreting/2024-08-28/api-docs.php b/data/eduinterpreting/2024-08-28/api-docs.php
index 85ee229..faf676a 100644
--- a/data/eduinterpreting/2024-08-28/api-docs.php
+++ b/data/eduinterpreting/2024-08-28/api-docs.php
@@ -1,21 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'EduInterpreting',
- 'version' => '2024-08-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'EduInterpreting', 'version' => '2024-08-28'],
'components' => [
'schemas' => [],
],
'apis' => [
'RecognizeAudio' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -26,52 +18,33 @@
[
'name' => 'AudioFileUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'OuterBizId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'CallbackUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableCallBack',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
[
'name' => 'Language',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'SubmitEvaluationTask' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -82,66 +55,42 @@
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SuggestedAnswer',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Text',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MaterialText',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'OuterBizId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AudioUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'CallbackUrl',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'public',
- 'endpoint' => 'eduinterpreting.aliyuncs.com',
- ],
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'eduinterpreting.aliyuncs.com', 'endpoint' => 'eduinterpreting.aliyuncs.com', 'vpc' => ''],
],
];