Update README.md
This commit is contained in:
@@ -15,10 +15,10 @@ collection: /status
|
||||
## Getting the state of NewGon:
|
||||
|
||||
**Definition**
|
||||
'GET /status'
|
||||
`GET /status`
|
||||
|
||||
**Responses**
|
||||
- '200 OK' - on success
|
||||
- `200 OK` - on success
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -43,11 +43,13 @@ collection: /status
|
||||
```
|
||||
|
||||
|
||||
## Setting the variables to NewGon
|
||||
## Setting the variables to NewGon
|
||||
**Definition**
|
||||
'POST /status'
|
||||
`POST /status`
|
||||
|
||||
**Arguments**
|
||||
|
||||
```json
|
||||
{
|
||||
"MODE":1,
|
||||
"STATUS":"Ready",
|
||||
@@ -67,13 +69,13 @@ collection: /status
|
||||
"phimotor":11,
|
||||
"cyclecount":123456789
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```
|
||||
GET /status
|
||||
|
||||
{
|
||||
@@ -96,7 +98,6 @@ GET /status
|
||||
"cyclecount":123456789
|
||||
}
|
||||
|
||||
|
||||
GET /params
|
||||
{
|
||||
"l1':1,
|
||||
@@ -129,4 +130,4 @@ returns
|
||||
"message":"SHX->2.2."
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user