Add comparison API endpoints

This commit is contained in:
D. Berge
2025-08-18 14:11:20 +02:00
parent c054e63325
commit 619a886781
6 changed files with 66 additions and 0 deletions

View File

@@ -357,6 +357,26 @@ app.map({
delete: [ mw.auth.operations, mw.auth.access.write, mw.info.delete ]
}
},
/*
* 4D comparisons
*/
// FIXME no authentication yet!
'/comparison/group': {
get: [ mw.comparisons.groups.list ],
'/:group': {
get: [ mw.comparisons.groups.get ],
},
},
/*
* Other endpoints
*/
'/queue/outgoing/': {
'asaqc': {
get: [ mw.etag.noSave, mw.queue.asaqc.get ],