Cap Collectif Developers - GraphQL API
ProposalForm
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.
Fetches an object given its ID
Fields
ID!
)
The ID of an object
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.
|
includeDraft |
Boolean
|
(ROLE_ADMIN only) Select also draft proposals.
|
orderBy |
[ProposalOrder]
|
Ordering options for proposals returned from the connection.
|
trashedStatus |
ProposalTrashedStatus
|
If non-null, filters proposals with the given trashed status (eg: visible, not visible).
|