younifyd
Menu

List Content Item Versions

List Content Item Versions

GET/content-items/{contentItemId}/versions

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the List Content Item Versions action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{listContentItemVersions.response.data}}.

Request

Path parameters

contentItemIdstringrequired

Content Item ID

Response

Returns 200 with an object. Read it in later steps with {{listContentItemVersions.response.data.<field>}}.

_embeddedobject
content-itemsarray<object>6 fields
versionnumber

Version

labelstring

Label

statusstring

Status

createdBystring (uuid)

Created by User Id

createdDatestring (date-time)

Created Date

lastModifiedBystring (uuid)

Last Modified by User Id

lastModifiedDatestring (date-time)

Last Modified Date

assigneesarray<any>

Assignees

assignedDatestring (date-time)

Created Date

deliveryIdstring (uuid)

Delivery ID

_linksobject
plannedany
selfany
content-item-version-historyany
content-itemany
content-item-versionany
content-item-versionsany
content-repositoryany
content-item-with-childrenany
content-item-with-parentsany
json
{
  "_embedded": {
    "content-items": [
      {
        "id": "00112233-4455-6677-8899-aabbccddeeff",
        "contentRepositoryId": "00112233445566778899aabb",
        "folderId": "00112233445566778899aabb",
        "body": {
          "_meta": {
            "name": "Main-Banner",
            "schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
            "deliveryKey": "promo-page/main-banner"
          }
        },
        "heading": "Main-Banner",
        "link": "http://anyafinn.com/buymore?campaign=shouting"
      }
    ],
    "version": 1,
    "label": "Label",
    "status": "ACTIVE",
    "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",
    "assignees": [
      "00112233445566778899aabb"
    ],
    "assignedDate": "2019-01-01T00:00:00.000Z",
    "deliveryId": "00112233-4455-6677-8899-aabbccddeeff"
  },
  "_links": {
    "planned": null,
    "self": null,
    "content-item-version-history": null,
    "content-item": null,
    "content-item-version": null,
    "content-item-versions": null,
    "content-repository": null,
    "content-item-with-children": null,
    "content-item-with-parents": null
  }
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

List Content Item Versions — Amplience — Documentation