Decidim 0.28.4

decidim.barcelona API documentation

Explore the API interactively with GraphiQL

Project

A project

Implements

Fields

id (ID!)

The internal ID for this project

title (TranslatedField)

The title for this project

description (TranslatedField)

The description for this project

budget_amount (Int)

The budget amount for this project

selected (Boolean)

Whether this proposal is selected or not

createdAt (DateTime)

When this project was created

updatedAt (DateTime)

When this project was updated

reference (String)

The reference for this project

category (Category)

The object's category

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

attachments ([Attachment]!)

This object's attachments

scope (Scope)

The object's scope