Cap Collectif Developers - GraphQL API

SelectionStep

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 to select proposals.

Implements

Fields

id (ID!)

The ID of an object.

proposals (ProposalConnection!)

A list of proposals associated to the object.

Argument Type Description
after String

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

author ID

ID of a User to filter by. If non-null, only proposals authored by this user will be returned.

first Int

Returns the first n elements from the list.

The default value is 100.

includeDraft Boolean

(ROLE_ADMIN only) Select also draft proposals.

The default value is false.

orderBy [ProposalOrder]

Ordering options for proposals returned from the connection.

The default value is [ { "field": "PUBLISHED_AT", "direction": "ASC" } ].

trashedStatus ProposalTrashedStatus

If non-null, filters proposals with the given trashed status (eg: visible, not visible).

The default value is "NOT_TRASHED".

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.