Infoblox-Development/Infoblox-API-Python

API returns an error if >1000 results

Opened this issue · 1 comments

The API returns an error if it returns more than 1000 elements. The API supports an input _max_results which can take negative and positive integer:

  • A negative number will return an error if the maximum is reached
  • A positive number will limit return the maximum elements without triggering an error

By default this value is -1000 which means that if you have more than 1000 elements to return you will receive an error.

I suggest two edits:

  1. Implement an input to all getters that can return more than one element
  2. Implement an exception raising for this API error

I already made the changes for my fist suggestion, can I make a pull request ?