mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Split db::devices update into seen/update and expose PUT endpoint
Scanners now call seen() (sighting semantics: stamp last_seen, preserve
registration, conditional vendor/device_type/name writes). update() is
the user-editable mutation (owner, device_type, vendor) wired to
PUT /api/devices/{mac_address}.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
792a309136
commit
54211c57d7
@@ -10,7 +10,7 @@
|
||||
- [x] One event for each device appearance
|
||||
- [x] Add date filter to device event list method (from)
|
||||
- [x] Add a data set (json) to store maps from vendors -> device type; modify the device creation so that it uses it automatically
|
||||
- [ ] Separate the devices "update" method into update and seen (one for API edit one for scanners)
|
||||
- [x] Separate the devices "update" method into update and seen (one for API edit one for scanners)
|
||||
|
||||
## Frontend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user