Content
Content page or block.
type Content implements Node {
id: ID!
slug: String!
isPage: Boolean!
lockExpiry: DateTime
createdAt: DateTime
updatedAt: DateTime
publicationDate: DateTime
isPublished: Boolean!
lockedBy: User
data: JSONString!
draftData: JSONString!
revision: Int!
hasActiveDraft: Boolean!
contentPageData: ContentPageData
}
Fields
Content.id ● ID! non-null scalar
The Globally Unique ID of this object
Content.slug ● String! non-null scalar
Content slug
Content.isPage ● Boolean! non-null scalar
Whether this is a page
Content.lockExpiry ● DateTime scalar
When the lock expires
Content.createdAt ● DateTime scalar
When the content was created
Content.updatedAt ● DateTime scalar
When the content was last updated
Content.publicationDate ● DateTime scalar
Publication date
Content.isPublished ● Boolean! non-null scalar
Whether the content is published
Content.lockedBy ● User object
User who locked the content for editing.
Content.data ● JSONString! non-null scalar
Data of the latest published content version to render the view.
Content.draftData ● JSONString! non-null scalar
Data of the latest unpublished content version to render the editor view.
Content.revision ● Int! non-null scalar
Revision number of the latest content version.
Content.hasActiveDraft ● Boolean! non-null scalar
Whether the content has an active draft.
Content.contentPageData ● ContentPageData object
Content page data with SEO information.
Interfaces
Node interface
An object with a Globally Unique ID
Returned By
content query ● contentDraft query
Member Of
ContentCountableEdge object ● ContentCreate object ● ContentDelete object ● ContentDiscard object ● ContentDuplicate object ● ContentPublish object ● ContentSave object ● MenuItem object