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.

contributions (ContributionConnection!)

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.

Contributions associated with the project.

Argument Type Description
after String

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

first Int

Returns the first n elements from the list.

The default value is 100.

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

reason: "In preparation for an upcoming change to the way we expose counters, this field will only be available inside a connection, Field "contributionsCount" will be removed, Use "contributions.totalCount" instead when it will be published.

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.

first Int

Returns the first n elements from the list.

The default value is 100.

orderBy UserOrder

Ordering options for contributors returning from the connection.

The default value is { "field": "CREATED_AT", "direction": "DESC" }.

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.

districts (GlobalDistrictConnection)

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.

Linking table with districts

Argument Type Description
after String

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

first Int

Returns the first n elements from the list.

The default value is 100.

id (ID!)

The ID of an object.

metaDescription (String)

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.

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.

themes ([Theme!])

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.

Themes 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.

first Int

Returns the first n elements from the list.

The default value is 100.