Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
[ParticipatoryProcess!]
)
Lists all participatory_processes
Argument | Type | Description |
---|---|---|
filter |
ParticipatoryProcessFilter
|
This argument lets you filter the results |
order |
ParticipatoryProcessSort
|
This argument lets you order the results |
ParticipatoryProcess
)
ComponentInterface
)
Lists the components this space contains.
Argument | Type | Description |
---|---|---|
id |
ID!
|
The ID of the component to be found |
Session
)
Return's information about the logged in user
Decidim
)
Decidim's framework properties.
Organization
)
The current organization
The hashtags for current organization
Argument | Type | Description |
---|---|---|
name |
String
|
The name of the hashtag |
[Metric!]
)
Author
)
[Author!]
)
The participants (users or groups) for the current organization
Argument | Type | Description |
---|---|---|
order |
UserEntitySort
|
Provides several methods to order the results |
filter |
UserEntityFilter
|
Provides several methods to filter the results |
[ParticipatoryProcessGroup!]!
)
Lists all participatory process groups
ParticipatoryProcessGroup
)
Finds a participatory process group
Argument | Type | Description |
---|---|---|
id |
ID!
|
The ID of the Participatory process group |
[ParticipatoryProcessType!]!
)
List all participatory process types
ParticipatoryProcessType
)
Finds a participatory process type
Argument | Type | Description |
---|---|---|
id |
ID!
|
The ID of the participatory process type |
[AssembliesType!]!
)
Lists all assemblies types
AssembliesType
)
Finds an assemblies type group
Argument | Type | Description |
---|---|---|
id |
ID!
|
The ID of the Assemblies type |
[Assembly!]
)
Lists all assemblies
Argument | Type | Description |
---|---|---|
filter |
ParticipatoryProcessFilter
|
This argument lets you filter the results |
order |
ParticipatoryProcessSort
|
This argument lets you order the results |
Assembly
)
Finds an assembly
Argument | Type | Description |
---|---|---|
id |
ID
|
The ID of the participatory space |
Commentable!
)
[InitiativeType!]!
)
Lists all initiative types
InitiativeType
)
Finds an initiative type
Argument | Type | Description |
---|---|---|
id |
ID!
|
The ID of the initiative type |
[Initiative!]
)
Lists all initiatives
Argument | Type | Description |
---|---|---|
filter |
ParticipatoryProcessFilter
|
This argument lets you filter the results |
order |
ParticipatoryProcessSort
|
This argument lets you order the results |
Initiative
)
Finds an initiative
Argument | Type | Description |
---|---|---|
id |
ID
|
The ID of the participatory space |