- Object types
Collection
The Collection Object is a generic object that contains a list of items. The type of item contained depends on the concrete Collection Object used. The following properties exist:
| Name | Type | Description |
|---|---|---|
items | Array | The array of items contained in this object. |
total_items | Number | Optionally, the total number of items present in the collection if this information is available. |
returned_items | Number | The number of items present in this page. |
offset | Number | Optionally, if this is not the first page in the collection, the number of items before it. |
self | Link | A link referring to the resource that represents this collection. |
next | Link | Optionally, a link to the next chunk in the collection, if there are more items to be retrieved. |
previous | Link | Optionally, a link to the previous chunk in the collection, if this is not the first chunk in the collection. |
Example
See also
If you have suggestions for improving this article, let us know!