setMetadataVersion

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

Sets the metadata version for a dataset.

Return

A Call object with a Void response.

Parameters

depot

The depot name.

collection

The collection name.

dataset

The dataset name.

version

The metadata version to set.

correlationId

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