Skip to main content

PageVersionResponse

Saved version of a page editor page, returned by pageEditorGetEditor, publishVersion, and unpublishVersion. Published versions are applied by the tracking script.

type PageVersionResponse {
id: String!
name: String
patch: String
publishedAt: String
createdAt: String
updatedAt: String
segment: String
thumbnailUrl: String!
}

Fields​

PageVersionResponse.id ● String! non-null scalar​

Version UUID accepted by publishing and version mutations.

PageVersionResponse.name ● String scalar​

Saved version name; null when no name is stored.

PageVersionResponse.patch ● String scalar​

Saved JSON-encoded patch body; null when no patch is stored.

PageVersionResponse.publishedAt ● String scalar​

Publication time as an ISO 8601 UTC string (YYYY-MM-DD HH:MM:SSZ from unpublishVersion); null when not published.

PageVersionResponse.createdAt ● String scalar​

Creation time as an ISO 8601 UTC string (YYYY-MM-DD HH:MM:SSZ from unpublishVersion).

PageVersionResponse.updatedAt ● String scalar​

Last update time as an ISO 8601 UTC string (YYYY-MM-DD HH:MM:SSZ from unpublishVersion).

PageVersionResponse.segment ● String scalar​

JSON-encoded audience definition; null when no definition is set.

PageVersionResponse.thumbnailUrl ● String! non-null scalar​

Signed version thumbnail viewing URL valid for one week.

Returned By​

publishVersion mutation ● unpublishVersion mutation

Member Of​

PageEditorPageResponse object