Menu
Linked Content Repository
Create Linked Content Repositories
PUT
/hubs/{hubid}/linked-content-repositoriesUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Linked Content Repository action (under Hubs).
- Fill in the fields below, then reference the result from later steps as
{{linkedContentRepository.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"originHubId": "00112233445566778899aabb",
"hubIds": [
"00112233445566778899aabb",
"00112233445566778899ccdd"
],
"bidirectional": false,
"relationships": [
{
"originRepositoryId": "00112233-4455-6677-8899-aabbccddeeff",
"dstRepositoryId": "00112233-4455-6677-8899-aabbccddeeff"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{linkedContentRepository.response.data.<field>}}.
{
"originHubId": "00112233445566778899aabb",
"hubIds": [
"00112233445566778899aabb",
"00112233445566778899ccdd"
],
"bidirectional": false,
"relationships": [
{
"originRepositoryId": "00112233-4455-6677-8899-aabbccddeeff",
"dstRepositoryId": "00112233-4455-6677-8899-aabbccddeeff"
}
],
"_links": {
"self": null,
"linked-content-repositories": null
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?