X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fapi.php;h=d9f44ad4c1db850919998d7ae83f5f7dd2a9cddf;hb=4f4b2fd64141cbbff953881e2705602a00b85df5;hp=1b0ea84e4a065335e9e2d4247d8ba0ec0c2980ec;hpb=a5e53546a5960f54fb45e06767f89e9dfeef6a47;p=alttp.git diff --git a/routes/api.php b/routes/api.php index 1b0ea84..d9f44ad 100644 --- a/routes/api.php +++ b/routes/api.php @@ -38,10 +38,13 @@ Route::get('protocol/{tournament}', 'App\Http\Controllers\ProtocolController@for Route::post('results', 'App\Http\Controllers\ResultController@create'); Route::post('rounds', 'App\Http\Controllers\RoundController@create'); +Route::put('rounds/{round}', 'App\Http\Controllers\RoundController@update'); Route::post('rounds/{round}/lock', 'App\Http\Controllers\RoundController@lock'); Route::post('rounds/{round}/setSeed', 'App\Http\Controllers\RoundController@setSeed'); Route::post('rounds/{round}/unlock', 'App\Http\Controllers\RoundController@unlock'); +Route::get('tech/{tech:name}', 'App\Http\Controllers\TechniqueController@single'); + Route::get('tournaments/{id}', 'App\Http\Controllers\TournamentController@single'); Route::post('tournaments/{tournament}/apply', 'App\Http\Controllers\TournamentController@apply'); Route::post('tournaments/{tournament}/close', 'App\Http\Controllers\TournamentController@close');