diff options
| author | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
| commit | eccd5cd5a067f5659982685afdeea209b1888efb (patch) | |
| tree | 1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/nlp-automl/2019-05-29 | |
| download | acs-metadata-786a07360cbe6e0241e4703da25d35c59185fb09.tar.gz acs-metadata-786a07360cbe6e0241e4703da25d35c59185fb09.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/nlp-automl/2019-05-29')
| -rw-r--r-- | data/nlp-automl/2019-05-29/api-docs.php | 55 |
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', + ], + ], +]; |
