You can use various query parameters to tailor and limit API responses in the Oomnitza API, which is especially useful when dealing with large datasets.
Parameter Name | Behavior | Example |
limit |
Limit the number of records returned. |
Set limit=1 to return the first record; limit=10 to return the first 10 records. |
skip | Skip a specified number of records, with indexing starting from 0. | Set skip=5 to skip the first 5 records. Combined with limit=10, it returns the 5 to 14 asset records. |
sortby |
Sort the results by a specified field in ascending order by default. |
sortby= If no sortby parameter is used, the default sort for asset records is by the most recent change date. For consistent results when sorting, use a unique key value. For example, for sorting asset records, you can use sortby= |
filter |
Apply filters to the results using specific operations. |
|
fields |
Limit the fields returned in the response. |
To return only AWS-related fields, specify fields= |
For examples of filtering queries, refer to Filtering data using the Oomnitza REST API.
Comments
0 comments
Please sign in to leave a comment.