Anarres Commons API documentation

Explore the API interactively with GraphiQL

Debate

A debate

Implements

Fields

closedAt (DateTime)

The closed time for this debate

commentsEnabled (Boolean)

Whether the comments are enabled for this debate

conclusions (TranslatedField)

The conclusion for this debate

description (TranslatedField)

The description for this debate

endTime (DateTime)

The end time for this debate

id (ID!)

The internal ID for this debate

image (String)

The image of this debate

informationUpdates (TranslatedField)

The information updates for this debate

instructions (TranslatedField)

The instructions for this debate

lastCommentAt (DateTime)

The last comment time for this debate

lastCommentBy (User)

The last commenter for this debate

startTime (DateTime)

The start time for this debate

title (TranslatedField)

The title for this debate

url (String!)

The URL for this debate

versionsCount (Int!)

Total number of versions

versions ([TraceVersion]!)

This object's versions

likes ([Author]!)

The likes of this object.

likesCount (Int)

The total amount of likes the object has received

attachments ([Attachment]!)

This object's attachments

reference (String)

The reference for this record

followsCount (Int)

The number of followers of the resource

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated

author (Author)

The resource author

type (String!)

The commentable's class name. i.e. Decidim::ParticipatoryProcess

acceptsNewComments (Boolean!)

Whether the object can have new comments or not

commentsHaveAlignment (Boolean!)

Whether the object comments have alignment or not

commentsHaveVotes (Boolean!)

Whether the object comments have votes or not

totalCommentsCount (Int!)

The number of comments in all levels this resource holds

hasComments (Boolean!)

Check if the commentable has comments

userAllowedToComment (Boolean!)

Check if the current user can comment

comments ([Comment!]!)

The list of replies in this comment

Argument Type Description
orderBy String

Order the comments

singleCommentId String

ID of the single comment to look at

taxonomies ([Taxonomy!])

The object's taxonomies