Decidim 0.30.0.rc3

Metadecidim API documentation

Explore the API interactively with GraphiQL

Proposal

A proposal

Implements

Fields

address (String)

The physical address (location) of this proposal

answer (TranslatedField)

The answer feedback for the status for this proposal

answeredAt (DateTime)

The date and time this proposal was answered

body (TranslatedField)

The description for this body

coordinates (Coordinates)

Physical coordinates for this proposal

createdInMeeting (Boolean)

Whether this proposal comes from a meeting or not

id (ID!)

The id of the Proposal

meeting (Meeting)

If the proposal comes from a meeting, the related meeting

official (Boolean)

Whether this proposal is official or not

participatoryTextLevel (String)

If it is a participatory text, the level indicates the type of paragraph

position (Int)

Position of this proposal in the participatory text

publishedAt (DateTime)

The date and time this proposal was published

reference (String)

This proposal's unique reference

state (String)

The answer status in which proposal is in

title (TranslatedField)

The title for this title

voteCount (Int)

The total amount of votes the proposal has received

withdrawn (Boolean)

Whether this proposal has been withdrawn or not

withdrawnAt (DateTime)

The date and time this proposal was withdrawn

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated

endorsements ([Author]!)

The endorsements of this object.

endorsementsCount (Int)

The total amount of endorsements the object has received

versionsCount (Int!)

Total number of versions

versions ([TraceVersion]!)

This object's versions

amendments ([Amendment]!)

This object's amendments

fingerprint (Fingerprint!)

This object's fingerprint

attachments ([Attachment]!)

This object's attachments

taxonomies ([Taxonomy!])

The object's taxonomies

authorsCount (Int)

The total amount of co-authors that contributed to the entity. Note that this field may include also non-user authors like meetings or the organization

authors ([Author]!)

The resource co-authors. Include only users or groups of users

author (Author)

The resource author. Note that this can be null on official proposals or meeting-proposals

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