Skip to main content

pageEditorCapabilities

Returns the requested capabilities of the account that owns an editor rather than the caller's. Returns null when the editor does not exist or has no owner yet; use capabilities for the caller's own account. Requires a page editor token for the editor, or a logged-in user who owns the editor or can edit the site of one of its pages.

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.

pageEditorCapabilities(
editorId: String!
): Capabilities

Arguments​

pageEditorCapabilities.editorId ● String! non-null scalar​

Editor UUID from pageEditorCreatePage or pageEditorLatest.

Type​

Capabilities object​

Capability map keyed by product area, returned by capabilities and pageEditorCapabilities. Requested entries combine action permissions with applicable subscription allowances.