Anarres Commons API documentation

Explore the API interactively with GraphiQL

Project

A project

Implements

Fields

budget_amount (Int)

The budget amount for this project

budgetUrl (String!)

The URL for the budget

confirmedVotes (Int)

The number of confirmed votes this project has received

description (TranslatedField)

The description for this project

id (ID!)

The internal ID for this project

relatedProposals ([Proposal])

The related proposals

selected (Boolean)

Whether this proposal is selected or not

selectedAt (DateTime)

The date when the project was selected

title (TranslatedField)

The title for this project

url (String!)

The URL for this project

versionsCount (Int!)

Total number of versions

versions ([TraceVersion]!)

This object's versions

reference (String)

The reference for this record

address (String)

The physical address (location) of this result

coordinates (Coordinates)

Physical coordinates for this result

followsCount (Int)

The number of followers of the resource

attachmentCollections ([AttachmentCollection]!)

This object's attachment collections

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

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

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

attachments ([Attachment]!)

This object's attachments

taxonomies ([Taxonomy!])

The object's taxonomies

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated