Add asset GPS management endpoints

2026-05-22 23:37:10 -04:00
parent 1c4c5d70c9
commit ecf9376c9d
+8
@@ -23,6 +23,14 @@ NPMPlus proxy updated: forward_port 8901 → 8090, forward_scheme https → http
All standard admin CRUD endpoints for users, customers, locations, rooms, geofences, settings, activity log, stats, CSV exports, and database management.
### Asset GPS Management (since 9794d80)
- `GET /api/assets/{id}` — Lookup asset by ID
- `GET /api/assets/search?machine_id=` — Lookup asset by machine ID
- `DELETE /api/assets/{id}/gps` — Clear GPS coordinates (sets lat/lng to NULL)
The Export & Admin page has a "Clear Asset GPS" card where admins can enter an asset ID or machine ID, confirm, and clear GPS data.
### Cantaloupe Sync API (since f7ffa0e)
Staged import pipeline for Cantaloupe machine data: