Decidim 0.27.5

decidim.barcelona API documentation

Explore the API interactively with GraphiQL

Proposals

A proposals component of a participatory space.

Implements

Connections

proposals (ProposalConnection)

List all proposals

Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order ProposalSort

Provides several methods to order the results

filter ProposalFilter

Provides several methods to filter the results

Fields

id (ID!)

The Component's unique ID

name (TranslatedField!)

The name of this component.

weight (Int!)

The weight of the component

participatorySpace (ParticipatorySpace!)

The participatory space in which this component belongs to.

proposal (Proposal)

Finds one proposal

Argument Type Description
id ID!

The ID of the proposal