misc: codebase path cleanup
This commit is contained in:
16
API.md
16
API.md
@@ -836,7 +836,7 @@ Devices can announce themselves by publishing to the discovery topic:
|
||||
**Behavior**:
|
||||
- New devices are automatically created with all sensors and actors
|
||||
- Existing devices are updated, and sensors/actors are synced
|
||||
- Device status is set to OK (1) upon discovery
|
||||
- Device status is set to OK (1) upon discovery (payload `device.status_id` is ignored)
|
||||
|
||||
---
|
||||
|
||||
@@ -936,12 +936,12 @@ All endpoints may return the following standard error responses:
|
||||
|
||||
### Device Status IDs
|
||||
|
||||
| ID | Status | Description |
|
||||
|----|---------|--------------------------------|
|
||||
| 1 | OK | Device is online and functioning |
|
||||
| 2 | Warning | Device has warnings |
|
||||
| 3 | Error | Device has errors |
|
||||
| 4 | Offline | Device is offline |
|
||||
| ID | Status | Description |
|
||||
|----|----------|--------------------------------------|
|
||||
| 1 | OK | Device is online and functioning |
|
||||
| 2 | Pending | Device is initializing or awaiting |
|
||||
| 3 | Lost | Device has not checked in recently |
|
||||
| 4 | Disabled | Device is administratively disabled |
|
||||
|
||||
### Date/Time Format
|
||||
|
||||
@@ -949,7 +949,7 @@ All timestamps use RFC3339 format: `2026-01-14T10:00:00Z`
|
||||
|
||||
### UUIDs
|
||||
|
||||
UUIDs follow the standard UUID v4 format: `550e8400-e29b-41d4-a716-446655440000`
|
||||
UUIDs follow the standard UUID format (any version), e.g. `550e8400-e29b-41d4-a716-446655440000`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user