1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update api routes

This commit is contained in:
Daniel Supernault 2022-09-05 02:37:16 -06:00
parent 99fb80bf5d
commit a68e95fe10
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -101,6 +101,7 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
Route::post('report', 'Api\ApiV1Dot1Controller@report')->middleware($middleware);
Route::delete('accounts/avatar', 'Api\ApiV1Dot1Controller@deleteAvatar')->middleware($middleware);
Route::get('direct/thread', 'DirectMessageController@thread')->middleware($middleware);
Route::post('direct/thread/send', 'DirectMessageController@create')->middleware($middleware);
Route::group(['prefix' => 'stories'], function () use($middleware) {
Route::get('recent', 'StoryController@recent')->middleware($middleware);