OBJECT
Comment
link GraphQL Schema definition
- type Comment implements Node {
- : ID!
- # Body of the comment
- : String!
- # The reflection prompt the user chose for this comment
- : String
- : [NamedEntity!]
- : Sentiment
- # The total number of likes this comment has
- : Int!
- : Time!
- # The results of the reflection analysis. Only set of the ReflectionVersion is 1
- : ReflectionResult
- : Time!
- # Whether or not the user should earn credits for this comment
- : Boolean!
- # Whether or not the user earned credits for this comment
- : Boolean!
- # Whether or not the credit was approved
- : Boolean
- # The version of the reflection analysis algorithm used to analyze this comment.
- #
- # Version 1 is the original version, and is synchronous and the results are
- # available immediately.
- #
- # - DidEarnCredits is set to true if the comment is approved.
- #
- # - ReflectionAnalysisResults is set to the results of the analysis.
- #
- # Version 2 is the newest version, and is asynchronous. Poll completedAt on the
- # ReflectionAnalysis field to see if the comment was approved.
- #
- # - DidEarnCredits is set to true if the comment is approved.
- #
- # - ReflectionAnalysisResults is NOT set
- #
- # - See the ReflectionAnalysis field for details on the analysis.
- #
- # - If the comment was not approved, use the linked SparkyChat to continue the
- # reflective process.
- : Int!
- # The author of the comment
- : User
- # The post this comment belongs to
- : Post
- # The replies to this comment
- : Comment
- : [Comment!]
- # The education credit this comment earned
- : EducationCredit
- : [CommentNamedEntity!]
- # The user who reviewed this comment
- : User
- : [SparkyConversation!]
- # The users who liked this comment
- : [User!]
- : SparkyChat
- : ReflectionAnalysis
- : [CommentLike!]
- : Time
- }