Cap Collectif Developers - GraphQL API

Project

A participatory project.

Implements

Fields

authors ([User!]!)

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.

The list of users who authored the project.

contributionsCount (Int!)

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.

Count of contributions associated with the project.

Deprecation notice

Field contributionsCount will be removed. Use contributions.totalCount instead when it will be published. In preparation for an upcoming change to the way we expose counters, this field will only be available inside a connection. Removal on 2020-01-01 UTC.

contributors (UserConnection!)

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 list of contributors associated with the project.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

The default value is 100.

last Int

Returns the last n elements from the list.

cover (Media)

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.

The cover image associated with the project.

id (ID!)

The ID of an object.

publishedAt (DateTime!)

Identifies when the project was published at.

steps ([Step!]!)

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.

The different steps associated with the project.

title (String!)

Identifies the title of the project.

type (ProjectType)

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.

The type associated with the project.

url (URI!)

The URL to this resource.

votes (VoteConnection!)

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 list of votes associated with the project.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

The default value is 100.

last Int

Returns the last n elements from the list.