Decidim 0.28.0

Metadecidim API documentation

Explore the API interactively with GraphiQL

Post

A post

Implements

Fields

id (ID!)

The internal ID of this post

title (TranslatedField)

The title for this post

body (TranslatedField)

The body of this post

publishedAt (DateTime!)

The time this page was published

createdAt (DateTime)

The date and time this object was created

updatedAt (DateTime)

The date and time this object was updated

endorsements ([Author]!)

The endorsements of this object.

endorsementsCount (Int)

The total amount of endorsements the object has received

versionsCount (Int!)

Total number of versions

versions ([TraceVersion]!)

This object's versions

author (Author)

The resource author

attachments ([Attachment]!)

This object's attachments

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