SAML; Dashboard

This commit is contained in:
garrettmills
2020-05-03 20:16:54 -05:00
parent e3ecfb0d37
commit c389e151b5
1778 changed files with 148410 additions and 82 deletions

View File

@@ -0,0 +1,21 @@
const profile_routes = {
prefix: '/api/v1/profile',
middleware: [
'auth:UserOnly',
],
get: {
'/:user_id': [ // user_id | 'me'
'controller::api:v1:Profile.fetch',
],
},
patch: {
'/:user_id': [ // user_id | 'me'
'controller::api:v1:Profile.update',
],
},
}
module.exports = exports = profile_routes