-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Allow GET requests to pull all data from relevant resource without limits #1237
Comments
Note: I have implemented this, but also introduced the |
I seem to be getting weird results trying to set the pagination. No matter what I do, it will not display more than 1000 results? (Netbox 2.0.7)
Does one still need to modify the MAX_PAGE_SIZE value? |
Yep, if you set |
…nation in API requests; added MAX_PAGE_SIZE configuration setting
Feature Request
Python version: 2.7.12
NetBox version: 2.0.4
When doing a GET request, we must set a limit manually, or use the default of 50, to the amount of data we can get back in return.
Example:
https://netbox.example.com/api/dcim/devices/?limit=5000
Would like to be able to pull all relevant data for a particular resource without a limit. I can work around this by setting a limit far higher than what I know would be reasonable to have, but doesn't seem maintainable to have static values in my code.
In Slack we spoke about have the flag of
limit=0
being the signal to pull all data.Thanks
The text was updated successfully, but these errors were encountered: