Improve file box api - add delete endpoints, categories
This commit is contained in:
@@ -15,6 +15,16 @@ module.exports = exports = {
|
||||
['middleware::api:DataInjection', { access_level: 'view' }],
|
||||
'controller::api:v1:FileBox.get_files',
|
||||
],
|
||||
'/:PageId/:FileBoxId/files/:FileBoxFileId': [
|
||||
'middleware::auth:ApiRoute',
|
||||
['middleware::api:DataInjection', { access_level: 'view' }],
|
||||
'controller::api:v1:FileBox.download_file',
|
||||
],
|
||||
'/:PageId/:FileBoxId/children': [
|
||||
'middleware::auth:ApiRoute',
|
||||
['middleware::api:DataInjection', { access_level: 'view' }],
|
||||
'controller::api:v1:FileBox.get_children',
|
||||
],
|
||||
},
|
||||
|
||||
post: {
|
||||
|
||||
Reference in New Issue
Block a user