INPUT_OBJECT

CreatePostInput

The field used to create a new Post.

link GraphQL Schema definition

  • input CreatePostInput {
  • # Title of the post
  • title: String!
  • # The number of CE credits this post is accredited for
  • creditHours: Float
  • # The external URL for this post. This is used for articles and other external
  • # content
  • externalURL: String
  • # The URL to use in the share sheet, social media or other sharing mechanisms
  • shareURL: String
  • # Whether this post is accredited for CE credits
  • ce: Boolean
  • # Whether this post has been curated as high quality CE content
  • highQualityCe: Boolean
  • # The status of the post.
  • # - draft: The post is in draft mode and is only visible to the post author.
  • # - published: The post is published and visible in the feed and searchable.
  • # - archived: The post is archived and not visible to anyone except an admin.
  • # - deleted: The post is deleted and not visible to anyone except an admin.
  • # - processing: The post is being processed and is only visible to the post
  • # author.
  • status: PostStatus
  • # Body of the post. Tags (starting with a #) and Mentions (starting with an @) are
  • # allowed
  • body: String!
  • # Whether this post is featured
  • featured: Boolean
  • # The main discussion points for this post. If the post has an attached
  • # sourceArticle, the discussionPoints have been copied from there and are
  • # identical.
  • discussionPoints: [String!]
  • createdAt: Time
  • updatedAt: Time
  • sortKey: Int
  • terms: [String!]
  • termFrequencies: Map
  • wordcloud: String
  • # The type of the post
  • type: PostType
  • # The trending boost of the post.
  • trendingBoost: Float
  • syntheticSuggestedSearches: [String!]
  • reflectiveNudges: [String!]
  • # Whether this post should be excluded from the feed
  • excludeFromFeed: Boolean
  • # The disclosure statements for this post
  • ceDisclosureStatements: String
  • # The learning objective for this post
  • ceLearningObjective: String
  • # The post assessment question for this post
  • cePostAssessmentQuestion: String
  • # The intended audience for this post (for use on CE minisite)
  • ceAudience: String
  • # Whether to include this post in the CE minisite
  • includeInCeMinisite: Boolean
  • # The PDF for this post (for use on CE minisite)
  • cePdf: String
  • # The CE classification for this post
  • ceClassification: Map
  • # The time when the CE classification was last updated
  • ceLastClassifiedAt: Time
  • ceReleaseDate: Time
  • ceExpirationDate: Time
  • ceImplementor: String
  • # The estimated reading time for this article, in minutes.
  • readTimeInMinutes: Int
  • # The word count for this post
  • wordCount: Int
  • # Whether this post should be automatically published after it is finished
  • # processing.
  • autoPublish: Boolean
  • authorID: ID
  • topicIDs: [ID!]
  • assetIDs: [ID!]
  • mentionIDs: [ID!]
  • citationIDs: [ID!]
  • tenantID: ID
  • institutionID: ID
  • accreditedLearningObjectiveID: ID
  • commentIDs: [ID!]
  • mediaItemIDs: [ID!]
  • videoIDs: [ID!]
  • coverImageID: ID
  • imageIDs: [ID!]
  • postCollectionIDs: [ID!]
  • educationCreditIDs: [ID!]
  • audienceIDs: [ID!]
  • postTagIDs: [ID!]
  • likedUserIDs: [ID!]
  • bookmarkedUserIDs: [ID!]
  • learningObjectiveIDs: [ID!]
  • postReportIDs: [ID!]
  • pollID: ID
  • sourceArticleID: ID
  • feedHistoryIDs: [ID!]
  • feedImpressionIDs: [ID!]
  • embeddingIDs: [ID!]
  • linkIDs: [ID!]
  • topicClassificationIDs: [ID!]
  • attachments: [PostAttachmentInput!]
  • # Create a Citation for the post
  • createCitations: [CreatePostCitationInput!]
  • # Create a Poll for the post
  • createPollQuestions: [CreatePollQuestionInput!]
  • }

link Require by