Content
Content object.
type Content implements Node {
publicationDate: Date
isPublished: Boolean!
createdAt: DateTime!
updatedAt: DateTime!
id: ID!
slug: String!
isPage: Boolean!
lockedBy: User
lockExpiry: DateTime
data: JSONString!
draftData: JSONString!
revision: Int!
hasActiveDraft: Boolean
contentPageData: ContentPageData
}
Fields
Content.publicationDate ● Date scalar
Content.isPublished ● Boolean! non-null scalar
Content.createdAt ● DateTime! non-null scalar
Content.updatedAt ● DateTime! non-null scalar
Content.id ● ID! non-null scalar
The ID of the object
Content.slug ● String! non-null scalar
Content.isPage ● Boolean! non-null scalar
Content.lockedBy ● User object
Content.lockExpiry ● DateTime scalar
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 scalar
Whether the content has an active draft.
Content.contentPageData ● ContentPageData object
Content page data.
Interfaces
Node interface
An object with an 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