Decidim 0.27.5

PRAGA LAB API documentation

Explore the API interactively with GraphiQL

ConsultationQuestion

A consultation question

Implements

Fields

scope (Scope)

The object's scope

attachments ([Attachment]!)

This object's attachments

id (ID!)

Internal ID of the question

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

comments ([Comment!]!)
Argument Type Description
orderBy String

Order the comments

singleCommentId String

ID of the single comment to look at

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

title (TranslatedField)

Title of the question

subtitle (TranslatedField)

The subtitle of this question

slug (String!)

Slug of the question

createdAt (DateTime!)

The time this question was created

updatedAt (DateTime!)

The time this question was updated

publishedAt (DateTime!)

The time this question was published

components ([ComponentInterface])

Lists the components this space contains.

bannerImage (String)

The banner image for this question

heroImage (String)

The hero image for this question

whatIsDecided (TranslatedField)

What is decided in this question

promoterGroup (TranslatedField)

The promoter group of this question

participatoryScope (TranslatedField)

The participatory scope of this question

questionContext (TranslatedField)

The context for this question

reference (String)

The reference for this question

hashtag (String)

The hashtag of this question

votesCount (Int)

The number of votes in this question

originScope (TranslatedField)

The origin scope of this question

originTitle (TranslatedField)

The origin title of this question

originUrl (String)

The origin URL for this question

iFrameUrl (String)

The iframe URL for this question

externalVoting (Boolean)

If the question has external voting

responsesCount (Int)

The number of responses for this question

order (Int)

The order in which the question should be represented

maxVotes (Int)

The maximum number of votes in this question

minVotes (Int)

The minimum number of votes in this question

responseGroupsCount (Int)

The number of group responses for this question

instructions (TranslatedField)

Instructions for this question