1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Added drawing update ability

This commit is contained in:
Dan Brown
2018-01-20 14:01:35 +00:00
parent 920964a561
commit 1bfd77e7a1
5 changed files with 78 additions and 1 deletions

View File

@ -89,6 +89,7 @@ Route::group(['middleware' => 'auth'], function () {
Route::get('/base64/{id}', 'ImageController@getBase64Image');
Route::put('/update/{imageId}', 'ImageController@update');
Route::post('/drawing/upload', 'ImageController@uploadDrawing');
Route::put('/drawing/upload/{id}', 'ImageController@replaceDrawing');
Route::post('/{type}/upload', 'ImageController@uploadByType');
Route::get('/{type}/all', 'ImageController@getAllByType');
Route::get('/{type}/all/{page}', 'ImageController@getAllByType');