Menu
Snapshot Hierarchy Nodes
Snapshot hierarchy nodes
POST
/hierarchies/snapshotUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Snapshot Hierarchy Nodes action (under Hierarchies Snapshot).
- Fill in the fields below, then reference the result from later steps as
{{snapshotHierarchyNodes.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"hierarchyNodeIds": [
"00112233-4455-6677-8899-aabbccddeeff"
],
"getDescendants": false,
"type": "USER",
"comment": "This is a example snapshot."
}
Response
Returns 201 with an object. Read it in later steps with {{snapshotHierarchyNodes.response.data.<field>}}.
{
"id": "00112233445566778899aabb",
"comment": "This is a example snapshot.",
"createdDate": "2019-01-01T00:00:00.000Z",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdFrom": "content-item",
"type": "USER",
"contentRoot": "00112233-4455-6677-8899-aabbccddeeff",
"rootContentItems": [
{
"label": "Banner Ad Homepage",
"contentTypeUri": "Banner Ad Homepage",
"id": "00112233-4455-6677-8899-aabbccddeeff"
}
],
"_links": {
"self": null,
"snapshot": null,
"hub": null,
"publishing-jobs": null,
"create-publishing-job": null,
"edition-links": null,
"content-root": null,
"snapshot-content-item": null
},
"meta": [
{
"key": "example-key",
"value": "example value"
}
],
"taggedEdition": [
{
"editionId": "00112233445566778899aabb",
"createdDate": "2019-01-01T00:00:00.000Z",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"name": "Example Edition 1",
"editionName": "Example Edition 1"
}
],
"locale": "en-US"
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?