You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is, all of the lists are returned when calling the endpoint at /lists/NUM (in this case I passed 5). It seems like something is wrong with the URL route here and it's being handled in the /lists route, not /lists/{int} route.
The text was updated successfully, but these errors were encountered:
Ouch, this was indeed a (tiny, but problematic) bug that crept through while building the new per-list permission system. I think I'll have to make a v4.0.2 release after waiting for the next couple of days in case any more reports come.
Perfect, thanks a bunch. It's not a massive issue for my library ( https://github.com/mikeckennedy/listmonk ) because I added some logic to pull the details from the list if it returns a list instead. But it is an issue with a broken API. Happy to have it fixed in the next release.
Version:
Description of the bug and steps to reproduce:
Doing a GET request against the URL:
https://servername/api/lists/5
returns JSON of this style:That is, all of the lists are returned when calling the endpoint at /lists/NUM (in this case I passed 5). It seems like something is wrong with the URL route here and it's being handled in the
/lists
route, not/lists/{int}
route.The text was updated successfully, but these errors were encountered: