query CardChangelog($definitionId: String!, $entryId: String!) {
cardChangelog(definitionId: $definitionId, entryId: $entryId) {
edges {
cursor
node {
apiVersion {
__typename
}
changedProperties {
__typename
}
changeType
contributor
endpoint {
__typename
}
endpointId
}
}
nodes {
apiVersion {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
changedProperties {
current {
__typename
... on TextValue {
__typename
}
}
previous {
__typename
... on TextValue {
__typename
}
}
propertyId
}
changeType
contributor
endpoint {
activeContent
apiVersion {
__typename
}
apiVersionId
cardDefinitions {
__typename
}
description
displayName
}
endpointId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}{
"definitionId": "string",
"entryId": "string"
}{
"data": {
"cardChangelog": {
"edges": [
{
"cursor": "string",
"node": {
"apiVersion": {
"__typename": "ApiVersion"
},
"changedProperties": [
{
"__typename": "PropertyChange"
}
],
"changeType": "CREATED",
"contributor": "value",
"endpoint": {
"__typename": "Endpoint"
},
"endpointId": "value"
}
}
],
"nodes": [
{
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
},
"changedProperties": [
{
"current": {
"__typename": "TextValue"
},
"previous": {
"__typename": "TextValue"
},
"propertyId": "string"
}
],
"changeType": "CREATED",
"contributor": "value",
"endpoint": {
"activeContent": "value",
"apiVersion": {
"__typename": "ApiVersion"
},
"apiVersionId": "id",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"description": "string",
"displayName": "string"
},
"endpointId": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": "value"
}
}
}cardChangelog
Lists the changes to one card entry, newest first by default: value changes in the card definition’s sources, shown through its current property mappings, and the entry’s publish and segment changes. A property filter also limits changedProperties.
cardChangelog(after: String, definitionId: String!, entryId: String!, first: Int, sort: [ChangelogSortInput!], where: ChangelogFilterInput): CardChangelogConnectionArguments
Returns the elements in the list that come after the specified cursor.
Raw id of the card definition (e.g. products), not the global CardDefinition.id.
Raw id of the card entry (CardEntry.entryId). The entry doesn't have to exist any more.
Returns the first n elements from the list.
Sort keys: TIMESTAMP, VERSION or both, each once. Null or empty sorts by TIMESTAMP descending.
Filters the changes, as a ChangelogFilterInput; all its constraints apply. Null returns every change.
Returns
A list of edges.
A flattened list of the nodes.
Information to aid in pagination.
query CardChangelog($definitionId: String!, $entryId: String!) {
cardChangelog(definitionId: $definitionId, entryId: $entryId) {
edges {
cursor
node {
apiVersion {
__typename
}
changedProperties {
__typename
}
changeType
contributor
endpoint {
__typename
}
endpointId
}
}
nodes {
apiVersion {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
changedProperties {
current {
__typename
... on TextValue {
__typename
}
}
previous {
__typename
... on TextValue {
__typename
}
}
propertyId
}
changeType
contributor
endpoint {
activeContent
apiVersion {
__typename
}
apiVersionId
cardDefinitions {
__typename
}
description
displayName
}
endpointId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}{
"definitionId": "string",
"entryId": "string"
}{
"data": {
"cardChangelog": {
"edges": [
{
"cursor": "string",
"node": {
"apiVersion": {
"__typename": "ApiVersion"
},
"changedProperties": [
{
"__typename": "PropertyChange"
}
],
"changeType": "CREATED",
"contributor": "value",
"endpoint": {
"__typename": "Endpoint"
},
"endpointId": "value"
}
}
],
"nodes": [
{
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
},
"changedProperties": [
{
"current": {
"__typename": "TextValue"
},
"previous": {
"__typename": "TextValue"
},
"propertyId": "string"
}
],
"changeType": "CREATED",
"contributor": "value",
"endpoint": {
"activeContent": "value",
"apiVersion": {
"__typename": "ApiVersion"
},
"apiVersionId": "id",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"description": "string",
"displayName": "string"
},
"endpointId": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": "value"
}
}
}Was this page helpful?