Added API handler for getting a benchmark's info

This commit is contained in:
Gregory Ballantine committed 2024-06-03 12:37:13 -04:00
1 parent 94794f2ca1
commit b9b881ec0c
2 files changed
+26

No files matched your search

+4
View File
@@ -34,3 +34,7 @@ $app->group('/result', function(RouteCollectorProxy $group) {
$app->group('/reports', function(RouteCollectorProxy $group) {
$group->get('/generate', '\\BitGoblin\\Colossus\Controllers\ReportController:getGenerate')->setName('reports.generate');
});
$app->group('/api', function(RouteCollectorProxy $group) {
$group->get('/benchmark/{benchmark_id}', '\\BitGoblin\\Colossus\\Controllers\\ApiController:getBenchmark')->setName('api.benchmark');
});