OBJECT

Comment

Comment by user about anything

link GraphQL Schema definition

  • type Comment {
  • # Primary Key
  • id: Int!
  • # Primary Key (ID) of parent comment
  • idp: Int!
  • # User ID (author)
  • user_id: Int!
  • # Unix timestamp when comment was added
  • created_at: Float!
  • # Status of comment: publish|reject|spam|new
  • status: String!
  • # Key of base Thing which comment, e.g. product or post
  • thing: String!
  • # ID of Thing item which comment
  • thing_id: String!
  • # Comment title
  • title: String
  • # Comment text
  • text: String
  • # Count of file attachments in comment
  • files_count: Int!
  • # Left Key for nested comments
  • left_key: Int
  • # Right Key for nested comments
  • right_key: Int
  • # ID of Visitor who post the comment
  • visitor_id: Int!
  • # ID of UserAgent who post the comment
  • user_agent_id: Int!
  • # Original user IP who post the comment
  • ip: String!
  • }