Added API handler for getting a benchmark's tests

This commit is contained in:
Gregory Ballantine
2024-06-03 12:39:33 -04:00
parent 10df46be3b
commit 4a4f694831
2 changed files with 11 additions and 0 deletions

View File

@ -37,4 +37,5 @@ $app->group('/reports', function(RouteCollectorProxy $group) {
$app->group('/api', function(RouteCollectorProxy $group) {
$group->get('/benchmark/{benchmark_id}', '\\BitGoblin\\Colossus\\Controllers\\ApiController:getBenchmark')->setName('api.benchmark');
$group->get('/benchmark/{benchmark_id}/tests', '\\BitGoblin\\Colossus\\Controllers\\ApiController:getBenchmarkTests')->setName('api.benchmark');
});