Get Recent Locations
GET/api/v1/devices/:uuid/locations/recent
Get recent locations for a device, independent of sessions.
Returns the most recent GPS points for the device, ordered newest-first. Useful for rendering device trails when no session history exists (e.g. simulation devices or devices that haven't started shifts).
- Managers/owners: Can view locations for any workspace device
- Field workers: Can only view locations for their own device
Request
Responses
- 200
- 401
- 403
- 404
- 422
OK
Unauthorized
Forbidden
Not Found
Validation Error