This article shows how to search for ActiveMQ managers using the REST API.
Search ActiveMQ Managers
GET /activemq/managers
Search for ActiveMQ managers
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/managers?nodeName=CMACTIVEMQ&managerName=Activemq-server' \ -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. |
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., managerName:asc,nodeName: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 Manager objects.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Manager objects
[
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server"
}
]
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI