cURL
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" }
Create a link between two components
API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Bearer <YOUR_KEY_OR_TOKEN>
Database id for parent component
Database id for child component
Database id for process where linking occurs.
Database id for dataset where linking occurs.
OK
Database id for component link
Database id of parent component
Database id for process where linking happens
Dataset id for linking.