Torizon OTA API /packages endpoint: limit and offset parameter not working as expected

Dear Toradex Team,
we want to develop our own update front-end which allows us to trigger an update for a specific device with the Torizon OTA API.
To do this we first want to get a list of all the available packages through the /packages endpoint.
At this point we have 198 packages uploaded and when calling the endpoint I can only get the first 50 packages.
It looks like the limit and offset parameter in the query do not have any effect. When I set them the default values are returned in the response.
For example when using this command

curl -X 'GET' \
  '' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <token>'

I get this response:

  "values": [
  "total": 198,
  "offset": 0,
  "limit": 50

Is this a bug or do I misunderstand the parameters?

Thanks and best regards,

Hi @n11ThoMumme !

Sorry for the delay and thanks a lot for bringing up this issue!

From internal discussion, the issue you described was reproduced and we are working on it.

We will let you know once we have updates.

Best regards,

Hi @n11ThoMumme !

We are glad to inform you that the fix to this issue has been deployed last week!

Please let us know how it goes on your side.

Best regards,

Sorry, it took a while until I came back to this topic.
Thanks for fixing the issues, everything is working as expected now.


Hi @n11ThoMumme !

Thanks for the feedback!

Have a nice day!