ccao-data / api-res-avm

REST API for getting predicted values from the CCAO's residential model
0 stars 0 forks source link

Update API to deploy separate endpoints by run ID #2

Closed jeancochrane closed 4 months ago

jeancochrane commented 5 months ago

This PR updates api.R to deploy multiple /predict endpoints, one for each of a set of valid run IDs. The new API structure looks like this:

Maintaining a POST /predict endpoint that falls back to a default model should allow us to deploy this change without disrupting the operation of the workbooks that Valuations is currently using for desk review.

Closes #1.

Deployment steps

jeancochrane commented 5 months ago

Ready for another look @dfsnow!

jeancochrane commented 5 months ago

@dfsnow I think we should get one last look at this, unfortunately I had to make a lot of changes since the last round of review!