Skip to main content

pageEditorUpdateHistory

Replaces a page's saved editor history string and returns true, or false when the page does not exist. History is separate from saved versions; use pageEditorCreateVersion to save changes. Requires a page editor token for the editor, or a logged-in user who owns the editor or can edit the page's site.

Page editor

This operation serves the Crazy Egg page editor. Besides personal access tokens, it accepts the page editor's own credential, and it checks access to the editor, page or site involved.

pageEditorUpdateHistory(
pageId: String!
history: String!
): Boolean

Arguments​

pageEditorUpdateHistory.pageId ● String! non-null scalar​

Page UUID from pageEditorCreatePage or pageEditorGetEditor.

pageEditorUpdateHistory.history ● String! non-null scalar​

Opaque editor history string, stored as given and returned as history by pageEditorGetEditor.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.