Objects
Endpoints for updating and maintaining geoscience objects
List geoscience objects by org
Geoscience Object API
The response will list geoscience objects for the provided organisation ID.
Parameters
Returns
200
Successful Response
Endpoint
Request
Response
Update a geoscience object
Update or restore a geoscience object by UUID.
Uploading an object to this endpoint will update (replace, i.e. no partial updates) the existing object with a corresponding UUID.
Note that the value of the uuid field in the object must match the value in the URL path.
New objects must be uploaded by path.
To restore an object that was previously deleted, send a request with the deleted parameter set to false and no message body. This operation will attempt to restore the object to its original path. Folders at the original path are recreated if missing. If the original path is occupied, Goose appends a number to the filename (for example, object.json becomes object(1).json). For an object implicitly deleted through its parent folder, a name conflict instead returns 409.
Parameters
Returns
201
The geoscience object version has been created.
Endpoint
Request
Response
Move or rename a geoscience object
Geoscience Object API
Move and/or rename an object without creating a new version.
Omitted or null fields are unchanged. An empty JSON object or an unchanged destination returns 204 without changing modification metadata. The object must exist and must not be deleted.
Provide just name to only rename the object.
Provide just folder_path and/or folder_id to only move the object.
Providing both folder_path and folder_id allows for extra validation of the target folder.
Providing either or both folder fields and name field allows for simultaneous move and rename.
A real change updates modified_at and modified_by and returns the object, without a versions array.
Parameters
Returns
200
The object has been moved or renamed.
Endpoint
Request
Response
Download a geoscience object by UUID
Geoscience Object API
Download a geoscience object with the provided UUID. Use deleted=true to also retrieve deleted objects, including those in deleted folders.
If required, the object can be compressed, currently only gzip compression is supported. To receive a compressed payload set header Accept-Encoding: gzip.
Parameters
Returns
200
The requested geoscience object and metadata
Endpoint
Request
Response
Soft delete a geoscience object
Geoscience Object API
Delete a geoscience object by UUID.
An object already deleted is left unchanged.
Restore an individual object using the update-by-UUID endpoint with deleted=false.
Parameters
Returns
204
The geoscience object version has been deleted.
Endpoint
Request
Response
No response body.
Create a geoscience object
Create or update a geoscience object.
Upload a geoscience object based on the schema element. Geoscience objects can be stored hierarchically, by providing the path to the object, including the object name, in the request URL. Folders in the path that do not already exist are created automatically. An object name without parent segments places the object in the workspace root folder. A detailed list of the available object schemas can be found in Seequent's evo-schemas repository.
The submitted properties will be validated against the specified schema properties.
To create a new object, upload it to a unique path with the UUID field set to null.
The response will contain a reflection of the uploaded object with a newly assigned object ID.
This can be used for future requests to update the object.
If a version of the geoscience object already exists at the specified path a new version will be created.
An existing object whose parent folder is deleted must be restored before it can be updated or moved.
Note that every upload of an object is considered a new version, even if no changes have been made.
If required, the object should be compressed, currently gzip compression is supported.
Set header Content-Encoding: gzip if the content is compressed and Accept-Encoding: gzip to receive
compressed content.
Parameters
Returns
201
The geoscience object version has been created.
Endpoint
Request
Response
Download a geoscience object
Geoscience Object API
Download a geoscience object using its current path.
To retrieve a deleted object, including one in a deleted folder, use the download-by-UUID endpoint with deleted=true.
If required, the object can be compressed, currently only gzip compression is supported. To receive a compressed payload set header Accept-Encoding: gzip.
Parameters
Returns
200
The requested geoscience object and metadata
Endpoint
Request
Response
Soft delete a geoscience object by path
Geoscience Object API
Soft delete a geoscience object by path.
Parameters
Returns
204
The geoscience object has been soft deleted.
Endpoint
Request
Response
No response body.
List geoscience objects
Geoscience Object API
The response will include all geoscience objects matching the given filters. The geoscience objects will be the latest versions of each object. If there are no objects matching the given filters, an empty list is returned.
Parameters
Returns
200
Successful Response
Endpoint
Request
Response
List the latest version IDs for geoscience objects
Geoscience Object API
Request to fetch the latest version IDs for a collection of geoscience objects (maximum of 500). The request body must only contain a list of UUIDs of the objects to check. The response will contain a list of objects with their UUIDs and the latest version ID. If the object from a given UUID does not exist or has been deleted, including implicitly through deletion of its parent folder, the request will be successful, but the version ID will be null.
Parameters
Returns
200
Successful Response
Endpoint
Request
Response
Gets specified versions of a Geoscience Object.
Geoscience Object API
List specific versions of a Geoscience Object. The response will include all the versions specified in version_ids field of the request body. If one or more of the version IDs are not found for the geoscience object a 404 error will be returned.
Download links use the object's current path.
Parameters
Returns
200
Successful Response