Download OpenAPI specification:Download
| email required | string Default: "" |
| name required | string Default: "" |
| password required | string non-empty Default: "" |
{- "email": "",
- "name": "",
- "password": ""
}{- "code": 0,
- "message": "string"
}| password required | string non-empty Default: "" |
| username required | string non-empty Default: "" |
{- "password": "",
- "username": ""
}{- "accessToken": "string",
- "admin": true,
- "expiresIn": 0,
- "refreshExpiresIn": 0,
- "refreshToken": "string",
- "tokenType": "string"
}| mobile required | string |
| name required | string Default: "" |
| newPassword | string Default: "" |
| originPassword | string Default: "" |
{- "mobile": "string",
- "name": "",
- "newPassword": "",
- "originPassword": ""
}{- "email": "string",
- "mobile": "string",
- "name": "string"
}| name required | string Default: "" |
| password required | string non-empty Default: "" |
| token required | string non-empty Default: "" |
{- "name": "",
- "password": "",
- "token": ""
}{- "accessToken": "string",
- "admin": true,
- "expiresIn": 0,
- "refreshExpiresIn": 0,
- "refreshToken": "string",
- "tokenType": "string"
}| refreshToken required | string non-empty Default: "" |
{- "refreshToken": ""
}{- "accessToken": "string",
- "expiresIn": 0,
- "refreshExpiresIn": 0,
- "refreshToken": "string",
- "tokenType": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
{- "email": {
- "enabled": true,
- "receivers": ""
}, - "enabled": true,
- "onlyCritical": true,
- "resolveInterval": 0,
- "silenceInterval": 0,
- "stormInterval": 0,
- "stormMaxAlarms": 0,
- "webhook": {
- "enabled": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| onlyCritical required | boolean |
| silenceInterval required | integer <int64> |
{- "onlyCritical": true,
- "silenceInterval": 0
}{- "email": {
- "enabled": true,
- "receivers": ""
}, - "enabled": true,
- "onlyCritical": true,
- "resolveInterval": 0,
- "silenceInterval": 0,
- "stormInterval": 0,
- "stormMaxAlarms": 0,
- "webhook": {
- "enabled": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| enabled required | boolean |
| receivers required | Array of strings Default: "" |
{- "enabled": true,
- "receivers": ""
}{- "email": {
- "enabled": true,
- "receivers": ""
}, - "enabled": true,
- "onlyCritical": true,
- "resolveInterval": 0,
- "silenceInterval": 0,
- "stormInterval": 0,
- "stormMaxAlarms": 0,
- "webhook": {
- "enabled": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| enabled required | boolean |
| headers required | object |
| url required | string |
{- "enabled": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}{- "email": {
- "enabled": true,
- "receivers": ""
}, - "enabled": true,
- "onlyCritical": true,
- "resolveInterval": 0,
- "silenceInterval": 0,
- "stormInterval": 0,
- "stormMaxAlarms": 0,
- "webhook": {
- "enabled": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| headers required | object |
| url required | string Default: "" |
{- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": ""
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| fuzzyName required | string |
| severity required | integer <int8> |
| startsAt required | integer <int64> |
| endsAt required | integer <int64> |
| size required | integer <int32> [ 1 .. 100 ] |
| offset required | integer <int32> |
{- "data": [
- {
- "endsAt": { },
- "id": 0,
- "message": "string",
- "name": "string",
- "resourceId": "string",
- "resourceName": "string",
- "resourceType": 0,
- "severity": 0,
- "startsAt": { }
}
], - "total": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| enabled required | boolean |
{- "enabled": true
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| fuzzyName required | string |
| severity required | integer <int8> |
| startsAt required | integer <int64> |
| endsAt required | integer <int64> |
| size required | integer <int32> [ 1 .. 100 ] |
| offset required | integer <int32> |
{- "data": [
- {
- "endsAt": { },
- "id": 0,
- "message": "string",
- "name": "string",
- "resourceId": "string",
- "resourceName": "string",
- "resourceType": 0,
- "severity": 0,
- "startsAt": { }
}
], - "total": 0
}{- "license": {
- "expired": true,
- "expiredAt": "string",
- "type": "string"
}, - "modules": {
- "cluster": {
- "enable": true
}, - "edgeservice": {
- "enable": true
}
}, - "system": {
- "language": "string",
- "mode": "string"
}, - "uiCustomization": {
- "loginBg": "string",
- "logo": "string",
- "name": "string"
}, - "userManagement": {
- "verificationMode": 0
}, - "version": 0
}| resource | integer <int64> Default: "" |
| operation | integer <int64> Default: "" |
| operatorId | string Default: "" |
| operatorName | string Default: "" |
| orgId | string Default: "" |
| projectId | string Default: "" |
| clusterId | string Default: "" |
| edgeServiceId | string Default: "" |
| since required | integer <int64> |
| until required | integer <int64> |
| size | integer <int32> [ 1 .. 100 ] Default: "10" |
| offset required | integer <int64> |
{- "data": [
- {
- "clusterId": "string",
- "clusterName": "string",
- "createdAt": { },
- "edgeServiceId": "string",
- "edgeServiceName": "string",
- "id": 0,
- "metadata": "string",
- "operation": 0,
- "operatorId": "string",
- "operatorName": "string",
- "orgId": "string",
- "orgName": "string",
- "projectId": "string",
- "projectName": "string",
- "resource": 0,
- "userId": "string",
- "userName": "string"
}
], - "total": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| batchId required | string = 8 characters |
{- "data": [
- {
- "edgeInfoId": "string",
- "edgeName": "string",
- "taskId": "string",
- "taskProgress": "string",
- "taskStatus": 0
}
], - "failed": 0,
- "running": 0,
- "success": 0
}{- "clusterId": "string",
- "elasticsearch": {
- "indexName": "string",
- "password": "string",
- "urls": [
- "string"
], - "username": "string"
}, - "mqtt": {
- "password": "string",
- "server": "string",
- "username": "string"
}, - "tunnel": {
- "replyTopic": "string",
- "requestTopic": "string"
}
}| agentVersion required | string Default: "" |
| clusterFetchError required | string |
required | Array of objects (EMQXEENode) |
| dashboardEnabled required | boolean |
| logsFetchError required | string |
| metricsFetchError required | string |
| mqttConnectError required | string |
| nodeConnectError required | string |
| nodeId required | string Default: "" |
{- "agentVersion": "",
- "clusterFetchError": "string",
- "clusterNodes": [
- {
- "node": "string",
- "status": "string",
- "uptime": 0,
- "version": "string"
}
], - "dashboardEnabled": true,
- "logsFetchError": "string",
- "metricsFetchError": "string",
- "mqttConnectError": "string",
- "nodeConnectError": "string",
- "nodeId": ""
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| name required | string [ 1 .. 200 ] characters |
{- "createdAt": { },
- "id": "string",
- "name": "string",
- "type": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId required | string >= 8 characters |
{- "data": [
- {
- "createdAt": { },
- "dashboard": true,
- "err": "string",
- "id": 0,
- "nodeId": "string",
- "state": 0,
- "updatedAt": { },
- "version": "string"
}
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId required | string >= 8 characters |
| platform required | string |
{- "architectures": [
- {
- "architecture": "string",
- "installInstructions": "string",
- "registerInstructions": "string"
}
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId required | string non-empty |
| projectId required | string >= 8 characters Default: "" |
{- "projectId": ""
}{- "code": 0,
- "message": "string"
}| name required | string |
| orgId required | string |
| property name* additional property | any |
{- "property1": null,
- "property2": null
}{- "code": 0,
- "message": "string"
}| name required | string |
| orgId required | string |
| projectId required | string |
| property name* additional property | any |
{- "property1": null,
- "property2": null
}{- "code": 0,
- "message": "string"
}| port required | integer <int64> [ 1 .. 65535 ] |
| tls | boolean Default: "false" |
| cacertFile | string >= 0 characters Default: "" cacertPath, certPath, keyPath |
| certFile | string >= 0 characters Default: "" |
| keyFile | string >= 0 characters Default: "" |
{- "code": 0,
- "message": "string"
}| catagory required | integer <uint8> Default: "" |
| environments | Array of strings Default: "" |
| ports | object Default: "" |
| volumes | object Default: "" |
[- {
- "catagory": "",
- "environments": "",
- "ports": "",
- "volumes": ""
}
]{- "code": 0,
- "message": "string"
}{- "quota": {
- "kuiperCPULimit": "",
- "kuiperCPURequest": "string",
- "kuiperMEMLimit": "",
- "kuiperMEMRequest": "string",
- "neuronCPULimit": "",
- "neuronCPURequest": "string",
- "neuronMEMLimit": "",
- "neuronMEMRequest": "string"
}, - "storageClass": [
- {
- "storage_class_name": "string",
- "storage_class_size": "1024Mi",
- "type": "1"
}
]
}| kuiperCPULimit | string Default: "" |
| kuiperCPURequest required | string |
| kuiperMEMLimit | string Default: "" |
| kuiperMEMRequest required | string |
| neuronCPULimit | string Default: "" |
| neuronCPURequest required | string |
| neuronMEMLimit | string Default: "" |
| neuronMEMRequest required | string |
{- "kuiperCPULimit": "",
- "kuiperCPURequest": "string",
- "kuiperMEMLimit": "",
- "kuiperMEMRequest": "string",
- "neuronCPULimit": "",
- "neuronCPURequest": "string",
- "neuronMEMLimit": "",
- "neuronMEMRequest": "string"
}{- "code": 0,
- "message": "string"
}{- "quotas": [
- {
- "default": "false",
- "description": "",
- "name": "",
- "quota": {
- "emqx": {
- "cpu": {
- "limit": "string",
- "request": "string"
}, - "memory": {
- "limit": "string",
- "request": "string"
}
}, - "telegraf": {
- "cpu": {
- "limit": "string",
- "request": "string"
}, - "memory": {
- "limit": "string",
- "request": "string"
}
}
}
}
], - "storage_class_name": "string",
- "storage_class_size": "2048"
}required | Array of objects (EmqxQuotas) |
required | Array of objects (StorageClass) |
{- "quotas": [
- {
- "default": "false",
- "description": "",
- "name": "",
- "quota": {
- "emqx": {
- "cpu": {
- "limit": "string",
- "request": "string"
}, - "memory": {
- "limit": "string",
- "request": "string"
}
}, - "telegraf": {
- "cpu": {
- "limit": "string",
- "request": "string"
}, - "memory": {
- "limit": "string",
- "request": "string"
}
}
}
}
], - "storageClass": [
- {
- "storage_class_name": "string",
- "storage_class_size": "1024Mi",
- "type": "1"
}
]
}{- "code": 0,
- "message": "string"
}| total_cpu_quota required | integer <uint64> |
| total_memory_quota required | integer <uint64> |
{- "total_cpu_quota": 0,
- "total_memory_quota": 0
}{- "code": 0,
- "message": "string"
}| password | string Default: "" Index string |
| type | string Default: "internal" Type value: "external" or "internal", internal equals close this function. |
| url | string Default: "" |
| username | string Default: "" |
[- {
- "password": "",
- "type": "internal",
- "url": "",
- "username": ""
}
]{- "code": 0,
- "message": "string"
}| password required | string |
| url required | string |
| username required | string |
[- {
- "password": "string",
- "url": "string",
- "username": "string"
}
]{- "code": 0,
- "message": "string"
}| password required | string |
| url required | string |
| username required | string |
[- {
- "password": "string",
- "url": "string",
- "username": "string"
}
]{- "code": 0,
- "message": "string"
}| kuiperCPULimit | string Default: "" |
| kuiperCPURequest required | string |
| kuiperMEMLimit | string Default: "" |
| kuiperMEMRequest required | string |
required | Array of objects (StorageClass) |
{- "kuiperCPULimit": "",
- "kuiperCPURequest": "string",
- "kuiperMEMLimit": "",
- "kuiperMEMRequest": "string",
- "storageClass": [
- {
- "storage_class_name": "string",
- "storage_class_size": "1024Mi",
- "type": "1"
}
]
}{- "code": 0,
- "message": "string"
}| default | boolean Default: "false" |
| image required | string Default: "" |
[- {
- "default": "false",
- "image": ""
}
]{- "code": 0,
- "message": "string"
}| annotations | string Default: "{}" |
| desc | string Default: "" |
| is_enabled | boolean Default: "false" |
| max_connection required | integer <uint64> |
| min_connection | integer <uint64> Default: "1" |
| name required | string Default: "" |
[- {
- "annotations": "{}",
- "desc": "",
- "is_enabled": "false",
- "max_connection": 0,
- "min_connection": "1",
- "name": ""
}
]{- "code": 0,
- "message": "string"
}| password required | string |
| type | string Default: "bc" |
| url required | string |
| username required | string |
[- {
- "password": "string",
- "type": "bc",
- "url": "string",
- "username": "string"
}
]{- "code": 0,
- "message": "string"
}{- "ekuiper": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "ekuiperProxy": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "emqx": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "healthCheckInterval": 0,
- "neuron": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "neuronProxy": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}
}required | object (ScraperConfig) |
required | object (ScraperConfig) |
required | object (ScraperConfig) |
| healthCheckInterval required | integer <int64> |
required | object (ScraperConfig) |
required | object (ScraperConfig) |
{- "ekuiper": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "ekuiperProxy": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "emqx": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "healthCheckInterval": 0,
- "neuron": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}, - "neuronProxy": {
- "enabled": "false",
- "interval": "15s",
- "timeout": "15s"
}
}{- "code": 0,
- "message": "string"
}| neuronCPULimit | string Default: "" |
| neuronCPURequest required | string |
| neuronMEMLimit | string Default: "" |
| neuronMEMRequest required | string |
required | Array of objects (StorageClass) |
{- "neuronCPULimit": "",
- "neuronCPURequest": "string",
- "neuronMEMLimit": "",
- "neuronMEMRequest": "string",
- "storageClass": [
- {
- "storage_class_name": "string",
- "storage_class_size": "1024Mi",
- "type": "1"
}
]
}{- "code": 0,
- "message": "string"
}| default | boolean Default: "false" |
| image required | string Default: "" |
[- {
- "default": "false",
- "image": ""
}
]{- "code": 0,
- "message": "string"
}| default | boolean Default: "false" |
| image required | string Default: "" |
[- {
- "default": "false",
- "image": ""
}
]{- "code": 0,
- "message": "string"
}| encryption | string Default: "tls" tls(default) / starttls |
| host required | string |
| password required | string |
| port | integer <uint16> Default: "25" |
| username required | string From string |
{- "encryption": "tls",
- "host": "string",
- "password": "string",
- "port": "25",
- "username": "string"
}{- "code": 0,
- "message": "string"
}| encryption | string Default: "tls" tls(default) / starttls |
| host required | string |
| password required | string |
| port | integer <uint16> Default: "25" |
| username required | string From string |
{- "encryption": "tls",
- "host": "string",
- "password": "string",
- "port": "25",
- "username": "string"
}{- "code": 0,
- "message": "string"
}| storage_class_name required | string |
| storage_class_size | string Default: "1024Mi" StorageClassPVSize 默认单位 Mi |
| type | integer <uint8> Default: "1" |
[- {
- "storage_class_name": "string",
- "storage_class_size": "1024Mi",
- "type": "1"
}
]{- "code": 0,
- "message": "string"
}| addr | string Default: "" |
| enabled | boolean Default: "false" |
| network | string Default: "" |
| priority | integer <int64> Default: "3" |
| tag | string Default: "" |
{- "addr": "",
- "enabled": "false",
- "network": "",
- "priority": "3",
- "tag": ""
}{- "code": 0,
- "message": "string"
}| addr | string Default: "" |
| enabled | boolean Default: "false" |
| network | string Default: "" |
| priority | integer <int64> Default: "3" |
| tag | string Default: "" |
{- "addr": "",
- "enabled": "false",
- "network": "",
- "priority": "3",
- "tag": ""
}{- "code": 0,
- "message": "string"
}required | object (AuthTokenConfig) |
required | object (UserManagementVerificationConfig) |
{- "token": {
- "accessTokenDuration": 0,
- "refreshTokenDuration": 0
}, - "verification": {
- "email": {
- "invitationEmailDuration": 0,
- "passwordResetEmailDuration": 0
}, - "mode": "0",
- "passwordManagementPolicy": 0,
- "passwordUpdatePolicy": 0
}
}{- "code": 0,
- "message": "string"
}| start required | integer <int64> timestamp,秒 |
| end required | integer <int64> timestamp,秒 |
| level required | string |
| msg required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "data": [
- {
- "category": "string",
- "id": "string",
- "level": "string",
- "msg": "string",
- "time": 0
}
]
}| start required | integer <int64> timestamp,秒 |
| end required | integer <int64> timestamp,秒 |
| level required | string |
| msg required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "data": [
- {
- "category": "string",
- "id": "string",
- "level": "string",
- "msg": "string",
- "time": 0
}
]
}{- "data": {
- "property1": [
- {
- "property1": [
- {
- "property1": "string",
- "property2": "string"
}
], - "property2": [
- {
- "property1": "string",
- "property2": "string"
}
]
}
], - "property2": [
- {
- "property1": [
- {
- "property1": "string",
- "property2": "string"
}
], - "property2": [
- {
- "property1": "string",
- "property2": "string"
}
]
}
]
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeId | string Default: "" |
| category | integer <int8> Default: "2" 服务类别(1:kuiper;2:neuron; 3:edge; 4:other; 99:customize) |
| start required | integer <int64> timestamp,秒 |
| end required | integer <int64> timestamp,秒 |
| level required | string |
| node required | string |
| msg required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "data": [
- {
- "category": "string",
- "id": "string",
- "level": "string",
- "msg": "string",
- "time": 0
}
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId | string Default: "" |
| start required | integer <int64> timestamp,秒 |
| end required | integer <int64> timestamp,秒 |
| level required | string |
| msg required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "data": [
- {
- "category": "string",
- "id": "string",
- "level": "string",
- "msg": "string",
- "time": 0
}
]
}| password required | string |
| url required | string |
| username required | string |
{- "password": "string",
- "url": "string",
- "username": "string"
}{- "code": 0,
- "message": "string"
}| enabled required | boolean |
| forceAuthn required | boolean |
| idPSsoUrl required | string Default: "" saml config |
| idpSloUrl required | string Default: "" |
| name required | string [ 1 .. 50 ] characters Default: "" |
| signAuthn required | boolean |
| spAcsUrl required | string Default: "" |
| spEntityId required | string |
| spSloUrl required | string Default: "" |
| type required | string non-empty Default: "" |
| validateSignature required | boolean |
| validatingCertificate required | string |
{- "enabled": true,
- "forceAuthn": true,
- "idPSsoUrl": "",
- "idpSloUrl": "",
- "name": "",
- "signAuthn": true,
- "spAcsUrl": "",
- "spEntityId": "string",
- "spSloUrl": "",
- "type": "",
- "validateSignature": true,
- "validatingCertificate": "string"
}{- "enabled": true,
- "id": "string",
- "name": "string",
- "type": "string"
}{- "createdAt": { },
- "enabled": true,
- "forceAuthn": true,
- "id": "string",
- "idpSloUrl": "string",
- "idpSsoUrl": "string",
- "name": "string",
- "signAuthn": true,
- "spAcsUrl": "string",
- "spEntityId": "string",
- "spSloUrl": "string",
- "type": "string",
- "updatedAt": { },
- "validateSignature": true,
- "validatingCertificate": "string"
}| id required | string non-empty |
| enabled required | boolean |
| forceAuthn required | boolean |
| idPSsoUrl required | string Default: "" saml config |
| idpSloUrl required | string Default: "" |
| name required | string [ 1 .. 50 ] characters Default: "" |
| signAuthn required | boolean |
| spAcsUrl required | string Default: "" |
| spEntityId required | string |
| spSloUrl required | string Default: "" |
| type required | string non-empty Default: "" |
| validateSignature required | boolean |
| validatingCertificate required | string |
{- "enabled": true,
- "forceAuthn": true,
- "idPSsoUrl": "",
- "idpSloUrl": "",
- "name": "",
- "signAuthn": true,
- "spAcsUrl": "",
- "spEntityId": "string",
- "spSloUrl": "",
- "type": "",
- "validateSignature": true,
- "validatingCertificate": "string"
}{- "enabled": true,
- "id": "string",
- "name": "string",
- "type": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| limit | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
| edgeName | string >= 0 characters Default: "" 部署名 |
| creator | string >= 0 characters Default: "" 部署创建人 |
{- "data": {
- "list": [
- {
- "batch_id": "string",
- "createdAt": { },
- "creator": "string",
- "desc": "string",
- "edgeName": "string",
- "id": "string",
- "kuiperImage": "string",
- "namespace": "string",
- "neuronImage": "string",
- "orgId": "string",
- "projectId": "string",
- "taskId": "string",
- "type": 0,
- "updatedAt": { }
}
], - "total": 0
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeId required | string |
| kuiperImage | string Default: "" |
| neuronImage | string Default: "" |
{- "edgeId": "string",
- "kuiperImage": "",
- "neuronImage": ""
}{- "taskId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| desc | string Default: "" |
| disableAuth | boolean Default: "false" |
| edgeName required | string Default: "" |
| kuiperImage | string Default: "" |
| neuronImage | string Default: "" |
| tag required | string |
{- "desc": "",
- "disableAuth": "false",
- "edgeName": "",
- "kuiperImage": "",
- "neuronImage": "",
- "tag": "string"
}{- "batchId": "string",
- "errMap": {
- "property1": "string",
- "property2": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| desc | string Default: "" |
| disableAuth | boolean Default: "false" |
| edgeName required | string Default: "" |
| kuiperImage | string Default: "" |
| neuronImage | string Default: "" |
| tag required | string |
[- {
- "desc": "",
- "disableAuth": "false",
- "edgeName": "",
- "kuiperImage": "",
- "neuronImage": "",
- "tag": "string"
}
]{- "batchId": "string",
- "errMap": {
- "property1": "string",
- "property2": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| batchId | string Default: "" 查询某批次,就只填 batchId |
| edgeIds | Array of strings Default: "" 查询指定EdgeId的安装信息, 就将其填入 edgeIds 列表中 |
{- "batchId": "",
- "edgeIds": ""
}{- "data": [
- {
- "edgeInfoId": "string",
- "edgeName": "string",
- "taskId": "string",
- "taskProgress": "string",
- "taskStatus": 0
}
], - "failed": 0,
- "running": 0,
- "success": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
[- "string"
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
[- "string"
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
[- "string"
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
[- "string"
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| parallel | boolean Default: "false" |
| edgeId required | string |
| kuiperImage | string Default: "" |
| neuronImage | string Default: "" |
[- {
- "edgeId": "string",
- "kuiperImage": "",
- "neuronImage": ""
}
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| batchId required | string non-empty |
{- "data": [
- {
- "edgeServiceId": "string",
- "edgeServiceName": "string",
- "failureReason": "string",
- "status": 0
}
], - "failed": 0,
- "running": 0,
- "success": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeId required | string >= 8 characters |
{- "data": {
- "batch_id": "string",
- "createdAt": { },
- "creator": "string",
- "desc": "string",
- "edgeName": "string",
- "id": "string",
- "kuiperImage": "string",
- "namespace": "string",
- "neuronImage": "string",
- "orgId": "string",
- "projectId": "string",
- "taskId": "string",
- "type": 0,
- "updatedAt": { }
}
}{- "customerContact": "string",
- "customerName": "string",
- "expired": true,
- "expiredDate": "string",
- "maxEdgeServiceCount": 0,
- "maxEmqxClusterCount": 0,
- "maxSingleClusterConnectionCount": 0,
- "maxTagCount": 0,
- "startDate": "string",
- "totalClusterConnectionCount": 0,
- "type": "string"
}{- "customerContact": "string",
- "customerName": "string",
- "expired": true,
- "expiredDate": "string",
- "maxEdgeServiceCount": 0,
- "maxEmqxClusterCount": 0,
- "maxSingleClusterConnectionCount": 0,
- "maxTagCount": 0,
- "startDate": "string",
- "totalClusterConnectionCount": 0,
- "type": "string"
}{- "connectCount": 0,
- "connectQuota": 0,
- "expectReplicas": 0,
- "image": "string",
- "in": 0,
- "nodeCount": 0,
- "out": 0,
- "progress": "string",
- "resourceLimit": "string",
- "status": 0,
- "topicCount": 0,
- "version": "string"
}| orgId required | string orgID |
| projectId required | string projectID |
| size | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
{- "data": {
- "list": [
- {
- "connectLimit": 0,
- "createdAt": { },
- "deployId": "string",
- "name": "string",
- "orgId": "string",
- "projectId": "string",
- "status": 0,
- "updatedAt": { }
}
], - "total": 0
}
}| orgId required | string orgID |
| projectId required | string projectID |
| size | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
| tagIds required | Array of integers <uint64> [ items <uint64 > ] |
| noTags required | boolean |
{- "data": {
- "list": [
- {
- "category": 0,
- "createdAt": { },
- "name": "string",
- "orgId": "string",
- "projectId": "string",
- "serviceId": "string",
- "status": 0,
- "tagLimit": 0,
- "tags": [
- "string"
], - "updatedAt": { }
}
], - "total": 0
}
}{- "ekuiper": {
- "in": {
- "total": 0,
- "tps": 0
}, - "out": {
- "total": 0,
- "tps": 0
}, - "rules": 0,
- "total": 0,
- "watched": 0
}, - "neuron": {
- "north": {
- "disconnected": 0,
- "running": 0,
- "total": 0
}, - "south": {
- "disconnected": 0,
- "running": 0,
- "total": 0
}, - "total": 0,
- "watched": 0
}
}| orgId required | string |
| projectId required | string |
| serviceId required | string |
{- "arch": "string",
- "in": {
- "total": 0,
- "tps": 0
}, - "os": "string",
- "out": {
- "total": 0,
- "tps": 0
}, - "rules": 0,
- "status": 0,
- "uptime": 0,
- "version": "string"
}| orgId required | string |
| projectId required | string |
| serviceId required | string |
{- "buildDate": "string",
- "hardware": "string",
- "memTotal": 0,
- "memUsed": 0,
- "north": {
- "disconnected": 0,
- "running": 0,
- "total": 0
}, - "south": {
- "disconnected": 0,
- "running": 0,
- "total": 0
}, - "status": 0,
- "uptime": 0,
- "version": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "clusterCount": 0,
- "instance": [
- {
- "agent": {
- "activeCount": 0,
- "totalCount": 0
}, - "connectCount": 0,
- "connectQuota": 0,
- "createdAt": { },
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "in": 0,
- "name": "string",
- "network": "string",
- "nodeCount": 0,
- "out": 0,
- "progress": "string",
- "resourceLimit": "string",
- "status": 0,
- "topicCount": 0,
- "type": 0,
- "upTime": { },
- "version": "string"
}
], - "userCount": 0
}| password required | string |
| url required | string |
| username required | string |
{- "password": "string",
- "url": "string",
- "username": "string"
}{- "code": 0,
- "message": "string"
}| name required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "10" |
| offset required | integer <int32> >= 0 |
{- "data": [
- {
- "createdAt": { },
- "id": "string",
- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": "string",
- "projects": [
- "string"
], - "updatedAt": { }
}
], - "total": 0
}required | Array of objects (OrgMember) |
| name required | string Default: "" |
{- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": ""
}{- "createdAt": { },
- "id": "string",
- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": "string"
}| orgId required | string >= 8 characters |
required | Array of objects (OrgMember) |
| name required | string Default: "" |
{- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": ""
}{- "createdAt": { },
- "id": "string",
- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": "string",
- "updatedAt": { }
}| orgId required | string >= 8 characters |
| name required | string |
| size | integer <int32> [ 1 .. 100 ] Default: "10" |
| offset | integer <int32> >= 0 Default: "0" |
{- "data": [
- {
- "clusterCount": 0,
- "createdAt": { },
- "id": "string",
- "members": [
- {
- "email": "string",
- "enabled": true,
- "name": "string",
- "roleIds": [
- 0
], - "userId": "string"
}
], - "name": "string",
- "updatedAt": { }
}
], - "total": 0
}| orgId required | string >= 8 characters |
required | Array of objects (ProjectMember) |
| name required | string Default: "" |
{- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": ""
}{- "createdAt": { },
- "id": "string",
- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
required | Array of objects (ProjectMember) |
| name required | string Default: "" |
{- "members": [
- {
- "roleIds": [
- 0
], - "userId": ""
}
], - "name": ""
}{- "createdAt": { },
- "id": "string",
- "members": [
- "string"
], - "name": "string",
- "updatedAt": { }
}| name required | string |
| orgId required | string |
| size | integer <int32> [ 1 .. 50 ] Default: "10" |
| offset | integer <int32> >= 0 Default: "0" |
{- "data": [
- {
- "clusterCount": 0,
- "createdAt": { },
- "id": "string",
- "members": [
- {
- "email": "string",
- "enabled": true,
- "name": "string",
- "roleIds": [
- 0
], - "userId": "string"
}
], - "name": "string",
- "orgId": "string",
- "orgName": "string",
- "updatedAt": { }
}
], - "total": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| deployId required | string non-empty |
| file required | string |
| filename required | string |
{- "file": "string",
- "filename": "string"
}{- "msg": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| deploy_ids required | Array of strings |
{- "deploy_ids": [
- "string"
]
}{- "data": {
- "property1": {
- "code": 0,
- "data": [
- {
- "created_at": "string",
- "filename": "string",
- "node": "string",
- "size": 0
}
]
}, - "property2": {
- "code": 0,
- "data": [
- {
- "created_at": "string",
- "filename": "string",
- "node": "string",
- "size": 0
}
]
}
}, - "deploy_id_name_map": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- "string"
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
{- "data": {
- "property1": [
- {
- "created_at": { },
- "id": 0,
- "updated_at": { },
- "deploy_id": "string",
- "schedule_type": "0",
- "status": "",
- "type": "0",
- "up_time": { }
}
], - "property2": [
- {
- "created_at": { },
- "id": 0,
- "updated_at": { },
- "deploy_id": "string",
- "schedule_type": "0",
- "status": "",
- "type": "0",
- "up_time": { }
}
]
}, - "deploy_id_name_map": {
- "property1": "string",
- "property2": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| deploy_id_list required | Array of strings |
| schedule_type | integer <uint8> Default: "0" |
| status | integer <uint8> Default: "0" |
| type | integer <uint8> Default: "0" |
| up_time required | integer <int64> |
{- "deploy_id_list": [
- "string"
], - "schedule_type": "0",
- "status": "0",
- "type": "0",
- "up_time": 0
}{- "errors": {
- "property1": "string",
- "property2": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId required | string non-empty |
| filename required | string |
| node required | string |
{- "filename": "string",
- "node": "string"
}{- "msg": "string"
}| orgId required | string >= 8 characters orgID |
| projectId required | string >= 8 characters projectID |
| limit | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
| deployName | string >= 0 characters Default: "" 部署名 |
| creator | string >= 0 characters Default: "" 部署创建人 |
{- "data": {
- "list": [
- {
- "connectLimit": 0,
- "createdAt": { },
- "creator": "string",
- "dashboardEnabled": true,
- "deployName": "string",
- "desc": "string",
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "namespace": "string",
- "network": "string",
- "orgId": "string",
- "projectId": "string",
- "registrationToken": "string",
- "replicas": 0,
- "resourceLimit": "string",
- "status": 0,
- "taskId": "string",
- "type": 0,
- "upTime": { },
- "updatedAt": { },
- "version": "string"
}
], - "total": 0
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| deployName required | string |
| desc | string [ 0 .. 500 ] characters Default: "" |
| image | string Default: "" |
| replicas | integer <int32> [ 1 .. 7 ] Default: "3" |
| nodeSelector | string Default: "" format: format: json string |
| nodeAntiAffinity | boolean Default: "" |
| resourceLimit | string Default: "" resource_limit: global config EmqxQuota.Name |
| labels | string Default: "" |
| env | string Default: "" format: format: json string |
| networkType | string Default: "ClusterIP" StorageClassPVSize 默认单位 Mi
StorageClassSize int32 |
| networkConfig | string Default: "" network_config format: json string; All field Not must example:
|
| logType | string Default: "internal" |
| crtType | integer <int8> Default: "0" EMQX 证书类型 0: 默认值都为空 1: wss和mqtts都用 WssCaCrt 2: wss和mqtts都用 MqttsCaCrt 3: wss和mqtts都用 WssTlsCrt 4: wss和mqtts都用 MqttsTlsCrt 5: WssCaCrt + MqttsCaCrt 同时使用 6: WssTlsCrt + MqttsTlsCrt 同时使用 7: WssCaCrt + MqttsTlsCrt 同时使用 8: WssTlsCrt + MqttsCaCrt 同时使用 |
| wssCaCrt | string >= 0 characters Default: "" wss WssCaCrt 文件 |
| wssTlsCrt | string >= 0 characters Default: "" wss WssTlsCrt 文件 |
| wssTlsKey | string >= 0 characters Default: "" wss WssTlsKey 文件 |
| mqttsCaCrt | string >= 0 characters Default: "" mqtts MqttsCaCrt 文件 |
| mqttsTlsCrt | string >= 0 characters Default: "" mqtts MqttsTlsCrt 文件 |
| mqttsTlsKey | string >= 0 characters Default: "" mqtts MqttsTlsKey 文件 |
| license | string >= 0 characters Default: "" emqx License 文件 |
| connectLimit | integer <int32> >= 1 Default: "10" |
| backupFilename | string Default: "" backup init parameters |
| backupDeployId | string Default: "" |
| backupFile | string Default: "" |
{- "data": {
- "connectLimit": 0,
- "createdAt": { },
- "creator": "string",
- "dashboardEnabled": true,
- "deployName": "string",
- "desc": "string",
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "namespace": "string",
- "network": "string",
- "orgId": "string",
- "projectId": "string",
- "registrationToken": "string",
- "replicas": 0,
- "resourceLimit": "string",
- "status": 0,
- "taskId": "string",
- "type": 0,
- "upTime": { },
- "updatedAt": { },
- "version": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| clusterId required | string non-empty |
{- "data": {
- "connectLimit": 0,
- "createdAt": { },
- "creator": "string",
- "dashboardEnabled": true,
- "deployName": "string",
- "desc": "string",
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "namespace": "string",
- "network": "string",
- "orgId": "string",
- "projectId": "string",
- "registrationToken": "string",
- "replicas": 0,
- "resourceLimit": "string",
- "status": 0,
- "taskId": "string",
- "type": 0,
- "upTime": { },
- "updatedAt": { },
- "version": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| name required | string |
{- "name": "string"
}{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| crtType | integer <int8> Default: "0" EMQX 证书类型 0: 默认值都为空 1: wss和mqtts都用 WssCaCrt 2: wss和mqtts都用 MqttsCaCrt 3: wss和mqtts都用 WssTlsCrt 4: wss和mqtts都用 MqttsTlsCrt 5: WssCaCrt + MqttsCaCrt 同时使用 6: WssTlsCrt + MqttsTlsCrt 同时使用 7: WssCaCrt + MqttsTlsCrt 同时使用 8: WssTlsCrt + MqttsCaCrt 同时使用 |
| wssCaCrt | string >= 0 characters Default: "" wss WssCaCrt 文件 |
| wssTlsCrt | string >= 0 characters Default: "" wss WssTlsCrt 文件 |
| wssTlsKey | string >= 0 characters Default: "" wss WssTlsKey 文件 |
| mqttsCaCrt | string >= 0 characters Default: "" mqtts MqttsCaCrt 文件 |
| mqttsTlsCrt | string >= 0 characters Default: "" mqtts MqttsTlsCrt 文件 |
| mqttsTlsKey | string >= 0 characters Default: "" mqtts MqttsTlsKey 文件 |
| license | string >= 0 characters Default: "" emqx License 文件 |
{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| connectLimit required | integer <int64> |
{- "connectLimit": 0
}{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| image required | string non-empty Default: "" |
{- "image": ""
}{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| crtType | integer <int8> Default: "0" EMQX 证书类型 0: 默认值都为空 1: wss和mqtts都用 WssCaCrt 2: wss和mqtts都用 MqttsCaCrt 3: wss和mqtts都用 WssTlsCrt 4: wss和mqtts都用 MqttsTlsCrt 5: WssCaCrt + MqttsCaCrt 同时使用 6: WssTlsCrt + MqttsTlsCrt 同时使用 7: WssCaCrt + MqttsTlsCrt 同时使用 8: WssTlsCrt + MqttsCaCrt 同时使用 |
| wssCaCrt | string >= 0 characters Default: "" wss WssCaCrt 文件 |
| wssTlsCrt | string >= 0 characters Default: "" wss WssTlsCrt 文件 |
| wssTlsKey | string >= 0 characters Default: "" wss WssTlsKey 文件 |
| mqttsCaCrt | string >= 0 characters Default: "" mqtts MqttsCaCrt 文件 |
| mqttsTlsCrt | string >= 0 characters Default: "" mqtts MqttsTlsCrt 文件 |
| mqttsTlsKey | string >= 0 characters Default: "" mqtts MqttsTlsKey 文件 |
| license | string >= 0 characters Default: "" emqx License 文件 |
{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| annotations required | object |
| load_balancer_class required | string |
required | Array of objects (PortInfo) |
| type required | string |
{- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "load_balancer_class": "string",
- "ports": [
- {
- "external": 0,
- "internal": 0,
- "name": "string"
}
], - "type": "string"
}{- "data": {
- "taskId": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| endPoint required | string non-empty Default: "" |
| timeout | integer <int64> >= 1 Default: "300" |
{- "endPoint": "",
- "timeout": "300"
}{- "data": {
- "port": 0
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
{- "data": {
- "connectLimit": 0,
- "createdAt": { },
- "creator": "string",
- "dashboardEnabled": true,
- "deployName": "string",
- "desc": "string",
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "namespace": "string",
- "network": "string",
- "orgId": "string",
- "projectId": "string",
- "registrationToken": "string",
- "replicas": 0,
- "resourceLimit": "string",
- "status": 0,
- "taskId": "string",
- "type": 0,
- "upTime": { },
- "updatedAt": { },
- "version": "string"
}
}| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
{- "data": {
- "connectLimit": 0,
- "createdAt": { },
- "creator": "string",
- "dashboardEnabled": true,
- "deployName": "string",
- "desc": "string",
- "expectReplicas": 0,
- "id": "string",
- "image": "string",
- "namespace": "string",
- "network": "string",
- "orgId": "string",
- "projectId": "string",
- "registrationToken": "string",
- "replicas": 0,
- "resourceLimit": "string",
- "status": 0,
- "taskId": "string",
- "type": 0,
- "upTime": { },
- "updatedAt": { },
- "version": "string"
}
}| orgId required | string >= 8 characters orgID |
| projectId required | string >= 8 characters projectID |
| clusterId required | string non-empty deployID |
| deployName | string Default: "" |
| desc | string [ 0 .. 500 ] characters Default: "" |
{- "deployName": "",
- "desc": ""
}{ }| clusterId required | string non-empty |
| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| resourceLimit required | string non-empty resource_limit: global config EmqxQuota.Name |
{- "data": {
- "taskId": "string"
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| image required | string |
| serviceId required | string |
[- {
- "image": "string",
- "serviceId": "string"
}
]{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| category required | integer <uint8> edge service properties (1:kuiper;2:neuron; 3:edge; 4:neuronex; 99:customize) |
| cmd | string Default: "" CMD & Entrypoint |
| containerName required | string |
| desc | string [ 0 .. 500 ] characters Default: "" |
| disableAuth required | boolean |
| dockerIaasId required | integer <uint64> Docker iaas info |
| entrypoint | string Default: "" |
| environments | Array of strings Default: "" RestartPolicy string |
| image required | string image pull secret |
| ports | object Default: "" port |
| registryPassword | string Default: "" |
| registryUsername | string Default: "" |
| serviceName required | string |
| shell | Array of strings Default: "" |
| tag | string Default: "" |
| volumes | object Default: "" |
[- {
- "category": 0,
- "cmd": "",
- "containerName": "string",
- "desc": "",
- "disableAuth": true,
- "dockerIaasId": 0,
- "entrypoint": "",
- "environments": "",
- "image": "string",
- "ports": "",
- "registryPassword": "",
- "registryUsername": "",
- "serviceName": "string",
- "shell": "",
- "tag": "",
- "volumes": ""
}
]{- "batchId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
[- {
- "serviceId": "string"
}
]{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| desc | string Default: "" |
| dockerHost required | string Tls bool |
| name required | string |
{- "desc": "",
- "dockerHost": "string",
- "name": "string"
}0| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| name | string Default: "" |
| limit | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
{- "data": {
- "data": [
- {
- "created_at": { },
- "id": 0,
- "updated_at": { },
- "desc": "string",
- "dockerHost": "string",
- "name": "string",
- "orgId": "string",
- "projectId": "string",
- "edgeserviceNum": 0
}
], - "total": 0
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| id required | integer <uint64> |
{- "created_at": { },
- "id": 0,
- "updated_at": { },
- "desc": "string",
- "dockerHost": "string",
- "name": "string",
- "orgId": "string",
- "projectId": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| id required | integer <uint64> >= 0 |
| cacertPath | string Default: "" cacertPath, certPath, keyPath |
| certPath | string Default: "" |
| desc | string Default: "" |
| keyPath | string Default: "" |
| name required | string |
| tls | boolean Default: "false" DockerHost string |
{- "cacertPath": "",
- "certPath": "",
- "desc": "",
- "keyPath": "",
- "name": "string",
- "tls": "false"
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| id required | integer <uint64> >= 0 |
| limit | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
{- "data": [
- {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { },
- "tags": [
- "string"
]
}
], - "total": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| agentId required | string |
| name required | string |
| type required | integer <int64> |
| size | integer <int32> [ 1 .. 100 ] Default: "100" |
| offset | integer <int32> >= 0 Default: "0" |
| sort | string Default: "" 字段名 |
| order | string Default: "desc" asc/desc |
{- "offset": 0,
- "size": 0,
- "total": 0,
- "agents": [
- {
- "createdAt": { },
- "id": "string",
- "updatedAt": { },
- "agentId": "string",
- "desc": "string",
- "name": "string",
- "orgId": "string",
- "projectId": "string",
- "status": 0,
- "timestamp": 0
}
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| agentId required | string |
| desc | string Default: "" |
| name required | string |
{- "agentId": "string",
- "desc": "",
- "name": "string"
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| agentIds required | Array of strings |
| targetOrgId required | string |
| targetProjectId required | string |
{- "agentIds": [
- "string"
], - "targetOrgId": "string",
- "targetProjectId": "string"
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| agentId required | string |
| desc required | string |
| name required | string |
{- "desc": "string",
- "name": "string"
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters orgID |
| projectId required | string >= 8 characters projectID |
| size | integer <int64> [ -1 .. 50 ] Default: "10" 分页数 |
| offset | integer <int64> >= 0 Default: "0" 分页偏移 |
| type | integer <int64> Default: "0" 0-all, 1-online, 2-offline |
| category required | Array of integers <int8> [ items <int8 > ] 1-ekuiper, 2-neuron, 3-nanomq |
| nodeType | integer <int8> Default: "0" 0-all, 3-proxy, 4-direct |
| name | string Default: "" |
| agentName | string Default: "" |
| unionFuzzy | string Default: "" 多字段联合模糊搜索,包含name、endpoint、version、desc,此时不返回normal数量 |
| noTags required | boolean |
| tagIds required | Array of integers <uint64> [ items <uint64 > ] |
| toClone required | boolean toClone = true 时,ekuiper version >= 1.8.0,neuron version >= 2.4.0 |
| isPartial required | boolean toClone = true 时有效,isPartial = true 时,ekuiper version >= 1.9.0, neuron 暂不支持 |
| isEcpInstalled | boolean Default: "false" |
| dockerName | string Default: "" |
{- "data": {
- "list": [
- {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { },
- "tags": [
- "string"
]
}
], - "total": 0
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| agentId | string Default: "" |
| auth | integer <int8> Default: "0" 认证类型(0:无认证; 1:basic; 2:jwt) |
| broker | string [ 0 .. 100 ] characters Default: "" |
| category required | integer <int8> 服务类别(1:ekuiper;2:neuron; 3:nanomq; 4:neuronex 99:customize) |
| desc | string [ 0 .. 500 ] characters Default: "" |
| endpoint required | string |
| key | string [ 0 .. 500 ] characters Default: "" |
| name required | string Default: "" |
| nodeType | integer <int8> Default: "4" 节点类型(3:proxy; 4:direct) |
| scheme | string Default: "http" |
| secret | string [ 0 .. 500 ] characters Default: "" 经aes-cbc及base64加密 |
| tag required | string |
{- "agentId": "",
- "auth": "0",
- "broker": "",
- "category": 0,
- "desc": "",
- "endpoint": "string",
- "key": "",
- "name": "",
- "nodeType": "4",
- "scheme": "http",
- "secret": "",
- "tag": "string"
}{- "data": {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { }
}, - "tip": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceIds required | Array of strings Default: "" |
| tag required | string |
{- "serviceIds": "",
- "tag": "string"
}{- "failedServiceNames": [
- "string"
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeServiceId required | string non-empty |
{- "data": {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { },
- "tags": [
- "string"
]
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeServiceId required | string non-empty |
| agentId | string Default: "" |
| auth | integer <int8> Default: "0" 认证类型(0:无认证; 1:basic; 2:jwt) |
| broker | string Default: "" |
| category required | integer <int8> 服务类别(1:ekuiper;2:neuron; 3:nanomq) |
| desc | string [ 0 .. 500 ] characters Default: "" |
| endpoint required | string |
| key | string Default: "" |
| name required | string Default: "" |
| nodeType | integer <int8> Default: "4" 节点类型(3:proxy; 4:direct) |
| scheme | string Default: "http" |
| secret | string Default: "" |
{- "agentId": "",
- "auth": "0",
- "broker": "",
- "category": 0,
- "desc": "",
- "endpoint": "string",
- "key": "",
- "name": "",
- "nodeType": "4",
- "scheme": "http",
- "secret": ""
}{- "data": {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { }
}, - "tip": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeServiceId required | string non-empty |
| tag required | string |
{- "tag": "string"
}{- "tags": [
- "string"
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| edgeServiceId required | string non-empty |
| tagLimit required | integer <int64> use pointer to avoid value 0 being treated as if the field not present |
{- "tagLimit": 0
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| defaultValue required | Array of strings |
| function required | integer <int64> 1-ekuiper,2-neuron |
| title required | Array of strings |
| type required | integer <int64> 0-all,1-partial |
| value required | Array of strings[ items ] |
{- "defaultValue": [
- "string"
], - "function": 0,
- "title": [
- "string"
], - "type": 0,
- "value": [
- [
- "string"
]
]
}{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
{- "data": [
- {
- "agentId": "string",
- "allocatedTag": 0,
- "apiVersion": "string",
- "auth": 0,
- "autoRecover": 0,
- "autoStart": 0,
- "broker": "string",
- "category": 0,
- "createdAt": { },
- "desc": "string",
- "dockerDeployId": 0,
- "edgeInfoId": "string",
- "endpoint": "string",
- "key": "string",
- "name": "string",
- "nodeType": 0,
- "orgId": "string",
- "projectId": "string",
- "scheme": "string",
- "secret": "string",
- "serviceId": "string",
- "status": 0,
- "updatedAt": { },
- "failureError": "string",
- "failureReason": "string",
- "tags": [
- "string"
], - "taskId": "string",
- "taskStatus": 0
}
], - "failureCount": 0,
- "successCount": 0
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| file required | boolean |
| ids required | Array of strings only related to export from edge directly, ekuiper version >= 1.9.0, neuron 暂不支持 |
| function required | integer <int64> 1-ekuiper,2-neuron |
{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| serviceIds required | Array of strings |
| data required | boolean |
{- "code": 0,
- "message": "string"
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| type required | integer <int64> 0-all,1-partial |
| function required | integer <int64> 1-ekuiper,2-neuron |
| template required | string |
{- "template": "string"
}{- "data": [
- "string"
]
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| serviceNames required | Array of strings |
| title required | Array of strings |
{- "serviceNames": [
- "string"
], - "title": [
- "string"
]
}{- "data": {
- "messages": [
- "string"
], - "success": true
}
}| orgId required | string >= 8 characters |
| projectId required | string >= 8 characters |
| serviceId required | string |
| defaultValue required | Array of strings |
| title required | Array of strings |
| value required | Array of strings |
{- "defaultValue": [
- "string"
], - "title": [
- "string"
], - "value": [
- "string"
]
}{- "property1": null,
- "property2": null
}| orgId required | string |
| projectId required | string |
| name required | string |
| size required | integer <int32> [ 0 .. 100 ] |
| offset required | integer <int32> >= 0 |
{- "data": [
- {
- "createdAt": { },
- "id": 0,
- "name": "string",
- "tagged": 0,
- "updatedAt": { }
}
], - "total": 0
}| orgId required | string |
| projectId required | string |
| name required | string |
| serviceIds required | Array of strings |
{- "name": "string",
- "serviceIds": [
- "string"
]
}{- "createdAt": { },
- "failedServiceNames": [
- "string"
], - "id": 0,
- "name": "string",
- "tagged": 0
}| orgId required | string |
| projectId required | string |
| tagId required | integer <uint64> |
| name required | string |
| serviceIDs required | Array of strings |
{- "name": "string",
- "serviceIDs": [
- "string"
]
}{- "createdAt": { },
- "failedServiceNames": [
- "string"
], - "id": 0,
- "name": "string",
- "tagged": 0,
- "updatedAt": { }
}| email required | string Default: "" |
| name required | string [ 1 .. 50 ] characters Default: "" |
| password required | string non-empty Default: "" |
| token required | string non-empty Default: "" |
{- "email": "",
- "name": "",
- "password": "",
- "token": ""
}{- "accessToken": "string",
- "admin": true,
- "expiresIn": 0,
- "refreshExpiresIn": 0,
- "refreshToken": "string",
- "tokenType": "string"
}| deploy_id required | string |
| type required | integer <uint8> |
| user_id required | string |
{- "deploy_id": "string",
- "type": 0,
- "user_id": "string"
}{- "task_id": "string"
}| id required | string |
| progress required | string |
| status required | integer <uint8> |
{- "progress": "string",
- "status": 0
}{- "task_id": "string"
}| nameOrEmail | string [ 0 .. 200 ] characters Default: "" |
| orgId | string Default: "" |
| admin | boolean Default: "" |
| size | integer <int32> [ 1 .. 50 ] Default: "10" |
| offset | integer <int32> Default: "0" |
{- "data": [
- {
- "admin": true,
- "createdAt": { },
- "email": "string",
- "enabled": true,
- "lastLoginTime": { },
- "mobile": "string",
- "name": "string",
- "userId": "string",
- "verified": true
}
], - "total": 0
}| admin required | boolean |
| email required | string |
| name required | string |
| password required | string |
{- "admin": true,
- "email": "string",
- "name": "string",
- "password": "string"
}{- "admin": true,
- "createdAt": { },
- "email": "string",
- "id": "string",
- "name": "string"
}| name | string Default: "" |
| orgId | string Default: "" |
| verified | boolean Default: "" |
| enabled | boolean Default: "" |
| size | integer <int32> [ -1 .. 100 ] Default: "10" |
| offset | integer <int32> Default: "0" |
{- "data": [
- {
- "admin": true,
- "email": "string",
- "name": "string",
- "userId": "string"
}
], - "total": 0
}| userId required | string [ 1 .. 40 ] characters |
| admin required | boolean |
| email required | string |
| name required | string |
{- "admin": true,
- "email": "string",
- "name": "string"
}{- "admin": true,
- "createdAt": { },
- "email": "string",
- "id": "string",
- "name": "string",
- "updatedAt": { }
}| kubeConfig required | string <binary> Config: kube-config 文件 |
| name required | string Name: 给 kube-config 取个名字 |
{- "data": {
- "config": "string",
- "createdAt": { },
- "id": 0,
- "name": "string",
- "updatedAt": { }
}
}| offset | string Example: offset=0 分页开始位置 |
| size | string Example: size=30 每页数量 |
| service_name_like | string Example: service_name_like=demo 模糊查询服务名称 |
| span_name_like | string Example: span_name_like=driver 模糊查询 Span名称 |
| attribute_like | string Example: attribute_like=nam 模糊查询 Attribute 名称 |
| start | string Example: start=2024-10-15%2003%3A02%3A06.172 开始时间 (utc) |
| end | string Example: end=2024-10-16%2003%3A02%3A06.172 结束时间 (utc) |
{- "data": [
- {
- "trace_id": "b45664f3fedbac6b3d781cde00d1e389",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:15.798",
- "duration_ms": 162.050616
}, - {
- "trace_id": "96276768ad2ed8784d8c31c0ed4b88f9",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:15.612",
- "duration_ms": 170.05465
}, - {
- "trace_id": "fdad0fe4b6670ac3778415e28ba7ea9e",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:15.424",
- "duration_ms": 174.068943
}, - {
- "trace_id": "3a79b799f4090f12bf99412a216e4d45",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:15.240",
- "duration_ms": 165.045234
}, - {
- "trace_id": "904bdf57da9561ba0916dbee536d5f46",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:15.060",
- "duration_ms": 158.064324
}, - {
- "trace_id": "53ce3aeae423523204ed2b374e03cc57",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:14.878",
- "duration_ms": 161.04129
}, - {
- "trace_id": "99607b19c63d343b1036674bafab4164",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:14.698",
- "duration_ms": 158.041126
}, - {
- "trace_id": "e19b24da9167c2d012405293ce5874ad",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:14.514",
- "duration_ms": 166.03944
}, - {
- "trace_id": "b31f2853163342f285b64186b5025132",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:14.329",
- "duration_ms": 168.049876
}, - {
- "trace_id": "ef0cfa23f5170b838015fcbdfa8d6838",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:14.143",
- "duration_ms": 170.039488
}, - {
- "trace_id": "3ea1fd41f18f7bb3a717f41e02f09cb6",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.960",
- "duration_ms": 164.042531
}, - {
- "trace_id": "f80437fb1ebd8bfff7702301a73c0bd1",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.781",
- "duration_ms": 156.042625
}, - {
- "trace_id": "77af753811e2150e6de883bcc5a15251",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.598",
- "duration_ms": 164.035773
}, - {
- "trace_id": "939490cfb5aaae9810e8d00a0b7b00dc",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.417",
- "duration_ms": 160.040425
}, - {
- "trace_id": "6a32ac7463cc6ae48543b36e475e6ad0",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.233",
- "duration_ms": 164.042463
}, - {
- "trace_id": "06fa6c1b52e18f6d07436617b47832d5",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:13.054",
- "duration_ms": 156.049014
}, - {
- "trace_id": "4ea6f613e7b8fdcf84f974b8b5e37378",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:12.871",
- "duration_ms": 164.035528
}, - {
- "trace_id": "9979dfaab4bea0b5f75a37cab985cefb",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:12.682",
- "duration_ms": 176.037949
}, - {
- "trace_id": "d2e6347093c1533c50791f006051873b",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:12.494",
- "duration_ms": 174.04264
}, - {
- "trace_id": "639176dd7e036eb629ecaab1ada62ddd",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:12.308",
- "duration_ms": 170.041062
}, - {
- "trace_id": "e2fe8adafb5afc55182c4a542f0cdd49",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:12.126",
- "duration_ms": 162.035473
}, - {
- "trace_id": "9d44b96dbecc2bd3bc28b825f50ac034",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.945",
- "duration_ms": 160.045731
}, - {
- "trace_id": "bedd75d8aa422f903b53cd87c4b0706e",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.759",
- "duration_ms": 170.047546
}, - {
- "trace_id": "1c45b68cef8a07cae844cfbf1f79c2da",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.566",
- "duration_ms": 185.042419
}, - {
- "trace_id": "a9e1df496030165a33a8e14fb56e0a62",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.384",
- "duration_ms": 162.06048
}, - {
- "trace_id": "547cfc7d6ffe6378bb33fbd78499f3a4",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.196",
- "duration_ms": 174.046116
}, - {
- "trace_id": "c0b6d9e2e599f6cd734ae5b3ad2cb719",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:11.004",
- "duration_ms": 182.049456
}, - {
- "trace_id": "deed290b57847aba54ab58ccd9565f40",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:10.818",
- "duration_ms": 170
}, - {
- "trace_id": "90b7291dc211223dd1f0bac305e7dffc",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:10.637",
- "duration_ms": 160.049139
}, - {
- "trace_id": "8d55add4b13cce87fd07d7759f86c401",
- "service_name": "local-8085-demo",
- "span_name": "driver cmd send",
- "start_time": "2024-10-15 05:55:10.448",
- "duration_ms": 176.0555
}
], - "total": 151
}{- "data": [
- {
- "service.name": "local-8085-demo",
- "parent_span_id": "",
- "span_id": "b6c1c6f508f8e150",
- "span_kind": "Server",
- "span_name": "driver cmd send",
- "duration_ms": 86,
- "time": "2024-10-15 05:55:15.612",
- "status_code": "",
- "status_message": "",
- "attributes": {
- "app.name": "neuron",
- "app.version": "2.10.0",
- "clib": "glibc",
- "clib_version": "2.35",
- "distro": "Ubuntu 22.04",
- "kernel": "5.15.0-92-generic",
- "machine": "x86_64",
- "node": "fins",
- "span.mytype": "data-collection",
- "thread id": 140203593299520
}, - "childSpan": [
- {
- "service.name": "local-8085-demo",
- "parent_span_id": "b6c1c6f508f8e150",
- "span_id": "ee3ea65d341263eb",
- "span_kind": "Server",
- "span_name": "driver cmd recv",
- "duration_ms": 84,
- "time": "2024-10-15 05:55:15.614",
- "status_code": "",
- "status_message": "",
- "attributes": {
- "app.name": "neuron",
- "app.version": "2.10.0",
- "clib": "glibc",
- "clib_version": "2.35",
- "distro": "Ubuntu 22.04",
- "kernel": "5.15.0-92-generic",
- "machine": "x86_64",
- "span.mytype": "data-collection",
- "thread id": 140203301795392
}, - "childSpan": [
- {
- "service.name": "local-8085-demo",
- "parent_span_id": "ee3ea65d341263eb",
- "span_id": "e0725164404f0c08",
- "span_kind": "Server",
- "span_name": "report cb",
- "duration_ms": 0,
- "time": "2024-10-15 05:55:15.730",
- "status_code": "",
- "status_message": "",
- "attributes": {
- "app.name": "neuron",
- "app.version": "2.10.0",
- "clib": "glibc",
- "clib_version": "2.35",
- "distro": "Ubuntu 22.04",
- "kernel": "5.15.0-92-generic",
- "machine": "x86_64",
- "mqtt": 1,
- "span.mytype": "data-collection",
- "thread id": 140203584906816
}, - "childSpan": [
- {
- "service.name": "local-8085-demo",
- "parent_span_id": "e0725164404f0c08",
- "span_id": "cab3cc0e2a957445",
- "span_kind": "Server",
- "span_name": "mqtt publish",
- "duration_ms": 0,
- "time": "2024-10-15 05:55:15.730",
- "status_code": "",
- "status_message": "",
- "attributes": {
- "app.name": "neuron",
- "app.version": "2.10.0",
- "clib": "glibc",
- "clib_version": "2.35",
- "distro": "Ubuntu 22.04",
- "error": 0,
- "kernel": "5.15.0-92-generic",
- "machine": "x86_64",
- "playload": "{\"node\": \"fins\", \"group\": \"1\", \"timestamp\": 1728971715722, \"values\": {\"1\": 0}, \"errors\": {}, \"metas\": {}}",
- "span.mytype": "data-collection",
- "thread id": 140203285009984
}, - "childSpan": [
- {
- "service.name": "emqx",
- "parent_span_id": "cab3cc0e2a957445",
- "span_id": "0e1ecd22fc1ce1b7",
- "span_kind": "Internal",
- "span_name": "process_message",
- "duration_ms": 0.05465,
- "time": "2024-10-15 05:55:15.732",
- "status_code": "",
- "status_message": "",
- "attributes": {
- "messaging.client_id": "neuron_ZN0mjK",
- "messaging.destination.name": "/neuron/mqtt",
- "process.executable.name": "/opt/emqx/bin/emqx",
- "process.runtime.description": "Erlang/OTP 25 erts-13.2.2",
- "process.runtime.name": "BEAM",
- "process.runtime.version": "13.2.2",
- "service.instance.id": "emqx@172.23.0.3",
- "service.version": "5.6.0",
- "telemetry.sdk.language": "erlang",
- "telemetry.sdk.name": "opentelemetry",
- "telemetry.sdk.version": "1.4.7-emqx"
}, - "childSpan": [ ]
}
]
}
]
}
]
}
]
}
], - "total": 5
}| brokerHost required | string |
| brokerPort required | integer |
| username | string |
| password | string |
| clientId | string |
| topic | string |
| qos | string |
| ssl | boolean |
| ca | string <binary> |
| cert | string <binary> |
| key | string <binary> |
{ }| address required | string |
| database required | string |
| username required | string |
| password required | string |
| tls required | boolean |
| pool-count required | integer |
{- "address": "string",
- "database": "string",
- "username": "string",
- "password": "string",
- "tls": true,
- "pool-count": 0
}{ }获取模型的子列表,如果id为空,则默认获取root节点下的所有子节点
新版本中添加了expendNodes 用于携带默认展开的节点uid,如下: {"nodes":[{"id":"spBv1.0/Factory1","name":"Factory1","alias":"","category":5,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz","name":"xyz","alias":"","category":5,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试","name":"测试","alias":"","category":1,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1","name":"Neuron1","alias":"","category":5,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、","name":"测试1、xyz、","alias":"","category":5,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123","name":"123","alias":"","category":2,"type":0,"isLeaf":false,"status":"online","children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/ctt","name":"ctt","alias":"","category":3,"type":0,"isLeaf":false,"status":"online","children":null},{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/x","name":"x","alias":"","category":6,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/x/y","name":"y","alias":"","category":6,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/x/y/z","name":"z","alias":"","category":3,"type":0,"isLeaf":false,"status":"online","children":null}]}]}]}]}]}]}]}]},{"id":"spBv1.0/kunming01","name":"kunming01","alias":"","category":1,"type":0,"isLeaf":false,"children":[{"id":"spBv1.0/kunming01/wuhua01","name":"wuhua01","alias":"","category":2,"type":0,"isLeaf":false,"status":"online","children":[{"id":"spBv1.0/kunming01/wuhua01/ctt","name":"ctt","alias":"","category":3,"type":0,"isLeaf":false,"status":"online","children":null}]},{"id":"spBv1.0/kunming01/wuhua02","name":"wuhua02","alias":"","category":2,"type":0,"isLeaf":false,"status":"online","children":[{"id":"spBv1.0/kunming01/wuhua02/x","name":"x","alias":"","category":3,"type":0,"isLeaf":false,"status":"online","children":null}]}]}],"expandNodes":["spBv1.0/Factory1","spBv1.0/Factory1/xyz","spBv1.0/Factory1/xyz/测试","spBv1.0/Factory1/xyz/测试/Neuron1","spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、","spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123","spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/x","spBv1.0/Factory1/xyz/测试/Neuron1/测试1、xyz、/123/x/y","spBv1.0/kunming01","spBv1.0/kunming01/wuhua01","spBv1.0/kunming01/wuhua02"]}
| id | string Example: id=spBv1.0/factory1/line1/modubus1 |
{- "nodes": [
- {
- "id": "string",
- "name": "string",
- "alias": "string",
- "node-type": "string",
- "value": "string",
- "datatype": "string"
}
], - "expandNodes": [
- "string"
]
}{- "id": "string",
- "name": "string",
- "alias": "string",
- "category": "string",
- "type": "string",
- "isLeaf": "string",
- "children": [
- {
- "id": "string",
- "name": "string",
- "alias": "string",
- "category": "string",
- "isLeaf": "string",
- "children": [
- "string"
]
}
]
}{- "id": "string",
- "nodeType": "string",
- "alias": "string",
- "fullAlias": "string",
- "datalayersName": "string",
- "tags": [
- "string"
], - "statics": {
- "lastOmDate": "string",
- "setupDate": "string",
- "sn": "string",
- "type": "string"
}
}| id required | string Example: id=spBv1.0/factory1/line1/modubus1 |
| alias | string 别名 |
| staticType | string 设备类型 |
| staticSn | string 设备序列号 |
| staticSetupDate | string 设备安装日期 |
| staticLastOmDate | string 设备最后维护日期 |
{- "alias": "string",
- "staticType": "string",
- "staticSn": "string",
- "staticSetupDate": "string",
- "staticLastOmDate": "string"
}{ }| id required | string Example: id=spBv1.0/factory1/line1/modubus1/tag01 |
| value required | string |
| datatype required | integer |
{- "value": "string",
- "datatype": 0
}{ }required | Array of objects |
| value required | string |
| datatype required | integer |
{- "metrics": [
- {
- "id": "string",
- "value": 0
}
], - "value": "string",
- "datatype": 0
}{ }