Cap Collectif Developers - GraphQL API
Consultation
A consultation
Implements
Fields
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.
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.
|
includeTrashed |
Boolean
|
The connection will return the trashed results too.
|
orderBy |
ContributionOrder
|
Ordering options for contributions returned from the connection.
|
UserConnection!
)
A list of contributor associated with the 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.
|
ID!
)
The ID of an object.
String!
)
The title of the consultation.
Boolean!
)
Whether the user has vote for a contribution in the related step of this consultation.
Argument | Type | Description |
---|---|---|
login |
String!
|
The user's login (for example, an email). |
VoteConnection!
)
The votes in the related step of 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.
|
Int
)
The number of votes in the related step of this consultation.
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".