Decidim 0.27.9

OmaStadi API documentation

Explore the API interactively with GraphiQL

Result

A result

Implements

Fields

id (ID!)

The internal ID for this result

name (TranslatedField!)

The name of this component.

weight (Int!)

The order of this result

participatorySpace (ParticipatorySpace!)

The participatory space in which this component belongs to.

stats ([StatsCollection!]!)

The statistics collections for this record

Argument Type Description
keys String

A statistics collection key to search for.

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

scope (Scope)

The object's scope

linkedResources ([ResultResourceLinkInterface])

The linked resources for this result

locations ([Location!])

The locations for this record

tags ([Tag!])

The tags for this record

title (TranslatedField)

The title for this result

description (TranslatedField)

The description for this result

reference (String)

The reference for this result

startDate (Date)

The start date for this result

endDate (Date)

The end date for this result

progress (Float)

The progress for this result

createdAt (DateTime)

When this result was created

updatedAt (DateTime)

When this result was updated

childrenCount (Int)

The number of children results

externalId (String)

The external ID for this result

children ([Result])

The childrens results

parent (Result)

The parent result

status (Status)

The status for this result

timelineEntries ([TimelineEntry])

The timeline entries for this result

budgetAmount (Int)

The budget amount for this result

budgetBreakdown (TranslatedField)

The budget breakdown for this result (HTML)

plansDescription (TranslatedField)

The plans description for this result (HTML)

interactionDescription (TranslatedField)

The interaction for this result (HTML)

newsDescription (TranslatedField)

The news for this result (HTML)

publishedAt (DateTime)

The date and time this result was published at

summary (TranslatedField!)

The summary for this result

mainImage (String)

The main image URL for this result

listImage (String)

The list image (thumbnail) URL for this result

defaultDetails ([ResultDetailType!]!)

The default details for this result

details ([ResultDetailType!]!)

The details for this result

links ([ResultLinkType!]!)

The links for this resource