younifyd
Menu

Associate Edition Content

Associate Edition Content

PATCH/editions/{editionId}/edition-contents/{editionContentsId}/content

Use it in a workflow

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

Request

Path parameters

editionIdstringrequired

Edition Id

editionContentIdstringrequired

Edition Content ID

Request body

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

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

idstring

ID

eventIdstring

ID

editionIdstring

ID

createdBystring (uuid)

Created by User Id

createdDatestring (date-time)

Created Date

lastModifiedBystring (uuid)

Last Modified by User Id

lastModifiedDatestring (date-time)

Last Modified Date

contentarray<any>

Type

statusstring

Status

One ofACTIVEDELETED

emptyboolean

Empty

_linksobject

Resource HAL links

selfanyrequired
edition-contentanyrequired
editionanyrequired
json
{
  "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.