mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:57:08 +00:00
Add API endpoint to retrieve survey configuration.
The endpoint /project/:project/configuration/:path(*)? returns the contents of the survey configuration YAML file for a given project. To retrieve the full configuration: * /project/:project/configuration To retrieve a specific subset (e.g., binning parameters): * /project/:project/configuration/binning To retrieve a specific value (e.g., inline bin width): * /project/:project/configuration/binning/I_width
This commit is contained in:
@@ -92,6 +92,10 @@ app.map({
|
||||
// },
|
||||
'/project/:project/label/': {
|
||||
get: [ mw.label.list ],
|
||||
// post: [ mw.label.post ],
|
||||
},
|
||||
'/project/:project/configuration/:path(*)?': {
|
||||
get: [ mw.configuration.get ],
|
||||
// post: [ mw.label.post ],
|
||||
},
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user