Decidim 0.30.0.rc3

Metadecidim API documentation

Explore the API interactively with GraphiQL

CommentableMutation

A commentable which includes its available mutations

Fields

addComment (Comment)

Add a new comment to a commentable

Argument Type Description
alignment Int

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

The default value is 0.

body String!

The comments's body

userGroupId ID

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

id (ID!)

The Commentable's unique ID