path |
type |
conditions |
description |
ws.reset_obniz_on_ws_disconnection |
boolean |
|
|
// Json Example
[
{
"ws": {
"reset_obniz_on_ws_disconnection": false
}
}
]
all things ready
path |
type |
conditions |
description |
ws.ready |
boolean |
|
|
//Response Example
[
{
"ws": {
"ready": true
}
}
]
target device information
path |
type |
conditions |
description |
ws.obniz.hw |
string |
|
Hardware Identifier String of target device |
ws.obniz.firmware |
string |
|
Installed firmware version of target device |
//Response Example
[
{
"ws": {
"obniz": {
"hw": "obnizb1",
"firmware": "2.0.0"
}
}
}
]
If the server required you to connect other endpoint to communicate with your obniz. This json will be sent.
path |
type |
conditions |
description |
ws.redirect |
string |
|
The url you should redirect to. |
//Response Example
[
{
"ws": {
"redirect": "wss://ws1.obniz.io"
}
}
]