mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update web routes
This commit is contained in:
parent
a10d851fb7
commit
3985e28bcd
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('discover', 'InternalApiController@discover');
|
Route::get('discover', 'InternalApiController@discover');
|
||||||
Route::get('discover/posts', 'InternalApiController@discoverPosts')->middleware('auth:api');
|
Route::get('discover/posts', 'InternalApiController@discoverPosts')->middleware('auth:api');
|
||||||
Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
|
Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
|
||||||
|
Route::get('profile/{username}/status/{postid}/state', 'PublicApiController@statusState');
|
||||||
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');
|
||||||
|
|
Loading…
Reference in a new issue