getDepots

@GET(value = "api/v2/depots")
abstract fun getDepots(@Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString(), @QueryMap queryMap: Map<String, Any> = mapOf()): Call<DepotResponse>

Makes a GET request to retrieve a list of depots.

Return

a Call object with a response of type DepotResponse

Parameters

catalog

the catalog to retrieve depots from

limit

the maximum number of results to return (optional, defaults to 100 if not provided)

offset

the number of results to skip (optional, defaults to 0 if not provided)

sort

the sorting order of the results (optional, defaults to "updated_at:desc" if not provided)

correlationId

the correlation ID to use in the request header (optional, defaults to a new UUID if not provided)


@GET(value = "api/v2/depots")
abstract fun getDepots(@Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<DepotResponse>

Makes a GET request to retrieve a list of depots.

Return

a Call object with a response of type DepotResponse