Decidim 0.27.5

decidim.barcelona API documentation

Explore the API interactively with GraphiQL

CommentableMutation

A commentable which includes its available mutations

Fields

id (ID!)

The Commentable's unique ID

addComment (Comment)

Add a new comment to a commentable

Argument Type Description
body String!

The comments's body

alignment Int

The comment's alignment. Can be 0 (neutral), 1 (in favor) or -1 (against)'

The default value is 0.

userGroupId ID

The comment's user group id. Replaces the author.