Skip to content

API returns an error if >1000 results #24

Open
@yohancourbe

Description

@yohancourbe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions