Objects
List objects in a collection
Returns a paginated list of objects from the specified collection. Optionally includes preference data for the objects.
get/v1/objects/{collection}
Path parameters
collectionstring required
The collection this object belongs to.
Query parameters
afterstring
The cursor to fetch entries after.
beforestring
The cursor to fetch entries before.
page_sizeinteger
The number of items per page.
include[]string[]
Includes preferences of the objects in the response.
Response
OK
Example response
{
"entries": [
{
"__typename": "Object",
"classification": "Theropod",
"collection": "assets",
"created_at": null,
"id": "specimen_25",
"name": "Velociraptor",
"status": "contained",
"updated_at": "2024-05-22T12:00:00Z"
}
],
"page_info": {
"__typename": "PageInfo",
"after": null,
"before": null,
"page_size": 25
}
}