limit parameter to your requests.
If you are using one of the official ELAN AI Bridge API client libraries, you don’t need to worry about pagination, as it’s all being taken care of behind the scenes.
When an API response returns a list of objects, no matter the amount, pagination is supported.
In paginated responses, objects are nested in a corresponding data attribute (e.g. glossaries, entries, terms, etc.) and have a total attribute that indicates the total number of objects, as well as a limit and offset attribute that indicates the number of objects returned per page and the page number, respectively.
Example using offset and limit
In this example, we request the second page of glossary entries by setting theoffset parameter to 5 and the limit parameter to 5.
The offset of the page you want to fetch.
Limit the number of items returned.
Manual pagination using cURL
Paginated response