Decidim 0.27.9

OmaStadi API documentation

Explore the API interactively with GraphiQL

PlanFilter

A type used for filtering plans inside a participatory space.

A typical query would look like:

  {
  participatoryProcesses {
    components {
      ...on Plans {
        plans(filter:{ publishedBefore: "2020-01-01", state: ["accepted", "evaluating"] }) {
          id
        }
      }
    }
  }
  }

Input Fields

publishedBefore (String)

List result published before (and excluding) this date. Expected format YYYY-MM-DD

publishedSince (String)

List result published after (and including) this date. Expected format YYYY-MM-DD

state ([String!])

Filters the plans of the specified types. Allowed values are "open", "accepted", "evaluating", "rejected" and "withdrawn". By default, the withdrawn plans will not be included.