|
|
@ -46,6 +46,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
|
|
|
Route::get('notifications', 'InternalApiController@notifications');
|
|
|
|
Route::get('notifications', 'InternalApiController@notifications');
|
|
|
|
Route::post('notifications', 'InternalApiController@notificationMarkAllRead');
|
|
|
|
Route::post('notifications', 'InternalApiController@notificationMarkAllRead');
|
|
|
|
Route::get('discover', 'InternalApiController@discover');
|
|
|
|
Route::get('discover', 'InternalApiController@discover');
|
|
|
|
|
|
|
|
Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
|
|
|
|
|
|
|
|
Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
Route::group(['prefix' => 'local'], function () {
|
|
|
|
Route::group(['prefix' => 'local'], function () {
|
|
|
|
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
|
|
|
|
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
|
|
|
|