Cap Collectif Developers - GraphQL API

CollectStep

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 collect proposals.

Implements

Fields

id (ID!)

The ID of an object.

proposals (ProposalConnection!)

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.

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.

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

title (String!)

The title of the step.