DatasetApi

interface DatasetApi

Defines actions related to the API for performing various operations on datasets.

Functions

Link copied to clipboard
@GET(value = "/v1/namespaces/{namespace}/datasets/{dataset}")
abstract fun getDataset(@Path(value = "namespace") namespace: String, @Path(value = "dataset") dataset: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Dataset>

Retrieves a specific dataset.

Link copied to clipboard
@GET(value = "/v1/namespaces/{namespace}/datasets")
abstract fun listDataset(@Path(value = "namespace") namespace: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Dataset>

Retrieves a list of datasets within a namespace.

Link copied to clipboard
@GET(value = "/v1/namespaces/{namespace}/datasets/{dataset}/versions")
abstract fun listDatasetVersions(@Path(value = "namespace") namespace: String, @Path(value = "dataset") dataset: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<List<DatasetVersion>>

Retrieves a list of versions for a specific dataset.