From ed8e3ba0147b16cd09483915ab501a2bbb0a7cb6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 8 Nov 2018 22:46:24 -0700 Subject: [PATCH] Update API routes --- routes/api.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/api.php b/routes/api.php index 8ddca964a..e8e863ec0 100644 --- a/routes/api.php +++ b/routes/api.php @@ -14,3 +14,7 @@ use Illuminate\Http\Request; */ Route::post('/users/{username}/inbox', 'FederationController@userInbox'); +Route::group(['prefix' => 'api/v2'], function() { + Route::get('profile/{username}/status/{postid}', 'PublicApiController@status'); + Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments'); +}); \ No newline at end of file