Finalize file API (references #58)

This commit is contained in:
Bernd Bestel
2018-09-30 22:16:33 +02:00
parent c675b534ef
commit e5fb609c8e
4 changed files with 95 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ $app->group('/api', function()
// Files
$this->post('/files/upload/{group}', '\Grocy\Controllers\FilesApiController:Upload');
$this->get('/files/get/{group}', '\Grocy\Controllers\FilesApiController:ServeFile');
// Users
$this->get('/users/get', '\Grocy\Controllers\UsersApiController:GetUsers');