younifyd
Menu

Get Snapshot

Get Snapshot

GET/snapshots/{snapshotId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Get Snapshot action (under Snapshots).
  3. Fill in the fields below, then reference the result from later steps as {{getSnapshot.response.data}}.

Request

Path parameters

snapshotIdstringrequired

Snapshot ID

Response

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

idstring

ID

commentstring

Comment

createdDatestring (date-time)

Created Date

createdBystring

User who created the Snapshot

createdFromstring

Indicates if this Snapshot was created by an Edition or a Content-Item

One ofcontent-itemedition

typestring

Indicates the type of Snapshot (USER or SYSTEM)

One ofUSERSYSTEM

metaarray<object>

Meta information

keystring

meta key

valuestring

meta value

taggedEditionarray<object>

Tagged Editions

editionIdstring

Edition ID

createdDatestring

Created Date

createdBystring

Who created the Edition

namestring

Edition Name

editionNamestring

Edition Name

localestring

The locale

contentRootany

ID of the root Content-Item

rootContentItemobject

A content graph entry point

labelstring

Label of the root Content-Item

contentTypeUristring

Content-Type URI of the root Content-Item's

idstring

ID of the root Content-Item

rootContentItemsarray<object>

Collection of all the root content items

labelstring

Label of the root Content-Item

contentTypeUristring

Content-Type URI of the root Content-Item's

idstring

ID of the root Content-Item

_linksobject

Resource HAL links

selfanyrequired
snapshotanyrequired
publishing-jobsany
create-publishing-jobany
edition-linksany
hubanyrequired
content-rootany
snapshot-content-itemany
json
{
  "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.

Get Snapshot — Amplience — Documentation