Skip to main content

Article Object

Description

Represents a blog post, page, or article with content and metadata.

Declaration

type Article {
_id: ID!
id: Int!
created: Date
modified: Date
published: ArticlePublished
url: String
seo: SeoEntry
private: Boolean
content: ArticleContent!
homepage: Boolean
thumbnail: Media
title: String!
type: ArticleType
tags: [String!]!
handle: String!
}

Fields

NameTypeDescription
_idID!Internal database identifier.
idInt!Numeric identifier for the article.
created ⚠️DateCreation date of the article. ⚠️ Deprecated: No longer supported
modified ⚠️DateLast modification date of the article. ⚠️ Deprecated: No longer supported
publishedArticlePublishedPublication status and date.
urlStringURL path to the article.
seoSeoEntrySEO metadata for the article.
privateBooleanWhether the article is private and requires authentication.
contentArticleContent!Article content in various formats.
homepageBooleanWhether this article is set as the homepage.
thumbnailMediaThumbnail image for the article.
titleString!Title of the article.
typeArticleTypeType of article content format.
tags[String!]!Tags associated with the article.
handleString!URL-friendly handle for the article.