add route to get platform status

This commit is contained in:
Girish Ramakrishnan
2022-11-30 19:54:32 +01:00
parent f27847950c
commit 79cb8ef251
5 changed files with 21 additions and 7 deletions
+1
View File
@@ -150,6 +150,7 @@ function initializeExpressSync() {
// config route (for dashboard). can return some private configuration unlike status
router.get ('/api/v1/config', token, authorizeUser, routes.cloudron.getConfig);
router.get ('/api/v1/platform_status', token, authorizeUser, routes.cloudron.getPlatformStatus);
// working off the user behind the provided token
router.get ('/api/v1/profile', token, authorizeUser, routes.profile.get);