Skip to main content
Version: s5

ArticleMedia

Article media

type ArticleMedia {
id: String!
language: Language!
approximateTime: Int!
contentHTML: String
contentHTMLPreview: String
createdAt: DateTimeISO!
updatedAt: DateTimeISO!
deletedAt: DateTimeISO
postId: Creator!
post: Post!
creatorId: String!
creator: Creator!
photo: File!
}

Fields

ArticleMedia.id ● String! non-null scalar

UUID of article

ArticleMedia.language ● Language! non-null enum

Language of article

ArticleMedia.approximateTime ● Int! non-null scalar

Approximate time to read article

ArticleMedia.contentHTML ● String scalar

Rich text content of article given as JSON string of HTML

ArticleMedia.contentHTMLPreview ● String scalar

Rich text preview of article given as JSON string of HTML

ArticleMedia.createdAt ● DateTimeISO! non-null scalar

Creation time given as the ISO Date string

ArticleMedia.updatedAt ● DateTimeISO! non-null scalar

Last update time given as the ISO Date string

ArticleMedia.deletedAt ● DateTimeISO scalar

Soft delete time given as the ISO Date string

ArticleMedia.postId ● Creator! non-null object

Post id of article

ArticleMedia.post ● Post! non-null object

Post of article

ArticleMedia.creatorId ● String! non-null scalar

Creator id of article

ArticleMedia.creator ● Creator! non-null object

Creator of article

ArticleMedia.photo ● File! non-null object

Photo for article

Member of

Creator object

Implemented by

FileParentUnion union ● MediaUnion union