Split into multiple markdown files
This commit is contained in:
48
display-qlocal.md
Normal file
48
display-qlocal.md
Normal file
@@ -0,0 +1,48 @@
|
||||
### GET /ibmmq/rest/v1/admin/qmgr/{qmgrName}/queue
|
||||
```bash
|
||||
# Get all queues
|
||||
curl -X GET \
|
||||
--insecure --header 'Accept: application/json' \
|
||||
-u admin:passw0rd \
|
||||
'https://localhost:9443/ibmmq/rest/v1/admin/qmgr/QM1/queue'
|
||||
|
||||
# Get all DEV* queues
|
||||
curl -X GET \
|
||||
--insecure --header 'Accept: application/json' \
|
||||
-u admin:passw0rd \
|
||||
'https://localhost:9443/ibmmq/rest/v1/admin/qmgr/QM1/queue?name=DEV*'
|
||||
```
|
||||
|
||||
## Expected output
|
||||
### Search for all queues, or queues that does exist.
|
||||
Status: 200 OK
|
||||
```json
|
||||
{
|
||||
"queue": [
|
||||
{
|
||||
"name": "DEV.DEAD.LETTER.QUEUE",
|
||||
"type": "local"
|
||||
},
|
||||
{
|
||||
"name": "DEV.QUEUE.3",
|
||||
"type": "local"
|
||||
},
|
||||
{
|
||||
"name": "DEV.QUEUE.1",
|
||||
"type": "local"
|
||||
},
|
||||
{
|
||||
"name": "DEV.QUEUE.2",
|
||||
"type": "local"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Search for queue that doesn't exist
|
||||
Status: 200 OK
|
||||
```json
|
||||
{
|
||||
"queue": []
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user