API calls not respecting limit paramater when set to 0 #7209
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.0.1
Python version
3.9
Steps to Reproduce
Expected Behavior
The API should return all objects from the query with no next value eg:
Note, the limit above was used to simulate what is expected to respond.
Observed Behavior
The API returns the result with the default pagination (50 for us):
Setting the limit paramater to any other value returns succesfully, eg if we set it to 10,000 it will return all 6672 objects
The text was updated successfully, but these errors were encountered: