فهرست منبع

Add api route

Daniel Supernault 6 سال پیش
والد
کامیت
f40d4b77da
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      config/pixelfed.php
  2. 1 0
      routes/web.php

+ 1 - 1
config/pixelfed.php

@@ -23,7 +23,7 @@ return [
     | This value is the version of your PixelFed instance.
     | This value is the version of your PixelFed instance.
     |
     |
     */
     */
-    'version' => '0.5.3',
+    'version' => '0.5.4',
 
 
     /*
     /*
     |--------------------------------------------------------------------------
     |--------------------------------------------------------------------------

+ 1 - 0
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('comments/{username}/status/{postId}', 'PublicApiController@statusComments');
             Route::get('likes/profile/{username}/status/{id}', 'PublicApiController@statusLikes');
             Route::get('likes/profile/{username}/status/{id}', 'PublicApiController@statusLikes');
             Route::get('shares/profile/{username}/status/{id}', 'PublicApiController@statusShares');
             Route::get('shares/profile/{username}/status/{id}', 'PublicApiController@statusShares');
+            Route::get('status/{id}/replies', 'InternalApiController@statusReplies');
         });
         });
         Route::group(['prefix' => 'local'], function () {
         Route::group(['prefix' => 'local'], function () {
             Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
             Route::get('i/follow-suggestions', 'ApiController@followSuggestions');