setSnapshot

@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/snapshots/{id}")
abstract fun setSnapshot(@Path(value = "depot") depot: String, @Path(value = "collection") collection: String, @Path(value = "dataset") dataset: String, @Path(value = "id") id: Long, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Void>

Sets a snapshot for a dataset.

Return

A Call object with a Void response.

Parameters

depot

The depot name.

collection

The collection name.

dataset

The dataset name.

id

The ID of the snapshot to set.

correlationId

The correlation ID header (optional, defaults to a random UUID).