Error in alert api endpoints


I've been working with the API recently and I saw 3 bugs with the alert endpoints.

  1. I fetched first an id via GET /api/alert/ and used in GET /api/alert/:id, but it returns a 404.
  2. I tried the GET /api/alert/question/:id endpoint and it always returns an empty list
  3. The description of GET /api/alert/question/:id seems to be wrong, I think it should be " Fetch all alerts for the given question ( Card ) id."

I'm using metabase 0.40

Am I doing something wrong ?
Thx for looking into it.

Hi @Mavtti
Upgrade to 0.41.4 immediately.
And then follow the documentation connected to your version of Metabase - this is for the latest, 41.4:
The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.