This article shows how to search for ActiveMQ topics using the REST API.
Search ActiveMQ Topics
GET /activemq/topics
Search for ActiveMQ topics with optional filters and parameters.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/topics?nodeName=CMACTIVEMQ&managerName=Activemq-server&brokerName=DemoBroker&topicName=ActiveMQ.Advisory.Connection' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
nodeName |
string | Wildcard node name for search. |
managerName |
string | Wildcard manager name for search. |
brokerName |
string | Wildcard ActiveMQ Broker name for search. |
topicName |
string | Wildcard ActiveMQ Topic name for search. |
projects |
string | Filter by projects (comma-separated list of project IDs). |
filter |
string | Filter by attribute expression. |
order |
string | Order results by attributes (e.g., topicName:asc,brokerName:desc). |
limit |
integer | Maximum number of results to return. |
attributes |
string | Comma-separated list of attributes or sections to include in the response. |
validateAccessForUser |
string | Validate endpoint access for user. |
Response Codes
200 OK – Returns an array of matching ActiveMQ Topic objects.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Topic objects
[
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"topicName": "ActiveMQ.Advisory.Connection"
}
]
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI