Cap Collectif Developers - GraphQL API

Thank you for your interest in our public API !

This is an early release… We will progressively enhance the documentation (including more examples !) and complete what can be retrieved via the public API, throughout the following weeks. Thank you in advance for your patience and do not hesitate to return regularly to this documentation to see its evolution.

Please notice, you do not need an API key to read public data.

The technical team of Cap Collectif.

Proposal

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.

Represents a user's contribution to a collect step.

Implements

Fields

author (User!)

The author of the contribution.

body (HTML)

Identifies the body of the proposal.

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.

publishableUntil (DateTime)

Identifies when the entity can no more be published.

published (Boolean!)

`true` if the object is published.

publishedAt (DateTime)

Identifies when the entity was published at.

responses ([Response]!)

Identifies the responses of the proposal.

title (String!)

Identifies the proposal title.

trashed (Boolean!)

`true` if 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 last updated.

url (URI!)

The URL to this resource.