Cap Collectif Developers - GraphQL API

Version

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see Schema previews for more details.

A version of contribution

Implements

Fields

body (HTML!)

The content of the contribution.

bodyText (String!)

The content of the contribution.

comment (String)

Explenation.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The ID of an object

notPublishedReason (NotPublishedReason)

Reason that the entity is not published.

parent (Opinion!)

project (Project)

The related project.

publishableUntil (DateTime)

Identifies when the entity can no more be published.

published (Boolean!)

Whether or not the entity is published.

publishedAt (DateTime)

Identifies when the entity was published at.

related (Contribution)

Return the related contribution if the contribution is related to another.

title (String!)

The title of the contribution.

trashed (Boolean!)

Whether or not the contribution is trashed.

trashedAt (DateTime)

Identifies the moment the moderator trashed the contribution.

trashedReason (String)

Identifies the reason why the moderator trashed the contribution.

trashedStatus (TrashableStatus)

Identifies the trashed visibility.

updatedAt (DateTime)

Identifies the date and time when the object was updated.

url (URI!)

The URL to this resource.

viewerHasReport (Boolean!)