summaryrefslogtreecommitdiff
path: root/data/brain-industrial/2020-09-20/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/brain-industrial/2020-09-20/api-docs.php
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/brain-industrial/2020-09-20/api-docs.php')
-rw-r--r--data/brain-industrial/2020-09-20/api-docs.php961
1 files changed, 289 insertions, 672 deletions
diff --git a/data/brain-industrial/2020-09-20/api-docs.php b/data/brain-industrial/2020-09-20/api-docs.php
index 6b4bbec..cafbd35 100644
--- a/data/brain-industrial/2020-09-20/api-docs.php
+++ b/data/brain-industrial/2020-09-20/api-docs.php
@@ -1,21 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'brain-industrial',
- 'version' => '2020-09-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'brain-industrial', 'version' => '2020-09-20'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'AicsOpenApiInvoke' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ActivateLicense' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24,56 +16,30 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'NodeId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Param',
+ 'name' => 'Fingerprint',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'JobId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'OrderId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListUserResources' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AicsOpenApiInvoke' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -82,66 +48,36 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CommodityCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'ListLicenses' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Param',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['type' => 'object', 'required' => false],
],
[
- 'name' => 'QueryStr',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetLicense' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateEssOptJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -150,163 +86,124 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'Freq',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY'],
],
],
- ],
- ],
- 'ActivateLicense' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RunDate',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'TimeZone',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Fingerprint',
+ 'name' => 'ModelVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'OrderId',
+ 'name' => 'TopoType',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['LOAD_ESS', 'LOAD_ESS_SOLAR'],
],
],
- ],
- ],
- 'UpdateLicenseDescription' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'InstanceId',
+ 'name' => 'SystemData',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SystemType' => ['type' => 'string', 'required' => false],
+ 'SystemId' => ['type' => 'string', 'required' => false],
+ 'SystemParams' => ['type' => 'object', 'required' => false],
+ 'HistoryData' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'object', 'required' => false],
+ ],
+ ],
+ ],
],
],
[
- 'name' => 'Description',
+ 'name' => 'ElecPrice',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'DataTime' => ['type' => 'string', 'required' => false],
+ 'Price' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
- ],
- ],
- 'ListAivppResources' => [
- 'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'MaxResults',
+ 'name' => 'GenPrice',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'DataTime' => ['type' => 'string', 'required' => false],
+ 'Price' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'Location',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
- 'minimum' => '1',
- 'maximum' => '100',
+ 'properties' => [
+ 'Altitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Latitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Longitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ ],
],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'BusinessKey',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'API',
- 'DATA',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateLoadForecastJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateLoadForecastByFileUrlJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -317,36 +214,12 @@
[
'name' => 'DeviceType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'HistoryData',
+ 'name' => 'HistoryUrl',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'RunTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 100000,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Freq',
@@ -354,62 +227,48 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FIFTEEN_MIN',
- 'FIVE_MIN',
- 'ONE_HOUR',
- 'ONE_DAY',
- ],
+ 'enum' => ['FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY'],
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SystemType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RunDate',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TimeZone',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BusinessKey',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TimeColumn',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ValueColumn',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ForecastHorizon',
@@ -417,10 +276,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'DAY_AHEAD',
- 'INTRADAY',
- ],
+ 'enum' => ['DAY_AHEAD', 'INTRADAY'],
],
],
[
@@ -429,21 +285,14 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FULL',
- 'INCREMENTAL',
- ],
+ 'enum' => ['FULL', 'INCREMENTAL'],
],
],
],
],
- 'CreatePowerForecastJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateLoadForecastJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -454,10 +303,7 @@
[
'name' => 'DeviceType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'HistoryData',
@@ -470,15 +316,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'RunTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
+ 'RunTime' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'number', 'format' => 'double', 'required' => false],
],
],
'minItems' => 1,
@@ -491,88 +330,38 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FIFTEEN_MIN',
- 'FIVE_MIN',
- 'ONE_HOUR',
- 'ONE_DAY',
- ],
+ 'enum' => ['FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY'],
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SystemType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RunDate',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TimeZone',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Location',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Altitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Latitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Longitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BusinessKey',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ForecastHorizon',
@@ -580,10 +369,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'DAY_AHEAD',
- 'INTRADAY',
- ],
+ 'enum' => ['DAY_AHEAD', 'INTRADAY'],
],
],
[
@@ -592,21 +378,14 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FULL',
- 'INCREMENTAL',
- ],
+ 'enum' => ['FULL', 'INCREMENTAL'],
],
],
],
],
- 'CreateEssOptJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePowerForecastByFileUrlJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -615,188 +394,101 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'DeviceType',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'HistoryUrl',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'Freq',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FIFTEEN_MIN',
- 'FIVE_MIN',
- 'ONE_HOUR',
- 'ONE_DAY',
- ],
+ 'enum' => ['FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY'],
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'SystemType',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RunDate',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TimeZone',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TopoType',
+ 'name' => 'Location',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
- 'enum' => [
- 'LOAD_ESS',
- 'LOAD_ESS_SOLAR',
+ 'properties' => [
+ 'Altitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Latitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Longitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
],
],
],
[
- 'name' => 'SystemData',
+ 'name' => 'BusinessKey',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SystemType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SystemId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SystemParams' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'HistoryData' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ElecPrice',
+ 'name' => 'TimeColumn',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DataTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Price' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GenPrice',
+ 'name' => 'ValueColumn',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'DataTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Price' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Location',
+ 'name' => 'ForecastHorizon',
'in' => 'formData',
- 'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'string',
'required' => false,
- 'properties' => [
- 'Altitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Latitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Longitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- ],
+ 'enum' => ['DAY_AHEAD', 'INTRADAY'],
],
],
[
- 'name' => 'BusinessKey',
+ 'name' => 'DataMode',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['FULL', 'INCREMENTAL'],
],
],
],
],
- 'CreateLoadForecastByFileUrlJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePowerForecastJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -807,17 +499,25 @@
[
'name' => 'DeviceType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'HistoryUrl',
+ 'name' => 'HistoryData',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'RunTime' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ ],
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 100000,
],
],
[
@@ -826,78 +526,52 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FIFTEEN_MIN',
- 'FIVE_MIN',
- 'ONE_HOUR',
- 'ONE_DAY',
- ],
+ 'enum' => ['FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY'],
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SystemType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RunDate',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TimeZone',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelVersion',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'BusinessKey',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'TimeColumn',
+ 'name' => 'Location',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Altitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Latitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'Longitude' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ ],
],
],
[
- 'name' => 'ValueColumn',
+ 'name' => 'BusinessKey',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ForecastHorizon',
@@ -905,10 +579,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'DAY_AHEAD',
- 'INTRADAY',
- ],
+ 'enum' => ['DAY_AHEAD', 'INTRADAY'],
],
],
[
@@ -917,21 +588,14 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'FULL',
- 'INCREMENTAL',
- ],
+ 'enum' => ['FULL', 'INCREMENTAL'],
],
],
],
],
- 'CreatePowerForecastByFileUrlJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAivppAlgoJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -940,159 +604,113 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'DeviceType',
+ 'name' => 'JobId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetLicense' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'HistoryUrl',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'Freq',
+ 'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'FIFTEEN_MIN',
- 'FIVE_MIN',
- 'ONE_HOUR',
- 'ONE_DAY',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'Duration',
+ 'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ListAivppResources' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'SystemType',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'RunDate',
+ 'name' => 'MaxResults',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
[
- 'name' => 'TimeZone',
+ 'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
],
[
- 'name' => 'ModelVersion',
+ 'name' => 'InstanceType',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['API', 'DATA'],
],
],
+ ],
+ ],
+ 'ListLicenses' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Location',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Altitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Latitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- 'Longitude' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'BusinessKey',
+ 'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TimeColumn',
+ 'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'ValueColumn',
+ 'name' => 'QueryStr',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ListUserResources' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ForecastHorizon',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'DAY_AHEAD',
- 'INTRADAY',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'DataMode',
+ 'name' => 'CommodityCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'FULL',
- 'INCREMENTAL',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetAivppAlgoJob' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateLicenseDescription' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1101,20 +719,19 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'JobId',
+ 'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'brain-industrial.cn-hangzhou.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'brain-industrial.cn-hangzhou.aliyuncs.com', 'endpoint' => 'brain-industrial.cn-hangzhou.aliyuncs.com', 'vpc' => 'brain-industrial-vpc.cn-hangzhou.aliyuncs.com'],
],
];