count
Retrieve the total number of items using the count parameter
The count parameter is used to specify that a count of the items in the collection should be included in the response.
Specify that the number of items should be included in the response by including the count parameter with a value of "true".
Example request: https://<host-name>/<api-path>/<collection-name>?count=true
The meta property of the response will include the count property with the total number of items as the value.
Sample response for a collection using count=true
{
"data": [
...
],
"meta": {
"count": 123
}
}