1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'nlp-automl', 'version' => '2019-05-29'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => ['PredictModel'],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'PredictModel' => [
'summary' => '模型结果预测',
'path' => '/api/automl/predict',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'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],
],
[
'name' => 'Content',
'in' => 'formData',
'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Message' => ['type' => 'string'],
'Data' => ['type' => 'string'],
'RequestId' => ['type' => 'string'],
'Success' => ['type' => 'string'],
],
],
],
],
'responseDemo' => '',
],
],
'endpoints' => [
['regionId' => 'cn-hangzhou', 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com'],
],
];
|