summaryrefslogtreecommitdiff
path: root/data/nlp-automl/2019-05-29
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-14 10:08:30 +0800
committerZhineng Li <[email protected]>2026-02-14 10:08:30 +0800
commiteccd5cd5a067f5659982685afdeea209b1888efb (patch)
tree1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/nlp-automl/2019-05-29
downloadacs-metadata-1.0.0+20260212.tar.gz
acs-metadata-1.0.0+20260212.zip
Diffstat (limited to 'data/nlp-automl/2019-05-29')
-rw-r--r--data/nlp-automl/2019-05-29/api-docs.php55
1 files changed, 55 insertions, 0 deletions
diff --git a/data/nlp-automl/2019-05-29/api-docs.php b/data/nlp-automl/2019-05-29/api-docs.php
new file mode 100644
index 0000000..df6cf18
--- /dev/null
+++ b/data/nlp-automl/2019-05-29/api-docs.php
@@ -0,0 +1,55 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'nlp-automl',
+ 'version' => '2019-05-29',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'PredictModel' => [
+ 'path' => '/api/automl/predict',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ModelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com',
+ ],
+ ],
+];