Loading
Provide request context to `url_for`
When using FastAPI, we need call `url_builder` to generate the correct API URL instead of the legacy `url_for`.
Here we were missing the request context that provides this functionality.
Also the name of the endpoint for `/api/histories/{id}` was missing.