Use tasks api for external ldap syncer

This commit is contained in:
Johannes Zellner
2019-08-29 17:19:51 +02:00
parent f8db12346d
commit b9efa8f445
5 changed files with 83 additions and 60 deletions

View File

@@ -135,6 +135,7 @@ function initializeExpressSync() {
router.get ('/api/v1/cloudron/logstream/:unit', cloudronScope, routes.cloudron.getLogStream);
router.get ('/api/v1/cloudron/eventlog', cloudronScope, routes.eventlog.list);
router.get ('/api/v1/cloudron/eventlog/:eventId', cloudronScope, routes.eventlog.get);
router.post('/api/v1/cloudron/sync_external_ldap', cloudronScope, routes.cloudron.syncExternalLdap);
// tasks
router.get ('/api/v1/tasks', settingsScope, routes.tasks.list);