This breaks out the functionality for each endpoint into it's own function. This will make it easier to use with other deployment approaches and resources, such defining each STAC endpoint in API Gateway and linking it to the specific handler.
The previous api.search function is now api.API and just exists to parse the path and arguments and call the correct function.
This breaks out the functionality for each endpoint into it's own function. This will make it easier to use with other deployment approaches and resources, such defining each STAC endpoint in API Gateway and linking it to the specific handler.
The previous
api.search
function is nowapi.API
and just exists to parse the path and arguments and call the correct function.