41 lines
249 B
Markdown
41 lines
249 B
Markdown
# Temperature API
|
|
|
|
## Scan
|
|
|
|
POST
|
|
|
|
/temps/scan
|
|
|
|
Response:
|
|
|
|
{
|
|
"type":"temp_scan_response",
|
|
"ok":true
|
|
}
|
|
|
|
## Assign
|
|
|
|
POST
|
|
|
|
/temps/assign
|
|
|
|
Body:
|
|
|
|
{
|
|
"id":"temp_1",
|
|
"index":1
|
|
}
|
|
|
|
## Clear
|
|
|
|
POST
|
|
|
|
/temps/clear
|
|
|
|
Body:
|
|
|
|
{
|
|
"id":"temp_1"
|
|
}
|
|
|