mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:27:07 +00:00
Add comments for ease of browsing
This commit is contained in:
@@ -91,6 +91,11 @@ app.map({
|
||||
'/project/:project/summary': {
|
||||
get: [ mw.project.get ],
|
||||
},
|
||||
|
||||
/*
|
||||
* GIS endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/gis': {
|
||||
get: [ mw.gis.project.bbox ]
|
||||
},
|
||||
@@ -106,6 +111,11 @@ app.map({
|
||||
'/project/:project/gis/final/:featuretype(line|point)': {
|
||||
get: [ mw.gis.project.final ]
|
||||
},
|
||||
|
||||
/*
|
||||
* Line endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/line/': {
|
||||
get: [ mw.line.list ],
|
||||
},
|
||||
@@ -114,6 +124,10 @@ app.map({
|
||||
patch: [ mw.auth.access.write, mw.line.patch ],
|
||||
},
|
||||
|
||||
/*
|
||||
* Sequence endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/sequence/': {
|
||||
get: [ mw.sequence.list ],
|
||||
},
|
||||
@@ -125,6 +139,10 @@ app.map({
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
* Planner endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/plan/': {
|
||||
get: [ mw.plan.list ],
|
||||
put: [ mw.auth.access.write, mw.plan.put ],
|
||||
@@ -135,7 +153,11 @@ app.map({
|
||||
patch: [ mw.auth.access.write, mw.plan.patch ],
|
||||
delete: [ mw.auth.access.write, mw.plan.delete ]
|
||||
},
|
||||
//
|
||||
|
||||
/*
|
||||
* Event log endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/event/': {
|
||||
get: [ mw.event.list ],
|
||||
post: [ mw.auth.access.write, mw.event.post ],
|
||||
@@ -175,6 +197,10 @@ app.map({
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
* Other miscellaneous endpoints
|
||||
*/
|
||||
|
||||
'/project/:project/label/': {
|
||||
get: [ mw.label.list ],
|
||||
// post: [ mw.label.post ],
|
||||
|
||||
Reference in New Issue
Block a user