backend/app/routing/routers/api/v1/data.routes.js
garrettmills 9df5f2d5f4
All checks were successful
continuous-integration/drone/push Build is passing
Split API into multiple files & setup public user permissions
2020-11-11 12:23:31 -06:00

16 lines
261 B
JavaScript

module.exports = exports = {
prefix: '/api/v1/data',
middleware: [],
get: {
// Export the entire personal tree as HTML
'/export/html': ['middleware::auth:ApiRoute', 'controller::Export.html_export'],
},
post: {
},
}