mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update API routes
This commit is contained in:
parent
a2599ee52e
commit
ed8e3ba014
1 changed files with 4 additions and 0 deletions
|
@ -14,3 +14,7 @@ use Illuminate\Http\Request;
|
|||
*/
|
||||
Route::post('/users/{username}/inbox', 'FederationController@userInbox');
|
||||
|
||||
Route::group(['prefix' => 'api/v2'], function() {
|
||||
Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
|
||||
Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments');
|
||||
});
|
Loading…
Reference in a new issue