GraphQL API

GraphQL API

Latest Poppulo platform GraphQL API

Post

Represents a content post. It holds essential information about the post, including the author, the body of the post and related comments and reactions.

Fields

  • id

    ID

    Unique identifier of the post

  • accountId

    Int

    Account id associated with the post

  • enterpriseId

    Int

    EnterpriseId associated with the post

  • articleCategory

    ArticleCategory

    Denotes the type of article. Typically used for feed display purposes

    • LINK
    • POST
  • author

    String

    Author of the post

  • body
    List

    String

    Content of the post

  • components

    Components

    Components related to the post. It holds information on video links, attachments, images etc.

  • featured

    Boolean

    Denotes whether the post is a featured post or not

  • notifications

    Boolean

    Denotes if the post has push notifications enabled

  • publiclySharable

    Boolean

    Denotes if the link for the post can be publicly shared. For example a mobile application can turn on or off sharing options based on this setting.

  • reactionsEnabled

    Boolean

    Denotes if reactions are enabled for the post

  • commentsEnabled

    Boolean

    Denotes if comments are enabled for the post

  • timeOfCreation

    String

    Epoch time of when the post was initially created

  • timeOfPublish

    String

    Epoch time of when the post was published

  • title

    String

    Title of the post

  • status

    Status

    Current publication status of the post

    • DELETED
    • PENDING_PUBLISHED
    • PUBLISHED
  • audience

    String
    Deprecated

    Intended audience of the post

    Deprecation date 07 Sep 2023

  • campaignCode

    String

    Campaign code related to the post

  • comments

    Comments
    Deprecated

    Comments related to the post

    Deprecation date 03 Nov 2022

  • feedPostComments

    PostCommentsConnection

    Comments related to the post. The comments are returned as a paginated list

  • reactions

    Reactions

    Reactions related to the post. It holds a list of reactions alongside specific summary data such as the like count

  • seen

    Boolean
    Deprecated

    Denotes if the user making the request has seen the post

    Deprecation date 29 Jun 2022

  • contentType

    String

    Denotes the contentType of post

  • Denotes if the post body content is in right-to-left orientation

  • language

    Locale

    The language of the post body content in BCP-47 standard format

  • bodyAutoTranslated

    Boolean

    Denotes if the post body was auto translated by the system

  • employeeFeedGroup

    EmployeeFeedGroup

    EmployeeFeedGroup associated with the post