getDepot

@GET(value = "api/v2/depots/{depot}")
abstract fun getDepot(@Path(value = "depot") depotName: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<DepotResponse>

Makes a GET request to retrieve a specific depot.

Return

a Call object with a response of type DepotResponse

Parameters

depotName

the name of the depot to retrieve

correlationId

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