Skip to main content
Version: v4

Post

No description

type Post {
id: String!
language: Language!
title: String!
contentFormat: ContentFormat!
approximateTime: Int!
description: String!
content: String
contentHTML: String
contentHTMLPreview: String
contentValue: Float!
topic: [Topic!]
icd10: [String!]
keywords: [String!]
learningOutcome: String
createdAt: DateTime!
updatedAt: DateTime!
deletedAt: DateTime
postParentId: String!
creatorId: String!
postParent: PostParent!
creator: Creator!
mediaFileDetailsList: [FileDetails!]!
scriptFileDetails: FileDetails
}

Fields

Post.id ● String! non-null scalar

UUID of post

Post.language ● Language! non-null enum

Language of post

Post.title ● String! non-null scalar

Title of post

Post.contentFormat ● ContentFormat! non-null enum

Format of content

Post.approximateTime ● Int! non-null scalar

Approximate consumption time for post given in minutes

Post.description ● String! non-null scalar

Description of post

Post.content ● String scalar

Rich text content of post given as JSON string of raw DraftJs content state

Post.contentHTML ● String scalar

Rich text content of post given as JSON string of HTML

Post.contentHTMLPreview ● String scalar

Rich text preview of content of post given as JSON string of HTML

Post.contentValue ● Float! non-null scalar

Content value of post

Post.topic ● [Topic!] list enum

Topic of the post

Post.icd10 ● [String!] list scalar

ICD-10 code for the post

Post.keywords ● [String!] list scalar

Keywords for the post

Post.learningOutcome ● String scalar

Learning outcome for the post

Post.createdAt ● DateTime! non-null scalar

Creation time given as the ISO Date string

Post.updatedAt ● DateTime! non-null scalar

Last update time given as the ISO Date string

Post.deletedAt ● DateTime scalar

Soft delete time given as the ISO Date string

Post.postParentId ● String! non-null scalar

Parent id of post

Post.creatorId ● String! non-null scalar

Creator id of post

Post.postParent ● PostParent! non-null object

Parent of post

Post.creator ● Creator! non-null object

Creator of post

Post.mediaFileDetailsList ● [FileDetails!]! non-null object

Media content for post

Post.scriptFileDetails ● FileDetails object

Script for post

Returned by

getPosts query

Member of

Creator object ● PostParent object

Implemented by

FileDetailsParentUnion union