Decidim 0.27.9

OmaStadi API documentation

Explore the API interactively with GraphiQL

Project

A project

Implements

Fields

scope (Scope)

The object's scope

attachments ([Attachment]!)

This object's attachments

id (ID!)

The internal ID for this project

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

category (Category)

The object's category

title (TranslatedField)

The title for this project

description (TranslatedField)

The description 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

stats ([StatsCollection!]!)

The statistics collections for this record

Argument Type Description
keys String

A statistics collection key to search for.

mainImage (String)

The main image URL for this project

mainImageBlob (Blob)

The main image file blob for the project

summary (TranslatedField)

The summary for this project

budgetAmount (Int)

The budget amount (maximum) for this project

budget_amount (Int)

DEPRECATED: (same as budgetAmount), use budgetAmount instead

budgetAmountMin (Int)

The minimum budget amount for this project

linkedResources ([ProjectLinkedResource!])

The linked resources for this project.

linkingResources ([ProjectLinkedResource!])

The linking resources for this project.