mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 18:09:11 +00:00
update bus mode PATCH endpoint
accepting {mode: value} is a little redundant but I prefer it to modifying the bus endpoint.
added bus mode PATCH example to README
patch bump
This commit is contained in:
12
README.md
12
README.md
@@ -66,6 +66,18 @@ curl -X 'GET' \
|
||||
-H 'accept: application/json'
|
||||
```
|
||||
|
||||
*Set Bus 2 Mode*
|
||||
|
||||
```console
|
||||
curl -X 'PATCH' \
|
||||
'http://127.0.0.1:8000/bus/2/mode' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"mode": "Composite"
|
||||
}'
|
||||
```
|
||||
|
||||
*Healthcheck*
|
||||
|
||||
```console
|
||||
|
||||
Reference in New Issue
Block a user