Skip to main content
Version: s5

Post

Post (language invariant)

type Post {
id: String!
universalTitle: String!
contentValue: Int!
category: [Category!]!
topic: [ContentTopic!]!
icd10: [String!]!
clinicallyVerified: Boolean!
createdAt: DateTimeISO!
updatedAt: DateTimeISO!
deletedAt: DateTimeISO
postDetailsList(
where: PostDetailsWhere
limit: Int
offset: Int
): [PostDetails!]!
mediaType: PostMediaType!
media(
where: MediaUnionWhere
limit: Int
offset: Int
): [MediaUnion!]!
}

Fields

Post.id ● String! non-null scalar

UUID of post

Post.universalTitle ● String! non-null scalar

Universal title of post

Post.contentValue ● Int! non-null scalar

Content value of post

Post.category ● [Category!]! non-null enum

List of categories post is included in

Post.topic ● [ContentTopic!]! non-null enum

Topic of the post

Post.icd10 ● [String!]! non-null scalar

ICD-10 code for the post

Post.clinicallyVerified ● Boolean! non-null scalar

Flag indicating if content has been clinically verified

Post.createdAt ● DateTimeISO! non-null scalar

Creation time given as the ISO Date string

Post.updatedAt ● DateTimeISO! non-null scalar

Last update time given as the ISO Date string

Post.deletedAt ● DateTimeISO scalar

Soft delete time given as the ISO Date string

Post.postDetailsList ● [PostDetails!]! non-null object

Details list of post

Post.postDetailsList.where ● PostDetailsWhere input
Post.postDetailsList.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

Post.postDetailsList.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

Post.mediaType ● PostMediaType! non-null enum

Media of post

Post.media ● [MediaUnion!]! non-null union

Media of post

Post.media.where ● MediaUnionWhere input
Post.media.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

Post.media.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

Returned by

getPosts query

Member of

ArticleMedia object ● AudioMedia object ● PostDetails object ● VideoMedia object

Implemented by

CourseItemContentUnion union ● FileParentUnion union