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"
}
]
}List all relationships in the workspace
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"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter relationships by dataset identifier.
Filter relationships by model identifier.
Successful response
List of relationships.
Show child attributes
Was this page helpful?