From f40d4b77dab2b0be9b761275cd971d29bbcaf5f6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 10 Dec 2018 22:42:53 -0700 Subject: [PATCH] Add api route --- config/pixelfed.php | 2 +- routes/web.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/pixelfed.php b/config/pixelfed.php index 7b71d5bcb..f5167a088 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -23,7 +23,7 @@ return [ | This value is the version of your PixelFed instance. | */ - 'version' => '0.5.3', + 'version' => '0.5.4', /* |-------------------------------------------------------------------------- diff --git a/routes/web.php b/routes/web.php index 35fc89972..cbd2f5a9d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -53,6 +53,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments'); Route::get('likes/profile/{username}/status/{id}', 'PublicApiController@statusLikes'); Route::get('shares/profile/{username}/status/{id}', 'PublicApiController@statusShares'); + Route::get('status/{id}/replies', 'InternalApiController@statusReplies'); }); Route::group(['prefix' => 'local'], function () { Route::get('i/follow-suggestions', 'ApiController@followSuggestions');