Limit API GET Calls

Enforce API GET Call Limits

In Device42 you can enforce limits on the number of rows returned by API GET calls. The maximum value allowed is 1000 and this is also the default value. Enabling limits can help API performance quite a bit; however, here are some challenges to adding limits:

  1. Any existing integration code you have with GET calls might fail and may need to be revised. If you select the limits setting, your existing code will work as is.

  2. We are still working on changes to the JIRA and Confluence plugins to make them work with limits. If you have the JIRA or Confluence plugins running in your environment, please don’t enforce limits until updated plugins are released.

To apply this setting, go to Tools>Settings>Global Settings, and click edit. Toward the bottom you will see the field for API Call limits:

Enforce API Limits

Once the setting is enabled, you will need to use the total_count and offset parameters to fetch all the records.