Menu
Get Snapshot
Get Snapshot
GET
/snapshots/{snapshotId}Use it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Get Snapshot action (under Snapshots).
- Fill in the fields below, then reference the result from later steps as
{{getSnapshot.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getSnapshot.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?