younifyd
Menu

Linked Content Repository

Create Linked Content Repositories

PUT/hubs/{hubid}/linked-content-repositories

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Linked Content Repository action (under Hubs).
  3. Fill in the fields below, then reference the result from later steps as {{linkedContentRepository.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Request body

Enter the body as JSON in the step's Body field.

originHubIdstring

Defines the hub id to use as a starting point for unidirectional relationships

hubIdsarray<any>
bidirectionalboolean

Defines the directionality of the linked repositories

relationshipsarray<object>
originRepositoryIdstring

ID

dstRepositoryIdstring

ID

json
{
  "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>}}.

originHubIdstring

Hub ID

hubIdsarray<any>
bidirectionalboolean

Defines the directionality of the linked content repositories

relationshipsarray<object>
originRepositoryIdstring

ID

dstRepositoryIdstring

ID

_linksobject

Resource HAL links

selfany
linked-content-repositoriesany
json
{
  "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.