Decidim 0.27.9

OmaStadi API documentation

Explore the API interactively with GraphiQL

Idea

An idea

Implements

Fields

id (ID!)
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

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

author (Author)

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

authors ([Author]!)

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

category (Category)

The object's category

fingerprint (Fingerprint!)

This object's fingerprint

amendments ([Amendment]!)

This object's amendments

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated

favoriteCount (Int)

The total amount of how many time the record has been added to favorites

title (String!)

This idea's title

body (String!)

This idea's body

image (Attachment)

This object's attachments

attachments ([Attachment!])

This object's attachments

areaScope (Scope)

The object's scope

address (String)

The physical address (location) of this idea

coordinates (Coordinates)

Physical coordinates for this idea

reference (String)

This idea's unique reference

state (String)

The answer status in which idea is in (null|accepted|rejected|evaluating|withdrawn)

answer (TranslatedField)

The answer feedback for the status for this idea

answeredAt (DateTime)

The date and time this idea was answered

publishedAt (DateTime)

The date and time this idea was published

versionsCount (Int!)

Total number of versions

versions ([IdeaVersion!]!)

This object's versions

linkingResources ([IdeaResourceLinkSubject!])

The linked resources for this idea.