Update RESTAPI.md

This commit is contained in:
wglettig
2020-02-28 14:53:00 +01:00
committed by GitHub
parent 3830eba21e
commit 1f5ace111b

View File

@@ -175,12 +175,37 @@ or
}
```
```json
{
"SHX":2.2
"message":"SHX->2.2."
}
```
# SETTING Stream Path
**Definition**
`POST /newgon/mode?mode=1`
`POST /newgon/path`
**Arguments**
```json
{
"gridSH": {"start" : [0 1 1],
"end" : [1 2 4],
"n_u" : 10,
"n_v" : 1,
"f" : 10
}
"gridO": {"start" : [0 1 1],
"end" : [1 2 4],
"n_u" : 10,
"n_v" : 1,
"f" : 10
}
"path": [{"OX"=1,"OY"=2,"OZ"=3}
"SHX":2
}
```