Decidim 0.31.0.rc1

Beta Try API documentation

Explore the API interactively with GraphiQL

Proposal

A proposal

Implements

Fields

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

cost (String)

The proposal cost

costReport (TranslatedField)

The cost report for this proposal

createdInMeeting (Boolean)

Whether this proposal comes from a meeting or not

executionPeriod (TranslatedField)

The execution period for this proposal

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

proposalState (ProposalState)

The proposal state for this proposal

publishedAt (DateTime)

The date and time this proposal was published

state (String)

The answer status in which proposal is in

title (TranslatedField)

The title for this proposal

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

url (String!)

The URL for this proposal

followsCount (Int)

The number of followers of the resource

address (String)

The physical address (location) of this result

coordinates (Coordinates)

Physical coordinates for this result

reference (String)

The reference for this record

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated

likes ([Author]!)

The likes of this object.

likesCount (Int)

The total amount of likes the object has received

versions ([TraceVersion]!)

This object's versions

versionsCount (Int!)

Total number of 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

acceptsNewComments (Boolean!)

Whether the object can have new comments or not

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

commentsHaveAlignment (Boolean!)

Whether the object comments have alignment or not

commentsHaveVotes (Boolean!)

Whether the object comments have votes or not

hasComments (Boolean!)

Check if the commentable has comments

totalCommentsCount (Int!)

The number of comments in all levels this resource holds

type (String!)

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

userAllowedToComment (Boolean!)

Check if the current user can comment