covid-policy-modelling / web-ui

Frontend for COVID modeling
MIT License
0 stars 2 forks source link

WIP: 62 API #8

Closed steven-cd closed 3 years ago

steven-cd commented 3 years ago

This adds support for users to obtain a token that they can then use to access any of the API endpoints. Note that users could already access these using their session & session.sig cookies, this just adds a slightly more expected flow.

It also adds documentation for this process and for a handful of the endpoints. There are probably others they'd be interested in, but I think we need to identify some concrete users first.

steven-cd commented 3 years ago

@marioa Would you be able to test this out on your local copy when you get a chance? Run it, read the "API" page in the UI and see if you understand how to use it?