From eccd5cd5a067f5659982685afdeea209b1888efb Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sat, 14 Feb 2026 10:08:30 +0800 Subject: first commit --- data/nlp-automl/2019-07-01/api-docs.php | 189 ++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 data/nlp-automl/2019-07-01/api-docs.php (limited to 'data/nlp-automl/2019-07-01') diff --git a/data/nlp-automl/2019-07-01/api-docs.php b/data/nlp-automl/2019-07-01/api-docs.php new file mode 100644 index 0000000..f083003 --- /dev/null +++ b/data/nlp-automl/2019-07-01/api-docs.php @@ -0,0 +1,189 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'nlp-automl', + 'version' => '2019-07-01', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AddMTInterveneWord' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'SourceText', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'TargetText', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PackageId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetPredictDoc' => [ + 'methods' => [ + 'head', + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'DocId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + ], + [ + 'name' => 'Product', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'PredictMTModelByDoc' => [ + 'methods' => [ + 'head', + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'FileContent', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'FileType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'NeedXLIFF', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'ModelVersion', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3