summaryrefslogtreecommitdiff
path: root/data/en_us/nlp-automl/2019-05-29/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/nlp-automl/2019-05-29/api-docs.php')
-rw-r--r--data/en_us/nlp-automl/2019-05-29/api-docs.php74
1 files changed, 13 insertions, 61 deletions
diff --git a/data/en_us/nlp-automl/2019-05-29/api-docs.php b/data/en_us/nlp-automl/2019-05-29/api-docs.php
index 6116ff2..f3c1f53 100644
--- a/data/en_us/nlp-automl/2019-05-29/api-docs.php
+++ b/data/en_us/nlp-automl/2019-05-29/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'nlp-automl',
- 'version' => '2019-05-29',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'nlp-automl', 'version' => '2019-05-29'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'PredictModel',
- ],
+ 'children' => ['PredictModel'],
],
],
'components' => [
@@ -22,14 +16,8 @@
'PredictModel' => [
'summary' => '模型结果预测',
'path' => '/api/automl/predict',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -41,41 +29,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREnlp6HZZI5',
- 'FEATUREnlpMXQY7X',
- 'FEATUREnlpAOZDQ8',
- 'FEATUREnlp6X5BYZ',
- 'FEATUREnlp0VR1QU',
- 'FEATUREnlp01ENOR',
- 'FEATUREnlpM0OA48',
- 'FEATUREnlpF61RQU',
- 'FEATUREnlpJOUXF2',
- 'FEATUREnlpR1YV22',
- 'FEATUREnlp97BF9V',
- 'FEATUREnlpEZFBRW',
- 'FEATUREnlp3ZJX2G',
- ],
+ 'abilityTreeNodes' => ['FEATUREnlp6HZZI5', 'FEATUREnlpMXQY7X', 'FEATUREnlpAOZDQ8', 'FEATUREnlp6X5BYZ', 'FEATUREnlp0VR1QU', 'FEATUREnlp01ENOR', 'FEATUREnlpM0OA48', 'FEATUREnlpF61RQU', 'FEATUREnlpJOUXF2', 'FEATUREnlpR1YV22', 'FEATUREnlp97BF9V', 'FEATUREnlpEZFBRW', 'FEATUREnlp3ZJX2G'],
],
'parameters' => [
[
'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true],
],
[
'name' => 'Content',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
@@ -83,21 +48,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'string'],
],
],
],
@@ -106,9 +61,6 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com'],
],
];