|
|
|
@ -85,6 +85,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
|
|
|
|
Route::get('timelines/home', 'PublicApiController@homeTimelineApi');
|
|
|
|
|
});
|
|
|
|
|
Route::group(['prefix' => 'v2'], function() {
|
|
|
|
|
Route::get('config', 'ApiController@siteConfiguration');
|
|
|
|
|
Route::get('discover', 'InternalApiController@discover');
|
|
|
|
|
Route::get('discover/posts', 'InternalApiController@discoverPosts');
|
|
|
|
|
Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
|
|
|
|
@ -97,7 +98,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
|
|
|
|
});
|
|
|
|
|
Route::group(['prefix' => 'local'], function () {
|
|
|
|
|
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
|
|
|
|
|
Route::post('i/more-comments', 'ApiController@loadMoreComments');
|
|
|
|
|
Route::post('status/compose', 'InternalApiController@compose');
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|