backend/app/routing/routers/api/v1/menu.routes.js

19 lines
304 B
JavaScript
Raw Normal View History

module.exports = exports = {
prefix: '/api/v1/menu',
middleware: [],
get: {
// Get the user's menu tree
'/items': [
['middleware::auth:ApiRoute', { allow_public: true }],
'controller::api:v1:Menu.get_items',
],
},
post: {
},
}