'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'brain-industrial', 'version' => '2020-09-20', ], 'directories' => [ [ 'id' => 204312, 'title' => null, 'type' => 'directory', 'children' => [ 'AicsOpenApiInvoke', ], ], [ 'id' => 203126, 'title' => null, 'type' => 'directory', 'children' => [ 'ListUserResources', 'ListLicenses', 'GetLicense', 'ActivateLicense', 'UpdateLicenseDescription', ], ], [ 'id' => 203127, 'title' => null, 'type' => 'directory', 'children' => [ 'ListAivppResources', 'CreateLoadForecastJob', 'CreateLoadForecastJob', 'CreatePowerForecastJob', 'CreateEssOptJob', 'CreateLoadForecastByFileUrlJob', 'CreatePowerForecastByFileUrlJob', 'GetAivppAlgoJob', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AicsOpenApiInvoke' => [ 'summary' => '调用aics openapi', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialQ3LUJC', 'FEATUREbrainindustrialWZ1RY1', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => [ 'title' => 'openapi的service id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ae5f9884c9914ed7af72b07e6c1616f9', ], ], [ 'name' => 'NodeId', 'in' => 'query', 'schema' => [ 'title' => '类型', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '119397', ], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'NODE' => 'NODE', 'EXPERIMENT' => 'EXPERIMENT', ], 'example' => 'EXPERIMENT', 'default' => 'EXPERIMENT', ], ], [ 'name' => 'Param', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'required' => false, 'example' => '{"a":1}', ], ], [ 'name' => 'JobId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => 'jobId,查询异步调用画布结果时使用', 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'description' => '', 'type' => 'any', 'example' => '{"c":2}', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": \\"{\\\\\\"c\\\\\\":2}\\"\\n}","type":"json"}]', ], 'ListUserResources' => [ 'summary' => '获取用户资源列表', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialGARA6B', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CommodityCode', 'in' => 'formData', 'schema' => [ 'title' => '产品CODE', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'BrainIndustrial', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '65308A66-8764-53EE-8D4A-201E86CA88C5', ], 'Success' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'startDate' => [ 'description' => '', 'type' => 'string', 'example' => '20240902', ], 'endDate' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-21', ], 'region' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'instanceId' => [ 'description' => '', 'type' => 'string', 'example' => '12345ea3cff446e8837078c2baffbe83', ], 'chargeType' => [ 'type' => 'string', ], 'commodityCode' => [ 'description' => '', 'type' => 'string', 'example' => 'brainindustrial_simupostpaid_public_cn', ], 'statusMsg' => [ 'description' => '', 'type' => 'string', ], ], ], ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'AccessDeniedDetail' => [ 'description' => '', 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65308A66-8764-53EE-8D4A-201E86CA88C5\\",\\n \\"Success\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"startDate\\": \\"20240902\\",\\n \\"endDate\\": \\"2024-12-21\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"status\\": \\"\\\\\\"\\\\\\"\\",\\n \\"instanceId\\": \\"12345ea3cff446e8837078c2baffbe83\\",\\n \\"chargeType\\": \\"PREPAY\\",\\n \\"commodityCode\\": \\"brainindustrial_simupostpaid_public_cn\\",\\n \\"statusMsg\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"AccessDeniedDetail\\": \\"None\\"\\n}","type":"json"}]', ], 'ListLicenses' => [ 'summary' => 'License列表', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialGARA6B', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CurrentPage', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', ], ], [ 'name' => 'QueryStr', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '42', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'FAC892CE-5A94-5616-91DC-629B09CC6792', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12', ], 'CurrentPage' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'TotalPage' => [ 'description' => '', 'type' => 'string', 'example' => '4', ], 'TotalPageCount' => [ 'description' => '', 'type' => 'string', 'example' => '4', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'LicenseList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'description' => '', 'type' => 'string', 'example' => '1', ], 'LicenseSpecName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'LicenseSpecType' => [ 'description' => '', 'type' => 'string', 'example' => 'brainindustrial_aicsruntime_public_cn', ], 'LicenseSpecCode' => [ 'description' => '', 'type' => 'string', 'example' => 'aics_1000', ], 'BuyTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-10-14 13:17:20', ], 'ActivateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-10-14 14:15:45', ], 'EffectTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-10-14 14:15:45', ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2025-10-14 14:15:45', ], 'Duration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'AdaptiveMachine' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'activated', ], 'MemoryLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '256', ], 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => '451f14ee73604aesdfe4da606764ce09', ], 'Description' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'AllDuration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'CpuLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '72', ], 'UnActivateAllDuration' => [ 'type' => 'string', ], ], ], ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'AccessDeniedDetail' => [ 'description' => '', 'type' => 'string', 'example' => '{}', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 42,\\n \\"RequestId\\": \\"FAC892CE-5A94-5616-91DC-629B09CC6792\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 12,\\n \\"CurrentPage\\": 1,\\n \\"TotalPage\\": \\"4\\",\\n \\"TotalPageCount\\": \\"4\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"LicenseList\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"LicenseSpecName\\": \\"边缘端1000型运行节点授权\\",\\n \\"LicenseSpecType\\": \\"brainindustrial_aicsruntime_public_cn\\",\\n \\"LicenseSpecCode\\": \\"aics_1000\\",\\n \\"BuyTime\\": \\"2024-10-14 13:17:20\\",\\n \\"ActivateTime\\": \\"2024-10-14 14:15:45\\",\\n \\"EffectTime\\": \\"2024-10-14 14:15:45\\",\\n \\"ExpireTime\\": \\"2025-10-14 14:15:45\\",\\n \\"Duration\\": \\"7个月23天\\",\\n \\"AdaptiveMachine\\": 1,\\n \\"Status\\": \\"activated\\",\\n \\"MemoryLimit\\": 256,\\n \\"InstanceId\\": \\"451f14ee73604aesdfe4da606764ce09\\",\\n \\"Description\\": \\"\\\\\\"\\\\\\"\\",\\n \\"AllDuration\\": \\"1年\\",\\n \\"CpuLimit\\": 72,\\n \\"UnActivateAllDuration\\": \\"1个月\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"AccessDeniedDetail\\": \\"{}\\"\\n}","type":"json"}]', ], 'GetLicense' => [ 'summary' => 'License详情', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialGARA6B', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c31238fcb74e482588a72de90cd7dba3', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Success' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'LicenseSpecName' => [ 'title' => '资源组ID', 'description' => '代表资源组的资源属性字段', 'type' => 'string', 'example' => '', ], 'BuyTime' => [ 'title' => '资源名称', 'description' => '代表资源名称的资源属性字段', 'type' => 'string', 'example' => '2024-04-29 15:01:15', ], 'ActivateTime' => [ 'title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'example' => '2024-04-29 15:03:12', ], 'Fingerprint' => [ 'title' => '创建时间', 'description' => '代表创建时间的资源属性字段', 'type' => 'string', 'example' => 'XXX', ], 'LicenseCode' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX', ], 'EffectTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-05-01 00:00:00', ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2025-05-01 00:00:00', ], 'Duration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'activated', ], 'AdaptiveMachine' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'LicenseSpecCode' => [ 'type' => 'string', ], 'LicenseSpecType' => [ 'type' => 'string', ], 'CpuLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '72', ], 'MemoryLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '256', ], 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'c31238fcb74e482588a72de90cd7dba3', ], 'AllDuration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ApplicableSpecs' => [ 'type' => 'string', ], 'Description' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'UnActivateAllDuration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Proposal' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ActivateRecord' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OrderId' => [ 'description' => '', 'type' => 'string', 'example' => '1040b91765d14ad1a40ff22589070342', ], 'BuyTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:01:15'."\n", ], 'ActivateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:03:12'."\n", ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2025-05-01 00:00:00'."\n", ], 'Duration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'activated', ], 'LicenseCode' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'AccessDeniedDetail' => [ 'description' => '', 'type' => 'string', 'example' => 'None', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Success\\": \\"true\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Data\\": {\\n \\"Id\\": 1,\\n \\"LicenseSpecName\\": \\"边缘端1000型运行节点授权\\",\\n \\"BuyTime\\": \\"2024-04-29 15:01:15\\",\\n \\"ActivateTime\\": \\"2024-04-29 15:03:12\\",\\n \\"Fingerprint\\": \\"XXX\\",\\n \\"LicenseCode\\": \\"XXX\\",\\n \\"EffectTime\\": \\"2024-05-01 00:00:00\\",\\n \\"ExpireTime\\": \\"2025-05-01 00:00:00\\",\\n \\"Duration\\": \\"2个月9天\\",\\n \\"Status\\": \\"activated\\",\\n \\"AdaptiveMachine\\": \\"72核256G\\",\\n \\"LicenseSpecCode\\": \\"aics_1000\\",\\n \\"LicenseSpecType\\": \\"edge_license\\",\\n \\"CpuLimit\\": 72,\\n \\"MemoryLimit\\": 256,\\n \\"InstanceId\\": \\"c31238fcb74e482588a72de90cd7dba3\\",\\n \\"AllDuration\\": \\"1年\\",\\n \\"ApplicableSpecs\\": \\"72核256G\\",\\n \\"Description\\": \\"\\\\\\"\\\\\\"\\",\\n \\"UnActivateAllDuration\\": \\"1个月\\",\\n \\"Proposal\\": \\"最大用量建议(72核256G)\\",\\n \\"ActivateRecord\\": [\\n {\\n \\"OrderId\\": \\"1040b91765d14ad1a40ff22589070342\\",\\n \\"BuyTime\\": \\"2024-04-29 15:01:15\\\\n\\",\\n \\"ActivateTime\\": \\"2024-04-29 15:03:12\\\\n\\",\\n \\"ExpireTime\\": \\"2025-05-01 00:00:00\\\\n\\",\\n \\"Duration\\": \\"1年\\",\\n \\"Status\\": \\"activated\\",\\n \\"LicenseCode\\": \\"XXXX\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"AccessDeniedDetail\\": \\"None\\"\\n}","type":"json"}]', ], 'ActivateLicense' => [ 'summary' => '激活License', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialGARA6B', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'description' => 'ID', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '12bea6b4489fsde7b903fe05934a0adx', ], ], [ 'name' => 'Fingerprint', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'XXX', ], ], [ 'name' => 'OrderId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '65308A66-8764-53EE-8D4A-201E86CA88C5', ], 'Success' => [ 'title' => '资源ID,如ECS实例的创建接口CreateInstance应返回InstanceId。', 'description' => '', 'type' => 'string', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'description' => 'Id', 'type' => 'string', 'example' => '1', ], 'LicenseSpecName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'BuyTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:00:15', ], 'ActivateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:03:12', ], 'Fingerprint' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], 'LicenseCode' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX', ], 'EffectTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-05-01 00:00:00', ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2025-05-01 00:00:00', ], 'Duration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'activated', ], 'CpuLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '72', ], 'MemoryLimit' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '256', ], 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'c39128fcb74e482546a72de90cdsaba3', ], 'AllDuration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ApplicableSpecs' => [ 'type' => 'string', ], 'Description' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'UnActivateAllDuration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ActivateRecord' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'OrderId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX', ], 'BuyTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:01:15', ], 'ActivateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-04-29 15:03:12', ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2025-05-01 00:00:00', ], 'Duration' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'activated', ], 'LicenseCode' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX', ], ], ], ], ], ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'AccessDeniedDetail' => [ 'description' => '', 'type' => 'string', 'example' => '{}', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65308A66-8764-53EE-8D4A-201E86CA88C5\\",\\n \\"Success\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Id\\": \\"1\\",\\n \\"LicenseSpecName\\": \\"边缘端1000型运行节点授权\\",\\n \\"BuyTime\\": \\"2024-04-29 15:00:15\\",\\n \\"ActivateTime\\": \\"2024-04-29 15:03:12\\",\\n \\"Fingerprint\\": \\"XXXX\\",\\n \\"LicenseCode\\": \\"XXX\\",\\n \\"EffectTime\\": \\"2024-05-01 00:00:00\\",\\n \\"ExpireTime\\": \\"2025-05-01 00:00:00\\",\\n \\"Duration\\": \\"2个月9天\\",\\n \\"Status\\": \\"activated\\",\\n \\"CpuLimit\\": 72,\\n \\"MemoryLimit\\": 256,\\n \\"InstanceId\\": \\"c39128fcb74e482546a72de90cdsaba3\\",\\n \\"AllDuration\\": \\"1年\\",\\n \\"ApplicableSpecs\\": \\"72核256G\\",\\n \\"Description\\": \\"\\\\\\"\\\\\\"\\",\\n \\"UnActivateAllDuration\\": \\"1个月\\",\\n \\"ActivateRecord\\": [\\n {\\n \\"OrderId\\": \\"XXX\\",\\n \\"BuyTime\\": \\"2024-04-29 15:01:15\\",\\n \\"ActivateTime\\": \\"2024-04-29 15:03:12\\",\\n \\"ExpireTime\\": \\"2025-05-01 00:00:00\\",\\n \\"Duration\\": \\"1年\\",\\n \\"Status\\": \\"activated\\",\\n \\"LicenseCode\\": \\"XXX\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"AccessDeniedDetail\\": \\"{}\\"\\n}","type":"json"}]', ], 'UpdateLicenseDescription' => [ 'summary' => '更新license描述', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrialGARA6B', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => [ 'title' => 'A short description of struct', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'brainindustrial_aicsruntime_public_cn-mdu3ps3kw04', ], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Success' => [ 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'HttpStatusCode' => [ 'type' => 'integer', 'format' => 'int32', ], 'AccessDeniedDetail' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Success\\": \\"True\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"HttpStatusCode\\": 200,\\n \\"AccessDeniedDetail\\": \\"None\\"\\n}","type":"json"}]', ], 'ListAivppResources' => [ 'summary' => '获取用户AIVPP资源列表', 'path' => '', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'formData', 'schema' => [ 'title' => '每页返回数据量,默认为20', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20', ], ], [ 'name' => 'CurrentPage', 'in' => 'formData', 'schema' => [ 'title' => '当前页,默认为1', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'default' => '1', ], ], [ 'name' => 'InstanceType', 'in' => 'formData', 'schema' => [ 'title' => '实例类型'."\n" .'API: API类型'."\n" .'DATA: 时序数据类型', 'type' => 'string', 'example' => 'DATA', 'default' => 'API', 'enum' => [ 'API', 'DATA', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" ."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '分组列表。', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '分组列表。', 'description' => '', 'type' => 'object', 'properties' => [ 'InstanceId' => [ 'title' => '资源实例id', 'description' => '', 'type' => 'string', 'example' => 'i-bp154xh3gt3adb4xu1ue', ], 'Specification' => [ 'title' => '规格', 'description' => '', 'type' => 'string', 'example' => 'LoadForecasting', ], 'OrderId' => [ 'title' => '订单id', 'description' => '', 'type' => 'string', 'example' => '231287932080007', ], 'UserId' => [ 'title' => '用户id', 'description' => '', 'type' => 'string', 'example' => '123456789', ], 'Quantity' => [ 'title' => '资源规格总调用次数', 'description' => '', 'type' => 'string', 'example' => '1', ], 'LeftQuantity' => [ 'title' => '剩下可调用次数', 'description' => '', 'type' => 'string', 'example' => '1', ], 'Status' => [ 'title' => '状态', 'description' => '', 'type' => 'string', 'example' => 'Normal', ], 'StartTime' => [ 'title' => '开通日期', 'description' => '', 'type' => 'string', 'example' => '2024-09-08T01:16Z', ], 'ExpireTime' => [ 'title' => '失效日期', 'description' => '', 'type' => 'string', 'example' => '2034-03-09T17:47:11Z', ], 'InstanceType' => [ 'description' => '', 'type' => 'string', 'example' => 'api', ], 'Detail' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ConnectNum' => [ 'title' => '时序数据规格:在线设备数', 'type' => 'integer', 'format' => 'int32', 'example' => '10000', ], 'MessageTps' => [ 'title' => '时序数据规格:消息TPS', 'type' => 'integer', 'format' => 'int32', 'example' => '500', ], ], ], ], 'MaxResults' => [ 'title' => '分批次查询时每次显示的条目数。取值范围:1~100,默认值:20。', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'NextToken' => [ 'title' => '下一个查询开始的Token。', 'description' => '', 'type' => 'string', 'example' => '37cc36b4344b182d36b45d95ae4ef03952ee5c24733ba461', ], 'TotalCount' => [ 'title' => '总个数。', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '30', ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"InstanceId\\": \\"i-bp154xh3gt3adb4xu1ue\\",\\n \\"Specification\\": \\"LoadForecasting\\",\\n \\"OrderId\\": \\"231287932080007\\",\\n \\"UserId\\": \\"123456789\\",\\n \\"Quantity\\": \\"1\\",\\n \\"LeftQuantity\\": \\"1\\",\\n \\"Status\\": \\"Normal\\",\\n \\"StartTime\\": \\"2024-09-08T01:16Z\\",\\n \\"ExpireTime\\": \\"2034-03-09T17:47:11Z\\",\\n \\"InstanceType\\": \\"api\\",\\n \\"Detail\\": \\"规格: LoadForecasting,api数量:50\\",\\n \\"ConnectNum\\": 10000,\\n \\"MessageTps\\": 500\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"37cc36b4344b182d36b45d95ae4ef03952ee5c24733ba461\\",\\n \\"TotalCount\\": 30\\n}","type":"json"}]', ], 'CreateLoadForecastJob' => [ 'summary' => '创建用电负荷预测任务', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DeviceType', 'in' => 'formData', 'schema' => [ 'title' => '设备类型,每个 systemType 支持的设备类型有: '."\n" .'load: electricityMeter --市电电表'."\n" .'hvac: gateway-hvac --空调'."\n" .'flexible: electricityMeter --照明电表'."\n" .'charge:gateway-charging --充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'electricityMeter', 'default' => 'electricityMeter', ], ], [ 'name' => 'HistoryData', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '历史负荷,需要90天的历史数据', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RunTime' => [ 'title' => '每{freq}分钟,"yyyy-MM-dd HH:mm:ss", 数据频率需与freq字段对齐', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-12-12 00:00:00', ], 'Value' => [ 'title' => '负荷数据', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 100000, 'minItems' => 1, ], ], [ 'name' => 'Freq', 'in' => 'formData', 'schema' => [ 'title' => '默认15min;需要与historyData的数据频率一致;枚举值:'."\n" .'FIFTEEN_MIN: 15分钟'."\n" .'FIVE_MIN: 5分钟'."\n" .'ONE_HOUR: 1小时'."\n" .'ONE_DAY: 1天', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'FIFTEEN_MIN', 'enum' => [ 'FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY', ], 'default' => 'FIFTEEN_MIN', ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'title' => '从运行日(含)开始, 预测时长(单位:天)'."\n" .'非必填,默认1天', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'SystemType', 'in' => 'formData', 'schema' => [ 'title' => '系统类型,支持的系统类型有: load: 市电 hvac: 空调 flexible:照明 charge:充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'load', 'default' => 'load', ], ], [ 'name' => 'RunDate', 'in' => 'formData', 'schema' => [ 'title' => '运行日,精确到天,“yyyy-MM-dd”格式', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-12-12', ], ], [ 'name' => 'TimeZone', 'in' => 'formData', 'schema' => [ 'title' => '时区,默认上海时区:Asia/Shanghai', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'default' => 'Asia/Shanghai', ], ], [ 'name' => 'ModelVersion', 'in' => 'formData', 'schema' => [ 'title' => '模型对应的版本号,默认为latest;可根据文档查询版本号,以调用历史快照版本,或preview版本', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'latest', 'default' => 'latest', ], ], [ 'name' => 'BusinessKey', 'in' => 'formData', 'schema' => [ 'title' => '业务键,如场站名称编号等。', 'type' => 'string', ], ], [ 'name' => 'ForecastHorizon', 'in' => 'formData', 'schema' => [ 'title' => '预测时间尺度,枚举值:'."\n" .'DAY_AHEAD:日前预测'."\n" .'INTRADAY:日内预测', 'type' => 'string', 'example' => 'DAY_AHEAD', 'default' => 'DAY_AHEAD', 'enum' => [ 'DAY_AHEAD', 'INTRADAY', ], ], ], [ 'name' => 'DataMode', 'in' => 'formData', 'schema' => [ 'title' => '本次调用的数据模式,枚举值:'."\n" .'FULL:全量数据(仅使用本次调用中传递的数据)'."\n" .'INCREMENTAL:增量数据(自动关联使用历史调用中相同BusinessKey的数据)', 'type' => 'string', 'example' => 'FULL', 'default' => 'FULL', 'enum' => [ 'FULL', 'INCREMENTAL', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回JOB详细信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'CreateTime' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2024-12-22 00:00:21', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '算法计算任务ID', 'description' => '', 'type' => 'string', 'example' => '8c0ca18a-246a-4acd-80ca-e16d8ff5ef33', ], 'Progress' => [ 'title' => '进度', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '25', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => '{}', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'example' => 'PowerForecast', ], 'Result' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'any', 'example' => '{}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], [ 'errorCode' => 'NoNormalResource', 'errorMessage' => 'There is no normal resource.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-22 00:00:21\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"8c0ca18a-246a-4acd-80ca-e16d8ff5ef33\\",\\n \\"Progress\\": 25,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"{}\\",\\n \\"JobType\\": \\"LoadForecast\\",\\n \\"Result\\": \\"{}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], 'CreatePowerForecastJob' => [ 'summary' => '创建发电功率预测任务', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DeviceType', 'in' => 'formData', 'schema' => [ 'title' => '设备类型,每个systemType支持的设备类型有:系统类型:设备类型 load: electricityMeter --市电电表 hvac: gateway-hvac --空调 flexible: electricityMeter --照明电表 charge'."\0".':gateway-charging --充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'electricityMeter', 'default' => 'solarInverter', ], ], [ 'name' => 'HistoryData', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '历史负荷,需要90天的历史数据', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RunTime' => [ 'title' => '每{freq}分钟,"yyyy-MM-dd HH:mm:ss", 数据频率需与freq字段对齐', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-02-12 00:00:00', ], 'Value' => [ 'title' => '负荷数据', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 100000, 'minItems' => 1, ], ], [ 'name' => 'Freq', 'in' => 'formData', 'schema' => [ 'title' => '默认15min;需要与historyData的数据频率一致;枚举值:'."\n" .'FIFTEEN_MIN: 15分钟'."\n" .'FIVE_MIN: 5分钟'."\n" .'ONE_HOUR: 1小时'."\n" .'ONE_DAY: 1天', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'FIFTEEN_MIN', 'enum' => [ 'FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY', ], 'default' => 'FIFTEEN_MIN', ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'title' => '从运行日(含)开始, 预测时长(单位:天)'."\n" .'非必填,默认1天', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'SystemType', 'in' => 'formData', 'schema' => [ 'title' => '系统类型,支持的系统类型有: solar: 光伏 wind: 风电', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'load', 'default' => 'solar', ], ], [ 'name' => 'RunDate', 'in' => 'formData', 'schema' => [ 'title' => '运行日,精确到天,“yyyy-MM-dd”格式', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-02-12', ], ], [ 'name' => 'TimeZone', 'in' => 'formData', 'schema' => [ 'title' => '时区,默认上海时区:Asia/Shanghai', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai'."\n", 'default' => 'Asia/Shanghai', ], ], [ 'name' => 'ModelVersion', 'in' => 'formData', 'schema' => [ 'title' => '模型对应的版本号,默认为latest;可根据文档查询版本号,以调用历史快照版本,或preview版本', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'latest', 'default' => 'latest', ], ], [ 'name' => 'Location', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '地址位置信息,经纬度', 'description' => '', 'type' => 'object', 'properties' => [ 'Altitude' => [ 'title' => '海拔高度,精度到小数点后3位,默认值为10', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '10.123', ], 'Latitude' => [ 'title' => '纬度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '40.027', ], 'Longitude' => [ 'title' => '经度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '120.042', ], ], 'required' => false, ], ], [ 'name' => 'BusinessKey', 'in' => 'formData', 'schema' => [ 'title' => '业务键,如场站名称编号', 'type' => 'string', ], ], [ 'name' => 'ForecastHorizon', 'in' => 'formData', 'schema' => [ 'title' => '预测时间尺度,枚举值:'."\n" .'DAY_AHEAD:日前预测'."\n" .'INTRADAY:日内预测', 'type' => 'string', 'example' => 'DAY_AHEAD', 'default' => 'DAY_AHEAD', 'enum' => [ 'DAY_AHEAD', 'INTRADAY', ], ], ], [ 'name' => 'DataMode', 'in' => 'formData', 'schema' => [ 'title' => '本次调用的数据模式,枚举值:'."\n" .'FULL:全量数据(仅使用本次调用中传递的数据)'."\n" .'INCREMENTAL:增量数据(自动关联使用历史调用中相同BusinessKey的数据)', 'type' => 'string', 'example' => 'FULL', 'default' => 'FULL', 'enum' => [ 'FULL', 'INCREMENTAL', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回JOB详细信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'CreateTime' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2024-12-22 00:00:21', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '算法计算任务ID', 'description' => '', 'type' => 'string', 'example' => '8c0ca18a-246a-4acd-80ca-e16d8ff5ef33', ], 'Progress' => [ 'title' => '进度', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '25', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => '{}', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'example' => 'LoadForecast', ], 'Result' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'any', 'example' => '{}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], [ 'errorCode' => 'NoNormalResource', 'errorMessage' => 'There is no normal resource.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-22 00:00:21\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"8c0ca18a-246a-4acd-80ca-e16d8ff5ef33\\",\\n \\"Progress\\": 25,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"{}\\",\\n \\"JobType\\": \\"PowerForecast\\",\\n \\"Result\\": \\"{}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], 'CreateEssOptJob' => [ 'summary' => '创建储能运行优化任务', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Freq', 'in' => 'formData', 'schema' => [ 'title' => '默认15min;需要与historyData的数据频率一致;枚举值:'."\n" .'FIFTEEN_MIN: 15分钟'."\n" .'FIVE_MIN: 5分钟'."\n" .'ONE_HOUR: 1小时'."\n" .'ONE_DAY: 1天', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'FIFTEEN_MIN', 'enum' => [ 'FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY', ], ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'title' => '从运行日(含)开始, 预测时长(单位:天)'."\n" .'非必填,默认1天', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'RunDate', 'in' => 'formData', 'schema' => [ 'title' => '运行日,精确到天,“yyyy-MM-dd”格式', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-02-12', ], ], [ 'name' => 'TimeZone', 'in' => 'formData', 'schema' => [ 'title' => '时区,默认上海时区:Asia/Shanghai', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', ], ], [ 'name' => 'ModelVersion', 'in' => 'formData', 'schema' => [ 'title' => '模型对应的版本号,默认为latest;可根据文档查询版本号,以调用历史快照版本,或preview版本', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'latest', ], ], [ 'name' => 'TopoType', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'LOAD_ESS_SOLAR', 'enum' => [ 'LOAD_ESS', 'LOAD_ESS_SOLAR', ], ], ], [ 'name' => 'SystemData', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SystemType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'ess', ], 'SystemId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1', ], 'SystemParams' => [ 'description' => '', 'type' => 'object', 'required' => false, 'example' => '', ], 'HistoryData' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'required' => false, 'example' => '', ], 'required' => false, ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ElecPrice', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DataTime' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '00:00:15', ], 'Price' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '0.5', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'GenPrice', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DataTime' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '00:00:15', ], 'Price' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '0.3', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Location', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '地址位置信息,经纬度', 'description' => '', 'type' => 'object', 'properties' => [ 'Altitude' => [ 'title' => '海拔高度,精度到小数点后3位,默认值为10', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '10.123', ], 'Latitude' => [ 'title' => '纬度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '40.027', ], 'Longitude' => [ 'title' => '经度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '120.042', ], ], 'required' => false, ], ], [ 'name' => 'BusinessKey', 'in' => 'formData', 'schema' => [ 'title' => '业务键', 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回JOB详细信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'CreateTime' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2024-12-22 00:00:21', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '算法计算任务ID', 'description' => '', 'type' => 'string', 'example' => '8c0ca18a-246a-4acd-80ca-e16d8ff5ef33', ], 'Progress' => [ 'title' => '进度', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '25', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => '{}', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'example' => 'LoadForecast', ], 'Result' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'any', 'example' => '{}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], [ 'errorCode' => 'NoNormalResource', 'errorMessage' => 'There is no normal resource.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-22 00:00:21\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"8c0ca18a-246a-4acd-80ca-e16d8ff5ef33\\",\\n \\"Progress\\": 25,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"{}\\",\\n \\"JobType\\": \\"EssOptStrategy\\",\\n \\"Result\\": \\"{}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], 'CreateLoadForecastByFileUrlJob' => [ 'summary' => '创建用电负荷预测任务,历史数据来自文件url', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DeviceType', 'in' => 'formData', 'schema' => [ 'title' => '设备类型,每个systemType支持的设备类型有:系统类型:设备类型 load: electricityMeter --市电电表 hvac: gateway-hvac --空调 flexible: electricityMeter --照明电表 charge'."\0".':gateway-charging --充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'electricityMeter', 'default' => 'electricityMeter', ], ], [ 'name' => 'HistoryUrl', 'in' => 'formData', 'schema' => [ 'title' => '历史数据csv文件url地址', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket.oss-cn-hangzhou.aliyuncs.com/dir/target_file.csv', ], ], [ 'name' => 'Freq', 'in' => 'formData', 'schema' => [ 'title' => '默认15min;需要与historyData的数据频率一致;枚举值:'."\n" .'FIFTEEN_MIN: 15分钟'."\n" .'FIVE_MIN: 5分钟'."\n" .'ONE_HOUR: 1小时'."\n" .'ONE_DAY: 1天', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'FIFTEEN_MIN', 'enum' => [ 'FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY', ], 'default' => 'FIFTEEN_MIN', ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'title' => '从运行日(含)开始, 预测时长(单位:天)'."\n" .'非必填,默认1天', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'SystemType', 'in' => 'formData', 'schema' => [ 'title' => '系统类型,支持的系统类型有: load: 市电 hvac: 空调 flexible:照明 charge:充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'load', 'default' => 'load', ], ], [ 'name' => 'RunDate', 'in' => 'formData', 'schema' => [ 'title' => '运行日,精确到天,“yyyy-MM-dd”格式', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-01-01', ], ], [ 'name' => 'TimeZone', 'in' => 'formData', 'schema' => [ 'title' => '时区,默认上海时区:Asia/Shanghai', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai'."\n", 'default' => 'Asia/Shanghai', ], ], [ 'name' => 'ModelVersion', 'in' => 'formData', 'schema' => [ 'title' => '模型对应的版本号,默认为latest;可根据文档查询版本号,以调用历史快照版本,或preview版本', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'latest', 'default' => 'latest', ], ], [ 'name' => 'BusinessKey', 'in' => 'formData', 'schema' => [ 'title' => '业务键,如场站名称编号等。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'stationA', ], ], [ 'name' => 'TimeColumn', 'in' => 'formData', 'schema' => [ 'title' => '时间列', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'runTime', ], ], [ 'name' => 'ValueColumn', 'in' => 'formData', 'schema' => [ 'title' => '值列', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'value', ], ], [ 'name' => 'ForecastHorizon', 'in' => 'formData', 'schema' => [ 'title' => '预测时间跨度。'."\n" .'可取枚举值:'."\n" .'- 日前预测:DAY_AHEAD'."\n" .'- 日内预测:INTRADAY', 'type' => 'string', 'example' => 'DAY_AHEAD', 'default' => 'DAY_AHEAD', 'enum' => [ 'DAY_AHEAD', 'INTRADAY', ], ], ], [ 'name' => 'DataMode', 'in' => 'formData', 'schema' => [ 'title' => '本次调用的数据模式,枚举值:'."\n" .'FULL:全量数据(仅使用本次调用中传递的数据)'."\n" .'INCREMENTAL:增量数据(自动关联使用历史调用中相同BusinessKey的数据)', 'type' => 'string', 'example' => 'FULL', 'default' => 'FULL', 'enum' => [ 'FULL', 'INCREMENTAL', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回JOB详细信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'CreateTime' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2024-12-22 00:00:21', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '算法计算任务ID', 'description' => '', 'type' => 'string', 'example' => '8c0ca18a-246a-4acd-80ca-e16d8ff5ef33', ], 'Progress' => [ 'title' => '进度', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => 'null', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'EssOptStrategy' => 'EssOptStrategy', 'LoadForecast' => 'LoadForecast', 'PowerForecast' => 'PowerForecast', ], 'example' => 'PowerForecast', ], 'Result' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'any', 'example' => '{"runTime": \'2025-01-01 00:00:00\', "value": 0.0}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], [ 'errorCode' => 'NoNormalResource', 'errorMessage' => 'There is no normal resource.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-22 00:00:21\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"8c0ca18a-246a-4acd-80ca-e16d8ff5ef33\\",\\n \\"Progress\\": 100,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"null\\",\\n \\"JobType\\": \\"PowerForecast\\",\\n \\"Result\\": \\"{\\\\\\"runTime\\\\\\": \'2025-01-01 00:00:00\', \\\\\\"value\\\\\\": 0.0}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], 'CreatePowerForecastByFileUrlJob' => [ 'summary' => '创建发电功率预测任务,历史数据来自文件url', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DeviceType', 'in' => 'formData', 'schema' => [ 'title' => '设备类型,每个systemType支持的设备类型有:系统类型:设备类型 load: electricityMeter --市电电表 hvac: gateway-hvac --空调 flexible: electricityMeter --照明电表 charge'."\0".':gateway-charging --充电桩', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'solarInverter' => 'solarInverter', ], 'example' => 'solarInverter', 'default' => 'solarInverter', ], ], [ 'name' => 'HistoryUrl', 'in' => 'formData', 'schema' => [ 'title' => '历史数据csv文件url地址', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket.oss-cn-hangzhou.aliyuncs.com/dir/target_file.csv', ], ], [ 'name' => 'Freq', 'in' => 'formData', 'schema' => [ 'title' => '默认15min;需要与historyData的数据频率一致;枚举值:'."\n" .'FIFTEEN_MIN: 15分钟'."\n" .'FIVE_MIN: 5分钟'."\n" .'ONE_HOUR: 1小时'."\n" .'ONE_DAY: 1天', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'FIFTEEN_MIN', 'enum' => [ 'FIFTEEN_MIN', 'FIVE_MIN', 'ONE_HOUR', 'ONE_DAY', ], 'default' => 'FIFTEEN_MIN', ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'title' => '从运行日(含)开始, 预测时长(单位:天)'."\n" .'非必填,默认1天', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'SystemType', 'in' => 'formData', 'schema' => [ 'title' => '系统类型,支持的系统类型有: solar: 光伏 wind: 风电', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'solar' => 'solar', ], 'example' => 'solar', 'default' => 'solar', ], ], [ 'name' => 'RunDate', 'in' => 'formData', 'schema' => [ 'title' => '运行日,精确到天,“yyyy-MM-dd”格式', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2025-01-01', ], ], [ 'name' => 'TimeZone', 'in' => 'formData', 'schema' => [ 'title' => '时区,默认上海时区:Asia/Shanghai', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'default' => 'Asia/Shanghai', ], ], [ 'name' => 'ModelVersion', 'in' => 'formData', 'schema' => [ 'title' => '模型对应的版本号,默认为latest;可根据文档查询版本号,以调用历史快照版本,或preview版本', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'latest', 'default' => 'latest', ], ], [ 'name' => 'Location', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '地址位置信息,经纬度', 'description' => '', 'type' => 'object', 'properties' => [ 'Altitude' => [ 'title' => '海拔高度,精度到小数点后3位,默认值为10', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '10.123', ], 'Latitude' => [ 'title' => '纬度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '40.027', ], 'Longitude' => [ 'title' => '经度,精度到小数点后3位', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '120.042', ], ], 'required' => false, ], ], [ 'name' => 'BusinessKey', 'in' => 'formData', 'schema' => [ 'title' => '业务键,如场站名称编号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'stationA', ], ], [ 'name' => 'TimeColumn', 'in' => 'formData', 'schema' => [ 'title' => '时间列', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'runTime', ], ], [ 'name' => 'ValueColumn', 'in' => 'formData', 'schema' => [ 'title' => '值列', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'value', ], ], [ 'name' => 'ForecastHorizon', 'in' => 'formData', 'schema' => [ 'title' => '预测时间尺度,枚举值:'."\n" .'DAY_AHEAD:日前预测'."\n" .'INTRADAY:日内预测', 'type' => 'string', 'example' => 'DAY_AHEAD', 'default' => 'DAY_AHEAD', 'enum' => [ 'DAY_AHEAD', 'INTRADAY', ], ], ], [ 'name' => 'DataMode', 'in' => 'formData', 'schema' => [ 'title' => '本次调用的数据模式,枚举值:'."\n" .'FULL:全量数据(仅使用本次调用中传递的数据)'."\n" .'INCREMENTAL:增量数据(自动关联使用历史调用中相同BusinessKey的数据)', 'type' => 'string', 'example' => 'FULL', 'default' => 'FULL', 'enum' => [ 'FULL', 'INCREMENTAL', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回JOB详细信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'CreateTime' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2024-12-22 00:00:21', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '算法计算任务ID', 'description' => '', 'type' => 'string', 'example' => '8c0ca18a-246a-4acd-80ca-e16d8ff5ef33', ], 'Progress' => [ 'title' => '进度', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => '{}', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'EssOptStrategy' => 'EssOptStrategy', 'LoadForecast' => 'LoadForecast', 'PowerForecast' => 'PowerForecast', ], 'example' => 'PowerForecast', ], 'Result' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'any', 'example' => '{"runTime": \'2025-01-01 00:00:00\', "value": 0.0}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], [ 'errorCode' => 'NoNormalResource', 'errorMessage' => 'There is no normal resource.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-22 00:00:21\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"8c0ca18a-246a-4acd-80ca-e16d8ff5ef33\\",\\n \\"Progress\\": 100,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"{}\\",\\n \\"JobType\\": \\"PowerForecast\\",\\n \\"Result\\": \\"{\\\\\\"runTime\\\\\\": \'2025-01-01 00:00:00\', \\\\\\"value\\\\\\": 0.0}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], 'GetAivppAlgoJob' => [ 'summary' => '查询aivpp算法job', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREbrainindustrial1ZR6M2', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => [ 'title' => '创建任务接口返回的JobId,输入后可以查询异步接口的生成的任务实时详情', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '5854bfa6-f002-43c2-8e1d-e9b2c28f9384', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '68738E75-43C1-5AE5-9F3A-AFEF576D7B5F', ], 'Success' => [ 'title' => '是否调用成功。'."\n" ."\n" .'- **True**:调用成功。'."\n" .'- **False**:调用失败。', 'description' => '', 'type' => 'string', 'example' => 'True', ], 'Code' => [ 'title' => '状态码。'."\n" ."\n" .'> 200表示成功。', 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'title' => '返回信息。', 'description' => '', 'type' => 'string', 'example' => 'successful', ], 'Data' => [ 'title' => '返回的数据内容。', 'description' => '', 'type' => 'object', 'properties' => [ 'Completed' => [ 'title' => '操作是否完成,取值范围: True:当前Job已经执行完成。 False:当前Job还在执行中。', 'description' => '', 'type' => 'boolean', 'example' => 'False', ], 'CreateTime' => [ 'title' => '任务创建时间。'."\n" ."\n", 'description' => '', 'type' => 'string', 'example' => '2024-12-10 17:50:48', ], 'Error' => [ 'title' => '当前操作异常或者失败时的错误信息', 'description' => '', 'type' => 'string', 'example' => '""', ], 'JobId' => [ 'title' => '任务ID。', 'description' => '', 'type' => 'string', 'example' => '5854bfa6-f002-43c2-8e1d-e9b2c28f9384', ], 'Progress' => [ 'title' => '任务进度,取值范围为0~100。', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'Response' => [ 'title' => '计算任务的结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DebugInfo' => [ 'title' => '调试信息', 'description' => '', 'type' => 'any', 'example' => '{}', ], 'JobType' => [ 'title' => '计算任务类型,枚举值:LoadForecast PowerForecast', 'description' => '', 'type' => 'string', 'example' => 'PowerForecast', ], 'Result' => [ 'title' => '任务结果', 'description' => '', 'type' => 'any', 'example' => '{}', ], ], ], 'Status' => [ 'title' => '任务状态,枚举值: RUNNING, SUCCESS, FAIL', 'description' => '', 'type' => 'string', 'example' => 'RUNNING', ], ], ], ], ], ], ], 'errorCodes' => [ 403 => [ [ 'errorCode' => 'RamAuthenticationFailed', 'errorMessage' => 'RAM authentication failed.', ], ], 500 => [ [ 'errorCode' => 'SystemError', 'errorMessage' => '%s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68738E75-43C1-5AE5-9F3A-AFEF576D7B5F\\",\\n \\"Success\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Completed\\": true,\\n \\"CreateTime\\": \\"2024-12-10 17:50:48\\",\\n \\"Error\\": \\"\\\\\\"\\\\\\"\\",\\n \\"JobId\\": \\"5854bfa6-f002-43c2-8e1d-e9b2c28f9384\\",\\n \\"Progress\\": 100,\\n \\"Response\\": {\\n \\"DebugInfo\\": \\"{}\\",\\n \\"JobType\\": \\"PowerForecast\\",\\n \\"Result\\": \\"{}\\"\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'brain-industrial.cn-hangzhou.aliyuncs.com', ], ], ];