LineageApi

interface LineageApi

Defines actions related to the API for lineage operations.

Functions

Link copied to clipboard
@POST(value = "/v1/lineage")
abstract fun createLineage(@Body event: LineageEvent, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Void>

Creates a lineage event.

Link copied to clipboard
@GET(value = "/v1/lineage")
abstract fun getLineage(@Query(value = "node") node: String, @Query(value = "depth") depth: Int): Call<Lineage>

Retrieves lineage information.