The main data communications between clients (such as Auspice) and the nextstrain.org server occur at URLs beginning with
Currently the only client accessing these is Auspice (more specifically, a nextstrain.org customised version of Auspice).
For a summary of the requests and responses please see the auspice server docs.
Charon: the ferryman of Hades who carries souls across the river Styx that divided the world of the living from the world of the dead.
The handlers are attached within
server.js and are typical express callbacks.
Each handler is defined in an file of the same name within
Each handler is responsible for checking authorization:
authz.assertAuthorized(req.user, authz.actions.Read, source);
There are a number of tests for these API calls.
test/auspice_client_requests.test.js for details and run via
npm run test:ci