Cap Collectif Developers - GraphQL API

ConsultationStep

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 step with consultation.

Implements

Fields

contributors (UserConnection!)

A list of contributor associated with the consultation step.

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.

state (StepState!)

Identifies the current state of the step.

timeRange (TimeRange!)

When the time interval begins or ends.

title (String!)

The title of the step.

url (URI!)

The URL to this resource.

userHasVote (Boolean!)

Whether the user has vote for a contribution in this consultation step.

Argument Type Description
login String!

The user's login (for example, an email).

votes (VoteConnection!)

The votes in this consultation.

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.

votesCount (Int)

The number of votes in this consultation.

Deprecation notice

reason: "In preparation for an upcoming change to the way we expose counters, this field will only be available inside a connection.", description: "Field votesCount will be removed, Use "votes.totalCount" instead