mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update web routes
This commit is contained in:
parent
46c9a3742e
commit
0569846f15
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('bookmarks', 'InternalApiController@bookmarks');
|
Route::get('bookmarks', 'InternalApiController@bookmarks');
|
||||||
Route::get('collection/items/{id}', 'CollectionController@getItems');
|
Route::get('collection/items/{id}', 'CollectionController@getItems');
|
||||||
Route::post('collection/item', 'CollectionController@storeId');
|
Route::post('collection/item', 'CollectionController@storeId');
|
||||||
|
Route::delete('collection/item', 'CollectionController@deleteId');
|
||||||
Route::get('collection/{id}', 'CollectionController@get');
|
Route::get('collection/{id}', 'CollectionController@get');
|
||||||
Route::post('collection/{id}', 'CollectionController@store');
|
Route::post('collection/{id}', 'CollectionController@store');
|
||||||
Route::delete('collection/{id}', 'CollectionController@delete')->middleware('throttle:maxCollectionsPerHour,60')->middleware('throttle:maxCollectionsPerDay,1440')->middleware('throttle:maxCollectionsPerMonth,43800');
|
Route::delete('collection/{id}', 'CollectionController@delete')->middleware('throttle:maxCollectionsPerHour,60')->middleware('throttle:maxCollectionsPerDay,1440')->middleware('throttle:maxCollectionsPerMonth,43800');
|
||||||
|
|
Loading…
Reference in a new issue