mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update api routes
This commit is contained in:
parent
69d36fc1c1
commit
5fe9e66dd0
1 changed files with 1 additions and 0 deletions
|
@ -78,4 +78,5 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||||
Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware(array_merge($middleware, ['throttle:maxStoryDeletePerDay,1440']));
|
Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware(array_merge($middleware, ['throttle:maxStoryDeletePerDay,1440']));
|
||||||
Route::post('v1/viewed', 'StoryController@apiV1Viewed');
|
Route::post('v1/viewed', 'StoryController@apiV1Viewed');
|
||||||
});
|
});
|
||||||
|
Route::get('/api/v2/search', 'Api\ApiV1Controller@searchV2')->middlware($middleware);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue