diff options
Diffstat (limited to 'data/documentautoml/2022-12-29')
| -rw-r--r-- | data/documentautoml/2022-12-29/api-docs.php | 297 |
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'], ], ]; |
