mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:17:08 +00:00
Also serve preplot source/sail points as binary.
This commit adds the ability to pack preplot points in Dougal binary format. Sail line points take udv=0 and source line points take udv=1 – udv=2 remains sequence data. Endpoints for retrieving the data in JSON, GeoJSON and binary formats have also been added. Data may be retrieved as a single line or for a whole project.
This commit is contained in:
@@ -155,10 +155,13 @@ app.map({
|
||||
'/project/:project/line/': {
|
||||
get: [ mw.auth.access.read, mw.line.list ],
|
||||
},
|
||||
'/project/:project/line/:line': {
|
||||
// get: [ mw.auth.access.read, mw.line.get ],
|
||||
'/project/:project/line/:line(\\d+)': {
|
||||
get: [ mw.auth.access.read, mw.line.get ],
|
||||
patch: [ mw.auth.access.write, mw.line.patch ],
|
||||
},
|
||||
'/project/:project/line/:class(sail|source)': {
|
||||
get: [ mw.auth.access.read, mw.line.get ],
|
||||
},
|
||||
|
||||
/*
|
||||
* Sequence endpoints
|
||||
|
||||
Reference in New Issue
Block a user