PUT
/
components
/
links
curl --request PUT \
  --url https://api.serial.io/components/links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "parent_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "has_child_of_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Body

application/json
parent_component_id
string
required

Database id for parent component

child_component_id
string
required

Database id for child component

process_id
string
required

Database id for process where linking occurs.

dataset_id
string
required

Database id for dataset where linking occurs.

Response

200
application/json
OK
id
string

Database id for component link

component_id
string

Database id of parent component

has_child_of_id
string

Database id for child component

process_id
string

Database id for process where linking happens

dataset_id
string

Dataset id for linking.