Skip to main content
GET
/
sources
/
{sourceKey}
/
v1
/
relationship-definitions
/
{relationshipDefinitionKey}
Get a relationship definition from the registry
curl --request GET \
  --url https://{workspaceId}.clinia.cloud/sources/{sourceKey}/v1/relationship-definitions/{relationshipDefinitionKey} \
  --header 'X-Clinia-API-Key: <api-key>'
{
  "key": "<string>",
  "from": {
    "profileKey": "<string>",
    "includeKey": "<string>",
    "includeCardinality": "0:*"
  },
  "to": {
    "profileKey": "<string>",
    "includeKey": "<string>",
    "includeCardinality": "0:*"
  },
  "description": "<string>",
  "properties": {}
}

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

sourceKey
string
required

The key of the source.

relationshipDefinitionKey
string
required

The key or the id of the relationship definition.

Response

The relationship definition.

from
object
required
to
object
required
properties
object
required
key
string
description
string

Description of the relationship definition.

I