To retrieve information about IBM MQ Channel Authentication records using the REST API, you can use either of the following methods:
Using the REST API Documentation (Swagger):
Use the following URL to find information about IBM MQ Channel Authentication records via the REST API:
http://<your-ip-address>:8019/rest/v1/api-docs?url=/rest/v1/openapi.json#/ibmMQ.channelAuth/searchChannelAuths
Replace localhost with your IP address.
This interface provides an easy way to explore and test the searchChannelAuths endpoint, as well as other available IBM MQ REST API resources.
Using curl Command:
You can also retrieve channel authentication records using the following curl command:
curl -X 'GET' \ 'http://localhost:8019/rest/v1/ibmmq/channel-auths?attributes=%2A' \ -H 'accept: application/json' \ -H 'Authorization: Basic '