Get current driver position
GET/:id/position
Returns the last recorded position of the driver along with all associated metadata.Primary use cases:- Display real-time location on maps- Calculate ETA (Estimated Time of Arrival)- Verify compliance with assigned routeExample flow:1. Mobile app sends position every 5 minutes2. Server stores and updates last position3. Client queries this endpoint for visualizationLimitations:- Maximum 1 query per second- Accuracy of 6 decimal places (~11cm)- Data is purged after 30 daysExample request:httpGET /api/drivers/5f8d3b7b3f6b8a1b9c3b7b3f/position?lang=es
Request
Responses
- 200
- 404
Current driver position
Driver not found or no registered position