Add endpoints: /api/gps/latest-any and /api/gps/recent
This commit is contained in:
@@ -7,4 +7,6 @@ Route::get('/health', fn () => response()->json(['ok' => true]));
|
||||
|
||||
Route::post('/gps', [GpsController::class, 'store']);
|
||||
Route::get('/gps/latest', [GpsController::class, 'latest']);
|
||||
Route::get('/gps/track', [GpsController::class, 'track']);
|
||||
Route::get('/gps/track', [GpsController::class, 'track']);
|
||||
Route::get('/gps/latest-any', [GpsController::class, 'latestAny']);
|
||||
Route::get('/gps/recent', [GpsController::class, 'recent']);
|
||||
|
||||
Reference in New Issue
Block a user