Comment

Required access

unauthenticated_read_content access scope

Show definition
type Comment implements Node {
  # Globally unique identifier.
  id: ID!

  # The comment’s author.
  author: CommentAuthor!

  # Stripped content of the comment, single line with HTML tags removed.
  content(
    # Truncates string after the given length.
    truncateAt: Int
  ): String!

  # The content of the comment, complete with HTML formatting.
  contentHtml: HTML!
}

Implements

Fields

author   (CommentAuthor!)

The comment’s author.

Required access

unauthenticated_read_ access scope

content   (String!)

Stripped content of the comment, single line with HTML tags removed.

Required access

unauthenticated_read_ access scope

Argument Type Default Description
truncateAt

Int

Truncates string after the given length.

contentHtml   (HTML!)

The content of the comment, complete with HTML formatting.

Required access

unauthenticated_read_ access scope

id   (ID!)

Globally unique identifier.

Required access

unauthenticated_read_ access scope

Sign up for a Partner account to get started.

Sign up