Appearance
HTTP Endpoints
This reference is aligned with server/src/routes/http.ts.
Auth labels in this page:
None: no authAuth: authenticated userAdmin: admin-onlyToken/Auth: navigation token or authenticated user
Authentication and users
| Methods | Path | Auth |
|---|---|---|
| GET | /.well-known/jwks.json | None |
| POST | /login | None |
| POST | /register | Admin |
| POST | /change-password | Auth |
| GET, DELETE | /users/:userId | Admin |
| GET | /users | Admin |
Beacons and gateways
| Methods | Path | Auth |
|---|---|---|
| GET | /beacon/:mac/info | Admin |
| GET | /beacon/:id/intervals | Auth |
| GET, POST, DELETE | /beacon/:id | Admin for mutating methods |
| GET | /beacons/:limit | Admin |
| GET, POST | /beacons | Auth, Admin for POST |
| GET, POST, DELETE | /gateway/:id | Admin for mutating methods |
| GET, POST | /gateways | Auth, Admin for POST |
Locations, logs, and events
| Methods | Path | Auth |
|---|---|---|
| GET, POST | /locations | Auth, Admin for POST |
| GET | /logs | Auth |
| GET | /events | Auth |
| GET | /events/export | Admin |
Maps
| Methods | Path | Auth |
|---|---|---|
| GET | /maps/overview | Auth |
| GET | /maps/image | Auth |
| GET | /maps/:id/overview | Auth |
| GET | /maps/:id/zones | Auth |
| GET | /maps/:id/gateways | Auth |
| GET, POST, DELETE | /map/:id | Admin for mutating methods |
| POST | /maps/upload | Admin |
| GET, POST | /maps | Auth, Admin for POST |
LLD and status
| Methods | Path | Auth |
|---|---|---|
| GET | /lld/beacons | None |
| GET | /lld/gateways | None |
| GET | /version | None |
| GET | /status/kiss | Auth |
| GET | /status/mqtt | Auth |
Import and deploy
| Methods | Path | Auth |
|---|---|---|
| GET | /import/beacons | Admin |
| GET | /import/gateways | Admin |
| POST | /deploy | None |
Tracking
| Methods | Path | Auth |
|---|---|---|
| GET | /tracking/start/:alg | Admin |
| GET | /tracking/stop | Admin |
| GET | /tracking/status | Auth |
| GET | /tracking/algorithms/current | Auth |
| GET | /tracking/algorithms | Auth |
| GET | /tracking/:id | Auth (non-admin: active trackable beacons only; admins: any MAC) |
Simple-user RTLS (read-only)
These routes require the rtls server feature. They return 400 when RTLS is disabled.
| Methods | Path | Auth |
|---|---|---|
| GET | /user/rtls/trackable-beacons | Auth |
| GET | /user/rtls/beacons/:mac/zone-intervals | Auth |
Query parameters for zone intervals: limit (default 30, max 200), cursor (offset into newest-first interval list; next_cursor in the response is the value to pass for the next page, or null when exhausted).
Navigation (floors, graph, mobile payload)
| Methods | Path | Auth |
|---|---|---|
| GET, POST | /floors | Auth, Admin for POST |
| GET, POST, DELETE | /floor/:id | Admin for mutating methods |
| GET, POST | /floor/:id/nodes | Admin for POST |
| POST, DELETE | /node/:id | Admin |
| GET, POST | /floor/:id/edges | Admin for POST |
| POST, DELETE | /edge/:id | Admin |
| GET, POST | /floor/:id/graph | Auth for GET, Admin for POST |
| GET, POST | /navigation/tokens | Admin |
| DELETE | /navigation/token/:id | Admin |
| GET | /navigation/mobile-key | Auth |
| GET | /navigation/mobile/snapshot | Token/Auth |
| GET | /navigation/mobile/catalog | Token/Auth |
| GET | /navigation/mobile/project/:id | Token/Auth |
| GET | /navigation/project/:id | Token/Auth |
| GET | /navigation/project/:id/sha | Token/Auth |
| GET | /navigation/floor/:id/map | Token/Auth |
| POST | /navigation/pathfind | Token/Auth |
Features, sensors, and Grafana datasource
| Methods | Path | Auth |
|---|---|---|
| GET | /features | Auth |
| GET, PATCH | /settings | Admin |
| GET | /sensors/alerts | Admin |
| GET | /sensors/devices | Auth |
| GET | /sensors/history | Auth |
Long since/until spans are downsampled on the server (latest reading per time bucket per device and metric) so responses stay bounded; short spans return raw rows (subject to a row cap). | GET | /grafana | Localhost or Auth | | POST | /grafana/search | Localhost or Auth | | POST | /grafana/metrics | Localhost or Auth | | POST | /grafana/query | Localhost or Auth |
Static frontend assets
| Methods | Path |
|---|---|
| GET | / |
| GET | /index.html |
| GET | /css/:filename |
| GET | /js/:filename |
| GET | /images/:filename |
| GET | /webfonts/:filename |