addField

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

Adds a field to a dataset.

Return

A Call object with a Void response.

Parameters

depot

The depot name.

collection

The collection name.

dataset

The dataset name.

request

The FieldRequest object containing field information.

correlationId

(Optional) The correlation ID for tracking requests.