summaryrefslogtreecommitdiff
path: root/data/documentautoml/2022-12-29
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/documentautoml/2022-12-29
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/documentautoml/2022-12-29')
-rw-r--r--data/documentautoml/2022-12-29/api-docs.php297
1 files changed, 83 insertions, 214 deletions
diff --git a/data/documentautoml/2022-12-29/api-docs.php b/data/documentautoml/2022-12-29/api-docs.php
index 388cc89..3c96d40 100644
--- a/data/documentautoml/2022-12-29/api-docs.php
+++ b/data/documentautoml/2022-12-29/api-docs.php
@@ -1,22 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'documentAutoml',
- 'version' => '2022-12-29',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'documentAutoml', 'version' => '2022-12-29'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'PredictTemplateModel' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateModelAsyncPredict' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25,48 +16,45 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'ModelVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'BinaryToText',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'BinaryToText',
+ 'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '9999999999999'],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ServiceVersion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Body',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PredictModel' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetModelAsyncPredict' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -75,58 +63,15 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Content',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ModelVersion',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ModelId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '9999999999999',
- ],
- ],
- [
- 'name' => 'BinaryToText',
+ 'name' => 'AsyncPredictId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Body',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '99999999999999'],
],
],
],
'PredictClassifierModel' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -137,56 +82,33 @@
[
'name' => 'ClassifierId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '99999999999999',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '99999999999999'],
],
[
'name' => 'AutoPrediction',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Body',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BinaryToText',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'CreateModelAsyncPredict' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PredictModel' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -195,74 +117,35 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ModelVersion',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'BinaryToText',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ModelId',
+ 'name' => 'ModelVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '9999999999999',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '9999999999999'],
],
[
- 'name' => 'ServiceVersion',
+ 'name' => 'BinaryToText',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Body',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetModelAsyncPredict' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PredictPreTrainModel' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -271,26 +154,35 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'AsyncPredictId',
+ 'name' => 'Content',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ServiceVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '99999999999999',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'BinaryToText',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Body',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PredictPreTrainModel' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PredictTemplateModel' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -299,52 +191,29 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Content',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ServiceVersion',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'Content',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BinaryToText',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Body',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'documentautoml.cn-beijing.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'documentautoml.cn-beijing.aliyuncs.com', 'endpoint' => 'documentautoml.cn-beijing.aliyuncs.com', 'vpc' => 'documentautoml-vpc.cn-beijing.aliyuncs.com'],
],
];