natcap / urban-online-workflow

This repository hosts the beta implementation of the Urban Online ES Workflow. The project is intended to give urban planners the ability to create and assess scenarios using InVEST Urban models.
1 stars 5 forks source link

Remove unneeded fastapi endpoints #68

Closed dcdenu4 closed 1 year ago

dcdenu4 commented 1 year ago

There are some endpoints that were helpful for debugging but can now be removed to clean up the number of endpoints we have.

davemfish commented 1 year ago

I'm not sure that GET session/{session_id} needs to return all the session's data, like study_areas and patterns. Because other endpoints, such as /study_areas/{session_id} get that same data.

Not a bug, just an idea for a way to prune the API a bit and remove some redundancy.

davemfish commented 1 year ago

I've done a bit of this during #74 and #76. IMO we can close this one.