Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup and ls commands do not retrieve all Tickets, API limits data to 42 entities #5

Open
KarstenSchulz opened this issue Sep 3, 2022 · 0 comments

Comments

@KarstenSchulz
Copy link
Owner

As we can read in the API docs:

All resources that return collection of entities limit the number of returned entities, by default. If you do not explicitly specify the number of entities to return with the $top query parameter, the server returns maximum 42 first entities. To get the whole collection, you need to use pagination.

We have to re-implement the get requests to download all tickets for the backup command. Maybe we should implement command options like --from and --to to make the count of downloaded tickets configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant