mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 18:09:11 +00:00
update README
This commit is contained in:
parent
2ebf926b22
commit
3ce3730ab7
18
README.md
18
README.md
@ -19,10 +19,10 @@ uvicorn vmr_http.app:app
|
|||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
||||||
*Set multiple Strip parameters at once*
|
*Set multiple Strip 0 parameters at once*
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -X 'PUT' \
|
curl -X 'PATCH' \
|
||||||
'http://127.0.0.1:8000/strip/0' \
|
'http://127.0.0.1:8000/strip/0' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
@ -38,19 +38,19 @@ curl -X 'PUT' \
|
|||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Set Strip mute*
|
*Set Strip 1 mute*
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -X 'PUT' \
|
curl -X 'PATCH' \
|
||||||
'http://127.0.0.1:8000/strip/1/mute' \
|
'http://127.0.0.1:8000/strip/1' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '{
|
-d '{
|
||||||
"mute": true
|
"mute": true,
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Get Bus gain*
|
*Get Bus 3 gain*
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -X 'GET' \
|
curl -X 'GET' \
|
||||||
@ -58,11 +58,11 @@ curl -X 'GET' \
|
|||||||
-H 'accept: application/json'
|
-H 'accept: application/json'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Get Bus Mode*
|
*Get Bus 4 Mode*
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -X 'GET' \
|
curl -X 'GET' \
|
||||||
'http://127.0.0.1:8000/bus/mode/4' \
|
'http://127.0.0.1:8000/bus/4/mode' \
|
||||||
-H 'accept: application/json'
|
-H 'accept: application/json'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user