Listing latest object versions
Introduction
This guide will walk you through the process of fetching the latest version IDs for a collection of geoscience objects from Evo.
Endpoint
This endpoint allows you to fetch the latest version IDs for a collection of geoscience objects. The request body must only contain a list of UUIDs of the objects to check.
List object versions
The request body must include a list of UUIDs of the geoscience objects for which you want to fetch the current version IDs.
Example request body:
[
"8f55a9c9-7d2d-4a12-8352-17b30c2313ae",
"9f55a9c9-7d2d-4a12-8352-17b30c2313ad"
]
Response
The response will include a list of JSON objects, each containing the UUID of a geoscience object and its latest version ID.
Example:
[
{
"object_id": "8f55a9c9-7d2d-4a12-8352-17b30c2313ae",
"version_id": "1720043136271901142"
},
{
"object_id": "9f55a9c9-7d2d-4a12-8352-17b30c2313ad",
"version_id": "1720043136271901143"
}
]
Summary
- Prepare a list of geoscience object UUIDs for which you want the current version IDs.
- Make a PATCH request to the
/objects
endpoint with the list of UUIDs in the request body. - The response will include a list of the latest version IDs for the requested geoscience objects.