Decidim 0.30.0.rc3

Metadecidim API documentation

Explore the API interactively with GraphiQL

Post

A post

Implements

Fields

body (TranslatedField)

The body of this post

id (ID!)

The internal ID of this post

publishedAt (DateTime!)

The time this page was published

title (TranslatedField)

The title for this post

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

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