Last Updated on : 2023-06-21 07:13:08download
Get the MQTT connection management configurations, used by the web component.
POST: /v1.0/industry/monitor/mqtt-config-get
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
connect_id | String | false | Ignored. | |
link_type | String | false | Ignored. | |
cat_key | String | false | Ignored. | |
cat_val | String | false | Ignored. |
Parameter name | Type | Description |
---|---|---|
result | MqttConfigResp | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
topics | List |
The list of topics. |
username | String | The username. |
url | String | The address to be connected. |
password | String | The password used for connection. |
POST: /v1.0/industry/monitor/mqtt-config-get
{
"result": {
"topics": [
"/av/u/AY1636961564510mF4i9qsIUmX7bSWzphDlSPRkVG****"
],
"url": "wss://***.***.com:443/mqtt",
"password": "1d0ddb4b6923628a31e1e1702f7fe***",
"username": "web_AY1636961564510mF4i9qsIUmX7bSWzphDlSPRkVGj****"
},
"t": 1636961564530,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback