Skip to main content
GET
/
storage
/
relationships
/
list
List relationships
curl --request GET \
  --url https://api.getcargo.io/v1/storage/relationships/list \
  --header 'Authorization: Bearer <token>'
{
  "relationships": [
    {
      "uuid": "<string>",
      "workspaceUuid": "<string>",
      "fromDatasetUuid": "<string>",
      "fromModelUuid": "<string>",
      "fromColumnSlug": "<string>",
      "toDatasetUuid": "<string>",
      "toModelUuid": "<string>",
      "toColumnSlug": "<string>",
      "relation": "oneToMany"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

datasetUuid
string

Filter relationships by dataset identifier.

modelUuid
string

Filter relationships by model identifier.

Response

Successful response

relationships
Relationships · object[]
required

List of relationships.