Menu
Associate Edition Content
Associate Edition Content
PATCH
/editions/{editionId}/edition-contents/{editionContentsId}/contentUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Associate Edition Content action (under Editions).
- Fill in the fields below, then reference the result from later steps as
{{associateEditionContent.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"body": {
"contents": {
"_meta": {
"schema": "http://deliver.bigcontent.io/schema/hierarchy/hierarchy-schema.json",
"rootContentItemIds": [
"00112233-4455-6677-8899-aabbccddeeff"
],
"locked": true
},
"id": "00112233445566778899aabb",
"contentType": "http://example.com/banner.json"
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{associateEditionContent.response.data.<field>}}.
{
"id": "00112233445566778899aabb",
"eventId": "00112233445566778899aabb",
"editionId": "00112233445566778899aabb",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"content": "",
"status": "ACTIVE",
"empty": true,
"_links": {
"self": null,
"edition-content": null,
"edition": null
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?