Closed reefland closed 5 days ago
I think previously the URI /api
would provide a code 200 with word available
and now it returns {"type":"api_error","message":"Endpoint not found."}
by default and I assume a non-success code.
Yeah, root path got removed in v4, but it was not documented anyway.
Good news is that the new base image includes {api_url}/healthcheck
endpoint so you can use that.
Perfect! This works. Thank you.
I completed my upgrade, everything is working great now.
But a stumbling block for me was a change I didn't see documented which could impact people using startup probes, health monitoring, etc.
With Bar Assistant
3.19.1
my startup probes referenced:3000/api
which has worked well. The migration guide included a port change from3000
to8080
so I updated my probes to use:8080/api
but this will no longer work. I had to change my probes to just:8080/
and it worked.Not clear if this should not have worked previously, or something changed which prevents it from working now, but hopefully this helps anyone else using probes.