You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const message_routes = {
|
|
prefix: '/api/v1/message',
|
|
|
|
middleware: [
|
|
'auth:UserOnly',
|
|
],
|
|
|
|
get: {
|
|
'/banners': ['controller::api:v1:Message.get_banners'],
|
|
},
|
|
|
|
post: {
|
|
'/banners/read/:banner_id': ['controller::api:v1:Message.read_banner'],
|
|
},
|
|
}
|
|
|
|
module.exports = exports = message_routes
|