Update API routes

This commit is contained in:
Daniel Supernault 2018-11-08 22:46:24 -07:00
parent a2599ee52e
commit ed8e3ba014
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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');
});