API - How to get the last 5 updated tasks?

Hello,

I’m trying to make an api request to get the last 5 updated tasks. It seems, no matter what parameters I pass, I don’t get the results I’m expecting.

Is this anywhere close to correct? I get way more than 5 results, and the order seems to always be the same.

https://$vikunjadomain/api/v1/tasks/all?page=1&per_page=5&sort_by=updated&order_by=desc

This works for me:

curl 'localhost:3456/api/v1/tasks/all?page=1&per_page=5&sort_by=updated&order_by=desc' -H "Authorization: Bearer $BEARER" | jq

Can you reproduce it with a curl command?

That works, thanks you!