API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

Comment object

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Types that return Comment

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return Comment

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge

A comment on an article.

Required access

unauthenticated_read_content access scope.

Fields

author (CommentAuthor!)

The comment’s author.

content (String!)

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

truncateAt ( Int )

Truncates string after the given length.

contentHtml (HTML!)

The content of the comment, complete with HTML formatting.

id (ID!)

Globally unique identifier.

Types that return Comment

Implements

On this page

Fields

edges ([CommentEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Fields

cursor (String!)

A cursor for use in pagination.

node (Comment!)

The item at the end of CommentEdge.

Types that return CommentEdge