Decidim 0.27.9

OmaStadi API documentation

Explore the API interactively with GraphiQL

Plan

A plan

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

scope (Scope)

The object's scope

attachments ([Attachment]!)

This object's attachments

versionsCount (Int!)

Total number of versions

versions ([TraceVersion]!)

This object's versions

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

tags ([Tag!])

The tags for this record

title (TranslatedField!)

This plan's title

state (String)

The answer status in which plan is in

answer (TranslatedField)

The answer feedback for the status for this plan

closedAt (DateTime)

The date and time this plan was closed

answeredAt (DateTime)

The date and time this plan was answered

publishedAt (DateTime)

The date and time this plan was published

sections ([Section!]!)

Sections in this plan.

contents ([PlanContent!]!)

Contents in this plan.

values ([PlanContentSubject!]!)

The content values in this plan.

linkedResources ([PlanResourceLinkSubject!])

The linked resources for this plan.

linkingResources ([PlanResourceLinkSubject!])

The linking resources for this plan.