GraphQL API

GraphQL API

Latest Poppulo platform GraphQL API

Create ReactionMutation

Create a reaction on a post

Request Parameters

  • postId

    String
    Required

    ID of the post

  • reactionType

    ReactionType
    Required

    Type of reaction to create

    • LIKE
  • enterpriseId

    ID
    Deprecated
    Optional

    ID of the enterprise account - this argument is no longer supported. Will be removed after deprecation date.

    Deprecation date 01 Feb 2022

Response Fields

Reaction
  • postId

    String

    Post id associated with this reaction

  • reactionId

    String

    Unique identifier of the reaction

  • content

    ReactionType

    The type of reaction

    • LIKE
  • timeOfPublish

    String

    Epoch time for when the reaction was created

  • cognitoSubId

    String
    Deprecated

    Cognito identifier of user who reacted

    Deprecation date 03 Nov 2022

  • author

    String

    Name of user who reacted

  • poppuloId

    String

    Poppulo identifier of user who reacted

  • status

    Status

    Publication status of the reaction

    • DELETED
    • PENDING_PUBLISHED
    • PUBLISHED