Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dederomagnolo authored May 7, 2021
1 parent 4d8e412 commit 418d454
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions bethere-websocket-tests-be/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,36 @@
}
```

##### SETTINGS #####
- `/settings` POST
:get sttings of a specific device

```json
{
"deviceId": "607c8e83f28e8a1248e57283"
}
```

- `/settings/new` POST
:create settings for a device

```json
{
"userId": "607c7c84e3c6d43b78adabf1",
"deviceId": "607c80f7a94ffa3850d9f162"
}
```

- `/settings/edit` POST
:create settings for a device

```json
{
"deviceId": "607c80f7a94ffa3850d9f162",
"settingsName": "My custom settings",
"backlight": 20, //exact hour
"pumpTimer": 120, // minutes
"localMeasureInterval": 10, //seconds
"remoteMeasureInterval: 15" //minutes
}
```

0 comments on commit 418d454

Please sign in to comment.