Limit Parameter
The Limit query parameter is used to include in a response only the first N items of a resource collection.
For example, to show in a response only the first three task sessions from the /sessions collection, send the following request:
GET https://one-srv:1239/api/v2.2/sessions?Limit=3 |
You can combine the limit and the Offset parameter to request a particular set of items. Note that the Offset parameter is applied before the Limit parameter, regardless of its position in the request. That is, top results are selected from a collection where a set of items is already excluded.
For example, to return 4 task sessions that follow the first 5 task sessions available in Veeam ONE, send the following request:
GET https://one-srv:1239/api/v2.2/sessions?Offset=5&Limit=4 |
The Veeam ONE REST API returns resources in the default order based on its own semantics.