Add planner endpoints

This commit is contained in:
D. Berge
2020-10-08 16:36:15 +02:00
parent 2a19caf219
commit 63254a6bf7
17 changed files with 393 additions and 0 deletions

View File

@@ -103,6 +103,17 @@ app.map({
// get: [ mw.sequence.get ],
patch: [ mw.sequence.patch ],
},
'/project/:project/plan/': {
get: [ mw.plan.list ],
put: [ mw.plan.put ],
post: [ mw.plan.post ]
},
'/project/:project/plan/:sequence': {
// get: [ mw.plan.get ],
patch: [ mw.plan.patch ],
delete: [ mw.plan.delete ]
},
//
'/project/:project/event/': {
get: [ mw.event.cache.get, mw.event.list, mw.event.cache.save ],