The "listBrokerConnections" action lists all available broker connections that have been created.
- You can return a filtered list by specifying a partial name in the
"partialName"property. - You can include additional items in the list by searching for words contained in the item’s metadata.
Request examples
Minimal
{
"action": "listBrokerConnections",
"authToken": "replaceWithAuthTokenFromCreateSession"
}Maximal
{
"api": "mq",
"action": "listBrokerConnections",
"apiVersion": "1.0",
"requestId": "2",
"params": {
"partialName": "M",
"search": ""
},
"authToken": "replaceWithAuthTokenFromCreateSession"
}
Response examples
Success
{
"result": {
"brokerConnectionNames": [
"MqttBroker1"
]
},
"requestId": "1",
"errorCode": 0,
"errorMessage": ""
}
Properties
Request properties ("params")
| Property | Description | Default | Type | Limits (inclusive) |
|---|---|---|---|---|
partialName |
The |
Optional with default of ""
|
string | 1 to 64 bytes |
search |
The
|
Optional with default of ""
|
string | 0 to 64 bytes |
Response properties ("result")
| Property | Description | Type | Limits (inclusive) |
|---|---|---|---|
brokerConnectionNames |
The |
array of objects |
1 object for each broker connection matching the request containing some or all of the following properties:
|