add eventlog route

This commit is contained in:
Girish Ramakrishnan
2016-04-30 14:08:44 -07:00
parent 71219c6af7
commit 157fbc89b8
3 changed files with 27 additions and 0 deletions
+3
View File
@@ -176,6 +176,9 @@ function initializeExpressSync() {
router.post('/api/v1/settings/certificate', settingsScope, routes.settings.setCertificate);
router.post('/api/v1/settings/admin_certificate', settingsScope, routes.settings.setAdminCertificate);
// eventlog route
router.get('/api/v1/eventlog', settingsScope, routes.eventlog.get);
// backup routes
router.get ('/api/v1/backups', settingsScope, routes.backups.get);
router.post('/api/v1/backups', settingsScope, routes.backups.create);