OBJECT

Topic

Represents a topic of discussion.

link GraphQL Schema definition

  • type Topic implements PublicNode {
  • # The ID of the object.
  • id: UUID
  • # The title of the topic.
  • title: String!
  • # The date and time when the topic was added.
  • createdAt: DateTime
  • # The date and time when the topic was last updated.
  • modifiedAt: DateTime
  • # The content of the topic.
  • content: String!
  • # The author of the topic.
  • author: User!
  • # The top-level comments associated with the topic.
  • #
  • # Arguments
  • # before: [Not documented]
  • # after: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • comments(before: String, after: String, first: Int, last: Int): CommentConnection!
  • # The total number of comments and replies in the topic.
  • commentsCount: Int!
  • # The number of likes on the topic.
  • likesCount: Int!
  • }