mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +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::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