Split into multiple markdown files

This commit is contained in:
2024-04-28 23:38:14 +02:00
parent 81e1f97a27
commit 6f311825c0
4 changed files with 83 additions and 23 deletions

48
display-qlocal.md Normal file
View 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": []
}
```