openapi: 3.0.1
info:
  title: API V1
  version: v0.3
  description: >
    A RestFull API for Decidim, to be able to CRUD resources from Decidim.  

    _current version: 0.3.4_


    ## Authentication

    [Get a
    token](https://octree-gva.github.io/decidim-rest-full/category/authentication)
    from our `/oauth/token` routes,

    following OAuth specs on Credential Flows or Resource Owner Password
    Credentials Flow.


    ### Permissions

    A permission system is attached to the created OAuth application, that is
    designed in two levels:


    - **scope**: a broad permission to access a collection of endpoints

    - **abilities**: a fine grained permission system that allow actions.


    The scopes and abilities are manageable in your System Admin Panel.


    ### Multi-tenant **Organizations**

    One deployment hosts many **Organizations** (tenants by **`host`**).

    - The **`system` scope** endpoints apply in the context of the resolved
    organization

    - The request **`host`** selects which **Organization** you target.
      For example, `example.org/oauth/token` and `foobar.org/oauth/token` obtain tokens for those organizations' OAuth applications.

    ### Integrators

    Start with the [Integrator
    quickstart](https://octree-gva.github.io/decidim-rest-full/integrator/quickstart)
    (host → API client → token → first API call).


    TypeScript client:
    [https://octree-gva.github.io/decidim-rest-full/integrator/typescript-sdk](https://octree-gva.github.io/decidim-rest-full/integrator/typescript-sdk)
    (`@octree/decidim-sdk`).


    Outbound **webhook** events are listed under the **Webhooks** tag (subscribe
    in System admin).
servers:
  - url: https://{defaultHost}/api/rest_full/v0.3
    variables:
      defaultHost:
        default: www.example.org
  - url: http://localhost:{port}/api/rest_full/v0.3
    variables:
      port:
        default: '3000'
tags:
  - name: OAuth
    description: >-
      Obtain access tokens for this API: **client_credentials**
      (machine-to-machine) or **password** with `auth_type` **login** or
      **impersonation** (Resource Owner Password Credentials flow).

      * **Machine-to-machine**: client credentials grant

      * **User**: ROPC with `auth_type` **login** or **impersonation**
    externalDocs:
      description: How to authenticate
      url: https://octree-gva.github.io/decidim-rest-full/category/authentication
  - name: Organizations
    description: >
      **Organization** settings (Decidim tenant boundary: primary `host`,
      secondary hosts, locale defaults, and related configuration).


      One deployment hosts many **Organizations**. Each organization has:


      - `host`: primary domain name

      - `secondary_hosts`: additional hostnames that redirect (301) to `host`


      The active **Organization** is resolved from the request Host header, so
      different `host` values resolve to that host's organization data.
  - name: Organizations Extended Data
    description: >
      Read organization `extended_data` and merge updates under a dot-path via
      sync (`PUT /organizations/{id}/extended_data/sync`). Supports recursive
      merge, dot paths (use `.` for the root), path creation, and clearing keys
      by setting them to null or empty—see the operation description for full
      examples. Requires `system` scopes as documented on each operation.
  - name: Spaces
    description: >-
      Search, list, and fetch participatory spaces (e.g. Assemblies,
      Participatory Processes).
  - name: Components
    description: >-
      Participatory-space **components** (`Decidim::Component`): modular
      features (proposals, blogs, meetings, surveys, …) attached to a space.


      Use **`GET /components/search`** to discover components by manifest, id,
      participatory space, or name—within the organization resolved from the
      request host.


      Manifest-specific sub-resources (e.g. `proposal_components`,
      `blog_components`) expose typed settings for that feature.
  - name: Users
    description: >-
      List users; read and update your extended data; create and consume magic
      links for sign-in (scopes and permissions per operation).
  - name: Attachments
    description: >-
      Manage **Decidim::Attachment** rows (files linked to proposals, spaces,
      etc.).


      **Create (mode A):** `POST /attachments` with `multipart/form-data`
      (`file`, `attached_to_type`, `attached_to_id`, translated `title` /
      `description`).


      **Create (mode B):** `POST /attachments/direct_upload` → use `signed_id`
      in `POST /attachments` (`application/json`).


      **Update:** metadata only (`PUT /attachments/{id}`) — no file replacement
      in v1.


      **List filters:** `filter[attached_to_type]`, `filter[attached_to_id]`,
      `filter[attachment_collection_id]`, `filter[file_type]` (`image`,
      `document`, `link`).
  - name: Blogs
    description: >-
      Blog posts (`Decidim::Blogs::Post`) on components with the `:blogs`
      manifest.


      **Visibility** is driven by `published_at`, not a separate published flag:

      - `published_at` is `null` or in the **future** → the post is **not**
      shown in public index/show (unless you impersonate the author).

      - `published_at` in the **past** → the post is visible to readers with
      `blogs.read`.


      **Read**: `GET /blogs` and `GET /blogs/:id` (conditional caching on GET).


      **Write** (`blogs.write`): create and update posts (async by default;
      `POST /blogs/sync`, `PUT /blogs/:id/sync`). **Delete** (`blogs.destroy`):
      remove a post (`DELETE /blogs/:id`, async; `DELETE /blogs/:id/sync`
      inline).
  - name: Forms
    description: >-
      Survey and questionnaire authoring backed by Decidim::Forms.


      **Questionnaire** (`Decidim::Forms::Questionnaire`) is the container:
      title, description, and terms of service. It belongs to a survey resource
      (e.g. `Decidim::Surveys::Survey`) via `questionnaire_for`.


      **Questions** (`Decidim::Forms::Question`) define rows in the
      questionnaire (`question_type`, `body`, `mandatory`, …). **Answer
      options** (`Decidim::Forms::AnswerOption`) belong to choice-style
      questions.


      **Participant flow**: answers are submitted as a bundle (`POST /answers` →
      `submission_requests/:id` for validation state). **Questionnaire
      responses** (`GET /questionnaire_responses/:id`) expose a read model of
      stored answers; admins can delete a response bundle.


      **Authoring** (credential token, `surveys.questions.manage`): mutate
      questionnaires, questions, and answer options. Default writes are
      **async** (`HTTP 202` + `GET /jobs/:uuid`); use `…/sync` routes for inline
      `200`/`201`.


      **Listing**: `GET /questionnaires` returns a JSON Forms projection for
      rendering; `GET /questions` and `GET /answers` require
      `filter[questionnaire_id]`.
  - name: Proposals
    description: >-
      Published proposals (`Decidim::Proposals::Proposal` with `published_at`
      set) within visible participatory spaces.


      **Read** (`proposals.read`): list and show proposals; filter by component,
      space, scope, and vote-related facets.


      **Vote proposals** (`proposals.vote`, impersonation): async `POST
      /vote_proposals` (202 + job poll) or sync `POST /vote_proposals/sync`
      (slim vote payload; `?include_proposal=true` for full proposal). One vote
      per author per proposal.


      **Components**: `GET /components/proposal_components` exposes
      proposals-component settings (votes enabled, limits, phases).


      Draft authoring lives under the **Draft Proposals** tag.
  - name: Draft Proposals
    description: >-
      Unpublished proposals (`published_at` is `null`) tied to your OAuth
      application and impersonated participant.


      **One draft per component**: for a given proposals component and user,
      only a single draft may exist. Creating again returns `400` if a draft is
      already present.


      **Isolation from the Decidim UI**: drafts created or updated through this
      API are not editable in the web app, and drafts created in the UI are not
      visible here.


      **Lifecycle**: create → update (`meta.publishable`) → **publish** (`POST
      /draft_proposals/:id/publish`, async by default; `…/publish/sync` for
      inline publication) → the resource becomes a published proposal.


      Requires **impersonation** token (`proposals.draft`); service (client
      credentials) tokens cannot hold drafts.
  - name: Jobs
    description: >-
      Durable records for **asynchronous API writes**
      (`decidim_rest_full_api_jobs`).


      When a mutating route returns **HTTP 202**, the body includes `job_id`
      (UUID). Poll **`GET /jobs/{id}`** without a Bearer token—the UUID is the
      capability—or list jobs with the **same OAuth application and resource
      owner** via **`GET /jobs`** (Bearer required).


      Filter the index with `filter[command_key]` (job name, e.g.
      `draft_proposals#create`) and `filter[status]` (`pending`, `processing`,
      `completed`, `failed`). Delete a job with **`DELETE /jobs/{id}`** (same
      OAuth context as the list).
  - name: Roles
    description: Manage user roles within an organization and its participatory spaces.
  - name: Webhooks
    description: >-
      **Outbound HTTP callbacks** (not REST paths). Subscribe in **System admin
      → API clients → Webhooks**.


      Verify deliveries with `X-Webhook-Signature` (HMAC-SHA256 over `timestamp
      + "." + raw body`) and `X-Webhook-Timestamp`.


      Payload envelope: see schema **WebhookDeliveryEnvelope**.


      ### Event catalog


      | Event | Scope | Permission | Payload | Trigger |

      |-------|-------|------------|---------|---------|

      | `draft_proposal_creation.succeeded` | `proposals` |
      `draft_proposal_creation.succeeded` | `proposal_item_response` | Proposal
      lifecycle notification |

      | `draft_proposal_update.succeeded` | `proposals` |
      `draft_proposal_update.succeeded` | `proposal_item_response` | Proposal
      lifecycle notification |

      | `meetings.upcoming_reminder.succeeded` | `meetings` |
      `meetings.upcoming_reminder.succeeded` | `meeting_item_response` |
      Upcoming meeting reminder |

      | `proposal_creation.succeeded` | `proposals` |
      `proposal_creation.succeeded` | `proposal_item_response` | Proposal
      lifecycle notification |

      | `proposal_state_change.succeeded` | `proposals` |
      `proposal_state_change.succeeded` | `proposal_item_response` | Proposal
      lifecycle notification |

      | `proposal_update.succeeded` | `proposals` | `proposal_update.succeeded`
      | `proposal_item_response` | Proposal lifecycle notification |

      | `system.organizations.created` | `system` |
      `system.organizations.created` | — | Organization admin change |

      | `system.organizations.deleted` | `system` |
      `system.organizations.deleted` | — | Organization admin change |

      | `system.organizations.updated` | `system` |
      `system.organizations.updated` | — | Organization admin change |

      | `user.created` | `oauth` | `user.created` | — | User account change |

      | `user.updated` | `oauth` | `user.updated` | — | User account change |
components:
  securitySchemes:
    credentialFlowBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        Authorization via service-to-service credentials flow.

        Use this for machine clients.

        [Learn more
        here](https://octree-gva.github.io/decidim-rest-full/user_documentation/auth/client-credential-flow)
    resourceOwnerFlowBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        Authorization via resource owner flow.

        Use this for user-based authentication

        [Learn more
        here](https://octree-gva.github.io/decidim-rest-full/user_documentation/auth/user-credentials-flow)
  schemas:
    get_action_link:
      title: GET Action URL
      type: object
      properties:
        title:
          type: string
          description: Action Name
        href:
          type: string
          description: Full URL
        describedby:
          type: string
          description: JSONSchema URL describing the request
        hreflang:
          type: array
          items:
            type: string
          description: Available locales
        rel:
          type: string
          enum:
            - action
        meta:
          title: Meta for read request
          type: object
          properties:
            component_id:
              type: string
              description: Component ID
            component_manifest:
              type: string
              description: Component manifest
            space_id:
              type: string
              description: Space ID
            space_manifest:
              type: string
              description: Space Manifest
            resource_id:
              type: string
              description: Resource ID
            action_method:
              type: string
              enum:
                - GET
              description: Action HTTP method
          required:
            - action_method
          additionalProperties: false
      required:
        - href
        - title
        - meta
        - rel
    post_action_link:
      title: Action URL
      type: object
      properties:
        title:
          type: string
          description: Action Name
        href:
          type: string
          description: Full URL
        describedby:
          type: string
          description: JSONSchema URL describing the request
        hreflang:
          type: array
          items:
            type: string
          description: Available locales
        rel:
          type: string
          enum:
            - action
        meta:
          title: Meta for write request
          type: object
          properties:
            component_id:
              type: string
              description: Component ID
            component_manifest:
              type: string
              description: Component manifest
            space_id:
              type: string
              description: Space ID
            space_manifest:
              type: string
              description: Space Manifest
            resource_id:
              type: string
              description: Resource ID
            action_method:
              type: string
              enum:
                - POST
                - DELETE
                - PUT
              description: Action HTTP method
            action_enctype:
              type: string
              enum:
                - application/x-www-form-urlencoded
                - multipart/form-data
              description: Encoding of the payload
            action_target:
              type: string
              description: URL to open after submitting a valid request
          required:
            - action_method
            - action_enctype
          additionalProperties: false
      required:
        - href
        - title
        - meta
        - rel
    resource_link:
      title: Resource URL
      type: object
      properties:
        href:
          type: string
          description: Full URL
        title:
          type: string
          description: Page Title
        hreflang:
          type: array
          items:
            type: string
          description: Available locales
        describedby:
          type: string
          description: JSONSchema URL describing the request
        rel:
          type: string
          enum:
            - public_page
            - resource
        meta:
          type: object
          title: Resource URL Metadata
          properties:
            component_id:
              type: string
              description: Component ID
            component_manifest:
              type: string
              description: Component manifest
            space_id:
              type: string
              description: Space ID
            space_manifest:
              type: string
              description: Space Manifest
            resource_id:
              type: string
              description: Resource ID
      required:
        - href
        - title
        - meta
        - rel
      additionalProperties: false
    translated_prop:
      type: object
      title: Translated data
      description: Hash with translated data, key=locale value=translation
      properties:
        en:
          type: string
          description: Translation in en
        fr:
          type: string
          description: Translation in fr
        es:
          type: string
          description: Translation in es
      additionalProperties: false
    time_zone:
      type: string
      title: Time Zone
      description: Time Zone identifier
      enum:
        - Africa/Algiers
        - Africa/Cairo
        - Africa/Casablanca
        - Africa/Harare
        - Africa/Johannesburg
        - Africa/Monrovia
        - Africa/Nairobi
        - America/Argentina/Buenos_Aires
        - America/Bogota
        - America/Caracas
        - America/Chicago
        - America/Chihuahua
        - America/Denver
        - America/Godthab
        - America/Guatemala
        - America/Guyana
        - America/Halifax
        - America/Indiana/Indianapolis
        - America/Juneau
        - America/La_Paz
        - America/Lima
        - America/Lima
        - America/Los_Angeles
        - America/Mazatlan
        - America/Mexico_City
        - America/Mexico_City
        - America/Monterrey
        - America/Montevideo
        - America/New_York
        - America/Phoenix
        - America/Puerto_Rico
        - America/Regina
        - America/Santiago
        - America/Sao_Paulo
        - America/St_Johns
        - America/Tijuana
        - Asia/Almaty
        - Asia/Baghdad
        - Asia/Baku
        - Asia/Bangkok
        - Asia/Bangkok
        - Asia/Chongqing
        - Asia/Colombo
        - Asia/Dhaka
        - Asia/Dhaka
        - Asia/Hong_Kong
        - Asia/Irkutsk
        - Asia/Jakarta
        - Asia/Jerusalem
        - Asia/Kabul
        - Asia/Kamchatka
        - Asia/Karachi
        - Asia/Karachi
        - Asia/Kathmandu
        - Asia/Kolkata
        - Asia/Kolkata
        - Asia/Kolkata
        - Asia/Kolkata
        - Asia/Krasnoyarsk
        - Asia/Kuala_Lumpur
        - Asia/Kuwait
        - Asia/Magadan
        - Asia/Muscat
        - Asia/Muscat
        - Asia/Novosibirsk
        - Asia/Rangoon
        - Asia/Riyadh
        - Asia/Seoul
        - Asia/Shanghai
        - Asia/Singapore
        - Asia/Srednekolymsk
        - Asia/Taipei
        - Asia/Tashkent
        - Asia/Tbilisi
        - Asia/Tehran
        - Asia/Tokyo
        - Asia/Tokyo
        - Asia/Tokyo
        - Asia/Ulaanbaatar
        - Asia/Urumqi
        - Asia/Vladivostok
        - Asia/Yakutsk
        - Asia/Yekaterinburg
        - Asia/Yerevan
        - Atlantic/Azores
        - Atlantic/Cape_Verde
        - Atlantic/South_Georgia
        - Australia/Adelaide
        - Australia/Brisbane
        - Australia/Darwin
        - Australia/Hobart
        - Australia/Melbourne
        - Australia/Melbourne
        - Australia/Perth
        - Australia/Sydney
        - Etc/GMT+12
        - Etc/UTC
        - Europe/Amsterdam
        - Europe/Athens
        - Europe/Belgrade
        - Europe/Berlin
        - Europe/Bratislava
        - Europe/Brussels
        - Europe/Bucharest
        - Europe/Budapest
        - Europe/Copenhagen
        - Europe/Dublin
        - Europe/Helsinki
        - Europe/Istanbul
        - Europe/Kaliningrad
        - Europe/Kiev
        - Europe/Lisbon
        - Europe/Ljubljana
        - Europe/London
        - Europe/London
        - Europe/Madrid
        - Europe/Minsk
        - Europe/Moscow
        - Europe/Moscow
        - Europe/Paris
        - Europe/Prague
        - Europe/Riga
        - Europe/Rome
        - Europe/Samara
        - Europe/Sarajevo
        - Europe/Skopje
        - Europe/Sofia
        - Europe/Stockholm
        - Europe/Tallinn
        - Europe/Vienna
        - Europe/Vilnius
        - Europe/Volgograd
        - Europe/Warsaw
        - Europe/Zagreb
        - Europe/Zurich
        - Europe/Zurich
        - Pacific/Apia
        - Pacific/Auckland
        - Pacific/Auckland
        - Pacific/Chatham
        - Pacific/Fakaofo
        - Pacific/Fiji
        - Pacific/Guadalcanal
        - Pacific/Guam
        - Pacific/Honolulu
        - Pacific/Majuro
        - Pacific/Midway
        - Pacific/Noumea
        - Pacific/Pago_Pago
        - Pacific/Port_Moresby
        - Pacific/Tongatapu
        - UTC
    component_type:
      type: string
      enum:
        - page_component
        - proposal_component
        - meeting_component
        - budget_component
        - survey_component
        - accountability_component
        - debate_component
        - sortition_component
        - blog_component
        - awesome_map_component
        - awesome_iframe_component
    creation_date:
      title: Creation date
      description: Creation date, in ISO8601 format.
      type: string
      format: date_time
      example: '2024-11-12T12:34:56Z'
    edition_date:
      title: Last Update Date
      description: Last update date, in ISO8601 format.
      type: string
      format: date_time
      example: '2024-12-12T20:34:56Z'
    publication_date:
      title: Publication Date
      description: Publication date, in ISO8601 format.
      type: string
      format: date_time
      example: '2024-12-12T20:34:56Z'
    client_credential:
      type: object
      title: Client Credential
      properties:
        grant_type:
          type: string
          enum:
            - client_credentials
          description: Client Credential Flow, for **machine-to-machine**
        client_id:
          type: string
          description: OAuth application Client Id
        client_secret:
          type: string
          description: OAuth application Client Secret
        scope:
          type: string
          enum:
            - public
            - spaces
            - system
            - meetings
            - debates
            - pages
            - oauth
            - roles
            - attachments
          description: Requested scopes
      required:
        - grant_type
        - client_id
        - client_secret
        - scope
    password_grant_login:
      type: object
      title: Login
      properties:
        grant_type:
          type: string
          enum:
            - password
          description: Resource Owner Password Credentials (ROPC) Flow, for **user login**
        auth_type:
          type: string
          enum:
            - login
          description: Type of ROPC
        username:
          type: string
          description: User nickname
        password:
          type: string
          description: User password
        client_id:
          type: string
          description: OAuth application Client Id
        client_secret:
          type: string
          description: OAuth application Client Secret
        scope:
          type: string
          enum:
            - public
            - spaces
            - meetings
            - debates
            - pages
            - oauth
            - roles
            - attachments
          description: Request scopes
      required:
        - grant_type
        - client_id
        - client_secret
        - scope
        - username
        - password
        - auth_type
    password_grant_impersonate:
      type: object
      title: Impersonation
      properties:
        grant_type:
          type: string
          enum:
            - password
          description: >-
            Resource Owner Password Credentials (ROPC) Flow, for **user
            impersonation**
        auth_type:
          type: string
          enum:
            - impersonate
          description: Type of ROPC
        username:
          type: string
          description: User nickname, unique and at least 6 alphanumeric chars.
        id:
          type: string
          description: >-
            User id, will find over id and ignore username. Fails if
            register_on_missing=true.
        meta:
          type: object
          title: User impersonation settings
          description: Impersonation Settings
          properties:
            register_on_missing:
              type: boolean
              description: 'Register the user if they do not exist. Default: false'
            accept_tos_on_register:
              type: boolean
              description: >-
                Accept the TOS on registration, used only if
                register_on_missing=true. Default: false
            skip_confirmation_on_register:
              type: boolean
              description: >-
                Skip email confirmation on creation, used only if
                register_on_missing=true. Default: false
            email:
              type: string
              description: >-
                User email to use on registration. used only if
                register_on_missing=true. Default to <username>@example.org
            name:
              type: string
              description: >-
                User name. Used only if register_on_missing=true. Default to
                username
          additionalProperties: false
        client_id:
          type: string
          description: OAuth application Client Id
        client_secret:
          type: string
          description: OAuth application Client Secret
        scope:
          type: string
          enum:
            - public
            - spaces
            - meetings
            - debates
            - pages
            - oauth
            - roles
            - attachments
          description: Request scopes
      additionalProperties: false
      required:
        - grant_type
        - client_id
        - client_secret
        - scope
        - auth_type
    oauth_grant_param:
      oneOf:
        - $ref: '#/components/schemas/client_credential'
        - $ref: '#/components/schemas/password_grant_impersonate'
        - $ref: '#/components/schemas/password_grant_login'
    password_grant_param:
      oneOf:
        - $ref: '#/components/schemas/password_grant_impersonate'
        - $ref: '#/components/schemas/password_grant_login'
    oauth_token_response:
      type: object
      title: OAuth token response
      description: Doorkeeper access token payload (RFC 6749).
      properties:
        access_token:
          type: string
          description: Bearer token value
        token_type:
          type: string
          enum:
            - Bearer
        expires_in:
          type: integer
          description: Lifetime in seconds
        scope:
          type: string
          description: Granted scopes (space-separated)
        created_at:
          type: integer
          description: Unix timestamp when the token was issued
      required:
        - access_token
        - token_type
        - expires_in
        - scope
        - created_at
      additionalProperties: false
    component_relationship_identifier:
      type: object
      title: Component relationship identifier
      description: JSON:API relationship pointer to a component.
      properties:
        id:
          type: string
          description: Component Id
        type:
          $ref: '#/components/schemas/component_type'
      required:
        - id
        - type
      additionalProperties: false
    resource_relationship_identifier:
      type: object
      title: Resource relationship identifier
      description: >-
        JSON:API relationship pointer to a component resource (proposal,
        meeting, etc.).
      properties:
        id:
          type: string
          description: Resource Id
        type:
          type: string
          description: Resource type (e.g. proposals, meetings)
      required:
        - id
        - type
      additionalProperties: false
    space_manifest:
      title: Space Manifest
      description: Participatory space type key (Decidim manifest name).
      type: string
      enum:
        - participatory_processes
        - assemblies
        - conferences
        - initiatives
    component_manifest:
      title: Component Manifest
      description: Component type key (Decidim manifest name).
      type: string
      enum:
        - pages
        - proposals
        - meetings
        - budgets
        - surveys
        - accountability
        - debates
        - sortitions
        - blogs
        - awesome_map
        - awesome_iframe
    resource_manifest:
      title: Resource Type
      description: Singular resource type string derived from active component manifests.
      type: string
      enum:
        - page
        - proposal
        - meeting
        - budget
        - survey
        - accountability
        - debate
        - sortition
        - blog
        - awesome_map
        - awesome_iframe
    error:
      type: object
      title: API error payload
      properties:
        error:
          type: string
          description: >-
            Summary label; typically includes HTTP status (e.g. `400: Bad
            request`).
        error_description:
          type: string
          description: >-
            Human-readable detail; for many 4xx responses this is the validation
            or exception message.
        state:
          type: string
          description: >-
            Optional OAuth layer hint present on some token errors (e.g.
            `unauthorized`).
      additionalProperties: false
      required:
        - error
        - error_description
    error_response:
      $ref: '#/components/schemas/error'
    health:
      type: object
      title: Health Status
      description: Simple health payload with `message` of `OK` or `ERROR`.
      properties:
        message:
          type: string
          enum:
            - OK
            - ERROR
          description: Overall health flag
    introspect_data:
      type: object
      title: Introspection Response
      properties:
        sub:
          type: integer
          description: Access token id
        active:
          type: boolean
          description: If the token can be used
        aud:
          type: string
          description: Where this token can be used (organization host)
        resource:
          type: object
          title: Resource details
          properties:
            id:
              type: string
              description: Resource id
            type:
              type: string
              enum:
                - user
              description: Resource type
            attributes:
              type: object
              title: Resource Attributes
              properties:
                email:
                  type: string
                  description: Email
                updated_at:
                  type: string
                  description: Last update date
                created_at:
                  type: string
                  description: Creation date
                personal_url:
                  type: string
                  description: Personal url (social link, website, etc.)
                locale:
                  type: string
                  description: Current preferred locale
                  enum:
                    - en
                    - fr
                    - es
              required:
                - email
                - created_at
                - updated_at
          required:
            - id
            - type
      required:
        - sub
        - active
        - aud
        - exp
    locale:
      title: Current locale
      description: A single locale code configured for this Decidim instance.
      type: string
      enum:
        - en
        - fr
        - es
    locales:
      type: array
      title: Available locales
      description: List of locale codes the organization exposes.
      items:
        $ref: '#/components/schemas/locale'
    role_attributes:
      title: Role Attributes
      type: object
      properties:
        user_id:
          type: integer
          description: >-
            ID of the user associated to the role (nullable for pending
            invitations)
        resource_id:
          type: integer
          description: >-
            ID of the resource (organization or participatory space) the role is
            attached to
        resource_type:
          type: string
          description: >-
            Type of the resource (e.g. Organization,
            Decidim::ParticipatoryProcess)
        type:
          type: string
          description: Kind of role
          enum:
            - general_admin
            - space_private_member
            - space_administrator
            - space_moderator
            - space_valuator
        invited_at:
          type: string
          format: date-time
          nullable: true
          description: Invitation timestamp if the role was created via invitation
        accepted_invite:
          type: boolean
          description: Whether the invitation has been accepted
        created_at:
          $ref: '#/components/schemas/creation_date'
        updated_at:
          $ref: '#/components/schemas/edition_date'
      required:
        - type
        - resource_id
        - resource_type
        - created_at
      additionalProperties: false
    role:
      type: object
      title: Role
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - role
        attributes:
          $ref: '#/components/schemas/role_attributes'
      required:
        - id
        - type
        - attributes
      additionalProperties: false
    role_index_response:
      type: object
      title: Role Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/role'
      required:
        - data
    role_item_response:
      type: object
      title: Role Item Response
      properties:
        data:
          $ref: '#/components/schemas/role'
      required:
        - data
    space_type:
      type: string
      enum:
        - participatory_processes
        - assemblies
        - conferences
        - initiatives
    space_classes:
      type: string
      description: >-
        space class name. Part of the polymorphic association
        (participatory_space_type,participatory_space_id)
      enum:
        - Decidim::ParticipatoryProcess
        - Decidim::Assembly
        - Decidim::Conference
        - Decidim::Initiative
    space:
      type: object
      title: Space
      properties:
        id:
          type: string
          description: Space Id
        type:
          type: string
          enum:
            - space
        attributes:
          title: Space Attributes
          type: object
          properties:
            title:
              $ref: '#/components/schemas/translated_prop'
              title: Title translations
              description: Space title
            subtitle:
              $ref: '#/components/schemas/translated_prop'
              title: Subtitle translations
              description: Space subtitle
            short_description:
              $ref: '#/components/schemas/translated_prop'
              title: Short Description translations
              description: Space short_description
            description:
              $ref: '#/components/schemas/translated_prop'
              title: Description translations
              description: Space description
            manifest_name:
              $ref: '#/components/schemas/space_manifest'
            participatory_space_type:
              type: string
              example: Decidim::Assembly
            visibility:
              type: string
              enum:
                - public
                - transparent
                - private
              description: Space visibility
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          required:
            - title
            - manifest_name
            - visibility
            - created_at
            - updated_at
          additionalProperties: false
        relationships:
          type: object
          title: Space relationships
          properties:
            components:
              type: object
              title: Space Component Relationships
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/component_relationship_identifier'
                  title: Space Component Relationships Data
                meta:
                  title: Space Component Metadata
                  type: object
                  properties:
                    count:
                      type: integer
                      description: Total count for components association
                  additionalProperties: false
                  required:
                    - count
                links:
                  type: object
                  title: Space Component Links
                  properties:
                    self:
                      $ref: '#/components/schemas/resource_link'
                    related:
                      $ref: '#/components/schemas/resource_link'
                  additionalProperties: false
                  required:
                    - self
              required:
                - data
                - meta
                - links
        links:
          type: object
          title: Space Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          required:
            - self
            - related
          additionalProperties: false
      required:
        - id
        - type
        - attributes
        - links
        - relationships
    space_index_response:
      type: object
      title: Space Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/space'
      required:
        - data
    space_item_response:
      type: object
      title: Space Item Response
      properties:
        data:
          $ref: '#/components/schemas/space'
      required:
        - data
    generic_component:
      type: object
      title: Component
      properties:
        id:
          type: string
          description: Component Id
        type:
          $ref: '#/components/schemas/component_type'
        attributes:
          title: Component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Component Relationships
          properties:
            resources:
              type: object
              title: Component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Component Linked Resources Data
                meta:
                  type: object
                  title: Component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    organization_attributes:
      title: Organization Attributes
      type: object
      properties:
        name:
          $ref: '#/components/schemas/translated_prop'
          additionalProperties:
            type: string
        description:
          $ref: '#/components/schemas/translated_prop'
          additionalProperties:
            type: string
        reference_prefix:
          type: string
          description: >-
            Prefix for the organization. Used to prefix uploaded files and
            reference resources
        host:
          type: string
        send_welcome_notification:
          type: boolean
          description: True if welcome email is sent to users
        secondary_hosts:
          type: array
          items:
            type: string
            description: Additional host, will redirect (301) to `host`
        available_locales:
          type: array
          title: Available locales
          description: List of locale codes the organization exposes.
          items:
            $ref: '#/components/schemas/locale'
        default_locale:
          type: string
          description: Default locale for the organization
        users_registration_mode:
          type: string
          enum:
            - enabled
            - existing
            - disabled
          description: >
            Define user registration mode: 

            - `enabled`: Enable users registration

            - `existing`: Existing users will be able to login. Registration
            will be disabled.

            - `disabled`: No registration enabled
        force_users_to_authenticate_before_access_organization:
          type: boolean
          description: >-
            Force users to authenticate before accessing the organization
            (disabled if users_registration_mode is `disabled`)
        badges_enabled:
          type: boolean
          description: Enable badges for public views
        enable_participatory_space_filters:
          type: boolean
          description: Display areas and scopes filter in public views.
        enable_machine_translations:
          type: boolean
          description: >-
            Enable machine translations (must be configured, see [Using machine
            translations](https://docs.decidim.org/en/develop/develop/machine_translations.html))
        user_groups_enabled:
          type: boolean
          description: Enable user groups in public views
        time_zone:
          $ref: '#/components/schemas/time_zone'
        comments_max_length:
          type: integer
          description: Default maximum length of comments
        rich_text_editor_in_public_views:
          type: boolean
          description: Enable rich text editor in public views
        created_at:
          $ref: '#/components/schemas/creation_date'
        updated_at:
          $ref: '#/components/schemas/edition_date'
        extended_data:
          type: object
          title: Extended data for the organization
      additionalProperties: false
      required:
        - host
        - name
        - available_locales
        - default_locale
    organization:
      type: object
      title: Organization
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - organization
        attributes:
          $ref: '#/components/schemas/organization_attributes'
        meta:
          title: Organization Metadata
          type: object
          properties:
            locales:
              type: array
              title: Available locales
              description: List of locale codes the organization exposes.
              items:
                $ref: '#/components/schemas/locale'
            unconfirmed_host:
              type: string
              description: If host update is pending, unconfirmed host for the organization
          required:
            - locales
          additionalProperties: false
      required:
        - id
        - type
        - attributes
        - meta
    organization_index_response:
      type: object
      title: Organization Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/organization'
      required:
        - data
    organization_item_response:
      type: object
      title: Organization Item Response
      properties:
        data:
          $ref: '#/components/schemas/organization'
      required:
        - data
    organization_extended_data:
      type: object
      title: Organization extended data
      properties: {}
      additionalProperties: true
      description: |
        Hash of values attached to an organization. These values won't be
        displayed to admins or users, consider this as an internal
        data payload.
    user_extended_data:
      type: object
      title: User extended data
      properties: {}
      additionalProperties: true
      description: |
        Hash of values attached to a user. These values won't be
        displayed to admins or users, consider this as an internal
        data payload.
    user:
      type: object
      title: User
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - user
        meta:
          title: User Metadata
          type: object
          properties:
            blocked:
              type: boolean
              description: If the user is blocked, and need to be unblocked to signin
            locked:
              type: boolean
              description: >-
                If the user is locked, and need to click on the mail link to
                unlock
          required:
            - blocked
            - locked
          additionalProperties: false
        relationships:
          type: object
          title: User Relationships
          properties:
            roles:
              type: object
              title: User Roles
              properties:
                data:
                  type: array
                  items:
                    type: object
                    title: User Role
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                        enum:
                          - user_role
                    required:
                      - id
                      - type
                    additionalProperties: false
              required:
                - data
              additionalProperties: false
        attributes:
          type: object
          title: User Attributes
          properties:
            name:
              description: User name, use to display the Profile identity. Public
              type: string
            nickname:
              description: User nickname, unique identifier for the user. Public
              type: string
            personal_url:
              description: Personal website URL or social link. Public
              type: string
            about:
              description: Short bio of the user. Public
              type: string
            locale:
              $ref: '#/components/schemas/locale'
              description: >-
                User locale. Fallback to default locale of the organization.
                Private
            email:
              description: Email of the user. Private
              type: string
            extended_data:
              type: object
              title: User Extended Data
              description: Additional data. Private
              properties: {}
              additionalProperties: true
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          additionalProperties: false
          required:
            - created_at
            - updated_at
            - name
            - nickname
            - locale
            - extended_data
      required:
        - id
        - type
        - attributes
      additionalProperties: false
    user_index_response:
      type: object
      title: User Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/user'
      required:
        - data
    user_item_response:
      type: object
      title: User Item Response
      properties:
        data:
          $ref: '#/components/schemas/user'
      required:
        - data
    magic_link:
      type: object
      title: Magic Link
      properties:
        id:
          type: string
          description: Magic Token ID
        type:
          type: string
          enum:
            - magic_link
        attributes:
          type: object
          title: Magic Link Attributes
          properties:
            token:
              type: string
              description: Magic Link Token
            label:
              type: string
              description: Magic Link description
            redirect_url:
              type: string
              nullable: true
              description: >-
                If set at create time, the GET sign-in flow redirects here after
                successful sign-in (HTTPS, allowlisted host)
          required:
            - token
            - label
        links:
          type: object
          title: Magic Link links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            sign_in:
              $ref: '#/components/schemas/resource_link'
          required:
            - self
            - sign_in
      required:
        - attributes
        - links
        - id
        - type
      additionalProperties: false
    magic_link_index_response:
      type: object
      title: Magic Link Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/magic_link'
      required:
        - data
    magic_link_item_response:
      type: object
      title: Magic Link Item Response
      properties:
        data:
          $ref: '#/components/schemas/magic_link'
      required:
        - data
    magic_link_redirect:
      type: object
      title: Magic Redirect
      properties:
        id:
          type: string
          description: Magic Token ID
        type:
          type: string
          enum:
            - magic_link_redirect
        attributes:
          type: object
          title: Magic Link Attributes
          properties:
            redirect_url:
              type: string
              description: Redirection destination
            label:
              type: string
              description: Magic Link description
          required:
            - redirect_url
            - label
        links:
          type: object
          title: Magic Link links
          properties:
            self:
              $ref: '#/components/schemas/get_action_link'
            magic_link:
              $ref: '#/components/schemas/get_action_link'
          required:
            - self
            - magic_link
      required:
        - attributes
        - links
        - id
        - type
      additionalProperties: false
    rest_full_hypermedia_link:
      title: Hypermedia link
      type: object
      properties:
        href:
          type: string
          description: Target URL
        title:
          type: string
        rel:
          type: string
        meta:
          type: object
          properties:
            action_method:
              type: string
              description: HTTP method for the link target
          additionalProperties: true
      required:
        - href
        - rel
      additionalProperties: false
    rest_full_api_job_links:
      title: API job hypermedia controls
      type: object
      properties:
        self:
          $ref: '#/components/schemas/rest_full_hypermedia_link'
      required:
        - self
      additionalProperties: false
    rest_full_api_job_summary:
      title: API job summary
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Job identifier; use with GET /jobs/{id}
        status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
          description: Lifecycle state
        command_key:
          type: string
          description: Async handler key registered by the REST extension
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        links:
          $ref: '#/components/schemas/rest_full_api_job_links'
      required:
        - id
        - status
        - command_key
        - created_at
        - updated_at
        - links
      additionalProperties: false
    rest_full_api_job_detail:
      title: API job
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Job identifier from the HTTP 202 body
        status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
        command_key:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        error_class:
          type: string
          nullable: true
        error_message:
          type: string
          nullable: true
        data:
          nullable: true
          description: >-
            Success payload embedded from the worker (shape depends on
            command_key)
        return_value:
          nullable: true
          description: Alias retained for backwards compatibility when present
        links:
          $ref: '#/components/schemas/rest_full_api_job_links'
      required:
        - id
        - status
        - command_key
        - created_at
        - updated_at
        - links
      additionalProperties: true
    rest_full_api_jobs_index_response:
      title: API jobs index payload
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/rest_full_api_job_summary'
        meta:
          type: object
          properties:
            page:
              type: integer
            per_page:
              type: integer
          required:
            - page
            - per_page
          additionalProperties: false
      required:
        - data
        - meta
      additionalProperties: false
    rest_full_api_job_accepted:
      title: HTTP 202 async job envelope
      type: object
      properties:
        job_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
        data:
          nullable: true
        return_value:
          nullable: true
        poll_url:
          type: string
          description: >-
            Absolute URL for GET /jobs/{job_id}; duplicate of links.self.href
            for flat JSON clients
        links:
          $ref: '#/components/schemas/rest_full_api_job_links'
      required:
        - job_id
        - status
        - data
        - return_value
        - poll_url
        - links
      additionalProperties: false
    attachment_attached_to:
      title: Attachment parent reference
      type: object
      properties:
        type:
          type: string
          description: Polymorphic type (e.g. Decidim::Proposals::Proposal)
        id:
          type: integer
      required:
        - type
        - id
      additionalProperties: false
    attachment_attributes:
      title: Attachment attributes
      type: object
      properties:
        title:
          $ref: '#/components/schemas/translated_prop'
        description:
          $ref: '#/components/schemas/translated_prop'
        weight:
          type: integer
        attachment_collection_id:
          type: integer
          nullable: true
        file_type:
          type: string
          enum:
            - image
            - document
            - link
        content_type:
          type: string
          nullable: true
        url:
          type: string
          nullable: true
          description: Public URL when file is attached
        thumbnail_url:
          type: string
          nullable: true
        attached_to:
          $ref: '#/components/schemas/attachment_attached_to'
        created_at:
          $ref: '#/components/schemas/creation_date'
        updated_at:
          $ref: '#/components/schemas/edition_date'
      required:
        - title
        - attached_to
        - created_at
      additionalProperties: false
    attachment:
      type: object
      title: Attachment
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - attachment
        attributes:
          $ref: '#/components/schemas/attachment_attributes'
      required:
        - id
        - type
        - attributes
      additionalProperties: false
    attachment_index_response:
      type: object
      title: Attachment Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/attachment'
      required:
        - data
    attachment_item_response:
      type: object
      title: Attachment Item Response
      properties:
        data:
          $ref: '#/components/schemas/attachment'
      required:
        - data
    attachment_direct_upload_response:
      type: object
      properties:
        signed_id:
          type: string
        filename:
          type: string
        content_type:
          type: string
        byte_size:
          type: integer
      required:
        - signed_id
        - filename
        - content_type
        - byte_size
      additionalProperties: false
    webhook_delivery_envelope:
      title: Webhook delivery envelope
      type: object
      description: JSON body POSTed to integrator URLs when a subscribed event fires.
      properties:
        type:
          type: string
          description: >-
            Event name (matches permission / subscription key, e.g.
            `proposal_creation.succeeded`)
        data:
          type: object
          description: JSON:API-shaped resource payload for the event
      required:
        - type
        - data
      additionalProperties: false
    accountability_component:
      type: object
      title: Accountability component
      properties:
        id:
          type: string
          description: Accountability component Id
        type:
          type: string
          enum:
            - accountability_component
        attributes:
          title: Accountability component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Accountability component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Accountability component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - accountability
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Accountability component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Accountability component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Accountability component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Accountability component Relationships
          properties:
            resources:
              type: object
              title: Accountability component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Accountability component Linked Resources Data
                meta:
                  type: object
                  title: Accountability component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    accountability_component_index_response:
      type: object
      title: Accountability Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/accountability_component'
      required:
        - data
    accountability_component_item_response:
      type: object
      title: Accountability Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/accountability_component'
      required:
        - data
    blog_component:
      type: object
      title: Blogs component
      properties:
        id:
          type: string
          description: Blogs component Id
        type:
          type: string
          enum:
            - blog_component
        attributes:
          title: Blogs component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Blogs component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Blogs component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - blogs
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Blogs component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Blogs component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Blogs component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Blogs component Relationships
          properties:
            resources:
              type: object
              title: Blogs component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Blogs component Linked Resources Data
                meta:
                  type: object
                  title: Blogs component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    blog_component_index_response:
      type: object
      title: Blog Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/blog_component'
      required:
        - data
    blog_component_item_response:
      type: object
      title: Blog Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/blog_component'
      required:
        - data
    blog:
      type: object
      title: Post
      properties:
        id:
          type: string
          description: Post id (Blogs::Post)
        type:
          type: string
          enum:
            - blog
          description: JSON:API type discriminator for this resource
        attributes:
          type: object
          title: Post attributes
          properties:
            title:
              $ref: '#/components/schemas/translated_prop'
            body:
              $ref: '#/components/schemas/translated_prop'
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            published_at:
              $ref: '#/components/schemas/publication_date'
          required:
            - created_at
            - updated_at
            - title
            - body
          additionalProperties: false
        meta:
          type: object
          title: Post metadata
          properties:
            published:
              type: boolean
              description: Whether the post is published
            scope:
              type: integer
              description: Scope id (component or participatory space scope)
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
        links:
          type: object
          title: Post links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            collection:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
            prev:
              $ref: '#/components/schemas/resource_link'
            next:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
            - collection
            - related
        relationships:
          type: object
          title: Post relationships
          properties:
            space:
              title: Linked participatory space
              type: object
              properties:
                data:
                  type: object
                  title: Linked participatory space Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - participatory_processes
                        - assemblies
                        - conferences
                        - initiatives
                  required:
                    - id
                    - type
              required:
                - data
            component:
              title: Linked blogs component
              type: object
              properties:
                data:
                  type: object
                  title: Linked blogs component Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - blog_component
                  required:
                    - id
                    - type
              required:
                - data
          required:
            - component
            - space
          additionalProperties: false
      required:
        - id
        - type
        - attributes
        - meta
        - links
    blog_index_response:
      type: object
      title: Blog Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/blog'
      required:
        - data
    blog_item_response:
      type: object
      title: Blog Item Response
      properties:
        data:
          $ref: '#/components/schemas/blog'
      required:
        - data
    blog_post_create_payload:
      type: object
      title: Blog post create payload
      required:
        - data
      properties:
        data:
          type: object
          required:
            - component_id
            - attributes
          properties:
            component_id:
              type: integer
              description: Blogs component id
            attributes:
              type: object
              required:
                - title
                - body
              properties:
                title:
                  $ref: '#/components/schemas/translated_prop'
                body:
                  $ref: '#/components/schemas/translated_prop'
                published_at:
                  type: string
                  format: date-time
                  nullable: true
                  description: ISO8601; omit or null for draft
              additionalProperties: false
          additionalProperties: false
      additionalProperties: false
    budget_component:
      type: object
      title: Budget component
      properties:
        id:
          type: string
          description: Budget component Id
        type:
          type: string
          enum:
            - budget_component
        attributes:
          title: Budget component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Budget component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Budget component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - budgets
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Budget component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Budget component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Budget component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Budget component Relationships
          properties:
            resources:
              type: object
              title: Budget component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Budget component Linked Resources Data
                meta:
                  type: object
                  title: Budget component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    budget_component_index_response:
      type: object
      title: Budget Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/budget_component'
      required:
        - data
    budget_component_item_response:
      type: object
      title: Budget Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/budget_component'
      required:
        - data
    debate_component:
      type: object
      title: Debates component
      properties:
        id:
          type: string
          description: Debates component Id
        type:
          type: string
          enum:
            - debate_component
        attributes:
          title: Debates component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Debates component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Debates component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - debates
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Debates component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Debates component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Debates component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Debates component Relationships
          properties:
            resources:
              type: object
              title: Debates component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Debates component Linked Resources Data
                meta:
                  type: object
                  title: Debates component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    debate_component_index_response:
      type: object
      title: Debate Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/debate_component'
      required:
        - data
    debate_component_item_response:
      type: object
      title: Debate Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/debate_component'
      required:
        - data
    forms_locale_meta:
      type: object
      title: Forms locale metadata
      properties:
        locale:
          type: string
          description: Effective locale for projected strings
        requested_locale:
          type: string
          description: Client-requested locale before fallback
        fallback_from:
          type: string
          nullable: true
          description: Locale downgraded from, if any
      required:
        - locale
        - requested_locale
      additionalProperties: false
    forms_submission_policy_meta:
      type: object
      title: Questionnaire submission policy
      properties:
        allows_anonymous:
          type: boolean
        requires_participant_ip:
          type: boolean
      required:
        - allows_anonymous
        - requires_participant_ip
      additionalProperties: false
    forms_validation_error_item:
      type: object
      title: Forms validation error
      properties:
        title:
          type: string
        code:
          type: string
        pointer:
          type: string
          description: JSON Pointer into the request body
        question_id:
          type: string
          nullable: true
      required:
        - title
        - code
      additionalProperties: false
    forms_validation_error_response:
      type: object
      title: Forms validation error response
      properties:
        meta:
          $ref: '#/components/schemas/forms_locale_meta'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/forms_validation_error_item'
      required:
        - errors
      additionalProperties: false
    questionnaire:
      type: object
      title: Questionnaire
      description: >-
        Decidim::Forms::Questionnaire with JSON Schema and JSON Forms UI for
        answer submission.
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - questionnaires
        attributes:
          type: object
          properties:
            title:
              type: string
              nullable: true
              description: Localized title for the active locale
            description:
              type: string
              nullable: true
              description: Localized description for the active locale
            schema:
              type: object
              description: JSON Schema (structural only)
            ui:
              type: object
              description: JSON Forms UI schema
            updated_at:
              type: string
              format: date-time
              nullable: true
          additionalProperties: true
        meta:
          type: object
          properties:
            locale:
              type: string
            requested_locale:
              type: string
            fallback_from:
              type: string
              nullable: true
            submission:
              $ref: '#/components/schemas/forms_submission_policy_meta'
          additionalProperties: true
        links:
          type: object
          properties:
            self:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
            submit:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
            submit_sync:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
            questions:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
          additionalProperties:
            $ref: '#/components/schemas/rest_full_hypermedia_link'
      required:
        - id
        - type
    questionnaire_index_response:
      type: object
      title: Questionnaire Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/questionnaire'
      required:
        - data
    questionnaire_item_response:
      type: object
      title: Questionnaire Item Response
      properties:
        data:
          $ref: '#/components/schemas/questionnaire'
      required:
        - data
    questionnaire_response:
      type: object
      title: Questionnaire response (submission bundle)
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - questionnaire_response
        attributes:
          type: object
          properties:
            answers:
              type: object
              additionalProperties: true
              description: Map of question_id to answer value
            client_ip:
              type: string
              nullable: true
              description: Opaque ip_hash digest
          required:
            - answers
        meta:
          type: object
          additionalProperties: true
        links:
          type: object
          properties:
            self:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
          additionalProperties:
            $ref: '#/components/schemas/rest_full_hypermedia_link'
        relationships:
          type: object
          properties:
            questionnaire:
              title: Questionnaire
              type: object
              properties:
                data:
                  type: object
                  title: Questionnaire Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - questionnaires
                  required:
                    - id
                    - type
              required:
                - data
      required:
        - id
        - type
        - attributes
    questionnaire_response_index_response:
      type: object
      title: Questionnaire Response Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/questionnaire_response'
      required:
        - data
    questionnaire_response_item_response:
      type: object
      title: Questionnaire Response Item Response
      properties:
        data:
          $ref: '#/components/schemas/questionnaire_response'
      required:
        - data
    submission_request:
      type: object
      title: Submission request (async answer submit)
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - submission_request
        attributes:
          type: object
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
                - completed
                - failed
          required:
            - status
        meta:
          type: object
          properties:
            status:
              type: string
        links:
          type: object
          properties:
            self:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
            result:
              $ref: '#/components/schemas/rest_full_hypermedia_link'
      required:
        - id
        - type
        - attributes
        - links
    submission_request_index_response:
      type: object
      title: Submission Request Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/submission_request'
      required:
        - data
    submission_request_item_response:
      type: object
      title: Submission Request Item Response
      properties:
        data:
          $ref: '#/components/schemas/submission_request'
      required:
        - data
    submission_request_accepted_response:
      type: object
      title: Submission request accepted (202)
      properties:
        data:
          $ref: '#/components/schemas/submission_request'
      required:
        - data
    question:
      type: object
      title: Question
      description: Authoring row for a single Decidim::Forms::Question (admin CRUD).
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - questions
        attributes:
          type: object
          properties:
            position:
              type: integer
            mandatory:
              type: boolean
            question_type:
              type: string
            body:
              type: object
              additionalProperties: true
              description: Translated fields (may include machine_translations)
            description:
              type: object
              additionalProperties: true
              nullable: true
            max_choices:
              type: integer
              nullable: true
            max_characters:
              type: integer
              nullable: true
        relationships:
          type: object
          properties:
            questionnaire:
              title: Questionnaire
              type: object
              properties:
                data:
                  type: object
                  title: Questionnaire Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - questionnaires
                  required:
                    - id
                    - type
              required:
                - data
      required:
        - id
        - type
    question_index_response:
      type: object
      title: Question Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/question'
      required:
        - data
    question_item_response:
      type: object
      title: Question Item Response
      properties:
        data:
          $ref: '#/components/schemas/question'
      required:
        - data
    answer_option:
      type: object
      title: Answer option
      description: Selectable option for single/multiple choice questions.
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - answer_options
        attributes:
          type: object
          properties:
            body:
              type: object
              additionalProperties:
                type: string
        relationships:
          type: object
          properties:
            question:
              title: Question
              type: object
              properties:
                data:
                  type: object
                  title: Question Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - question
                  required:
                    - id
                    - type
              required:
                - data
      required:
        - id
        - type
    answer_option_index_response:
      type: object
      title: Answer Option Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/answer_option'
      required:
        - data
    answer_option_item_response:
      type: object
      title: Answer Option Item Response
      properties:
        data:
          $ref: '#/components/schemas/answer_option'
      required:
        - data
    answer:
      type: object
      title: Answer row
      description: >-
        Stored Decidim::Forms::Answer (corpus listing, not the submission
        bundle).
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - answers
        attributes:
          type: object
          properties:
            body:
              type: string
              nullable: true
            question_id:
              type: string
        relationships:
          type: object
          properties:
            questionnaire:
              title: Questionnaire
              type: object
              properties:
                data:
                  type: object
                  title: Questionnaire Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - questionnaires
                  required:
                    - id
                    - type
              required:
                - data
      required:
        - id
        - type
    answer_index_response:
      type: object
      title: Answer Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/answer'
      required:
        - data
    answer_item_response:
      type: object
      title: Answer Item Response
      properties:
        data:
          $ref: '#/components/schemas/answer'
      required:
        - data
    question_create_body:
      type: object
      required:
        - data
      properties:
        data:
          type: object
          required:
            - type
            - attributes
            - relationships
          properties:
            type:
              type: string
              enum:
                - questions
            attributes:
              oneOf:
                - type: object
                  required:
                    - position
                    - mandatory
                    - question_type
                    - body
                  properties:
                    position:
                      type: integer
                      description: Order within the questionnaire
                    mandatory:
                      type: boolean
                    body:
                      type: object
                      additionalProperties:
                        type: string
                      description: Translated question label
                    description:
                      type: object
                      additionalProperties:
                        type: string
                      nullable: true
                    question_type:
                      type: string
                      enum:
                        - single_option
                        - multiple_option
                        - sorting
                        - matrix_single
                        - matrix_multiple
                    max_choices:
                      type: integer
                      nullable: true
                  additionalProperties: false
                - type: object
                  required:
                    - position
                    - mandatory
                    - question_type
                    - body
                  properties:
                    position:
                      type: integer
                      description: Order within the questionnaire
                    mandatory:
                      type: boolean
                    body:
                      type: object
                      additionalProperties:
                        type: string
                      description: Translated question label
                    description:
                      type: object
                      additionalProperties:
                        type: string
                      nullable: true
                    question_type:
                      type: string
                      enum:
                        - long_answer
                    max_characters:
                      type: integer
                      nullable: true
                  additionalProperties: false
                - type: object
                  required:
                    - position
                    - mandatory
                    - question_type
                    - body
                  properties:
                    position:
                      type: integer
                      description: Order within the questionnaire
                    mandatory:
                      type: boolean
                    body:
                      type: object
                      additionalProperties:
                        type: string
                      description: Translated question label
                    description:
                      type: object
                      additionalProperties:
                        type: string
                      nullable: true
                    question_type:
                      type: string
                      enum:
                        - short_answer
                        - files
                  additionalProperties: false
            relationships:
              type: object
              required:
                - questionnaire
              properties:
                questionnaire:
                  type: object
                  required:
                    - data
                  properties:
                    data:
                      type: object
                      required:
                        - type
                        - id
                      properties:
                        type:
                          type: string
                          enum:
                            - questionnaires
                        id:
                          type: string
    questionnaire_update_body:
      type: object
      title: Questionnaire metadata update payload
      required:
        - data
      properties:
        data:
          type: object
          required:
            - type
            - id
            - attributes
          properties:
            type:
              type: string
              enum:
                - questionnaires
            id:
              type: string
            attributes:
              type: object
              properties:
                title:
                  $ref: '#/components/schemas/translated_prop'
                description:
                  $ref: '#/components/schemas/translated_prop'
                tos:
                  $ref: '#/components/schemas/translated_prop'
              additionalProperties: false
          additionalProperties: false
      additionalProperties: false
    questionnaire_answers_create_body:
      type: object
      title: Questionnaire answers submission payload
      properties:
        meta:
          type: object
          properties:
            locale:
              type: string
            anonymous:
              type: boolean
            client_ip:
              type: string
          additionalProperties: true
        data:
          type: object
          required:
            - type
            - attributes
            - relationships
          properties:
            type:
              type: string
              enum:
                - questionnaire_response
            attributes:
              type: object
              properties:
                answers:
                  type: object
                  additionalProperties: true
                  description: Map of question id (string) to answer value
              required:
                - answers
            relationships:
              type: object
              properties:
                questionnaire:
                  type: object
                  properties:
                    data:
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - questionnaires
                        id:
                          type: string
                      required:
                        - type
                        - id
                  required:
                    - data
              required:
                - questionnaire
      required:
        - data
      additionalProperties: false
    meeting_component:
      type: object
      title: Meeting component
      properties:
        id:
          type: string
          description: Meeting component Id
        type:
          type: string
          enum:
            - meeting_component
        attributes:
          title: Meeting component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Meeting component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Meeting component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - meetings
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Meeting component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Meeting component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Meeting component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Meeting component Relationships
          properties:
            resources:
              type: object
              title: Meeting component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Meeting component Linked Resources Data
                meta:
                  type: object
                  title: Meeting component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    meeting_component_index_response:
      type: object
      title: Meeting Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/meeting_component'
      required:
        - data
    meeting_component_item_response:
      type: object
      title: Meeting Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/meeting_component'
      required:
        - data
    proposal_component:
      type: object
      title: Proposal Component
      properties:
        id:
          type: string
          description: Proposal Component Id
        type:
          type: string
          enum:
            - proposal_component
        attributes:
          title: Proposal Component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Proposal Component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Proposal Component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - proposals
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Proposal Component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Proposal Component handle scopes?
            can_create_proposals:
              type: boolean
              description: >-
                If the current user can create proposal (component allows, and
                user did not reach publication limit)
            can_vote:
              type: boolean
              description: If the current user can vote on the component
            can_comment:
              type: boolean
              description: If the current user can comment on the component
            geocoding_enabled:
              type: boolean
              description: If the component needs a map to display its resources
            attachments_allowed:
              type: boolean
              description: If the component allows to attach files to resources
            collaborative_drafts_enabled:
              type: boolean
              description: If you can create collaborative draft for the proposal
            comments_enabled:
              type: boolean
              description: If you can comment on proposals
            comments_max_length:
              type: integer
              description: Characters limit for comment
            default_sort_order:
              type: string
              enum:
                - random
                - recent
                - most_voted
                - most_endorsed
                - most_commented
                - most_followed
                - with_more_authors
                - automatic
                - default
              description: Default order of proposals
            official_proposals_enabled:
              type: boolean
              description: If proposals can be official
            participatory_texts_enabled:
              type: boolean
              description: If proposals are based on a text modification
            proposal_edit_before_minutes:
              type: integer
              description: Time in minute participant can edit the proposal
            proposal_edit_time:
              type: string
              enum:
                - infinite
                - limited
              description: Type of restriction for proposal edition
            proposal_limit:
              type: integer
              description: Max proposal per participant. No maximum if value is 0
            resources_permissions_enabled:
              type: boolean
              description: If authorizations can be defined per proposal
            threshold_per_proposal:
              type: integer
              description: Threshold to compare similar proposals
            vote_limit:
              type: integer
              description: Max Number of vote per participant. 0 if no limit
            endorsements_enabled:
              type: boolean
              description: If endorsements are enabled
            votes_enabled:
              type: boolean
              description: If votes on proposal are enabled
            creation_enabled:
              type: boolean
              description: If participant can create proposal are enabled
            proposal_answering_enabled:
              type: boolean
              description: If officials can answer proposals
            amendment_creation_enabled:
              type: boolean
              description: If participant can propose an amendment to a proposal
            amendment_reaction_enabled:
              type: boolean
              description: If participant can react to an amendment of a proposal
            amendment_promotion_enabled:
              type: boolean
              description: >-
                If participant choose an amendment to replace their initial
                proposal
            votes:
              title: Proposal Vote Weights Options
              description: Vote weight, if can_vote is true.
              type: array
              items:
                type: object
                title: Proposal Vote Weight
                properties:
                  label:
                    $ref: '#/components/schemas/translated_prop'
                    description: Label to voting button
                  weight:
                    type: integer
                    description: Value to add to the vote. 0 for abstention
                required:
                  - label
                  - weight
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
            - can_create_proposals
            - can_vote
            - can_comment
            - geocoding_enabled
            - attachments_allowed
            - vote_limit
        links:
          type: object
          title: Proposal Component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
            draft:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Proposal Component Relationships
          properties:
            resources:
              type: object
              title: Proposal Component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Proposal Component Linked Resources Data
                meta:
                  type: object
                  title: Proposal Component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
      description: >+
        A proposal component can host proposals from participants, and official
        proposals (proposals from the organization).

        This component have many metadatas that explain what are the
        restrictions regarding proposing, voting, commenting, amending or
        endorsing. 


        Features toggles: 

        - `can_create_proposals`: If participants can create proposals

        - `can_vote`: If participants can vote

        - `can_comment`: If participants can comments

        - .... and some more


    proposal_component_index_response:
      type: object
      title: Proposal Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/proposal_component'
      required:
        - data
    proposal_component_item_response:
      type: object
      title: Proposal Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/proposal_component'
      required:
        - data
    proposal:
      type: object
      title: Proposal
      properties:
        id:
          type: string
          description: Proposal Id
        type:
          type: string
          enum:
            - proposal
        attributes:
          type: object
          title: Proposal Attributes
          properties:
            title:
              $ref: '#/components/schemas/translated_prop'
              description: Proposal title
            body:
              $ref: '#/components/schemas/translated_prop'
              description: Proposal content
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          required:
            - created_at
            - updated_at
            - title
            - body
          additionalProperties: false
        meta:
          type: object
          title: Proposal Metadata
          properties:
            published:
              type: boolean
              description: Whether the proposal is published
            scope:
              type: integer
              description: Scope Id
            voted:
              type: object
              title: Current User Proposal Vote Metadata
              properties:
                weight:
                  type: integer
                  description: Vote weight
              required:
                - weight
              additionalProperties: false
              nullable: true
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
        links:
          type: object
          title: Proposal Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            collection:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
            prev:
              $ref: '#/components/schemas/resource_link'
            next:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
            - collection
            - related
        relationships:
          type: object
          title: Proposal Relationships
          properties:
            state:
              title: Proposal State Relationship
              type: object
              properties:
                data:
                  type: object
                  title: Proposal State Relationship Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - proposal_state
                  required:
                    - id
                    - type
                meta:
                  type: object
                  title: Proposal State Relationship Metadata
                  properties:
                    token:
                      type: string
                      description: Proposal State token
                  required:
                    - token
              required:
                - data
                - meta
            space:
              title: Linked Space
              type: object
              properties:
                data:
                  type: object
                  title: Linked Space Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      $ref: '#/components/schemas/space_type'
                  required:
                    - id
                    - type
              required:
                - data
            component:
              title: Linked Proposal Component
              type: object
              properties:
                data:
                  type: object
                  title: Linked Proposal Component Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - proposal_component
                  required:
                    - id
                    - type
              required:
                - data
            author:
              title: Proposal's Author
              type: object
              properties:
                data:
                  type: object
                  title: Proposal's Author Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - user
                        - user_group
                  required:
                    - id
                    - type
              required:
                - data
            coauthors:
              type: object
              title: Proposal's Coauthors
              properties:
                data:
                  type: array
                  items:
                    type: object
                    title: Has Many Relation Item
                    properties:
                      id:
                        type: string
                        description: Resource Id
                      type:
                        type: string
                        enum:
                          - user
                          - user_group
                    required:
                      - id
                      - type
                  title: Proposal's Coauthors Data
              required:
                - data
          required:
            - component
            - space
          additionalProperties: false
      required:
        - id
        - type
        - attributes
        - meta
        - links
    proposal_index_response:
      type: object
      title: Proposal Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/proposal'
      required:
        - data
    proposal_item_response:
      type: object
      title: Proposal Item Response
      properties:
        data:
          $ref: '#/components/schemas/proposal'
      required:
        - data
    draft_proposal:
      type: object
      title: Draft Proposal
      properties:
        id:
          type: string
          description: Draft Proposal Id
        type:
          type: string
          enum:
            - draft_proposal
        attributes:
          title: Draft Proposal Attributes
          type: object
          properties:
            title:
              $ref: '#/components/schemas/translated_prop'
              description: Draft Proposal title
            body:
              $ref: '#/components/schemas/translated_prop'
              description: Draft Proposal content
            errors:
              type: object
              title: Draft Proposal Validation Errors
              properties:
                title:
                  type: array
                  items:
                    type: string
                body:
                  type: array
                  items:
                    type: string
              required:
                - title
                - body
              description: Draft current errors
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          required:
            - created_at
            - updated_at
            - title
            - body
          additionalProperties: false
        meta:
          type: object
          title: Draft Proposition Metadata
          properties:
            publishable:
              type: boolean
              description: Draft is published as it is now?
            client_id:
              type: string
              description: Attached client_id
            scope:
              type: integer
              description: Scope Id
            fields:
              type: array
              description: Editable field names
              items:
                type: string
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - publishable
            - client_id
            - fields
        links:
          type: object
          title: Proposal Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            collection:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
            - related
            - collection
        relationships:
          type: object
          title: Draft Proposal Relationships
          properties:
            space:
              title: Draft Proposal Related Space
              type: object
              properties:
                data:
                  type: object
                  title: Draft Proposal Related Space Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      $ref: '#/components/schemas/space_type'
                  required:
                    - id
                    - type
              required:
                - data
            component:
              title: Draft Proposal Related Component
              type: object
              properties:
                data:
                  type: object
                  title: Draft Proposal Related Component Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      $ref: '#/components/schemas/component_type'
                  required:
                    - id
                    - type
              required:
                - data
            author:
              title: Draft Proposal Author
              type: object
              properties:
                data:
                  type: object
                  title: Draft Proposal Author Data
                  properties:
                    id:
                      type: string
                      description: Resource Id
                    type:
                      type: string
                      enum:
                        - user
                        - user_group
                  required:
                    - id
                    - type
              required:
                - data
            coauthors:
              type: object
              title: Draft Proposal Coauthors
              properties:
                data:
                  type: array
                  items:
                    type: object
                    title: Has Many Relation Item
                    properties:
                      id:
                        type: string
                        description: Resource Id
                      type:
                        type: string
                        enum:
                          - user
                          - user_group
                    required:
                      - id
                      - type
                  title: Draft Proposal Coauthors Data
              required:
                - data
          required:
            - component
            - space
          additionalProperties: false
      required:
        - id
        - type
        - attributes
        - meta
        - links
    draft_proposal_index_response:
      type: object
      title: Draft Proposal Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/draft_proposal'
      required:
        - data
    draft_proposal_item_response:
      type: object
      title: Draft Proposal Item Response
      properties:
        data:
          $ref: '#/components/schemas/draft_proposal'
      required:
        - data
    vote_proposal:
      type: object
      title: Vote proposal
      description: >-
        A user's vote on a published proposal
        (Decidim::Proposals::ProposalVote).
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - vote_proposals
        attributes:
          type: object
          properties:
            weight:
              type: integer
              description: Vote weight (0 = abstention when enabled)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
          required:
            - weight
            - created_at
            - updated_at
          additionalProperties: false
        relationships:
          type: object
          properties:
            proposal:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - proposals
                    id:
                      type: string
            author:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - users
                    id:
                      type: string
      required:
        - id
        - type
    vote_proposal_index_response:
      type: object
      title: Vote Proposal Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/vote_proposal'
      required:
        - data
    vote_proposal_item_response:
      type: object
      title: Vote Proposal Item Response
      properties:
        data:
          $ref: '#/components/schemas/vote_proposal'
      required:
        - data
    vote_proposal_create_body:
      type: object
      required:
        - proposal_id
        - data
      properties:
        proposal_id:
          type: integer
          description: Published proposal id
        data:
          type: object
          required:
            - weight
          properties:
            weight:
              type: integer
              description: Vote weight
          additionalProperties: false
    vote_proposals_index_response:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/vote_proposal'
        meta:
          type: object
          properties:
            page:
              type: integer
            per_page:
              type: integer
    sortition_component:
      type: object
      title: Sortitions component
      properties:
        id:
          type: string
          description: Sortitions component Id
        type:
          type: string
          enum:
            - sortition_component
        attributes:
          title: Sortitions component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Sortitions component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Sortitions component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - sortitions
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Sortitions component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Sortitions component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Sortitions component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Sortitions component Relationships
          properties:
            resources:
              type: object
              title: Sortitions component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Sortitions component Linked Resources Data
                meta:
                  type: object
                  title: Sortitions component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    sortition_component_index_response:
      type: object
      title: Sortition Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/sortition_component'
      required:
        - data
    sortition_component_item_response:
      type: object
      title: Sortition Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/sortition_component'
      required:
        - data
    survey_component:
      type: object
      title: Survey component
      properties:
        id:
          type: string
          description: Survey component Id
        type:
          type: string
          enum:
            - survey_component
        attributes:
          title: Survey component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Survey component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Survey component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - surveys
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Survey component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Survey component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Survey component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Survey component Relationships
          properties:
            resources:
              type: object
              title: Survey component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Survey component Linked Resources Data
                meta:
                  type: object
                  title: Survey component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    survey_component_index_response:
      type: object
      title: Survey Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/survey_component'
      required:
        - data
    survey_component_item_response:
      type: object
      title: Survey Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/survey_component'
      required:
        - data
    other_component:
      type: object
      title: Generic Component
      properties:
        id:
          type: string
          description: Generic Component Id
        type:
          type: string
          enum:
            - page_component
            - awesome_map_component
            - awesome_iframe_component
        attributes:
          title: Generic Component Attributes
          type: object
          properties:
            name:
              $ref: '#/components/schemas/translated_prop'
              description: Generic Component name
            global_announcement:
              $ref: '#/components/schemas/translated_prop'
              description: Generic Component announcement (intro)
            participatory_space_type:
              $ref: '#/components/schemas/space_classes'
            participatory_space_id:
              type: string
              description: >-
                Associate space id. Part of the polymorphic association
                (participatory_space_type,participatory_space_id)
            created_at:
              $ref: '#/components/schemas/creation_date'
            updated_at:
              $ref: '#/components/schemas/edition_date'
            manifest_name:
              type: string
              enum:
                - pages
                - awesome_map
                - awesome_iframe
          required:
            - created_at
            - updated_at
            - name
            - manifest_name
            - participatory_space_type
            - participatory_space_id
          additionalProperties: false
        meta:
          type: object
          title: Generic Component Metadata
          properties:
            published:
              type: boolean
              description: Published component?
            scopes_enabled:
              type: boolean
              description: Generic Component handle scopes?
          additionalProperties:
            oneOf:
              - type: boolean
              - type: integer
              - type: string
              - $ref: '#/components/schemas/translated_prop'
          required:
            - published
            - scopes_enabled
        links:
          type: object
          title: Generic Component Links
          properties:
            self:
              $ref: '#/components/schemas/resource_link'
            related:
              $ref: '#/components/schemas/resource_link'
          additionalProperties: false
          required:
            - self
        relationships:
          type: object
          title: Generic Component Relationships
          properties:
            resources:
              type: object
              title: Generic Component Linked Resources
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/resource_relationship_identifier'
                  title: Generic Component Linked Resources Data
                meta:
                  type: object
                  title: Generic Component Linked Resources Metadata
                  properties:
                    count:
                      type: integer
                      description: Total count of resources
                  required:
                    - count
              required:
                - data
                - meta
    component:
      oneOf:
        - $ref: '#/components/schemas/accountability_component'
        - $ref: '#/components/schemas/blog_component'
        - $ref: '#/components/schemas/budget_component'
        - $ref: '#/components/schemas/debate_component'
        - $ref: '#/components/schemas/meeting_component'
        - $ref: '#/components/schemas/proposal_component'
        - $ref: '#/components/schemas/sortition_component'
        - $ref: '#/components/schemas/survey_component'
        - $ref: '#/components/schemas/other_component'
    component_index_response:
      type: object
      title: Component Index Response
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/component'
      required:
        - data
    component_item_response:
      type: object
      title: Component Item Response
      properties:
        data:
          $ref: '#/components/schemas/component'
      required:
        - data
paths:
  /attachments/{id}:
    get:
      summary: Show attachment
      tags:
        - Attachments
      operationId: showAttachment
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - attachments
      responses:
        '200':
          description: Attachment found
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '2'
                      type: attachment
                      attributes:
                        title:
                          en: >-
                            <script>alert("attachment_title");</script> Illo
                            voluptatem deleniti. 157
                          fr: >-
                            <script>alert("attachment_title");</script>
                            Accusantium perspiciatis cumque. 158
                        description:
                          en: >-
                            <script>alert("attachment_description");</script>
                            Aut laudantium unde. 160
                          fr: >-
                            <script>alert("attachment_description");</script>
                            Repellat qui labore. 161
                        weight: 0
                        attachment_collection_id: null
                        file_type: document
                        content_type: application/pdf
                        url: null
                        thumbnail_url: null
                        attached_to:
                          type: Decidim::Proposals::Proposal
                          id: 2
                        created_at: '2026-07-21T13:59:55Z'
                        updated_at: '2026-07-21T13:59:55Z'
              schema:
                $ref: '#/components/schemas/attachment_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /organizations:
    get:
      summary: Organizations
      tags:
        - Organizations
      operationId: listOrganizations
      description: List available organizations
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - system
      responses:
        '200':
          description: Organizations listed
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '18'
                        type: organization
                        attributes:
                          host: 9.lvh.me
                          secondary_hosts: []
                          default_locale: en
                          available_locales:
                            - en
                          enable_machine_translations: false
                          enable_participatory_space_filters: true
                          badges_enabled: true
                          rich_text_editor_in_public_views: false
                          comments_max_length: 1000
                          time_zone: UTC
                          users_registration_mode: enabled
                          user_groups_enabled: true
                          force_users_to_authenticate_before_access_organization: false
                          reference_prefix: V
                          send_welcome_notification: true
                          name:
                            en: Schuster-Gusikowski
                            fr: Beahan-Reichel
                          description:
                            en: >-
                              <p><script>alert("organization_description");</script>
                              A corporis et. 373</p>
                            fr: >-
                              <p><script>alert("organization_description");</script>
                              Distinctio qui consequuntur. 374</p>
                          extended_data: {}
                          created_at: '2026-07-21T14:00:21Z'
                          updated_at: '2026-07-21T14:00:21Z'
                        meta:
                          locales:
                            - en
                            - fr
              schema:
                $ref: '#/components/schemas/organization_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /draft_proposals/{id}:
    get:
      summary: Display a draft proposal
      tags:
        - Draft Proposals
      operationId: getDraftProposal
      description: >-
        Detail a draft proposal. Raise HTTP 404 error if no draft is created for
        now.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Draft Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Draft Found
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '12'
                      type: draft_proposal
                      attributes:
                        created_at: '2026-07-21T14:00:46Z'
                        updated_at: '2026-07-21T14:00:46Z'
                        title:
                          fr: >-
                            <script>alert("proposal_title");</script> Cum eum
                            molestiae. 590
                        body: {}
                        errors:
                          title: []
                          body:
                            - Body cannot be blank
                      relationships:
                        space:
                          data:
                            id: '12'
                            type: participatory_processes
                        component:
                          data:
                            id: '12'
                            type: proposal_component
                        author:
                          data:
                            id: '23'
                            type: user
                        coauthors:
                          data:
                            - id: '23'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://13.lvh.me/public/components/12
                          title: >-
                            <script>alert("component_name");</script> Explicabo
                            aspernatur eveniet. 580
                          rel: resource
                          meta:
                            space_id: '12'
                            space_manifest: participatory_processes
                            component_id: '12'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: https://13.lvh.me/api/rest_full/v0.3/proposals/12
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '12'
                            component_manifest: proposals
                            space_id: '12'
                            space_manifest: participatory_processes
                            resource_id: '12'
                            action_method: GET
                        collection:
                          href: https://13.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '12'
                            component_manifest: proposals
                            space_id: '12'
                            space_manifest: participatory_processes
                            resource_id: '12'
                            action_method: GET
                      meta:
                        publishable: false
                        client_id: et6YzrM-LLRvRBylKhELf7ebS-AL2iqx8JliyWMe-Ac
                        fields:
                          - title
                          - body
              schema:
                $ref: '#/components/schemas/draft_proposal_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /components/blog_components:
    get:
      summary: Blog Components
      tags:
        - Components
      operationId: listBlogComponents
      description: List or search blog components of the organization
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: filter[participatory_space_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: participatory_space_id IN filter
            description: match one of _participatory_space_id_'s values in array
          required: false
        - name: filter[participatory_space_id_eq]
          in: query
          schema:
            type: string
            title: participatory_space_id equal filter
            description: _participatory_space_id_ is equal to
          required: false
        - name: filter[participatory_space_id_lt]
          in: query
          schema:
            type: string
            title: participatory_space_id less than filter
            description: _participatory_space_id_ is less than
          required: false
        - name: filter[participatory_space_id_gt]
          in: query
          schema:
            type: string
            title: participatory_space_id greater than filter
            description: _participatory_space_id_ is greater than
          required: false
        - name: filter[participatory_space_id_present]
          in: query
          schema:
            type: boolean
            title: participatory_space_id present filter
            description: _participatory_space_id_ is not null and not empty
          required: false
        - name: filter[participatory_space_id_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_id blank filter
            description: _participatory_space_id_ is null or empty
          required: false
        - name: filter[participatory_space_type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              example: Decidim::Assembly
            title: participatory_space_type not IN filter
            description: match none of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              example: Decidim::Assembly
            title: participatory_space_type IN filter
            description: match one of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_start]
          in: query
          schema:
            type: string
            description: _participatory_space_type_ starts with
            title: participatory_space_type starts With filter
            example: some_string
          required: false
        - name: filter[participatory_space_type_eq]
          in: query
          schema:
            type: string
            example: Decidim::Assembly
            title: participatory_space_type equal filter
            description: _participatory_space_type_ is equal to
          required: false
        - name: filter[participatory_space_type_not_eq]
          in: query
          schema:
            type: string
            example: Decidim::Assembly
            title: participatory_space_type not equal filter
            description: _participatory_space_type_ is NOT equal to
          required: false
        - name: filter[participatory_space_type_matches]
          in: query
          schema:
            type: string
            title: participatory_space_type like filter
            description: matches _participatory_space_type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[participatory_space_type_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_type blank filter
            description: _participatory_space_type_ is null or empty
          required: false
        - name: filter[name_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name not IN filter
            description: match none of _name_'s values in array
          required: false
        - name: filter[name_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name IN filter
            description: match one of _name_'s values in array
          required: false
        - name: filter[name_start]
          in: query
          schema:
            type: string
            description: _name_ starts with
            title: name starts With filter
            example: some_string
          required: false
        - name: filter[name_eq]
          in: query
          schema:
            type: string
            title: name equal filter
            description: _name_ is equal to
          required: false
        - name: filter[name_not_eq]
          in: query
          schema:
            type: string
            title: name not equal filter
            description: _name_ is NOT equal to
          required: false
        - name: filter[name_matches]
          in: query
          schema:
            type: string
            title: name like filter
            description: matches _name_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[name_blank]
          in: query
          schema:
            type: boolean
            title: name blank filter
            description: _name_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - public
      responses:
        '200':
          description: List of blog components
          content:
            application/json:
              examples:
                components_in_Process:
                  value:
                    data:
                      - id: '146'
                        type: blog_component
                        attributes:
                          manifest_name: blogs
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '49'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Tempore
                              porro repellendus. 3040
                            fr: >-
                              <script>alert("component_name");</script> Vel
                              neque provident. 3041
                          global_announcement: {}
                          created_at: '2026-07-21T14:01:22Z'
                          updated_at: '2026-07-21T14:01:22Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: https://30.lvh.me/components/blog_components/146
                            title: >-
                              <script>alert("component_name");</script> Tempore
                              porro repellendus. 3040
                            rel: resource
                            meta:
                              space_id: '49'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://30.lvh.me/spaces/participatory_processes/49
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Libero repudiandae dolorem. 2962
                            rel: resource
                            meta:
                              space_id: '49'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                ok:
                  value:
                    data:
                      - id: '149'
                        type: blog_component
                        attributes:
                          manifest_name: blogs
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '50'
                          name:
                            en: >-
                              <script>alert("component_name");</script>
                              Laboriosam quia dolore. 3181
                            fr: >-
                              <script>alert("component_name");</script> Deserunt
                              voluptatem eum. 3182
                          global_announcement: {}
                          created_at: '2026-07-21T14:01:23Z'
                          updated_at: '2026-07-21T14:01:23Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: https://31.lvh.me/components/blog_components/149
                            title: >-
                              <script>alert("component_name");</script>
                              Laboriosam quia dolore. 3181
                            rel: resource
                            meta:
                              space_id: '50'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://31.lvh.me/spaces/participatory_processes/50
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Voluptatum et debitis. 3103
                            rel: resource
                            meta:
                              space_id: '50'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                paginated:
                  value:
                    data:
                      - id: '121'
                        type: blog_component
                        attributes:
                          manifest_name: blogs
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '43'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Magnam
                              quia tempore. 2710
                            fr: >-
                              <script>alert("component_name");</script> Possimus
                              voluptate atque. 2711
                          global_announcement: {}
                          created_at: '2026-07-21T14:01:21Z'
                          updated_at: '2026-07-21T14:01:21Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: https://28.lvh.me/components/blog_components/121
                            title: >-
                              <script>alert("component_name");</script> Magnam
                              quia tempore. 2710
                            rel: resource
                            meta:
                              space_id: '43'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://28.lvh.me/spaces/participatory_processes/43
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Unde suscipit accusantium. 2626
                            rel: resource
                            meta:
                              space_id: '43'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                      - id: '122'
                        type: blog_component
                        attributes:
                          manifest_name: blogs
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '43'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Qui ipsa
                              laboriosam. 2719
                            fr: >-
                              <script>alert("component_name");</script> Nemo eos
                              voluptas. 2720
                          global_announcement: {}
                          created_at: '2026-07-21T14:01:21Z'
                          updated_at: '2026-07-21T14:01:21Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: https://28.lvh.me/components/blog_components/122
                            title: >-
                              <script>alert("component_name");</script> Qui ipsa
                              laboriosam. 2719
                            rel: resource
                            meta:
                              space_id: '43'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://28.lvh.me/spaces/participatory_processes/43
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Unde suscipit accusantium. 2626
                            rel: resource
                            meta:
                              space_id: '43'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
              schema:
                $ref: '#/components/schemas/blog_component_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/initiatives:
    get:
      summary: List Initiatives
      tags:
        - Spaces
      operationId: listInitiatives
      description: >-
        List participatory spaces of type Initiatives for the current
        organization. Supports the same `filter` query parameters as
        `/spaces/search`, scoped to this space type.
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Initiatives list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/space_index_response'
              examples:
                ok:
                  value:
                    data:
                      - id: '19'
                        type: space
                        attributes:
                          manifest_name: initiatives
                          participatory_space_type: Decidim::Initiative
                          title:
                            en: My initiative for testing
                          subtitle: {}
                          short_description: {}
                          description:
                            en: >-
                              <p><script>alert("initiative_description");</script>
                              Aut alias repellendus. 11755</p>
                            fr: >-
                              <p><script>alert("initiative_description");</script>
                              Optio natus deleniti. 11756</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:12Z'
                          updated_at: '2026-07-21T14:02:12Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://93.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Initiative&filter[participatory_space_id_eq]=19
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: initiatives
                                  space_id: '19'
                                  action_method: GET
                        links:
                          self:
                            href: https://93.lvh.me/public/initiatives/19
                            title: en
                            rel: resource
                            meta:
                              space_id: '19'
                              space_manifest: initiatives
                              action_method: GET
                          related:
                            href: https://93.lvh.me/system/organizations/94
                            title: Beahan-Kovacek
                            rel: resource
                            meta:
                              action_method: GET
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/conferences:
    get:
      summary: List Conferences
      tags:
        - Spaces
      operationId: listConferences
      description: >-
        List participatory spaces of type Conferences for the current
        organization. Supports the same `filter` query parameters as
        `/spaces/search`, scoped to this space type.
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Conferences list
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '20'
                        type: space
                        attributes:
                          manifest_name: conferences
                          participatory_space_type: Decidim::Conference
                          title:
                            en: My conference for testing
                          subtitle: {}
                          short_description:
                            en: >-
                              <p><script>alert("conference_short_description");</script>
                              Placeat nesciunt delectus. 22459</p>
                            fr: >-
                              <p><script>alert("conference_short_description");</script>
                              Nostrum adipisci quas. 22460</p>
                          description:
                            en: >-
                              <p><script>alert("conference_description");</script>
                              Qui consectetur numquam. 22462</p>
                            fr: >-
                              <p><script>alert("conference_description");</script>
                              Aspernatur ea eos. 22463</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:37Z'
                          updated_at: '2026-07-21T14:02:37Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://171.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Conference&filter[participatory_space_id_eq]=20
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: conferences
                                  space_id: '20'
                                  action_method: GET
                        links:
                          self:
                            href: https://171.lvh.me/public/conferences/20
                            title: en
                            rel: resource
                            meta:
                              space_id: '20'
                              space_manifest: conferences
                              action_method: GET
                          related:
                            href: https://171.lvh.me/system/organizations/119
                            title: Boyle Inc
                            rel: resource
                            meta:
                              action_method: GET
              schema:
                $ref: '#/components/schemas/space_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/participatory_processes:
    get:
      summary: List Participatory Processes
      tags:
        - Spaces
      operationId: listParticipatoryProcesses
      description: >-
        List participatory spaces of type Participatory Processes for the
        current organization. Supports the same `filter` query parameters as
        `/spaces/search`, scoped to this space type.
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Participatory Processes list
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '309'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Unde ex distinctio. 31201
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Voluptatem officia rem. 31202
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Reprehenderit et voluptate. 31204
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Eos id quas. 31205
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Minus neque quia. 31207</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Animi neque earum. 31208</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Possimus laudantium sit. 31210</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Omnis officiis quia. 31211</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:59Z'
                          updated_at: '2026-07-21T14:02:59Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://235.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=309
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '309'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://235.lvh.me/public/participatory_processes/309
                            title: en
                            rel: resource
                            meta:
                              space_id: '309'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://235.lvh.me/system/organizations/132
                            title: Anderson, Mohr and Veum
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '307'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: My participatory_process for testing purpose
                            fr: c'est une concertation
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Natus ut rerum. 31054
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Dolore totam praesentium. 31055
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Maxime id est. 31057</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Aut et voluptatum. 31058</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Inventore id quis. 31060</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Velit et quasi. 31061</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:59Z'
                          updated_at: '2026-07-21T14:02:59Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://235.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=307
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '307'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://235.lvh.me/public/participatory_processes/307
                            title: en
                            rel: resource
                            meta:
                              space_id: '307'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://235.lvh.me/system/organizations/132
                            title: Anderson, Mohr and Veum
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '308'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Repellat laudantium dolorem. 31126
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Assumenda corporis est. 31127
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Sapiente rerum rerum. 31129
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Rerum voluptatum veniam. 31130
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Voluptatibus temporibus assumenda. 31132</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Facilis aut iure. 31133</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Tenetur dolorem et. 31135</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Repellendus est enim. 31136</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:59Z'
                          updated_at: '2026-07-21T14:02:59Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://235.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=308
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '308'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://235.lvh.me/public/participatory_processes/308
                            title: en
                            rel: resource
                            meta:
                              space_id: '308'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://235.lvh.me/system/organizations/132
                            title: Anderson, Mohr and Veum
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '310'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Soluta illum voluptas. 31276
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Temporibus in doloremque. 31277
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Quasi neque et. 31279
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Numquam ad et. 31280
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Sit consequatur beatae. 31282</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Ut mollitia dolorem. 31283</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Optio in doloremque. 31285</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Et iusto aut. 31286</p>
                          visibility: public
                          created_at: '2026-07-21T14:02:59Z'
                          updated_at: '2026-07-21T14:02:59Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://235.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=310
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '310'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://235.lvh.me/public/participatory_processes/310
                            title: en
                            rel: resource
                            meta:
                              space_id: '310'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://235.lvh.me/system/organizations/132
                            title: Anderson, Mohr and Veum
                            rel: resource
                            meta:
                              action_method: GET
              schema:
                $ref: '#/components/schemas/space_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/assemblies:
    get:
      summary: List Assemblies
      tags:
        - Spaces
      operationId: listAssemblies
      description: >-
        List participatory spaces of type Assemblies for the current
        organization. Supports the same `filter` query parameters as
        `/spaces/search`, scoped to this space type.
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Assemblies list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/space_index_response'
              examples:
                ok:
                  value:
                    data:
                      - id: '345'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                            fr: c'est une assemblée
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Excepturi et consequatur. 40480
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Rem
                              deserunt est. 40481
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Aliquam est exercitationem. 40483</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Modi sequi quidem. 40484</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Voluptatem possimus aut. 40486</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Et qui autem. 40487</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:03:23Z'
                          updated_at: '2026-07-21T14:03:23Z'
                        relationships:
                          components:
                            data:
                              - id: '1418'
                                type: accountability_component
                              - id: '1423'
                                type: awesome_iframe_component
                              - id: '1422'
                                type: awesome_map_component
                              - id: '1421'
                                type: blog_component
                              - id: '1416'
                                type: budget_component
                              - id: '1419'
                                type: debate_component
                              - id: '1429'
                                type: meeting_component
                              - id: '1415'
                                type: meeting_component
                              - id: '1425'
                                type: meeting_component
                              - id: '1427'
                                type: meeting_component
                              - id: '1413'
                                type: page_component
                              - id: '1424'
                                type: proposal_component
                              - id: '1428'
                                type: proposal_component
                              - id: '1414'
                                type: proposal_component
                              - id: '1426'
                                type: proposal_component
                              - id: '1420'
                                type: sortition_component
                              - id: '1417'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://306.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=345
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '345'
                                  action_method: GET
                        links:
                          self:
                            href: https://306.lvh.me/public/assemblies/345
                            title: en
                            rel: resource
                            meta:
                              space_id: '345'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://306.lvh.me/system/organizations/155
                            title: Conroy, Baumbach and Mohr
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '346'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Non
                              expedita omnis. 40648
                            fr: >-
                              <script>alert("assembly_title");</script> Dolores
                              asperiores quaerat. 40649
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Maiores quam quo. 40651
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Cum
                              quae molestiae. 40652
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              In aut sequi. 40654</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Inventore alias commodi. 40655</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Illum error est. 40657</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Officia est sed. 40658</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:03:23Z'
                          updated_at: '2026-07-21T14:03:23Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://306.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=346
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '346'
                                  action_method: GET
                        links:
                          self:
                            href: https://306.lvh.me/public/assemblies/346
                            title: en
                            rel: resource
                            meta:
                              space_id: '346'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://306.lvh.me/system/organizations/155
                            title: Conroy, Baumbach and Mohr
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '347'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Quasi
                              aut consequatur. 40723
                            fr: >-
                              <script>alert("assembly_title");</script> Sequi
                              quisquam quia. 40724
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Aut
                              architecto rerum. 40726
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Quaerat itaque dignissimos. 40727
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Fugiat ad modi. 40729</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Et ut qui. 40730</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Natus aut minima. 40732</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Dignissimos ex maiores. 40733</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:03:23Z'
                          updated_at: '2026-07-21T14:03:23Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://306.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=347
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '347'
                                  action_method: GET
                        links:
                          self:
                            href: https://306.lvh.me/public/assemblies/347
                            title: en
                            rel: resource
                            meta:
                              space_id: '347'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://306.lvh.me/system/organizations/155
                            title: Conroy, Baumbach and Mohr
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '348'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Vero
                              dolorem inventore. 40798
                            fr: >-
                              <script>alert("assembly_title");</script>
                              Assumenda sapiente illo. 40799
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Cupiditate quia sed. 40801
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Tempora voluptas occaecati. 40802
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Aliquam rerum dolores. 40804</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Aut vitae qui. 40805</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Velit debitis beatae. 40807</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Molestiae possimus soluta. 40808</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:03:23Z'
                          updated_at: '2026-07-21T14:03:23Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://306.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=348
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '348'
                                  action_method: GET
                        links:
                          self:
                            href: https://306.lvh.me/public/assemblies/348
                            title: en
                            rel: resource
                            meta:
                              space_id: '348'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://306.lvh.me/system/organizations/155
                            title: Conroy, Baumbach and Mohr
                            rel: resource
                            meta:
                              action_method: GET
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /questions/sync:
    post:
      summary: Create question (sync)
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: createQuestions
      description: Create a question inline (201).
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '201':
          description: Question created
          content:
            application/json:
              examples:
                created:
                  value:
                    data:
                      id: '148'
                      type: questions
                      attributes:
                        position: 99
                        mandatory: false
                        question_type: short_answer
                        body:
                          en: API-created question
                        description: null
                        max_choices: null
                        max_characters: 0
                      relationships:
                        questionnaire:
                          data:
                            id: '577'
                            type: questionnaires
                    meta:
                      locale: en
                      requested_locale: en
                      fallback_from: null
              schema:
                $ref: '#/components/schemas/question_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/question_create_body'
        required: true
  /questions:
    post:
      summary: Create question (async)
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: createQuestionsAsync
      description: Enqueue question creation; poll GET /jobs/:uuid.
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: 038004b6-f234-4449-81ab-44dd1bdf957c
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://385.lvh.me/api/rest_full/v0.3/jobs/038004b6-f234-4449-81ab-44dd1bdf957c
                    links:
                      self:
                        href: >-
                          http://385.lvh.me/api/rest_full/v0.3/jobs/038004b6-f234-4449-81ab-44dd1bdf957c
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/question_create_body'
        required: true
    get:
      summary: List questions
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: listQuestions
      description: List questions for a questionnaire (filter[questionnaire_id] required).
      parameters:
        - name: filter[questionnaire_id]
          in: query
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Questions list
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '210'
                        type: questions
                        attributes:
                          position: 0
                          mandatory: false
                          question_type: short_answer
                          body:
                            en: >-
                              <script>alert("questionnaire_question_body");</script>
                              Ad sit omnis. 48346
                            fr: >-
                              <script>alert("questionnaire_question_body");</script>
                              Vel placeat et. 48347
                            machine_translations:
                              es: >-
                                <script>alert("questionnaire_question_body");</script>
                                Quidem ut rerum. 48348
                          description:
                            en: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Veritatis fuga ea. 48349</p>
                            fr: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Sit perspiciatis maiores. 48350</p>
                            machine_translations:
                              es: >-
                                <p><script>alert("questionnaire_question_description");</script>
                                Molestiae alias dolorem. 48351</p>
                          max_choices: null
                          max_characters: 0
                        relationships:
                          questionnaire:
                            data:
                              id: '620'
                              type: questionnaires
                      - id: '211'
                        type: questions
                        attributes:
                          position: 1
                          mandatory: false
                          question_type: long_answer
                          body:
                            en: >-
                              <script>alert("questionnaire_question_body");</script>
                              Accusantium vel aperiam. 48397
                            fr: >-
                              <script>alert("questionnaire_question_body");</script>
                              Veritatis temporibus consequatur. 48398
                            machine_translations:
                              es: >-
                                <script>alert("questionnaire_question_body");</script>
                                Molestiae corrupti laudantium. 48399
                          description:
                            en: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Praesentium quas natus. 48400</p>
                            fr: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Repellat et et. 48401</p>
                            machine_translations:
                              es: >-
                                <p><script>alert("questionnaire_question_description");</script>
                                Nisi commodi vero. 48402</p>
                          max_choices: null
                          max_characters: 0
                        relationships:
                          questionnaire:
                            data:
                              id: '620'
                              type: questionnaires
                      - id: '212'
                        type: questions
                        attributes:
                          position: 2
                          mandatory: false
                          question_type: single_option
                          body:
                            en: >-
                              <script>alert("questionnaire_question_body");</script>
                              Dolores excepturi suscipit. 48448
                            fr: >-
                              <script>alert("questionnaire_question_body");</script>
                              Tempore voluptatum perspiciatis. 48449
                            machine_translations:
                              es: >-
                                <script>alert("questionnaire_question_body");</script>
                                Architecto et inventore. 48450
                          description:
                            en: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Quibusdam magni dicta. 48451</p>
                            fr: >-
                              <p><script>alert("questionnaire_question_description");</script>
                              Recusandae optio deserunt. 48452</p>
                            machine_translations:
                              es: >-
                                <p><script>alert("questionnaire_question_description");</script>
                                Assumenda eius ut. 48453</p>
                          max_choices: null
                          max_characters: 0
                        relationships:
                          questionnaire:
                            data:
                              id: '620'
                              type: questionnaires
                    meta:
                      locale: en
                      requested_locale: en
                      fallback_from: null
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/question'
                  meta:
                    $ref: '#/components/schemas/forms_locale_meta'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /components/search:
    get:
      summary: Search components
      tags:
        - Components
      operationId: searchComponents
      description: >
        Search **components** (`Decidim::Component`) in the organization
        resolved from the request host.


        ### Filters

        - `filter[manifest_name]`: e.g. `proposals`, `blogs`, `meetings`

        - `filter[id]`, `filter[participatory_space_id]`,
        `filter[participatory_space_type]`, `filter[name]`


        ### Pagination & locale

        Supports `page`, `per_page`, and `locales[]` like other collection
        endpoints.


        ### Access

        `public` scope with `public.component.read` (credential or impersonation
        token).
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: filter[manifest_name_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              $ref: '#/components/schemas/component_manifest'
            title: manifest_name not IN filter
            description: match none of _manifest_name_'s values in array
          required: false
        - name: filter[manifest_name_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              $ref: '#/components/schemas/component_manifest'
            title: manifest_name IN filter
            description: match one of _manifest_name_'s values in array
          required: false
        - name: filter[manifest_name_start]
          in: query
          schema:
            type: string
            description: _manifest_name_ starts with
            title: manifest_name starts With filter
            example: some_string
          required: false
        - name: filter[manifest_name_eq]
          in: query
          schema:
            $ref: '#/components/schemas/component_manifest'
            title: manifest_name equal filter
            description: _manifest_name_ is equal to
          required: false
        - name: filter[manifest_name_not_eq]
          in: query
          schema:
            $ref: '#/components/schemas/component_manifest'
            title: manifest_name not equal filter
            description: _manifest_name_ is NOT equal to
          required: false
        - name: filter[manifest_name_matches]
          in: query
          schema:
            type: string
            title: manifest_name like filter
            description: matches _manifest_name_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[manifest_name_blank]
          in: query
          schema:
            type: boolean
            title: manifest_name blank filter
            description: _manifest_name_ is null or empty
          required: false
        - name: filter[id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: id IN filter
            description: match one of _id_'s values in array
          required: false
        - name: filter[id_eq]
          in: query
          schema:
            type: integer
            title: id equal filter
            description: _id_ is equal to
          required: false
        - name: filter[id_lt]
          in: query
          schema:
            type: integer
            title: id less than filter
            description: _id_ is less than
          required: false
        - name: filter[id_gt]
          in: query
          schema:
            type: integer
            title: id greater than filter
            description: _id_ is greater than
          required: false
        - name: filter[id_present]
          in: query
          schema:
            type: boolean
            title: id present filter
            description: _id_ is not null and not empty
          required: false
        - name: filter[id_blank]
          in: query
          schema:
            type: boolean
            title: id blank filter
            description: _id_ is null or empty
          required: false
        - name: filter[participatory_space_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: participatory_space_id IN filter
            description: match one of _participatory_space_id_'s values in array
          required: false
        - name: filter[participatory_space_id_eq]
          in: query
          schema:
            type: string
            title: participatory_space_id equal filter
            description: _participatory_space_id_ is equal to
          required: false
        - name: filter[participatory_space_id_lt]
          in: query
          schema:
            type: string
            title: participatory_space_id less than filter
            description: _participatory_space_id_ is less than
          required: false
        - name: filter[participatory_space_id_gt]
          in: query
          schema:
            type: string
            title: participatory_space_id greater than filter
            description: _participatory_space_id_ is greater than
          required: false
        - name: filter[participatory_space_id_present]
          in: query
          schema:
            type: boolean
            title: participatory_space_id present filter
            description: _participatory_space_id_ is not null and not empty
          required: false
        - name: filter[participatory_space_id_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_id blank filter
            description: _participatory_space_id_ is null or empty
          required: false
        - name: filter[participatory_space_type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              $ref: '#/components/schemas/space_type'
            title: participatory_space_type not IN filter
            description: match none of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              $ref: '#/components/schemas/space_type'
            title: participatory_space_type IN filter
            description: match one of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_start]
          in: query
          schema:
            type: string
            description: _participatory_space_type_ starts with
            title: participatory_space_type starts With filter
            example: some_string
          required: false
        - name: filter[participatory_space_type_eq]
          in: query
          schema:
            $ref: '#/components/schemas/space_type'
            title: participatory_space_type equal filter
            description: _participatory_space_type_ is equal to
          required: false
        - name: filter[participatory_space_type_not_eq]
          in: query
          schema:
            $ref: '#/components/schemas/space_type'
            title: participatory_space_type not equal filter
            description: _participatory_space_type_ is NOT equal to
          required: false
        - name: filter[participatory_space_type_matches]
          in: query
          schema:
            type: string
            title: participatory_space_type like filter
            description: matches _participatory_space_type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[participatory_space_type_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_type blank filter
            description: _participatory_space_type_ is null or empty
          required: false
        - name: filter[name_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name not IN filter
            description: match none of _name_'s values in array
          required: false
        - name: filter[name_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name IN filter
            description: match one of _name_'s values in array
          required: false
        - name: filter[name_start]
          in: query
          schema:
            type: string
            description: _name_ starts with
            title: name starts With filter
            example: some_string
          required: false
        - name: filter[name_eq]
          in: query
          schema:
            type: string
            title: name equal filter
            description: _name_ is equal to
          required: false
        - name: filter[name_not_eq]
          in: query
          schema:
            type: string
            title: name not equal filter
            description: _name_ is NOT equal to
          required: false
        - name: filter[name_matches]
          in: query
          schema:
            type: string
            title: name like filter
            description: matches _name_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[name_blank]
          in: query
          schema:
            type: boolean
            title: name blank filter
            description: _name_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - public
      responses:
        '200':
          description: List of components
          content:
            application/json:
              examples:
                filter_byId:
                  value:
                    data:
                      - id: '1591'
                        type: meeting_component
                        attributes:
                          manifest_name: meetings
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '526'
                          name:
                            en: >-
                              <script>alert("component_name");</script>
                              Occaecati at maiores. 53629
                            fr: >-
                              <script>alert("component_name");</script> Ducimus
                              maiores quia. 53630
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:50Z'
                          updated_at: '2026-07-21T14:04:50Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://489.lvh.me/components/meeting_components/1591
                            title: >-
                              <script>alert("component_name");</script>
                              Occaecati at maiores. 53629
                            rel: resource
                            meta:
                              space_id: '526'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://489.lvh.me/spaces/participatory_processes/526
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Ut perspiciatis mollitia. 53590
                            rel: resource
                            meta:
                              space_id: '526'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          default_registration_terms: {}
                          comments_enabled: true
                          comments_max_length: 1000
                          registration_code_enabled: true
                          creation_enabled_for_participants: false
                      - id: '1594'
                        type: accountability_component
                        attributes:
                          manifest_name: accountability
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '526'
                          name:
                            en: >-
                              <script>alert("accountability");</script>
                              Accountability
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:50Z'
                          updated_at: '2026-07-21T14:04:50Z'
                        relationships:
                          resources:
                            data:
                              - id: '33'
                                type: result
                              - id: '34'
                                type: result
                            meta:
                              count: 2
                        links:
                          self:
                            href: >-
                              https://489.lvh.me/components/accountability_components/1594
                            title: >-
                              <script>alert("accountability");</script>
                              Accountability
                            rel: resource
                            meta:
                              space_id: '526'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://489.lvh.me/spaces/participatory_processes/526
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Ut perspiciatis mollitia. 53590
                            rel: resource
                            meta:
                              space_id: '526'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: true
                ok:
                  value:
                    data:
                      - id: '1658'
                        type: meeting_component
                        attributes:
                          manifest_name: meetings
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '539'
                          name:
                            en: >-
                              <script>alert("component_name");</script>
                              Explicabo ad molestiae. 55942
                            fr: >-
                              <script>alert("component_name");</script> Sint aut
                              odio. 55943
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:58Z'
                          updated_at: '2026-07-21T14:04:59Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://510.lvh.me/components/meeting_components/1658
                            title: >-
                              <script>alert("component_name");</script>
                              Explicabo ad molestiae. 55942
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://510.lvh.me/spaces/participatory_processes/539
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Qui et maiores. 55903
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          default_registration_terms: {}
                          comments_enabled: true
                          comments_max_length: 1000
                          registration_code_enabled: true
                          creation_enabled_for_participants: false
                      - id: '1659'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '539'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Maxime
                              similique voluptas. 56071
                            fr: >-
                              <script>alert("component_name");</script> Et
                              dolorem similique. 56072
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:59Z'
                          updated_at: '2026-07-21T14:04:59Z'
                        relationships:
                          resources:
                            data:
                              - id: '825'
                                type: proposal
                              - id: '824'
                                type: proposal
                            meta:
                              count: 2
                        links:
                          self:
                            href: >-
                              https://510.lvh.me/components/proposal_components/1659
                            title: >-
                              <script>alert("component_name");</script> Maxime
                              similique voluptas. 56071
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://510.lvh.me/spaces/participatory_processes/539
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Qui et maiores. 55903
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '1661'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '539'
                          name:
                            en: <script>alert("proposals");</script> Proposals
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:59Z'
                          updated_at: '2026-07-21T14:04:59Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://510.lvh.me/components/proposal_components/1661
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://510.lvh.me/spaces/participatory_processes/539
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Qui et maiores. 55903
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 0
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: true
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '1662'
                        type: accountability_component
                        attributes:
                          manifest_name: accountability
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '539'
                          name:
                            en: >-
                              <script>alert("accountability");</script>
                              Accountability
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:59Z'
                          updated_at: '2026-07-21T14:04:59Z'
                        relationships:
                          resources:
                            data:
                              - id: '47'
                                type: result
                              - id: '48'
                                type: result
                            meta:
                              count: 2
                        links:
                          self:
                            href: >-
                              https://510.lvh.me/components/accountability_components/1662
                            title: >-
                              <script>alert("accountability");</script>
                              Accountability
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://510.lvh.me/spaces/participatory_processes/539
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Qui et maiores. 55903
                            rel: resource
                            meta:
                              space_id: '539'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: true
                paginated:
                  value:
                    data:
                      - id: '1619'
                        type: page_component
                        attributes:
                          manifest_name: pages
                          participatory_space_type: Decidim::Assembly
                          participatory_space_id: '372'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Non
                              cupiditate voluptas. 54790
                            fr: >-
                              <script>alert("component_name");</script> Earum
                              quod qui. 54791
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:54Z'
                          updated_at: '2026-07-21T14:04:54Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: https://498.lvh.me/components/page_components/1619
                            title: >-
                              <script>alert("component_name");</script> Non
                              cupiditate voluptas. 54790
                            rel: resource
                            meta:
                              space_id: '372'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://498.lvh.me/spaces/assemblies/372
                            title: >-
                              <script>alert("assembly_title");</script> Eius
                              beatae magnam. 54508
                            rel: resource
                            meta:
                              space_id: '372'
                              space_manifest: assemblies
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                      - id: '1618'
                        type: awesome_map_component
                        attributes:
                          manifest_name: awesome_map
                          participatory_space_type: Decidim::Assembly
                          participatory_space_id: '372'
                          name:
                            en: >-
                              <script>alert("component_name");</script> At est
                              aspernatur. 54781
                            fr: >-
                              <script>alert("component_name");</script> Delectus
                              sint quia. 54782
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:54Z'
                          updated_at: '2026-07-21T14:04:54Z'
                        links:
                          self:
                            href: >-
                              https://498.lvh.me/components/awesome_map_components/1618
                            title: >-
                              <script>alert("component_name");</script> At est
                              aspernatur. 54781
                            rel: resource
                            meta:
                              space_id: '372'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://498.lvh.me/spaces/assemblies/372
                            title: >-
                              <script>alert("assembly_title");</script> Eius
                              beatae magnam. 54508
                            rel: resource
                            meta:
                              space_id: '372'
                              space_manifest: assemblies
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                manifest_name_in_Meetings:
                  value:
                    data:
                      - id: '1653'
                        type: meeting_component
                        attributes:
                          manifest_name: meetings
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '537'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Omnis
                              neque sed. 55654
                            fr: >-
                              <script>alert("component_name");</script> Beatae
                              accusantium velit. 55655
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:57Z'
                          updated_at: '2026-07-21T14:04:57Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://507.lvh.me/components/meeting_components/1653
                            title: >-
                              <script>alert("component_name");</script> Omnis
                              neque sed. 55654
                            rel: resource
                            meta:
                              space_id: '537'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://507.lvh.me/spaces/participatory_processes/537
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Et voluptatem voluptatem. 55615
                            rel: resource
                            meta:
                              space_id: '537'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          default_registration_terms: {}
                          comments_enabled: true
                          comments_max_length: 1000
                          registration_code_enabled: true
                          creation_enabled_for_participants: false
                components_in_Process:
                  value:
                    data:
                      - id: '1595'
                        type: meeting_component
                        attributes:
                          manifest_name: meetings
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '527'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Aut odio
                              unde. 53917
                            fr: >-
                              <script>alert("component_name");</script> Dolor
                              animi aliquam. 53918
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:51Z'
                          updated_at: '2026-07-21T14:04:51Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://492.lvh.me/components/meeting_components/1595
                            title: >-
                              <script>alert("component_name");</script> Aut odio
                              unde. 53917
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://492.lvh.me/spaces/participatory_processes/527
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eos sint eligendi. 53878
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          default_registration_terms: {}
                          comments_enabled: true
                          comments_max_length: 1000
                          registration_code_enabled: true
                          creation_enabled_for_participants: false
                      - id: '1596'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '527'
                          name:
                            en: >-
                              <script>alert("component_name");</script>
                              Similique neque dolorem. 54046
                            fr: >-
                              <script>alert("component_name");</script> Labore
                              possimus qui. 54047
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:52Z'
                          updated_at: '2026-07-21T14:04:52Z'
                        relationships:
                          resources:
                            data:
                              - id: '812'
                                type: proposal
                              - id: '813'
                                type: proposal
                            meta:
                              count: 2
                        links:
                          self:
                            href: >-
                              https://492.lvh.me/components/proposal_components/1596
                            title: >-
                              <script>alert("component_name");</script>
                              Similique neque dolorem. 54046
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://492.lvh.me/spaces/participatory_processes/527
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eos sint eligendi. 53878
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '1597'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '527'
                          name:
                            en: <script>alert("proposals");</script> Proposals
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:52Z'
                          updated_at: '2026-07-21T14:04:52Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://492.lvh.me/components/proposal_components/1597
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://492.lvh.me/spaces/participatory_processes/527
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eos sint eligendi. 53878
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 0
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: true
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '1598'
                        type: accountability_component
                        attributes:
                          manifest_name: accountability
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '527'
                          name:
                            en: >-
                              <script>alert("accountability");</script>
                              Accountability
                          global_announcement: {}
                          created_at: '2026-07-21T14:04:52Z'
                          updated_at: '2026-07-21T14:04:52Z'
                        relationships:
                          resources:
                            data:
                              - id: '35'
                                type: result
                              - id: '36'
                                type: result
                            meta:
                              count: 2
                        links:
                          self:
                            href: >-
                              https://492.lvh.me/components/accountability_components/1598
                            title: >-
                              <script>alert("accountability");</script>
                              Accountability
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://492.lvh.me/spaces/participatory_processes/527
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eos sint eligendi. 53878
                            rel: resource
                            meta:
                              space_id: '527'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: true
              schema:
                $ref: '#/components/schemas/component_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /draft_proposals/{id}/sync:
    delete:
      summary: Withdraw a draft proposal
      tags:
        - Draft Proposals
      operationId: withdrawDraftProposal
      description: Withdraw (delete) a draft proposal. This action cannot be undone.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Draft Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Draft proposal Removed
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '830'
                      type: draft_proposal
                      attributes:
                        created_at: '2026-07-21T14:05:25Z'
                        updated_at: '2026-07-21T14:05:25Z'
                        title:
                          fr: >-
                            <script>alert("proposal_title");</script> Rerum
                            minima sed. 56450
                        body:
                          fr: >-
                            <p><script>alert("proposal_body");</script> Eos nisi
                            saepe. 56453</p>
                        errors:
                          title: []
                          body: []
                      relationships:
                        space:
                          data:
                            id: '565'
                            type: participatory_processes
                        component:
                          data:
                            id: '1687'
                            type: proposal_component
                        author:
                          data:
                            id: '1089'
                            type: user
                        coauthors:
                          data:
                            - id: '1089'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://517.lvh.me/public/components/1687
                          title: >-
                            <script>alert("component_name");</script> Odit
                            explicabo ut. 56440
                          rel: resource
                          meta:
                            space_id: '565'
                            space_manifest: participatory_processes
                            component_id: '1687'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: https://517.lvh.me/api/rest_full/v0.3/proposals/830
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '1687'
                            component_manifest: proposals
                            space_id: '565'
                            space_manifest: participatory_processes
                            resource_id: '830'
                            action_method: GET
                        collection:
                          href: https://517.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '1687'
                            component_manifest: proposals
                            space_id: '565'
                            space_manifest: participatory_processes
                            resource_id: '830'
                            action_method: GET
                      meta:
                        publishable: false
                        client_id: JZ8nADbqMvITnrBESNDHk7jcjiSjJTNjTwWnr77JvN4
                        fields:
                          - title
                          - body
              schema:
                $ref: '#/components/schemas/draft_proposal_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    put:
      summary: Update draft proposal
      tags:
        - Draft Proposals
      operationId: updateDraftProposal
      description: >
        This endpoint allows you to  update a draft proposal associated with
        your application ID.

        Drafts updated via this API are not visible in the Decidim front-end,
        and drafts created from the Decidim application are not editable through
        the API.

        Therefore, any draft you create here is new and tied to your
        application's credentials.


        ### Example Request


        ```http

        PUT /public/assemblies/12/2319/proposals/draft

        Content-Type: application/json

        Authorization: Bearer YOUR_bearer_token


        {
          "title": "My valid title"
        }

        ```

        ## Access Requirements


        * Authentication: This endpoint requires an impersonation token. You
        must create drafts on behalf of a participant; drafts cannot be created
        using a service token (credential_token).


        ## Error Handling


        * Field Errors: Only errors related to the fields you're updating will
        be returned.

        * Publishable Status: To determine if the draft is publishable, check
        the data.meta.publishable field in the response.


        ### Example response

        ```json

        {
          "data": {
            "id": "12345",
            "type": "proposal",
            "attributes": {
              "title": "My valid title",
              "body": null
            },
            "meta": {
              "publishable": false
            }
          }
        }

        ```

        In this example, the title is valid, so the server returns a 200 OK
        status.

        However, since the body is blank, meta.publishable is false, indicating
        that the draft is not yet ready for publication.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Draft Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Draft updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/draft_proposal_item_response'
              examples:
                ok:
                  value:
                    data:
                      id: '2613'
                      type: draft_proposal
                      attributes:
                        created_at: '2026-07-21T14:26:39Z'
                        updated_at: '2026-07-21T14:26:40Z'
                        title:
                          fr: This is a valid proposal title sample
                        body:
                          fr: ''
                        errors:
                          title: []
                          body:
                            - Body cannot be blank
                      relationships:
                        space:
                          data:
                            id: '1936'
                            type: participatory_processes
                        component:
                          data:
                            id: '5235'
                            type: proposal_component
                        author:
                          data:
                            id: '3783'
                            type: user
                        coauthors:
                          data:
                            - id: '3783'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1689.lvh.me/public/components/5235
                          title: >-
                            <script>alert("component_name");</script> Incidunt
                            et repellendus. 168958
                          rel: resource
                          meta:
                            space_id: '1936'
                            space_manifest: participatory_processes
                            component_id: '5235'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1689.lvh.me/api/rest_full/v0.3/proposals/2613
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5235'
                            component_manifest: proposals
                            space_id: '1936'
                            space_manifest: participatory_processes
                            resource_id: '2613'
                            action_method: GET
                        collection:
                          href: https://1689.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5235'
                            component_manifest: proposals
                            space_id: '1936'
                            space_manifest: participatory_processes
                            resource_id: '2613'
                            action_method: GET
                      meta:
                        publishable: false
                        client_id: u94VQQxFaHHTnx08SXnjdO0GMswbijdO6bPPJDU6cCk
                        fields:
                          - title
                          - body
                ok_empty:
                  value:
                    data:
                      id: '2614'
                      type: draft_proposal
                      attributes:
                        created_at: '2026-07-21T14:26:40Z'
                        updated_at: '2026-07-21T14:26:40Z'
                        title: {}
                        body: {}
                        errors:
                          title:
                            - Title cannot be blank
                          body:
                            - Body cannot be blank
                      relationships:
                        space:
                          data:
                            id: '1937'
                            type: participatory_processes
                        component:
                          data:
                            id: '5236'
                            type: proposal_component
                        author:
                          data:
                            id: '3784'
                            type: user
                        coauthors:
                          data:
                            - id: '3784'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1690.lvh.me/public/components/5236
                          title: >-
                            <script>alert("component_name");</script> Occaecati
                            quia aut. 169024
                          rel: resource
                          meta:
                            space_id: '1937'
                            space_manifest: participatory_processes
                            component_id: '5236'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1690.lvh.me/api/rest_full/v0.3/proposals/2614
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5236'
                            component_manifest: proposals
                            space_id: '1937'
                            space_manifest: participatory_processes
                            resource_id: '2614'
                            action_method: GET
                        collection:
                          href: https://1690.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5236'
                            component_manifest: proposals
                            space_id: '1937'
                            space_manifest: participatory_processes
                            resource_id: '2614'
                            action_method: GET
                      meta:
                        publishable: false
                        client_id: m0kEJ0bzRE95b-4pReg7cM2-373sZ2uNaNjGpeAV92c
                        fields:
                          - title
                          - body
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: Update Draft Proposal Payload
              properties:
                data:
                  type: object
                  title: Update Draft Proposal Payload Data
                  properties:
                    title:
                      type: string
                      description: Title of the draft
                    body:
                      type: string
                      description: Content of the draft
                    locale:
                      type: string
                      enum:
                        - en
                        - fr
                        - es
                      description: Locale of the draft. default to user locale
                  description: Payload to update in the proposal
              required:
                - data
        required: true
  /answers:
    post:
      summary: Submit answers (async)
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: createAnswersAsync
      description: >-
        Enqueue answer submission; poll GET /submission_requests/:id (202
        Accepted).
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '202':
          description: Submission request accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    data:
                      id: db1182ab-23fa-426f-a4c3-986587a60a45
                      type: submission_request
                      attributes:
                        status: pending
                      links:
                        self:
                          href: >-
                            https://550.lvh.me/api/submission_requests/db1182ab-23fa-426f-a4c3-986587a60a45
                          rel: self
                          meta:
                            action_method: GET
                      meta:
                        status: pending
              schema:
                $ref: '#/components/schemas/submission_request_accepted_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/questionnaire_answers_create_body'
        required: true
  /spaces/search:
    get:
      summary: Search Participatory Spaces
      tags:
        - Spaces
      operationId: searchSpaces
      description: >-
        List or search spaces of the organization. Can be processes, assemblies,
        or any other registred participatory space.
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[manifest_name_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - participatory_processes
                - assemblies
                - conferences
                - initiatives
            title: manifest_name not IN filter
            description: match none of _manifest_name_'s values in array
          required: false
        - name: filter[manifest_name_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - participatory_processes
                - assemblies
                - conferences
                - initiatives
            title: manifest_name IN filter
            description: match one of _manifest_name_'s values in array
          required: false
        - name: filter[manifest_name_start]
          in: query
          schema:
            type: string
            description: _manifest_name_ starts with
            title: manifest_name starts With filter
            example: some_string
          required: false
        - name: filter[manifest_name_eq]
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            title: manifest_name equal filter
            description: _manifest_name_ is equal to
          required: false
        - name: filter[manifest_name_not_eq]
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            title: manifest_name not equal filter
            description: _manifest_name_ is NOT equal to
          required: false
        - name: filter[manifest_name_matches]
          in: query
          schema:
            type: string
            title: manifest_name like filter
            description: matches _manifest_name_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[manifest_name_blank]
          in: query
          schema:
            type: boolean
            title: manifest_name blank filter
            description: _manifest_name_ is null or empty
          required: false
        - name: filter[id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: id IN filter
            description: match one of _id_'s values in array
          required: false
        - name: filter[id_eq]
          in: query
          schema:
            type: integer
            title: id equal filter
            description: _id_ is equal to
          required: false
        - name: filter[id_lt]
          in: query
          schema:
            type: integer
            title: id less than filter
            description: _id_ is less than
          required: false
        - name: filter[id_gt]
          in: query
          schema:
            type: integer
            title: id greater than filter
            description: _id_ is greater than
          required: false
        - name: filter[id_present]
          in: query
          schema:
            type: boolean
            title: id present filter
            description: _id_ is not null and not empty
          required: false
        - name: filter[id_blank]
          in: query
          schema:
            type: boolean
            title: id blank filter
            description: _id_ is null or empty
          required: false
        - name: filter[slug_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: slug not IN filter
            description: match none of _slug_'s values in array
          required: false
        - name: filter[slug_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: slug IN filter
            description: match one of _slug_'s values in array
          required: false
        - name: filter[slug_start]
          in: query
          schema:
            type: string
            description: _slug_ starts with
            title: slug starts With filter
            example: some_string
          required: false
        - name: filter[slug_eq]
          in: query
          schema:
            type: string
            title: slug equal filter
            description: _slug_ is equal to
          required: false
        - name: filter[slug_not_eq]
          in: query
          schema:
            type: string
            title: slug not equal filter
            description: _slug_ is NOT equal to
          required: false
        - name: filter[slug_matches]
          in: query
          schema:
            type: string
            title: slug like filter
            description: matches _slug_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[slug_blank]
          in: query
          schema:
            type: boolean
            title: slug blank filter
            description: _slug_ is null or empty
          required: false
        - name: filter[title_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: title not IN filter
            description: match none of _title_'s values in array
          required: false
        - name: filter[title_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: title IN filter
            description: match one of _title_'s values in array
          required: false
        - name: filter[title_start]
          in: query
          schema:
            type: string
            description: _title_ starts with
            title: title starts With filter
            example: some_string
          required: false
        - name: filter[title_eq]
          in: query
          schema:
            type: string
            title: title equal filter
            description: _title_ is equal to
          required: false
        - name: filter[title_not_eq]
          in: query
          schema:
            type: string
            title: title not equal filter
            description: _title_ is NOT equal to
          required: false
        - name: filter[title_matches]
          in: query
          schema:
            type: string
            title: title like filter
            description: matches _title_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[title_blank]
          in: query
          schema:
            type: boolean
            title: title blank filter
            description: _title_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Search Results
          content:
            application/json:
              examples:
                search_translatable_text:
                  value:
                    data:
                      - id: '501'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                            fr: c'est une assemblée
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Fuga
                              minima quibusdam. 80122
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Quos
                              voluptates laborum. 80123
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Aut facere quibusdam. 80125</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Alias enim non. 80126</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Aut voluptatem quis. 80128</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Quod saepe et. 80129</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:09Z'
                          updated_at: '2026-07-21T14:07:09Z'
                        relationships:
                          components:
                            data:
                              - id: '2185'
                                type: accountability_component
                              - id: '2190'
                                type: awesome_iframe_component
                              - id: '2189'
                                type: awesome_map_component
                              - id: '2188'
                                type: blog_component
                              - id: '2183'
                                type: budget_component
                              - id: '2186'
                                type: debate_component
                              - id: '2182'
                                type: meeting_component
                              - id: '2175'
                                type: meeting_component
                              - id: '2177'
                                type: meeting_component
                              - id: '2179'
                                type: meeting_component
                              - id: '2180'
                                type: page_component
                              - id: '2178'
                                type: proposal_component
                              - id: '2174'
                                type: proposal_component
                              - id: '2181'
                                type: proposal_component
                              - id: '2176'
                                type: proposal_component
                              - id: '2187'
                                type: sortition_component
                              - id: '2184'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://720.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=501
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '501'
                                  action_method: GET
                        links:
                          self:
                            href: https://720.lvh.me/public/assemblies/501
                            title: en
                            rel: resource
                            meta:
                              space_id: '501'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://720.lvh.me/system/organizations/468
                            title: MacGyver-Aufderhar
                            rel: resource
                            meta:
                              action_method: GET
                ok:
                  value:
                    data:
                      - id: '493'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                            fr: c'est une assemblée
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Dolorum qui dolor. 78232
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Doloremque autem sed. 78233
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quidem cumque voluptatem. 78235</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quidem non esse. 78236</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Modi libero consequuntur. 78238</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Repellendus voluptatem eum. 78239</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:04Z'
                          updated_at: '2026-07-21T14:07:04Z'
                        relationships:
                          components:
                            data:
                              - id: '2151'
                                type: accountability_component
                              - id: '2156'
                                type: awesome_iframe_component
                              - id: '2155'
                                type: awesome_map_component
                              - id: '2154'
                                type: blog_component
                              - id: '2149'
                                type: budget_component
                              - id: '2152'
                                type: debate_component
                              - id: '2148'
                                type: meeting_component
                              - id: '2141'
                                type: meeting_component
                              - id: '2143'
                                type: meeting_component
                              - id: '2145'
                                type: meeting_component
                              - id: '2146'
                                type: page_component
                              - id: '2144'
                                type: proposal_component
                              - id: '2140'
                                type: proposal_component
                              - id: '2147'
                                type: proposal_component
                              - id: '2142'
                                type: proposal_component
                              - id: '2153'
                                type: sortition_component
                              - id: '2150'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=493
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '493'
                                  action_method: GET
                        links:
                          self:
                            href: https://706.lvh.me/public/assemblies/493
                            title: en
                            rel: resource
                            meta:
                              space_id: '493'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '494'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Eaque
                              quis rerum. 78778
                            fr: >-
                              <script>alert("assembly_title");</script> Quis
                              enim velit. 78779
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Incidunt et qui. 78781
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Molestiae ea vel. 78782
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Dolor facilis earum. 78784</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Perspiciatis quasi numquam. 78785</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              In et provident. 78787</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Earum nobis voluptas. 78788</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=494
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '494'
                                  action_method: GET
                        links:
                          self:
                            href: https://706.lvh.me/public/assemblies/494
                            title: en
                            rel: resource
                            meta:
                              space_id: '494'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '721'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Nisi error tempore. 78823
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Cupiditate mollitia deserunt. 78824
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Ut sunt mollitia. 78826
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Et libero porro. 78827
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Nam sequi aut. 78829</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Laboriosam expedita mollitia. 78830</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Voluptatum et autem. 78832</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Qui dolorum officia. 78833</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=721
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '721'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://706.lvh.me/public/participatory_processes/721
                            title: en
                            rel: resource
                            meta:
                              space_id: '721'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '495'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Minima
                              inventore sit. 78853
                            fr: >-
                              <script>alert("assembly_title");</script> Est
                              cupiditate voluptas. 78854
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Qui
                              recusandae possimus. 78856
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Atque
                              ut temporibus. 78857
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Rerum culpa in. 78859</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Nobis est non. 78860</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Quam tempore rem. 78862</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Consequatur delectus voluptas. 78863</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=495
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '495'
                                  action_method: GET
                        links:
                          self:
                            href: https://706.lvh.me/public/assemblies/495
                            title: en
                            rel: resource
                            meta:
                              space_id: '495'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '722'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Ab quis tenetur. 78898
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Omnis ut omnis. 78899
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Aut vel sed. 78901
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Necessitatibus omnis aut. 78902
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Qui et error. 78904</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Occaecati sapiente ipsam. 78905</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Sed quis id. 78907</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Id quas aut. 78908</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=722
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '722'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://706.lvh.me/public/participatory_processes/722
                            title: en
                            rel: resource
                            meta:
                              space_id: '722'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '496'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Voluptas
                              iure qui. 78928
                            fr: >-
                              <script>alert("assembly_title");</script> Enim
                              molestias voluptas. 78929
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Optio
                              eum cumque. 78931
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Libero iure dignissimos. 78932
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Dolor optio omnis. 78934</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Beatae ut voluptatem. 78935</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Delectus tenetur totam. 78937</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Quae explicabo quia. 78938</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=496
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '496'
                                  action_method: GET
                        links:
                          self:
                            href: https://706.lvh.me/public/assemblies/496
                            title: en
                            rel: resource
                            meta:
                              space_id: '496'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '723'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Aut harum nostrum. 78973
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Quod odit ipsa. 78974
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Ut et aut. 78976
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Ipsa rerum similique. 78977
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Qui totam magni. 78979</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Dolorem reprehenderit numquam. 78980</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Ea et consequuntur. 78982</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Alias nam laudantium. 78983</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=723
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '723'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://706.lvh.me/public/participatory_processes/723
                            title: en
                            rel: resource
                            meta:
                              space_id: '723'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '724'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Repellat voluptatem minus. 79003
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Illo qui doloribus. 79004
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Est magnam voluptatem. 79006
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Voluptatem molestiae sit. 79007
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Delectus qui qui. 79009</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Vitae accusantium repellat. 79010</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Distinctio consequatur quasi. 79012</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Quam itaque eum. 79013</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:05Z'
                          updated_at: '2026-07-21T14:07:05Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://706.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=724
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '724'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://706.lvh.me/public/participatory_processes/724
                            title: en
                            rel: resource
                            meta:
                              space_id: '724'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://706.lvh.me/system/organizations/466
                            title: Kuphal, Rippin and Wiegand
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_id_eq_returns_both_space_types:
                  value:
                    data:
                      - id: '1'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Nisi sit
                              est. 89662
                            fr: >-
                              <script>alert("assembly_title");</script> Enim
                              suscipit saepe. 89663
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Cumque accusamus cupiditate. 89665
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Corporis numquam ratione. 89666
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Necessitatibus perspiciatis illo. 89668</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Ut aut quaerat. 89669</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Eum explicabo officia. 89671</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Laboriosam exercitationem nemo. 89672</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:31Z'
                          updated_at: '2026-07-21T14:07:31Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://783.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=1
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '1'
                                  action_method: GET
                        links:
                          self:
                            href: https://783.lvh.me/public/assemblies/1
                            title: en
                            rel: resource
                            meta:
                              space_id: '1'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://783.lvh.me/system/organizations/491
                            title: Koepp, Hackett and Stanton
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '1'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Dolorum excepturi in. 89707
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Architecto aliquid totam. 89708
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Ut animi sint. 89710
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Laborum alias nisi. 89711
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Et est omnis. 89713</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Inventore dicta temporibus. 89714</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Cumque id pariatur. 89716</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Labore quia odit. 89717</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:31Z'
                          updated_at: '2026-07-21T14:07:31Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://783.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=1
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '1'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://783.lvh.me/public/participatory_processes/1
                            title: en
                            rel: resource
                            meta:
                              space_id: '1'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://783.lvh.me/system/organizations/491
                            title: Koepp, Hackett and Stanton
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_slug_eq:
                  value:
                    data:
                      - id: '742'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Aperiam quos quas. 82723
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Repellat aperiam cupiditate. 82724
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Odit dignissimos at. 82726
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Dolorem deserunt quos. 82727
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Non occaecati dolores. 82729</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Quia labore maiores. 82730</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Velit eos atque. 82732</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Eligendi unde similique. 82733</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:15Z'
                          updated_at: '2026-07-21T14:07:15Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://734.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=742
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '742'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://734.lvh.me/public/participatory_processes/742
                            title: en
                            rel: resource
                            meta:
                              space_id: '742'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://734.lvh.me/system/organizations/470
                            title: Gusikowski, Zemlak and DuBuque
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_id_eq:
                  value:
                    data:
                      - id: '505'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Quibusdam possimus molestiae. 81037
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Repudiandae commodi officia. 81040</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Asperiores quas voluptate. 81043</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:11Z'
                          updated_at: '2026-07-21T14:07:11Z'
                        relationships:
                          components:
                            data:
                              - id: '2202'
                                type: accountability_component
                              - id: '2207'
                                type: awesome_iframe_component
                              - id: '2206'
                                type: awesome_map_component
                              - id: '2205'
                                type: blog_component
                              - id: '2200'
                                type: budget_component
                              - id: '2203'
                                type: debate_component
                              - id: '2199'
                                type: meeting_component
                              - id: '2192'
                                type: meeting_component
                              - id: '2194'
                                type: meeting_component
                              - id: '2196'
                                type: meeting_component
                              - id: '2197'
                                type: page_component
                              - id: '2195'
                                type: proposal_component
                              - id: '2191'
                                type: proposal_component
                              - id: '2198'
                                type: proposal_component
                              - id: '2193'
                                type: proposal_component
                              - id: '2204'
                                type: sortition_component
                              - id: '2201'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://727.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=505
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '505'
                                  action_method: GET
                        links:
                          self:
                            href: https://727.lvh.me/public/assemblies/505
                            title: en
                            rel: resource
                            meta:
                              space_id: '505'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://727.lvh.me/system/organizations/469
                            title: Mills-Homenick
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_manifest_name_eq:
                  value:
                    data:
                      - id: '513'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                            fr: c'est une assemblée
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Magni
                              aut reprehenderit. 82867
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Harum
                              aut et. 82868
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Officia velit exercitationem. 82870</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quas dolores sunt. 82871</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Est rerum id. 82873</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Quod temporibus ipsa. 82874</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:16Z'
                          updated_at: '2026-07-21T14:07:16Z'
                        relationships:
                          components:
                            data:
                              - id: '2236'
                                type: accountability_component
                              - id: '2241'
                                type: awesome_iframe_component
                              - id: '2240'
                                type: awesome_map_component
                              - id: '2239'
                                type: blog_component
                              - id: '2234'
                                type: budget_component
                              - id: '2237'
                                type: debate_component
                              - id: '2233'
                                type: meeting_component
                              - id: '2226'
                                type: meeting_component
                              - id: '2228'
                                type: meeting_component
                              - id: '2230'
                                type: meeting_component
                              - id: '2231'
                                type: page_component
                              - id: '2229'
                                type: proposal_component
                              - id: '2225'
                                type: proposal_component
                              - id: '2232'
                                type: proposal_component
                              - id: '2227'
                                type: proposal_component
                              - id: '2238'
                                type: sortition_component
                              - id: '2235'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://741.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=513
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '513'
                                  action_method: GET
                        links:
                          self:
                            href: https://741.lvh.me/public/assemblies/513
                            title: en
                            rel: resource
                            meta:
                              space_id: '513'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://741.lvh.me/system/organizations/471
                            title: Schultz, Ward and Sanford
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '515'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Numquam
                              quaerat dolor. 83488
                            fr: >-
                              <script>alert("assembly_title");</script> Rem
                              dicta est. 83489
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Ipsam
                              et voluptate. 83491
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Quisquam quibusdam magnam. 83492
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Ducimus pariatur id. 83494</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Deleniti illo et. 83495</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Omnis et dolorem. 83497</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Tempora velit nihil. 83498</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:17Z'
                          updated_at: '2026-07-21T14:07:17Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://741.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=515
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '515'
                                  action_method: GET
                        links:
                          self:
                            href: https://741.lvh.me/public/assemblies/515
                            title: en
                            rel: resource
                            meta:
                              space_id: '515'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://741.lvh.me/system/organizations/471
                            title: Schultz, Ward and Sanford
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '516'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Est
                              reprehenderit numquam. 83563
                            fr: >-
                              <script>alert("assembly_title");</script>
                              Blanditiis magni quo. 83564
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Et
                              voluptatum et. 83566
                            fr: >-
                              <script>alert("assembly_subtitle");</script>
                              Similique porro sit. 83567
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Nemo accusamus quam. 83569</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Et quis consequuntur. 83570</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Neque illo soluta. 83572</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Est nihil et. 83573</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:17Z'
                          updated_at: '2026-07-21T14:07:17Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://741.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=516
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '516'
                                  action_method: GET
                        links:
                          self:
                            href: https://741.lvh.me/public/assemblies/516
                            title: en
                            rel: resource
                            meta:
                              space_id: '516'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://741.lvh.me/system/organizations/471
                            title: Schultz, Ward and Sanford
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '514'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Rerum
                              minima recusandae. 83413
                            fr: >-
                              <script>alert("assembly_title");</script> Debitis
                              aliquid repudiandae. 83414
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Voluptatem nemo eius. 83416
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Quasi
                              quas perspiciatis. 83417
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Sequi ut saepe. 83419</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Atque maiores ipsa. 83420</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Eos perspiciatis facere. 83422</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Aliquam quia non. 83423</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:17Z'
                          updated_at: '2026-07-21T14:07:17Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://741.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=514
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '514'
                                  action_method: GET
                        links:
                          self:
                            href: https://741.lvh.me/public/assemblies/514
                            title: en
                            rel: resource
                            meta:
                              space_id: '514'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://741.lvh.me/system/organizations/471
                            title: Schultz, Ward and Sanford
                            rel: resource
                            meta:
                              action_method: GET
                manifest_name_in_Assemblies:
                  value:
                    data:
                      - id: '542'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: My assembly for testing purpose
                            fr: c'est une assemblée
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Dolorem et voluptas. 87847
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Aut
                              laborum accusamus. 87848
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quis qui sit. 87850</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Earum voluptatem ut. 87851</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Voluptatem excepturi delectus. 87853</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Voluptatem accusantium voluptatem. 87854</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:27Z'
                          updated_at: '2026-07-21T14:07:27Z'
                        relationships:
                          components:
                            data:
                              - id: '2321'
                                type: accountability_component
                              - id: '2326'
                                type: awesome_iframe_component
                              - id: '2325'
                                type: awesome_map_component
                              - id: '2324'
                                type: blog_component
                              - id: '2319'
                                type: budget_component
                              - id: '2322'
                                type: debate_component
                              - id: '2318'
                                type: meeting_component
                              - id: '2311'
                                type: meeting_component
                              - id: '2313'
                                type: meeting_component
                              - id: '2315'
                                type: meeting_component
                              - id: '2316'
                                type: page_component
                              - id: '2314'
                                type: proposal_component
                              - id: '2310'
                                type: proposal_component
                              - id: '2317'
                                type: proposal_component
                              - id: '2312'
                                type: proposal_component
                              - id: '2323'
                                type: sortition_component
                              - id: '2320'
                                type: survey_component
                            meta:
                              count: 17
                            links:
                              self:
                                href: >-
                                  https://776.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=542
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '542'
                                  action_method: GET
                        links:
                          self:
                            href: https://776.lvh.me/public/assemblies/542
                            title: en
                            rel: resource
                            meta:
                              space_id: '542'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://776.lvh.me/system/organizations/490
                            title: Gleason and Sons
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '543'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Sed
                              dolorem dignissimos. 88393
                            fr: >-
                              <script>alert("assembly_title");</script> Veniam
                              et maiores. 88394
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Occaecati et dignissimos. 88396
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Rem
                              consectetur quia. 88397
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Dolorum neque est. 88399</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Laboriosam consequatur iste. 88400</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Voluptatem illo est. 88402</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Porro modi quibusdam. 88403</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:28Z'
                          updated_at: '2026-07-21T14:07:29Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://776.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=543
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '543'
                                  action_method: GET
                        links:
                          self:
                            href: https://776.lvh.me/public/assemblies/543
                            title: en
                            rel: resource
                            meta:
                              space_id: '543'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://776.lvh.me/system/organizations/490
                            title: Gleason and Sons
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '544'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Itaque
                              labore cumque. 88468
                            fr: >-
                              <script>alert("assembly_title");</script> Nobis
                              error quo. 88469
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Ea
                              commodi autem. 88471
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Ipsum
                              autem ducimus. 88472
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Qui praesentium nisi. 88474</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Iste officiis eveniet. 88475</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Esse itaque modi. 88477</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Praesentium impedit eos. 88478</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:29Z'
                          updated_at: '2026-07-21T14:07:29Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://776.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=544
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '544'
                                  action_method: GET
                        links:
                          self:
                            href: https://776.lvh.me/public/assemblies/544
                            title: en
                            rel: resource
                            meta:
                              space_id: '544'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://776.lvh.me/system/organizations/490
                            title: Gleason and Sons
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '545'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script>
                              Perferendis non dolorem. 88543
                            fr: >-
                              <script>alert("assembly_title");</script> Rem
                              optio cupiditate. 88544
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Ut
                              nostrum aut. 88546
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Vel
                              veniam distinctio. 88547
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Illo nihil asperiores. 88549</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Neque eum quod. 88550</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Ipsa ut molestiae. 88552</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Corporis id et. 88553</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:29Z'
                          updated_at: '2026-07-21T14:07:29Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://776.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=545
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '545'
                                  action_method: GET
                        links:
                          self:
                            href: https://776.lvh.me/public/assemblies/545
                            title: en
                            rel: resource
                            meta:
                              space_id: '545'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://776.lvh.me/system/organizations/490
                            title: Gleason and Sons
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_id_in:
                  value:
                    data:
                      - id: '552'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Velit
                              fuga sed. 90298
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script>
                              Tenetur deserunt amet. 90301
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Cum nihil accusantium. 90304</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Laborum nemo ullam. 90307</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=552
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '552'
                                  action_method: GET
                        links:
                          self:
                            href: https://790.lvh.me/public/assemblies/552
                            title: en
                            rel: resource
                            meta:
                              space_id: '552'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '777'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Earum quis distinctio. 90343
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Pariatur voluptas voluptatibus. 90346
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Voluptatum facere repellat. 90349</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Esse rerum ad. 90352</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=777
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '777'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://790.lvh.me/public/participatory_processes/777
                            title: en
                            rel: resource
                            meta:
                              space_id: '777'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '553'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Et ut
                              est. 90373
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Et
                              eius magni. 90376
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quae unde corporis. 90379</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Quam adipisci nam. 90382</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=553
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '553'
                                  action_method: GET
                        links:
                          self:
                            href: https://790.lvh.me/public/assemblies/553
                            title: en
                            rel: resource
                            meta:
                              space_id: '553'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '778'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Amet omnis sit. 90418
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Voluptatibus qui cum. 90421
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Aut laborum iure. 90424</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Illum exercitationem velit. 90427</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=778
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '778'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://790.lvh.me/public/participatory_processes/778
                            title: en
                            rel: resource
                            meta:
                              space_id: '778'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '554'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Sint
                              nihil ab. 90448
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Sint
                              eos sequi. 90451
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Nostrum corrupti aut. 90454</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Laudantium autem ea. 90457</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=554
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '554'
                                  action_method: GET
                        links:
                          self:
                            href: https://790.lvh.me/public/assemblies/554
                            title: en
                            rel: resource
                            meta:
                              space_id: '554'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '779'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Dolor ducimus odit. 90493
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Quia sapiente fuga. 90496
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Sapiente deserunt omnis. 90499</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Laudantium aspernatur ut. 90502</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:33Z'
                          updated_at: '2026-07-21T14:07:33Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://790.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=779
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '779'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://790.lvh.me/public/participatory_processes/779
                            title: en
                            rel: resource
                            meta:
                              space_id: '779'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://790.lvh.me/system/organizations/492
                            title: Wilderman-Balistreri
                            rel: resource
                            meta:
                              action_method: GET
                paginated:
                  value:
                    data:
                      - id: '521'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script> Placeat
                              magnam sit. 84682
                            fr: >-
                              <script>alert("assembly_title");</script> Eum ea
                              sequi. 84683
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Iste
                              voluptatem expedita. 84685
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Aut
                              aperiam sed. 84686
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Magni odit voluptas. 84688</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Quasi a ullam. 84689</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Id dolores amet. 84691</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Sapiente laborum dolores. 84692</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:19Z'
                          updated_at: '2026-07-21T14:07:20Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://748.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=521
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '521'
                                  action_method: GET
                        links:
                          self:
                            href: https://748.lvh.me/public/assemblies/521
                            title: en
                            rel: resource
                            meta:
                              space_id: '521'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://748.lvh.me/system/organizations/472
                            title: Schmidt, Brakus and Halvorson
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '522'
                        type: space
                        attributes:
                          manifest_name: assemblies
                          participatory_space_type: Decidim::Assembly
                          title:
                            en: >-
                              <script>alert("assembly_title");</script>
                              Veritatis expedita explicabo. 84727
                            fr: >-
                              <script>alert("assembly_title");</script> Voluptas
                              autem rerum. 84728
                          subtitle:
                            en: >-
                              <script>alert("assembly_subtitle");</script> Quas
                              reiciendis qui. 84730
                            fr: >-
                              <script>alert("assembly_subtitle");</script> Ipsa
                              quaerat sint. 84731
                          short_description:
                            en: >-
                              <p><script>alert("assembly_short_description");</script>
                              Enim quis occaecati. 84733</p>
                            fr: >-
                              <p><script>alert("assembly_short_description");</script>
                              Architecto totam reiciendis. 84734</p>
                          description:
                            en: >-
                              <p><script>alert("assembly_description");</script>
                              Et eius sint. 84736</p>
                            fr: >-
                              <p><script>alert("assembly_description");</script>
                              Rerum iusto qui. 84737</p>
                          visibility: transparent
                          created_at: '2026-07-21T14:07:20Z'
                          updated_at: '2026-07-21T14:07:20Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://748.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=522
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: assemblies
                                  space_id: '522'
                                  action_method: GET
                        links:
                          self:
                            href: https://748.lvh.me/public/assemblies/522
                            title: en
                            rel: resource
                            meta:
                              space_id: '522'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://748.lvh.me/system/organizations/472
                            title: Schmidt, Brakus and Halvorson
                            rel: resource
                            meta:
                              action_method: GET
                filter_by_slug_matches_prefix:
                  value:
                    data:
                      - id: '729'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Rerum voluptatibus quos. 80047
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Omnis sint vel. 80048
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Autem est ut. 80050
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Rem et corrupti. 80051
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Sit ut qui. 80053</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Velit sit ut. 80054</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Et et iste. 80056</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Laborum dolore aut. 80057</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:08Z'
                          updated_at: '2026-07-21T14:07:08Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://713.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=729
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '729'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://713.lvh.me/public/participatory_processes/729
                            title: en
                            rel: resource
                            meta:
                              space_id: '729'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://713.lvh.me/system/organizations/467
                            title: Daugherty LLC
                            rel: resource
                            meta:
                              action_method: GET
                      - id: '730'
                        type: space
                        attributes:
                          manifest_name: participatory_processes
                          participatory_space_type: Decidim::ParticipatoryProcess
                          title:
                            en: >-
                              <script>alert("participatory_process_title");</script>
                              Sit explicabo molestias. 80077
                            fr: >-
                              <script>alert("participatory_process_title");</script>
                              Ex corporis necessitatibus. 80078
                          subtitle:
                            en: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Unde voluptas ratione. 80080
                            fr: >-
                              <script>alert("participatory_process_subtitle");</script>
                              Iure dolorum cum. 80081
                          short_description:
                            en: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Alias quos earum. 80083</p>
                            fr: >-
                              <p><script>alert("participatory_process_short_description");</script>
                              Qui quia magnam. 80084</p>
                          description:
                            en: >-
                              <p><script>alert("participatory_process_description");</script>
                              Excepturi sunt alias. 80086</p>
                            fr: >-
                              <p><script>alert("participatory_process_description");</script>
                              Ipsum magnam sed. 80087</p>
                          visibility: public
                          created_at: '2026-07-21T14:07:08Z'
                          updated_at: '2026-07-21T14:07:08Z'
                        relationships:
                          components:
                            data: []
                            meta:
                              count: 0
                            links:
                              self:
                                href: >-
                                  https://713.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=730
                                title: Component list for this space
                                rel: resource
                                meta:
                                  space_manifest: participatory_processes
                                  space_id: '730'
                                  action_method: GET
                        links:
                          self:
                            href: >-
                              https://713.lvh.me/public/participatory_processes/730
                            title: en
                            rel: resource
                            meta:
                              space_id: '730'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: https://713.lvh.me/system/organizations/467
                            title: Daugherty LLC
                            rel: resource
                            meta:
                              action_method: GET
              schema:
                $ref: '#/components/schemas/space_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /jobs:
    get:
      summary: List API jobs
      tags:
        - Jobs
      operationId: listJobs
      description: >
        Returns async jobs for the same OAuth application, resource owner (when
        applicable), and organization as the Bearer token used to originate
        those jobs.


        ### Pagination

        `page` defaults to `1`; `per_page` defaults to `25` and is clamped to
        **100**.


        ### Filters

        - `filter[command_key]`: job name (e.g. `draft_proposals#create`,
        `forms/questions#create`)

        - `filter[status]`: `pending`, `processing`, `completed`, or `failed`


        ### Conditional GET

        Supports `ETag` / `If-None-Match` on the collection.


        ### Access

        Bearer token required (same OAuth context as the jobs being listed).
      parameters:
        - name: filter[command_key_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: command_key not IN filter
            description: match none of _command_key_'s values in array
          required: false
        - name: filter[command_key_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: command_key IN filter
            description: match one of _command_key_'s values in array
          required: false
        - name: filter[command_key_start]
          in: query
          schema:
            type: string
            description: _command_key_ starts with
            title: command_key starts With filter
            example: some_string
          required: false
        - name: filter[command_key_eq]
          in: query
          schema:
            type: string
            title: command_key equal filter
            description: _command_key_ is equal to
          required: false
        - name: filter[command_key_not_eq]
          in: query
          schema:
            type: string
            title: command_key not equal filter
            description: _command_key_ is NOT equal to
          required: false
        - name: filter[command_key_matches]
          in: query
          schema:
            type: string
            title: command_key like filter
            description: matches _command_key_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[command_key_blank]
          in: query
          schema:
            type: boolean
            title: command_key blank filter
            description: _command_key_ is null or empty
          required: false
        - name: filter[status_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - pending
                - processing
                - completed
                - failed
            title: status not IN filter
            description: match none of _status_'s values in array
          required: false
        - name: filter[status_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - pending
                - processing
                - completed
                - failed
            title: status IN filter
            description: match one of _status_'s values in array
          required: false
        - name: filter[status_start]
          in: query
          schema:
            type: string
            description: _status_ starts with
            title: status starts With filter
            example: some_string
          required: false
        - name: filter[status_eq]
          in: query
          schema:
            type: string
            enum:
              - pending
              - processing
              - completed
              - failed
            title: status equal filter
            description: _status_ is equal to
          required: false
        - name: filter[status_not_eq]
          in: query
          schema:
            type: string
            enum:
              - pending
              - processing
              - completed
              - failed
            title: status not equal filter
            description: _status_ is NOT equal to
          required: false
        - name: filter[status_matches]
          in: query
          schema:
            type: string
            title: status like filter
            description: matches _status_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[status_blank]
          in: query
          schema:
            type: boolean
            title: status blank filter
            description: _status_ is null or empty
          required: false
        - name: Authorization
          in: header
          required: true
          description: 'Bearer access token: `Bearer <token>`'
          schema:
            type: string
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
      security: []
      responses:
        '200':
          description: jobs listed for oauth context
          content:
            application/json:
              examples:
                ok_index:
                  value:
                    data:
                      - id: 6647684f-9877-4a12-bc54-d9d41dc349af
                        status: completed
                        command_key: draft_proposals#create
                        created_at: '2026-07-21T14:07:48.497Z'
                        updated_at: '2026-07-21T14:07:48.497Z'
                        links:
                          self:
                            href: >-
                              http://797.lvh.me/api/rest_full/v0.3/jobs/6647684f-9877-4a12-bc54-d9d41dc349af
                            title: API job status
                            rel: resource
                            meta:
                              action_method: GET
                    meta:
                      page: 1
                      per_page: 25
              schema:
                $ref: '#/components/schemas/rest_full_api_jobs_index_response'
        '401':
          description: Unauthorized when Bearer missing
          content:
            application/json:
              examples:
                jobs_index_unauthenticated:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
  /jobs/{id}:
    delete:
      summary: Delete API job
      tags:
        - Jobs
      operationId: deleteJob
      description: >-
        Remove a job record from the index. Only jobs created under the same
        OAuth application and resource owner as the Bearer token may be deleted.
        Does not cancel Sidekiq work already in flight for `processing` jobs.
      security:
        - credentialFlowBearer:
            - proposals
        - resourceOwnerFlowBearer:
            - proposals
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: job deleted
          content:
            application/json:
              examples:
                deleted:
                  value: {}
    get:
      summary: Poll API job
      tags:
        - Jobs
      operationId: getJob
      description: >-
        Poll job status with the UUID from HTTP 202 responses. No Bearer header:
        capability is solely the opaque UUID scoped by request host /
        organization.
      security: []
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Job UUID (`job_id` from the asynchronous response body)
      responses:
        '200':
          description: job state
          content:
            application/json:
              examples:
                poll_completed:
                  value:
                    id: 19651688-ccd9-4f3a-a391-67d08f4e8242
                    status: completed
                    command_key: draft_proposals#create
                    created_at: '2026-07-21T14:22:09.511Z'
                    updated_at: '2026-07-21T14:22:09.511Z'
                    error_class: null
                    error_message: null
                    data:
                      ok: true
                    return_value:
                      ok: true
                    links:
                      self:
                        href: >-
                          http://1419.lvh.me/api/rest_full/v0.3/jobs/19651688-ccd9-4f3a-a391-67d08f4e8242
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_detail'
        '404':
          description: Job not found
          content:
            application/json:
              examples:
                job_bad_id_shape:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
                job_unknown_uuid:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
  /me/extended_data/sync:
    put:
      summary: Update user extended data
      tags:
        - Users
      security:
        - resourceOwnerFlowBearer:
            - oauth
      operationId: setUserExtendedData
      description: >+
        The extended_data feature allows you to update a hash with recursive
        merging. Use the body payload with these keys:


        1. `data`: The value or hash you want to update.

        2. `object_path`: The dot-style path to the key (e.g., access.this.key).


        **Root path**<br />

        To update data from root of the hash, use `object_path="."`.


        Example:

        ```
          body={"data": {"name": "Jane"}, "object_path": "personnal"}
        ```

        This recursively merges data into the hash without removing existing
        keys.


        **Merge some data**<br />

        Initial hash:

        ```json
          {
            "personnal": {"birthday": "1989-05-18"}
          }
        ```

        Patch payload:

        ```json
          {
            "data": {
              "name": "Jane"
            },
            "object_path": "personnal"
          }
        ```

        Result:

        ```
          {
            "personnal": {"birthday": "1989-05-18", "name": "Jane"}
          }
        ```


        **Create new Paths**<br />

        Paths are created as needed.

        Exemple:

        ```json
          body = {"data": {"external_user_id": 12}, "object_path": "data-store.my-app.foo"}
        ```

        Result:

        ```json
          {
            "personnal": {"birthday": "1989-05-18"},
            "data-store": {"my-app": {"foo": {"external_user_id": 12}}}
          }
        ```

        Alternatively:

        ```
          body = {"data": 12, "object_path": "data-store.my-app.foo.external_user_id"}
        ```


        **Remove a key**<br />

        Set a key to null or an empty value to remove it.


        Example: Initial hash:

        ```json
          {
            "personnal": {"birthday": "1989-05-18", "name": "Jane"}
          }
        ```

        Patch:

        ```json
          body = {"data": {"birthday": ""}, "object_path": "personnal"}
        ```


        Result:

        ```

        {
          "personnal": {"name": "Jane"}
        }

        ```


        **Return Value**<br />

        The update request returns the updated value at the specified path.

      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Update extended data value
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user_extended_data'
              examples:
                ok:
                  value:
                    data:
                      foo: bar
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: User Extended Data Payload
              properties:
                data:
                  type: object
                  title: User Extended Data Data
                  description: New value for the extended data at the given path
                object_path:
                  type: string
                  description: >-
                    object path, in dot style, like foo.bar. use '.' to update
                    the whole user data
              required:
                - data
        required: true
  /spaces/initiatives/{id}:
    get:
      summary: Initiatives Details
      tags:
        - Spaces
      operationId: showInitiative
      description: Get detail of a Initiatives given its id
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the space
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Initiatives Details
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '32'
                      type: space
                      attributes:
                        manifest_name: initiatives
                        participatory_space_type: Decidim::Initiative
                        title:
                          en: My initiative for testing
                        subtitle: {}
                        short_description: {}
                        description:
                          en: >-
                            <p><script>alert("initiative_description");</script>
                            Sit ut non. 101755</p>
                          fr: >-
                            <p><script>alert("initiative_description");</script>
                            Porro veritatis fugiat. 101756</p>
                        visibility: public
                        created_at: '2026-07-21T14:09:28Z'
                        updated_at: '2026-07-21T14:09:28Z'
                      relationships:
                        components:
                          data: []
                          meta:
                            count: 0
                          links:
                            self:
                              href: >-
                                https://886.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Initiative&filter[participatory_space_id_eq]=32
                              title: Component list for this space
                              rel: resource
                              meta:
                                space_manifest: initiatives
                                space_id: '32'
                                action_method: GET
                      links:
                        self:
                          href: https://886.lvh.me/public/initiatives/32
                          title: My initiative for testing
                          rel: resource
                          meta:
                            space_id: '32'
                            space_manifest: initiatives
                            action_method: GET
                        related:
                          href: https://886.lvh.me/system/organizations/548
                          title: Kovacek-Crona
                          rel: resource
                          meta:
                            action_method: GET
              schema:
                $ref: '#/components/schemas/space_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/participatory_processes/{id}:
    get:
      summary: Participatory Processes Details
      tags:
        - Spaces
      operationId: showParticipatoryProcess
      description: Get detail of a Participatory Processes given its id
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the space
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Participatory Processes Details
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '914'
                      type: space
                      attributes:
                        manifest_name: participatory_processes
                        participatory_space_type: Decidim::ParticipatoryProcess
                        title:
                          en: My participatory_process for testing purpose
                          fr: c'est une concertation
                        subtitle:
                          en: >-
                            <script>alert("participatory_process_subtitle");</script>
                            Minus sint labore. 112261
                          fr: >-
                            <script>alert("participatory_process_subtitle");</script>
                            Et et aut. 112262
                        short_description:
                          en: >-
                            <p><script>alert("participatory_process_short_description");</script>
                            Eveniet voluptatem numquam. 112264</p>
                          fr: >-
                            <p><script>alert("participatory_process_short_description");</script>
                            Est assumenda totam. 112265</p>
                        description:
                          en: >-
                            <p><script>alert("participatory_process_description");</script>
                            Aliquid ea nobis. 112267</p>
                          fr: >-
                            <p><script>alert("participatory_process_description");</script>
                            Et dolorum perspiciatis. 112268</p>
                        visibility: public
                        created_at: '2026-07-21T14:09:55Z'
                        updated_at: '2026-07-21T14:09:55Z'
                      relationships:
                        components:
                          data: []
                          meta:
                            count: 0
                          links:
                            self:
                              href: >-
                                https://963.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::ParticipatoryProcess&filter[participatory_space_id_eq]=914
                              title: Component list for this space
                              rel: resource
                              meta:
                                space_manifest: participatory_processes
                                space_id: '914'
                                action_method: GET
                      links:
                        self:
                          href: >-
                            https://963.lvh.me/public/participatory_processes/914
                          title: My participatory_process for testing purpose
                          rel: resource
                          meta:
                            space_id: '914'
                            space_manifest: participatory_processes
                            action_method: GET
                        related:
                          href: https://963.lvh.me/system/organizations/574
                          title: Rippin, Maggio and Lakin
                          rel: resource
                          meta:
                            action_method: GET
              schema:
                $ref: '#/components/schemas/space_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/assemblies/{id}:
    get:
      summary: Assemblies Details
      tags:
        - Spaces
      operationId: showAssembly
      description: Get detail of a Assemblies given its id
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the space
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Assemblies Details
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '711'
                      type: space
                      attributes:
                        manifest_name: assemblies
                        participatory_space_type: Decidim::Assembly
                        title:
                          en: My assembly for testing purpose
                          fr: c'est une assemblée
                        subtitle:
                          en: >-
                            <script>alert("assembly_subtitle");</script> Est rem
                            maxime. 120712
                          fr: >-
                            <script>alert("assembly_subtitle");</script> Est
                            voluptatem nam. 120713
                        short_description:
                          en: >-
                            <p><script>alert("assembly_short_description");</script>
                            Mollitia voluptatem sit. 120715</p>
                          fr: >-
                            <p><script>alert("assembly_short_description");</script>
                            Sequi at perspiciatis. 120716</p>
                        description:
                          en: >-
                            <p><script>alert("assembly_description");</script>
                            Suscipit qui quam. 120718</p>
                          fr: >-
                            <p><script>alert("assembly_description");</script>
                            Facere voluptas nobis. 120719</p>
                        visibility: transparent
                        created_at: '2026-07-21T14:10:15Z'
                        updated_at: '2026-07-21T14:10:15Z'
                      relationships:
                        components:
                          data:
                            - id: '3053'
                              type: accountability_component
                            - id: '3058'
                              type: awesome_iframe_component
                            - id: '3057'
                              type: awesome_map_component
                            - id: '3056'
                              type: blog_component
                            - id: '3050'
                              type: budget_component
                            - id: '3054'
                              type: debate_component
                            - id: '3068'
                              type: meeting_component
                            - id: '3049'
                              type: meeting_component
                            - id: '3060'
                              type: meeting_component
                            - id: '3064'
                              type: meeting_component
                            - id: '3046'
                              type: page_component
                            - id: '3059'
                              type: proposal_component
                            - id: '3067'
                              type: proposal_component
                            - id: '3047'
                              type: proposal_component
                            - id: '3061'
                              type: proposal_component
                            - id: '3055'
                              type: sortition_component
                            - id: '3051'
                              type: survey_component
                          meta:
                            count: 17
                          links:
                            self:
                              href: >-
                                https://1026.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Assembly&filter[participatory_space_id_eq]=711
                              title: Component list for this space
                              rel: resource
                              meta:
                                space_manifest: assemblies
                                space_id: '711'
                                action_method: GET
                      links:
                        self:
                          href: https://1026.lvh.me/public/assemblies/711
                          title: My assembly for testing purpose
                          rel: resource
                          meta:
                            space_id: '711'
                            space_manifest: assemblies
                            action_method: GET
                        related:
                          href: https://1026.lvh.me/system/organizations/595
                          title: Price-Hessel
                          rel: resource
                          meta:
                            action_method: GET
              schema:
                $ref: '#/components/schemas/space_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /spaces/conferences/{id}:
    get:
      summary: Conferences Details
      tags:
        - Spaces
      operationId: showConference
      description: Get detail of a Conferences given its id
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the space
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - public
      responses:
        '200':
          description: Conferences Details
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '27'
                      type: space
                      attributes:
                        manifest_name: conferences
                        participatory_space_type: Decidim::Conference
                        title:
                          en: My conference for testing
                        subtitle: {}
                        short_description:
                          en: >-
                            <p><script>alert("conference_short_description");</script>
                            Totam voluptas voluptate. 131497</p>
                          fr: >-
                            <p><script>alert("conference_short_description");</script>
                            Aliquam ullam odit. 131498</p>
                        description:
                          en: >-
                            <p><script>alert("conference_description");</script>
                            Voluptas ducimus nihil. 131500</p>
                          fr: >-
                            <p><script>alert("conference_description");</script>
                            Voluptas similique sequi. 131501</p>
                        visibility: public
                        created_at: '2026-07-21T14:10:42Z'
                        updated_at: '2026-07-21T14:10:42Z'
                      relationships:
                        components:
                          data: []
                          meta:
                            count: 0
                          links:
                            self:
                              href: >-
                                https://1103.lvh.me/api/rest_full/v0.3/public/components?filter[participatory_space_type_eq]=Decidim::Conference&filter[participatory_space_id_eq]=27
                              title: Component list for this space
                              rel: resource
                              meta:
                                space_manifest: conferences
                                space_id: '27'
                                action_method: GET
                      links:
                        self:
                          href: https://1103.lvh.me/public/conferences/27
                          title: My conference for testing
                          rel: resource
                          meta:
                            space_id: '27'
                            space_manifest: conferences
                            action_method: GET
                        related:
                          href: https://1103.lvh.me/system/organizations/618
                          title: Kunze LLC
                          rel: resource
                          meta:
                            action_method: GET
              schema:
                $ref: '#/components/schemas/space_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /blogs:
    get:
      summary: List posts
      tags:
        - Blogs
      operationId: listBlogPosts
      description: List posts (Decidim::Blogs::Post)
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: space_manifest
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            description: Space type
          required: false
        - name: space_id
          in: query
          schema:
            type: integer
            description: Space Id
          required: false
        - name: component_id
          in: query
          schema:
            type: integer
            description: Component Id
          required: false
        - name: order
          in: query
          schema:
            type: string
          description: Order by
          required: false
        - name: order_direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: Order direction
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - blogs
      responses:
        '200':
          description: Blogs Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/blog_index_response'
              examples:
                ok_empty:
                  value:
                    data: []
                paginated:
                  value:
                    data:
                      - id: '284'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:35Z'
                          updated_at: '2026-07-21T14:11:35Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Quia
                              voluptatem magni. 138994
                            fr: >-
                              <script>alert("blog_title");</script> Nisi vel
                              nostrum. 138995
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Recusandae
                              in nihil. 138997</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Rerum ut
                              minima. 138998</p>
                          published_at: '2026-07-21T14:09:35.655Z'
                        relationships:
                          space:
                            data:
                              id: '1098'
                              type: participatory_processes
                          component:
                            data:
                              id: '3578'
                              type: blog_component
                        links:
                          related:
                            href: https://1164.lvh.me/public/components/3578
                            title: >-
                              <script>alert("component_name");</script> In et
                              vel. 138943
                            rel: resource
                            meta:
                              space_id: '1098'
                              space_manifest: participatory_processes
                              component_id: '3578'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1164.lvh.me/api/rest_full/v0.3/blogs/284
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3578'
                              component_manifest: blogs
                              space_id: '1098'
                              space_manifest: participatory_processes
                              resource_id: '284'
                              action_method: GET
                          collection:
                            href: https://1164.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3578'
                              component_manifest: blogs
                              space_id: '1098'
                              space_manifest: participatory_processes
                              resource_id: '284'
                              action_method: GET
                        meta:
                          published: true
                      - id: '285'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:35Z'
                          updated_at: '2026-07-21T14:11:35Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Occaecati
                              sed quod. 139003
                            fr: >-
                              <script>alert("blog_title");</script> Assumenda
                              nihil autem. 139004
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Maxime
                              facilis eum. 139006</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Dolorem
                              molestias nihil. 139007</p>
                          published_at: '2026-07-21T14:08:35.672Z'
                        relationships:
                          space:
                            data:
                              id: '1098'
                              type: participatory_processes
                          component:
                            data:
                              id: '3578'
                              type: blog_component
                        links:
                          related:
                            href: https://1164.lvh.me/public/components/3578
                            title: >-
                              <script>alert("component_name");</script> In et
                              vel. 138943
                            rel: resource
                            meta:
                              space_id: '1098'
                              space_manifest: participatory_processes
                              component_id: '3578'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1164.lvh.me/api/rest_full/v0.3/blogs/285
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3578'
                              component_manifest: blogs
                              space_id: '1098'
                              space_manifest: participatory_processes
                              resource_id: '285'
                              action_method: GET
                          collection:
                            href: https://1164.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3578'
                              component_manifest: blogs
                              space_id: '1098'
                              space_manifest: participatory_processes
                              resource_id: '285'
                              action_method: GET
                        meta:
                          published: true
                impersonation_ok_draft:
                  value:
                    data:
                      - id: '227'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:25Z'
                          updated_at: '2026-07-21T14:11:25Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Soluta
                              libero exercitationem. 137929
                            fr: >-
                              <script>alert("blog_title");</script> Facilis et
                              deleniti. 137930
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Quos a
                              reprehenderit. 137932</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Quas omnis
                              enim. 137933</p>
                          published_at: '2026-07-21T14:11:25.611Z'
                        relationships:
                          space:
                            data:
                              id: '1070'
                              type: participatory_processes
                          component:
                            data:
                              id: '3493'
                              type: blog_component
                        links:
                          related:
                            href: https://1152.lvh.me/public/components/3493
                            title: >-
                              <script>alert("component_name");</script> Sint
                              dignissimos qui. 137896
                            rel: resource
                            meta:
                              space_id: '1070'
                              space_manifest: participatory_processes
                              component_id: '3493'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs/227
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '227'
                              action_method: GET
                          collection:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '227'
                              action_method: GET
                        meta:
                          published: true
                      - id: '225'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:25Z'
                          updated_at: '2026-07-21T14:11:25Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Rerum facere
                              tempore. 137914
                            fr: >-
                              <script>alert("blog_title");</script> Nesciunt
                              possimus molestiae. 137915
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Cumque
                              consequatur sit. 137917</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Tempora
                              unde vel. 137918</p>
                          published_at: '2026-07-21T14:11:25.538Z'
                        relationships:
                          space:
                            data:
                              id: '1070'
                              type: participatory_processes
                          component:
                            data:
                              id: '3493'
                              type: blog_component
                        links:
                          related:
                            href: https://1152.lvh.me/public/components/3493
                            title: >-
                              <script>alert("component_name");</script> Sint
                              dignissimos qui. 137896
                            rel: resource
                            meta:
                              space_id: '1070'
                              space_manifest: participatory_processes
                              component_id: '3493'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs/225
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '225'
                              action_method: GET
                          collection:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '225'
                              action_method: GET
                        meta:
                          published: true
                      - id: '228'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:25Z'
                          updated_at: '2026-07-21T14:11:25Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Quis
                              eligendi fugiat. 137935
                            fr: >-
                              <script>alert("blog_title");</script> Laborum qui
                              dolorum. 137936
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Illo
                              molestias exercitationem. 137938</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Optio rem
                              ut. 137939</p>
                          published_at: '2027-07-21T14:11:25.649Z'
                        relationships:
                          space:
                            data:
                              id: '1070'
                              type: participatory_processes
                          component:
                            data:
                              id: '3493'
                              type: blog_component
                        links:
                          related:
                            href: https://1152.lvh.me/public/components/3493
                            title: >-
                              <script>alert("component_name");</script> Sint
                              dignissimos qui. 137896
                            rel: resource
                            meta:
                              space_id: '1070'
                              space_manifest: participatory_processes
                              component_id: '3493'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs/228
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '228'
                              action_method: GET
                          collection:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '228'
                              action_method: GET
                        meta:
                          published: false
                      - id: '224'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:25Z'
                          updated_at: '2026-07-21T14:11:25Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Non aut
                              eligendi. 137908
                            fr: >-
                              <script>alert("blog_title");</script> Atque nam
                              culpa. 137909
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Quo
                              delectus modi. 137911</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Provident
                              porro fugit. 137912</p>
                          published_at: '2026-07-21T14:11:25.522Z'
                        relationships:
                          space:
                            data:
                              id: '1070'
                              type: participatory_processes
                          component:
                            data:
                              id: '3493'
                              type: blog_component
                        links:
                          related:
                            href: https://1152.lvh.me/public/components/3493
                            title: >-
                              <script>alert("component_name");</script> Sint
                              dignissimos qui. 137896
                            rel: resource
                            meta:
                              space_id: '1070'
                              space_manifest: participatory_processes
                              component_id: '3493'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs/224
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '224'
                              action_method: GET
                          collection:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '224'
                              action_method: GET
                        meta:
                          published: true
                      - id: '226'
                        type: blog
                        attributes:
                          created_at: '2026-07-21T14:11:25Z'
                          updated_at: '2026-07-21T14:11:25Z'
                          title:
                            en: >-
                              <script>alert("blog_title");</script> Repudiandae
                              sed sunt. 137920
                            fr: >-
                              <script>alert("blog_title");</script> Amet cum
                              incidunt. 137921
                          body:
                            en: >-
                              <p><script>alert("blog_body");</script> Earum sunt
                              corrupti. 137923</p>
                            fr: >-
                              <p><script>alert("blog_body");</script> Est
                              voluptas illum. 137924</p>
                          published_at: '2026-07-21T14:11:25.554Z'
                        relationships:
                          space:
                            data:
                              id: '1070'
                              type: participatory_processes
                          component:
                            data:
                              id: '3493'
                              type: blog_component
                        links:
                          related:
                            href: https://1152.lvh.me/public/components/3493
                            title: >-
                              <script>alert("component_name");</script> Sint
                              dignissimos qui. 137896
                            rel: resource
                            meta:
                              space_id: '1070'
                              space_manifest: participatory_processes
                              component_id: '3493'
                              component_manifest: blogs
                              action_method: GET
                          self:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs/226
                            title: Blogs Details
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '226'
                              action_method: GET
                          collection:
                            href: https://1152.lvh.me/api/rest_full/v0.3/blogs
                            title: Blogs List
                            rel: resource
                            meta:
                              component_id: '3493'
                              component_manifest: blogs
                              space_id: '1070'
                              space_manifest: participatory_processes
                              resource_id: '226'
                              action_method: GET
                        meta:
                          published: true
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    post:
      summary: Create blog post (async)
      tags:
        - Blogs
      operationId: createBlogPostAsync
      description: >
        Enqueue creation of a blog post. Poll `GET /jobs/:uuid`.


        Set `published_at` to control visibility (see **Blogs** tag). Requires
        `blogs.write` and impersonation.
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - blogs
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: bed33abf-3557-4252-a3a5-856de8aa7a81
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://1405.lvh.me/api/rest_full/v0.3/jobs/bed33abf-3557-4252-a3a5-856de8aa7a81
                    links:
                      self:
                        href: >-
                          http://1405.lvh.me/api/rest_full/v0.3/jobs/bed33abf-3557-4252-a3a5-856de8aa7a81
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/blog_post_create_payload'
        required: true
  /blogs/{id}:
    get:
      summary: Show post
      tags:
        - Blogs
      security:
        - credentialFlowBearer:
            - blogs
      operationId: getBlogPost
      description: Get post details (Decidim::Blogs::Post)
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: space_manifest
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            description: Space type
          required: false
        - name: space_id
          in: query
          schema:
            type: integer
            description: Space Id
          required: false
        - name: component_id
          in: query
          schema:
            type: integer
            description: Component Id
          required: false
        - name: order
          in: query
          schema:
            type: string
          description: Order by
          required: false
        - name: order_direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: Order direction
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Post id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Blog Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/blog_item_response'
              examples:
                ok:
                  value:
                    data:
                      id: '425'
                      type: blog
                      attributes:
                        created_at: '2026-07-21T14:15:08Z'
                        updated_at: '2026-07-21T14:15:08Z'
                        title:
                          en: >-
                            <script>alert("blog_title");</script> Facere
                            voluptatum repellat. 144439
                          fr: >-
                            <script>alert("blog_title");</script> Dolorem
                            perspiciatis quisquam. 144440
                        body:
                          en: >-
                            <p><script>alert("blog_body");</script> Vel illo
                            velit. 144442</p>
                          fr: >-
                            <p><script>alert("blog_body");</script> Et quia
                            dolorem. 144443</p>
                        published_at: '2026-07-21T14:13:08.760Z'
                      relationships:
                        space:
                          data:
                            id: '1474'
                            type: participatory_processes
                        component:
                          data:
                            id: '4893'
                            type: blog_component
                      links:
                        related:
                          href: https://1263.lvh.me/public/components/4893
                          title: >-
                            <script>alert("component_name");</script> Molestias
                            nemo voluptatem. 144409
                          rel: resource
                          meta:
                            space_id: '1474'
                            space_manifest: participatory_processes
                            component_id: '4893'
                            component_manifest: blogs
                            action_method: GET
                        self:
                          href: https://1263.lvh.me/api/rest_full/v0.3/blogs/425
                          title: Blogs Details
                          rel: resource
                          meta:
                            component_id: '4893'
                            component_manifest: blogs
                            space_id: '1474'
                            space_manifest: participatory_processes
                            resource_id: '425'
                            action_method: GET
                        collection:
                          href: https://1263.lvh.me/api/rest_full/v0.3/blogs
                          title: Blogs List
                          rel: resource
                          meta:
                            component_id: '4893'
                            component_manifest: blogs
                            space_id: '1474'
                            space_manifest: participatory_processes
                            resource_id: '425'
                            action_method: GET
                        next:
                          href: https://1263.lvh.me/api/rest_full/v0.3/blogs/424
                          title: Next post
                          rel: resource
                          meta:
                            component_id: '4893'
                            component_manifest: blogs
                            space_id: '1474'
                            space_manifest: participatory_processes
                            resource_id: '424'
                            action_method: GET
                        prev:
                          href: https://1263.lvh.me/api/rest_full/v0.3/blogs/426
                          title: Previous post
                          rel: resource
                          meta:
                            component_id: '4893'
                            component_manifest: blogs
                            space_id: '1474'
                            space_manifest: participatory_processes
                            resource_id: '426'
                            action_method: GET
                      meta:
                        published: true
                ok_no_more:
                  value:
                    data:
                      id: '418'
                      type: blog
                      attributes:
                        created_at: '2026-07-21T14:15:06Z'
                        updated_at: '2026-07-21T14:15:06Z'
                        title:
                          en: >-
                            <script>alert("blog_title");</script> Aut et quasi.
                            144274
                          fr: >-
                            <script>alert("blog_title");</script> Et aut aut.
                            144275
                        body:
                          en: >-
                            <p><script>alert("blog_body");</script> Omnis aut
                            dolor. 144277</p>
                          fr: >-
                            <p><script>alert("blog_body");</script> Perspiciatis
                            rerum aut. 144278</p>
                        published_at: '2026-07-21T14:15:06.652Z'
                      relationships:
                        space:
                          data:
                            id: '1472'
                            type: participatory_processes
                        component:
                          data:
                            id: '4891'
                            type: blog_component
                      links:
                        related:
                          href: https://1261.lvh.me/public/components/4891
                          title: >-
                            <script>alert("component_name");</script> Et
                            dignissimos nobis. 144262
                          rel: resource
                          meta:
                            space_id: '1472'
                            space_manifest: participatory_processes
                            component_id: '4891'
                            component_manifest: blogs
                            action_method: GET
                        self:
                          href: https://1261.lvh.me/api/rest_full/v0.3/blogs/418
                          title: Blogs Details
                          rel: resource
                          meta:
                            component_id: '4891'
                            component_manifest: blogs
                            space_id: '1472'
                            space_manifest: participatory_processes
                            resource_id: '418'
                            action_method: GET
                        collection:
                          href: https://1261.lvh.me/api/rest_full/v0.3/blogs
                          title: Blogs List
                          rel: resource
                          meta:
                            component_id: '4891'
                            component_manifest: blogs
                            space_id: '1472'
                            space_manifest: participatory_processes
                            resource_id: '418'
                            action_method: GET
                        prev:
                          href: https://1261.lvh.me/api/rest_full/v0.3/blogs/419
                          title: Previous post
                          rel: resource
                          meta:
                            component_id: '4891'
                            component_manifest: blogs
                            space_id: '1472'
                            space_manifest: participatory_processes
                            resource_id: '419'
                            action_method: GET
                      meta:
                        published: true
                ok_draft:
                  value:
                    data:
                      id: '393'
                      type: blog
                      attributes:
                        created_at: '2026-07-21T14:15:00Z'
                        updated_at: '2026-07-21T14:15:00Z'
                        title:
                          en: >-
                            <script>alert("blog_title");</script> Cumque
                            excepturi ab. 143719
                          fr: >-
                            <script>alert("blog_title");</script> Nulla omnis
                            dolorem. 143720
                        body:
                          en: >-
                            <p><script>alert("blog_body");</script> Voluptatem
                            placeat corporis. 143722</p>
                          fr: >-
                            <p><script>alert("blog_body");</script> Enim sint
                            est. 143723</p>
                        published_at: '2027-07-21T14:15:00.957Z'
                      relationships:
                        space:
                          data:
                            id: '1463'
                            type: participatory_processes
                        component:
                          data:
                            id: '4880'
                            type: blog_component
                      links:
                        related:
                          href: https://1254.lvh.me/public/components/4880
                          title: >-
                            <script>alert("component_name");</script> Ut omnis
                            libero. 143701
                          rel: resource
                          meta:
                            space_id: '1463'
                            space_manifest: participatory_processes
                            component_id: '4880'
                            component_manifest: blogs
                            action_method: GET
                        self:
                          href: https://1254.lvh.me/api/rest_full/v0.3/blogs/393
                          title: Blogs Details
                          rel: resource
                          meta:
                            component_id: '4880'
                            component_manifest: blogs
                            space_id: '1463'
                            space_manifest: participatory_processes
                            resource_id: '393'
                            action_method: GET
                        collection:
                          href: https://1254.lvh.me/api/rest_full/v0.3/blogs
                          title: Blogs List
                          rel: resource
                          meta:
                            component_id: '4880'
                            component_manifest: blogs
                            space_id: '1463'
                            space_manifest: participatory_processes
                            resource_id: '393'
                            action_method: GET
                        prev:
                          href: https://1254.lvh.me/api/rest_full/v0.3/blogs/392
                          title: Previous post
                          rel: resource
                          meta:
                            component_id: '4880'
                            component_manifest: blogs
                            space_id: '1463'
                            space_manifest: participatory_processes
                            resource_id: '392'
                            action_method: GET
                      meta:
                        published: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Blog Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    delete:
      summary: Delete blog post (async)
      tags:
        - Blogs
      operationId: deleteBlogPostAsync
      description: Enqueue deletion of a blog post. Requires `blogs.destroy`.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - blogs
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: 8b6fd7da-894e-49fd-85c1-3cd3281ce302
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://1407.lvh.me/api/rest_full/v0.3/jobs/8b6fd7da-894e-49fd-85c1-3cd3281ce302
                    links:
                      self:
                        href: >-
                          http://1407.lvh.me/api/rest_full/v0.3/jobs/8b6fd7da-894e-49fd-85c1-3cd3281ce302
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /me/magic_links/{magic_token}:
    get:
      summary: Use a magic link
      tags:
        - Users
      operationId: signInWithMagicLink
      description: >
        Challenge given token, open a session and redirect. **Browser-only** —
        not intended for server-side SDK clients; use `generateMagicLink` and
        send users the URL instead.


        Marked for documentation only; TypeScript clients should not call this
        operation.
      parameters:
        - name: magic_token
          in: path
          schema:
            type: string
            description: A token received for magic link
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security: []
      responses:
        '302':
          description: Signed in
          content:
            application/json:
              examples:
                ok:
                  value: {}
                ok_redirect:
                  value: {}
        '400':
          description: Bad Request
          content:
            application/json:
              examples:
                bad_token_expired:
                  value:
                    error: '400: Bad request'
                    error_description: Invalid Token
                bad_blocked:
                  value:
                    error: '400: Bad request'
                    error_description: User blocked
                bad_token:
                  value:
                    error: '400: Bad request'
                    error_description: Token not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /organizations/{id}/sync:
    put:
      summary: Update organization
      tags:
        - Organizations
      operationId: updateOrganization
      description: >
        This endpoint allows you to update an organization.


        ### Update host

        To update the host, send in your payload the `host` attribute. It will
        be saved as an `unconfirmed_host` extended data attribute. 

        Once saved, a job will be enqueued to reverse DNS the unconfirmed host
        before actually updating the host.

        The `host` attribute must be unique across all organizations.

        More information on this update process is documented in the [Safe host
        update](https://octree-gva.github.io/decidim-rest-full/dev/update-hosts)
        page.


        ### Update name

        To update the name, send in your payload the `name` attribute.

        The `name` attribute must be unique across all organizations.
      parameters:
        - name: id
          in: path
          required: true
          description: The ID of the organization
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - system
      responses:
        '200':
          description: Organization updated
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '714'
                      type: organization
                      attributes:
                        host: 1187.lvh.me
                        secondary_hosts:
                          - '[]'
                        default_locale: en
                        available_locales:
                          - en
                        enable_machine_translations: false
                        enable_participatory_space_filters: true
                        badges_enabled: true
                        rich_text_editor_in_public_views: false
                        comments_max_length: 1000
                        time_zone: UTC
                        users_registration_mode: enabled
                        user_groups_enabled: true
                        force_users_to_authenticate_before_access_organization: false
                        reference_prefix: JD
                        send_welcome_notification: true
                        name:
                          en: Paucek LLC
                          fr: Corkery-Davis
                          es: Rogahn Group
                        description:
                          en: >-
                            <p><script>alert("organization_description");</script>
                            Optio commodi id. 140362</p>
                          fr: >-
                            <p><script>alert("organization_description");</script>
                            Veniam a porro. 140363</p>
                        extended_data: {}
                        created_at: '2026-07-21T14:13:02Z'
                        updated_at: '2026-07-21T14:13:03Z'
                      meta:
                        locales:
                          - en
                          - fr
                          - es
                        unconfirmed_host: new-host.com
              schema:
                $ref: '#/components/schemas/organization_item_response'
        '400':
          description: Organization Bad Request
          content:
            application/json:
              examples:
                bad_request_host_taken:
                  value:
                    error: '400: Bad request'
                    error_description: Unconfirmed host has already been taken
                bad_request_name_taken:
                  value:
                    error: '400: Bad request'
                    error_description: Name en has already been taken
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Organization Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: Update Organization Payload
              properties:
                data:
                  $ref: '#/components/schemas/organization_attributes'
              required:
                - data
        required: true
  /questionnaires/{id}:
    get:
      summary: Questionnaire
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: getQuestionnaire
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Questionnaire with schema and ui
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '1604'
                      type: questionnaires
                      attributes:
                        title: >-
                          <script>alert("questionnaire_title");</script> Dolores
                          aliquid dolore. 140584
                        description: >-
                          <p><script>alert("questionnaire_description");</script>
                          Vitae sit enim. 140587</p>
                        schema:
                          type: object
                          properties:
                            '276':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Cumque minima sunt. 140629
                            '277':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Autem suscipit ut. 140680
                            '278':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Dignissimos saepe qui. 140731
                              enum:
                                - '136'
                                - '137'
                                - '138'
                          required: []
                        ui:
                          type: VerticalLayout
                          elements:
                            - type: Control
                              scope: '#/properties/276'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Cumque minima sunt. 140629
                            - type: Control
                              scope: '#/properties/277'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Autem suscipit ut. 140680
                            - type: Control
                              scope: '#/properties/278'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Dignissimos saepe qui. 140731
                              options:
                                choices:
                                  - id: '136'
                                    translations:
                                      en: Reiciendis animi qui. 140833
                                      fr: Consequatur ut ea. 140834
                                      machine_translations:
                                        es: Eaque minima laudantium. 140835
                                  - id: '137'
                                    translations:
                                      en: Nam deleniti et. 140887
                                      fr: Officiis rerum eum. 140888
                                      machine_translations:
                                        es: Aut officiis a. 140889
                                  - id: '138'
                                    translations:
                                      en: Cumque quos voluptatibus. 140941
                                      fr: Vero consequatur molestias. 140942
                                      machine_translations:
                                        es: Necessitatibus fugiat sed. 140943
                        updated_at: '2026-07-21T14:13:55Z'
                      links:
                        self:
                          href: https://1198.lvh.me/api/questionnaires/1604
                          rel: self
                          meta:
                            action_method: GET
                        submit:
                          href: https://1198.lvh.me/api/answers
                          rel: submit
                          meta:
                            action_method: POST
                            questionnaire_id: '1604'
                        submit_sync:
                          href: https://1198.lvh.me/api/answers/sync
                          rel: submit_sync
                          meta:
                            action_method: POST
                        questions:
                          href: >-
                            https://1198.lvh.me/api/questions?filter[questionnaire_id]=1604
                          rel: questions
                          meta:
                            action_method: GET
                      meta:
                        locale: en
                        requested_locale: en
                        fallback_from: null
                        submission:
                          allows_anonymous: true
                          requires_participant_ip: true
              schema:
                $ref: '#/components/schemas/questionnaire_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    put:
      summary: Update questionnaire metadata (async)
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: updateQuestionnaireAsync
      description: >-
        Enqueue questionnaire metadata update (title, description, terms of
        service). Poll `GET /jobs/:uuid`.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: deb2b86d-11a6-479a-85c2-4119fab01559
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://1668.lvh.me/api/rest_full/v0.3/jobs/deb2b86d-11a6-479a-85c2-4119fab01559
                    links:
                      self:
                        href: >-
                          http://1668.lvh.me/api/rest_full/v0.3/jobs/deb2b86d-11a6-479a-85c2-4119fab01559
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/questionnaire_update_body'
        required: true
  /roles/{id}/sync:
    delete:
      summary: Destroy role
      tags:
        - Roles
      operationId: deleteRole
      description: >-
        Remove a role (revoke admin, or delete
        ParticipatoryProcessUserRole/AssemblyUserRole/AssemblyMember). Id is the
        composite encoded id.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - roles
      responses:
        '204':
          description: Role destroyed
          content:
            application/json:
              examples:
                ok:
                  value: {}
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Role Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /attachments/direct_upload:
    post:
      summary: Stage file for direct upload
      tags:
        - Attachments
      operationId: attachmentsDirectUpload
      parameters:
        - name: filename
          in: query
          required: true
          schema:
            type: string
        - name: byte_size
          in: query
          required: true
          schema:
            type: integer
        - name: checksum
          in: query
          required: true
          schema:
            type: string
        - name: content_type
          in: query
          required: false
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - attachments
      responses:
        '201':
          description: Direct upload prepared
          content:
            application/json:
              examples:
                ok:
                  value:
                    signed_id: >-
                      eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHNoIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0d88ff0f62644cc0934ac7a51c0c079cf3693fee
                    filename: hello.pdf
                    content_type: application/pdf
                    byte_size: 12345
              schema:
                $ref: '#/components/schemas/attachment_direct_upload_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /attachments:
    get:
      summary: List attachments
      tags:
        - Attachments
      operationId: listAttachments
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[attached_to_type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: attached_to_type not IN filter
            description: match none of _attached_to_type_'s values in array
          required: false
        - name: filter[attached_to_type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: attached_to_type IN filter
            description: match one of _attached_to_type_'s values in array
          required: false
        - name: filter[attached_to_type_start]
          in: query
          schema:
            type: string
            description: _attached_to_type_ starts with
            title: attached_to_type starts With filter
            example: some_string
          required: false
        - name: filter[attached_to_type_eq]
          in: query
          schema:
            type: string
            title: attached_to_type equal filter
            description: _attached_to_type_ is equal to
          required: false
        - name: filter[attached_to_type_not_eq]
          in: query
          schema:
            type: string
            title: attached_to_type not equal filter
            description: _attached_to_type_ is NOT equal to
          required: false
        - name: filter[attached_to_type_matches]
          in: query
          schema:
            type: string
            title: attached_to_type like filter
            description: matches _attached_to_type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[attached_to_type_blank]
          in: query
          schema:
            type: boolean
            title: attached_to_type blank filter
            description: _attached_to_type_ is null or empty
          required: false
        - name: filter[attached_to_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: attached_to_id IN filter
            description: match one of _attached_to_id_'s values in array
          required: false
        - name: filter[attached_to_id_eq]
          in: query
          schema:
            type: integer
            title: attached_to_id equal filter
            description: _attached_to_id_ is equal to
          required: false
        - name: filter[attached_to_id_lt]
          in: query
          schema:
            type: integer
            title: attached_to_id less than filter
            description: _attached_to_id_ is less than
          required: false
        - name: filter[attached_to_id_gt]
          in: query
          schema:
            type: integer
            title: attached_to_id greater than filter
            description: _attached_to_id_ is greater than
          required: false
        - name: filter[attached_to_id_present]
          in: query
          schema:
            type: boolean
            title: attached_to_id present filter
            description: _attached_to_id_ is not null and not empty
          required: false
        - name: filter[attached_to_id_blank]
          in: query
          schema:
            type: boolean
            title: attached_to_id blank filter
            description: _attached_to_id_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - attachments
      responses:
        '200':
          description: Attachments listed
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '11'
                        type: attachment
                        attributes:
                          title:
                            en: >-
                              <script>alert("attachment_title");</script>
                              Voluptas incidunt et. 145099
                            fr: >-
                              <script>alert("attachment_title");</script> Aut
                              provident totam. 145100
                          description:
                            en: >-
                              <script>alert("attachment_description");</script>
                              Qui nisi eum. 145102
                            fr: >-
                              <script>alert("attachment_description");</script>
                              Dolores sint ipsa. 145103
                          weight: 1
                          attachment_collection_id: null
                          file_type: document
                          content_type: application/pdf
                          url: null
                          thumbnail_url: null
                          attached_to:
                            type: Decidim::Proposals::Proposal
                            id: 2277
                          created_at: '2026-07-21T14:15:53Z'
                          updated_at: '2026-07-21T14:15:53Z'
              schema:
                $ref: '#/components/schemas/attachment_index_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /components/proposal_components/{id}:
    get:
      summary: Proposal Component Details
      tags:
        - Components
      operationId: showProposalComponent
      description: Find on proposal
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: id IN filter
            description: match one of _id_'s values in array
          required: false
        - name: filter[id_eq]
          in: query
          schema:
            type: integer
            title: id equal filter
            description: _id_ is equal to
          required: false
        - name: filter[id_lt]
          in: query
          schema:
            type: integer
            title: id less than filter
            description: _id_ is less than
          required: false
        - name: filter[id_gt]
          in: query
          schema:
            type: integer
            title: id greater than filter
            description: _id_ is greater than
          required: false
        - name: filter[id_present]
          in: query
          schema:
            type: boolean
            title: id present filter
            description: _id_ is not null and not empty
          required: false
        - name: filter[id_blank]
          in: query
          schema:
            type: boolean
            title: id blank filter
            description: _id_ is null or empty
          required: false
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - public
      responses:
        '200':
          description: Proposal Component
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '4937'
                      type: proposal_component
                      attributes:
                        manifest_name: proposals
                        participatory_space_type: Decidim::ParticipatoryProcess
                        participatory_space_id: '1524'
                        name:
                          en: >-
                            <script>alert("component_name");</script> Qui
                            dolorem nulla. 145990
                          fr: >-
                            <script>alert("component_name");</script> Itaque
                            molestiae ipsa. 145991
                        global_announcement: {}
                        created_at: '2026-07-21T14:16:23Z'
                        updated_at: '2026-07-21T14:16:23Z'
                      relationships:
                        resources:
                          data: []
                          meta:
                            count: 0
                      links:
                        self:
                          href: >-
                            https://1284.lvh.me/components/proposal_components/4937
                          title: >-
                            <script>alert("component_name");</script> Qui
                            dolorem nulla. 145990
                          rel: resource
                          meta:
                            space_id: '1524'
                            space_manifest: participatory_processes
                            action_method: GET
                        related:
                          href: >-
                            https://1284.lvh.me/spaces/participatory_processes/1524
                          title: >-
                            <script>alert("participatory_process_title");</script>
                            At et et. 145951
                          rel: resource
                          meta:
                            space_id: '1524'
                            space_manifest: participatory_processes
                            action_method: GET
                      meta:
                        published: true
                        scopes_enabled: false
                        amendments_enabled: false
                        attachments_allowed: false
                        collaborative_drafts_enabled: false
                        comments_enabled: true
                        comments_max_length: 1000
                        default_sort_order: default
                        geocoding_enabled: false
                        minimum_votes_per_user: 0
                        official_proposals_enabled: true
                        participatory_texts_enabled: false
                        proposal_edit_before_minutes: 5
                        proposal_edit_time: limited
                        proposal_limit: 0
                        resources_permissions_enabled: true
                        threshold_per_proposal: 0
                        vote_limit: 0
                        endorsements_enabled: true
                        votes_enabled: false
                        creation_enabled: false
                        proposal_answering_enabled: true
                        amendment_creation_enabled: true
                        amendment_reaction_enabled: true
                        amendment_promotion_enabled: true
                        can_create_proposals: false
                        can_vote: false
                        can_endorse: true
                        can_comment: true
                ok_with_draft:
                  value:
                    data:
                      id: '4936'
                      type: proposal_component
                      attributes:
                        manifest_name: proposals
                        participatory_space_type: Decidim::ParticipatoryProcess
                        participatory_space_id: '1522'
                        name:
                          en: >-
                            <script>alert("component_name");</script> Eveniet et
                            atque. 145870
                          fr: >-
                            <script>alert("component_name");</script> Et tempore
                            sed. 145871
                        global_announcement: {}
                        created_at: '2026-07-21T14:16:22Z'
                        updated_at: '2026-07-21T14:16:22Z'
                      relationships:
                        resources:
                          data:
                            - id: '2373'
                              type: proposal
                          meta:
                            count: 1
                      links:
                        self:
                          href: >-
                            https://1283.lvh.me/components/proposal_components/4936
                          title: >-
                            <script>alert("component_name");</script> Eveniet et
                            atque. 145870
                          rel: resource
                          meta:
                            space_id: '1522'
                            space_manifest: participatory_processes
                            action_method: GET
                        related:
                          href: >-
                            https://1283.lvh.me/spaces/participatory_processes/1522
                          title: >-
                            <script>alert("participatory_process_title");</script>
                            Et totam quod. 145771
                          rel: resource
                          meta:
                            space_id: '1522'
                            space_manifest: participatory_processes
                            action_method: GET
                        draft:
                          href: >-
                            https://1283.lvh.me/api/rest_full/v0.3/draft_proposals/2373
                          title: Draft Details
                          rel: resource
                          meta:
                            component_id: '4936'
                            component_manifest: proposals
                            space_id: '1522'
                            space_manifest: participatory_processes
                            resource_id: '2373'
                            action_method: GET
                      meta:
                        published: true
                        scopes_enabled: false
                        amendments_enabled: false
                        attachments_allowed: false
                        collaborative_drafts_enabled: false
                        comments_enabled: true
                        comments_max_length: 1000
                        default_sort_order: default
                        geocoding_enabled: false
                        minimum_votes_per_user: 0
                        official_proposals_enabled: true
                        participatory_texts_enabled: false
                        proposal_edit_before_minutes: 5
                        proposal_edit_time: limited
                        proposal_limit: 0
                        resources_permissions_enabled: true
                        threshold_per_proposal: 0
                        vote_limit: 0
                        endorsements_enabled: true
                        votes_enabled: false
                        creation_enabled: false
                        proposal_answering_enabled: true
                        amendment_creation_enabled: true
                        amendment_reaction_enabled: true
                        amendment_promotion_enabled: true
                        can_create_proposals: false
                        can_vote: false
                        can_endorse: true
                        can_comment: true
              schema:
                $ref: '#/components/schemas/proposal_component_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /me/magic_links:
    post:
      summary: Create a magic link
      tags:
        - Users
      operationId: generateMagicLink
      description: >
        Generates a uniq magic link, valid for 5minutes. If the user follow this
        link, it will be signed in automatically
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - oauth
      responses:
        '201':
          description: Magick link created
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '6'
                      type: magic_link
                      attributes:
                        token: Q1FmeEFzX3d5WjJMLVhXZUxpdTc=
                        label: My label
                        redirect_url: null
                      links:
                        self:
                          href: >-
                            https://1292.lvh.me/api/rest_full/v0.3/me/magic_links
                          title: Generates a magic link
                          rel: resource
                          meta:
                            action_method: POST
                            action_enctype: application/x-www-form-urlencoded
                        sign_in:
                          href: >-
                            https://1292.lvh.me/api/rest_full/v0.3/me/magic_links/Q1FmeEFzX3d5WjJMLVhXZUxpdTc=
                          title: Sign in with magic link
                          rel: resource
                          meta:
                            action_method: GET
                ok_with_redirect:
                  value:
                    data:
                      id: '7'
                      type: magic_link
                      attributes:
                        token: VXVmVDFObUZUcHo1UjZ4Q01Kajg=
                        label: My label
                        redirect_url: https://www.partner.example/callback?x=1
                      links:
                        self:
                          href: >-
                            https://1293.lvh.me/api/rest_full/v0.3/me/magic_links
                          title: Generates a magic link
                          rel: resource
                          meta:
                            action_method: POST
                            action_enctype: application/x-www-form-urlencoded
                        sign_in:
                          href: >-
                            https://1293.lvh.me/api/rest_full/v0.3/me/magic_links/VXVmVDFObUZUcHo1UjZ4Q01Kajg=
                          title: Sign in with magic link
                          rel: resource
                          meta:
                            action_method: GET
              schema:
                $ref: '#/components/schemas/magic_link_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              examples:
                bad_blocked:
                  value:
                    error: '400: Bad request'
                    error_description: User blocked
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '422':
          description: Validation error
          content:
            application/json:
              examples:
                bad_redirect_http:
                  value:
                    errors:
                      - attribute: redirect_url
                        message: Must use the https scheme
                bad_redirect_host:
                  value:
                    errors:
                      - attribute: redirect_url
                        message: Host is not allowed for this organization
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        attribute:
                          type: string
                        message:
                          type: string
                required:
                  - errors
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              title: Generate Magic Link Payload
              type: object
              properties:
                data:
                  title: Generate Magic Link Data
                  type: object
                  properties:
                    redirect_url:
                      type: string
                      description: >-
                        Optional HTTPS redirect URL after sign-in (host must be
                        allowlisted)
                  description: Optional payload to configure the magic link
  /draft_proposals/{id}/publish/sync:
    post:
      summary: Publish a draft proposal (sync)
      tags:
        - Draft Proposals
      security:
        - resourceOwnerFlowBearer:
            - proposals
      operationId: publishDraftProposal
      description: >
        Publish a draft proposal inline and return the published proposal
        resource.


        Same validation rules as the async publish endpoint. Requires
        impersonation (`proposals.draft`).
      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Draft Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Draft Proposal published
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '2382'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:17:15Z'
                        updated_at: '2026-07-21T14:17:15Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Error
                            reiciendis molestiae. 147115
                          fr: >-
                            <script>alert("proposal_title");</script> Et
                            repellat ut. 147116
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script> Dolore
                            possimus adipisci. 147118</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Enim
                            voluptatibus dignissimos. 147119</p>
                      relationships:
                        space:
                          data:
                            id: '1543'
                            type: participatory_processes
                        component:
                          data:
                            id: '4956'
                            type: proposal_component
                        author:
                          data:
                            id: '3268'
                            type: user
                        coauthors:
                          data:
                            - id: '3268'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1303.lvh.me/public/components/4956
                          title: >-
                            <script>alert("component_name");</script> Sit non
                            pariatur. 147106
                          rel: resource
                          meta:
                            space_id: '1543'
                            space_manifest: participatory_processes
                            component_id: '4956'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1303.lvh.me/api/rest_full/v0.3/proposals/2382
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '4956'
                            component_manifest: proposals
                            space_id: '1543'
                            space_manifest: participatory_processes
                            resource_id: '2382'
                            action_method: GET
                        collection:
                          href: https://1303.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '4956'
                            component_manifest: proposals
                            space_id: '1543'
                            space_manifest: participatory_processes
                            resource_id: '2382'
                            action_method: GET
                      meta:
                        published: true
                        client_id: 743
              schema:
                $ref: '#/components/schemas/proposal_item_response'
        '400':
          description: Bad request
          content:
            application/json:
              examples:
                bad_request:
                  value:
                    error: '400: Bad request'
                    error_description: Body cannot be blank
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /draft_proposals/{id}/publish:
    post:
      summary: Publish a draft proposal (async)
      tags:
        - Draft Proposals
      security:
        - resourceOwnerFlowBearer:
            - proposals
      operationId: publishDraftProposalAsync
      description: >
        Enqueue publication of a draft proposal. Poll `GET /jobs/:uuid` for the
        published proposal payload.


        The draft must be **publishable** (`meta.publishable` on the last
        update). Requires impersonation (`proposals.draft`).


        For synchronous publication, use `POST
        /draft_proposals/{id}/publish/sync`.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Draft Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: a863f234-9f1f-4e25-979f-e683f19170a9
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://1304.lvh.me/api/rest_full/v0.3/jobs/a863f234-9f1f-4e25-979f-e683f19170a9
                    links:
                      self:
                        href: >-
                          http://1304.lvh.me/api/rest_full/v0.3/jobs/a863f234-9f1f-4e25-979f-e683f19170a9
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /components/blog_components/{id}:
    get:
      summary: Blog Component Details
      tags:
        - Components
      operationId: showBlogComponent
      description: Blog component details
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: component_id
          in: query
          schema:
            type: integer
            description: Component Id
          required: false
        - name: space_manifest
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            description: Space type
          required: false
        - name: space_id
          in: query
          schema:
            type: integer
            description: Space Id
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - public
      responses:
        '200':
          description: Blog Component
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '4974'
                      type: blog_component
                      attributes:
                        manifest_name: blogs
                        participatory_space_type: Decidim::ParticipatoryProcess
                        participatory_space_id: '1561'
                        name:
                          en: >-
                            <script>alert("component_name");</script> Omnis
                            fugit sapiente. 148549
                          fr: >-
                            <script>alert("component_name");</script> Quo eum
                            enim. 148550
                        global_announcement: {}
                        created_at: '2026-07-21T14:17:45Z'
                        updated_at: '2026-07-21T14:17:45Z'
                      relationships:
                        resources:
                          data: []
                          meta:
                            count: 0
                      links:
                        self:
                          href: https://1320.lvh.me/components/blog_components/4974
                          title: >-
                            <script>alert("component_name");</script> Omnis
                            fugit sapiente. 148549
                          rel: resource
                          meta:
                            space_id: '1561'
                            space_manifest: participatory_processes
                            action_method: GET
                        related:
                          href: >-
                            https://1320.lvh.me/spaces/participatory_processes/1561
                          title: >-
                            <script>alert("participatory_process_title");</script>
                            Dolorem voluptatum non. 148564
                          rel: resource
                          meta:
                            space_id: '1561'
                            space_manifest: participatory_processes
                            action_method: GET
                      meta:
                        published: true
                        scopes_enabled: false
              schema:
                $ref: '#/components/schemas/blog_component_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /users:
    get:
      summary: List available Users
      tags:
        - Users
      operationId: listUsers
      description: List or search users of the organization
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[nickname_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: nickname not IN filter
            description: match none of _nickname_'s values in array
          required: false
        - name: filter[nickname_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: nickname IN filter
            description: match one of _nickname_'s values in array
          required: false
        - name: filter[nickname_start]
          in: query
          schema:
            type: string
            description: _nickname_ starts with
            title: nickname starts With filter
            example: some_string
          required: false
        - name: filter[nickname_eq]
          in: query
          schema:
            type: string
            title: nickname equal filter
            description: _nickname_ is equal to
          required: false
        - name: filter[nickname_not_eq]
          in: query
          schema:
            type: string
            title: nickname not equal filter
            description: _nickname_ is NOT equal to
          required: false
        - name: filter[nickname_matches]
          in: query
          schema:
            type: string
            title: nickname like filter
            description: matches _nickname_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[nickname_blank]
          in: query
          schema:
            type: boolean
            title: nickname blank filter
            description: _nickname_ is null or empty
          required: false
        - name: filter[id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: id IN filter
            description: match one of _id_'s values in array
          required: false
        - name: filter[id_eq]
          in: query
          schema:
            type: integer
            title: id equal filter
            description: _id_ is equal to
          required: false
        - name: filter[id_lt]
          in: query
          schema:
            type: integer
            title: id less than filter
            description: _id_ is less than
          required: false
        - name: filter[id_gt]
          in: query
          schema:
            type: integer
            title: id greater than filter
            description: _id_ is greater than
          required: false
        - name: filter[id_present]
          in: query
          schema:
            type: boolean
            title: id present filter
            description: _id_ is not null and not empty
          required: false
        - name: filter[id_blank]
          in: query
          schema:
            type: boolean
            title: id blank filter
            description: _id_ is null or empty
          required: false
        - name: filter[extended_data_cont]
          schema:
            type: string
          in: query
          required: false
          example: '"foo": "bar"'
          description: >-
            Search on user extended_data. use the format:
            `"<key>":<space>"<value>"`
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - oauth
      responses:
        '200':
          description: Users listed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user_index_response'
              examples:
                paginated:
                  value:
                    data:
                      - id: '3313'
                        type: user
                        attributes:
                          name: Carina Johnston
                          nickname: xg_1570
                          personal_url: http://cormier-ullrich.example/dodie
                          email: user1571@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Voluptas illo animi. 149254",
                            "fr"=>"<script>alert(\"user_about\");</script> Optio
                            laudantium enim. 149255",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Qui necessitatibus nam. 149256"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:05Z'
                          updated_at: '2026-07-21T14:18:05Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3314'
                        type: user
                        attributes:
                          name: Wilfred Champlin
                          nickname: fig58l2_1571
                          personal_url: http://douglas-flatley.example/flor.rice
                          email: user1572@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Rerum voluptates voluptas. 149257",
                            "fr"=>"<script>alert(\"user_about\");</script> Quasi
                            doloribus sequi. 149258",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Facere error vel. 149259"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:05Z'
                          updated_at: '2026-07-21T14:18:05Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                filter_by_extended_data:
                  value:
                    data:
                      - id: '3322'
                        type: user
                        attributes:
                          name: Miss Lakenya Heathcote
                          nickname: specific-data
                          personal_url: http://jerde-vonrueden.test/dorla.feil
                          email: user1580@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Eaque fugiat sequi. 149305",
                            "fr"=>"<script>alert(\"user_about\");</script> Rerum
                            dolorem et. 149306",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Libero odio ut. 149307"}}
                          extended_data:
                            key:
                              is: awesome
                          locale: en
                          created_at: '2026-07-21T14:18:07Z'
                          updated_at: '2026-07-21T14:18:07Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                filter_by_nickname:
                  value:
                    data:
                      - id: '3328'
                        type: user
                        attributes:
                          name: Vicente Zieme
                          nickname: blue-panda-218
                          personal_url: http://schaden.test/kareem
                          email: user1586@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Harum dolorem qui. 149335",
                            "fr"=>"<script>alert(\"user_about\");</script> Quia
                            voluptas sit. 149336",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Cum molestiae modi. 149337"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:07Z'
                          updated_at: '2026-07-21T14:18:07Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                filter_by_id_in:
                  value:
                    data:
                      - id: '3334'
                        type: user
                        attributes:
                          name: Miss Mireille Kling
                          nickname: ut7guwwowo_1588
                          personal_url: http://christiansen-walsh.example/pasquale
                          email: user1592@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Impedit amet esse. 149365",
                            "fr"=>"<script>alert(\"user_about\");</script> Est
                            quia omnis. 149366",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Laboriosam ad vero. 149367"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:08Z'
                          updated_at: '2026-07-21T14:18:08Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3335'
                        type: user
                        attributes:
                          name: Cyril Mann
                          nickname: d9z8e_1589
                          personal_url: http://gislason-kuhic.test/pricilla_sawayn
                          email: user1593@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Rerum eius et. 149368",
                            "fr"=>"<script>alert(\"user_about\");</script> Nihil
                            maiores est. 149369",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Aperiam in repellat. 149370"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:08Z'
                          updated_at: '2026-07-21T14:18:08Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3336'
                        type: user
                        attributes:
                          name: Ms. Laurence Wintheiser
                          nickname: dep8yh_1590
                          personal_url: http://kris.test/bradly_brakus
                          email: user1594@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Aliquid voluptatem corporis. 149371",
                            "fr"=>"<script>alert(\"user_about\");</script> Sed
                            et fugiat. 149372",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Aut amet tempore. 149373"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:08Z'
                          updated_at: '2026-07-21T14:18:08Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3337'
                        type: user
                        attributes:
                          name: Charmain King
                          nickname: t7moa1w_1591
                          personal_url: http://kling.test/raylene_kautzer
                          email: user1595@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script> A
                            architecto voluptatem. 149374",
                            "fr"=>"<script>alert(\"user_about\");</script> Magni
                            voluptates velit. 149375",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Voluptates adipisci nulla. 149376"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:08Z'
                          updated_at: '2026-07-21T14:18:08Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3338'
                        type: user
                        attributes:
                          name: Pres. Teodoro Treutel
                          nickname: 9k6f9udhme_1592
                          personal_url: http://aufderhar.test/mariana
                          email: user1596@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script> Aut
                            perspiciatis nam. 149377",
                            "fr"=>"<script>alert(\"user_about\");</script> Sit
                            doloribus consequatur. 149378",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Vel iste officia. 149379"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:08Z'
                          updated_at: '2026-07-21T14:18:08Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                user_fr:
                  value:
                    data:
                      - id: '3345'
                        type: user
                        attributes:
                          name: Tonita Feeney
                          nickname: t7x_1598
                          personal_url: http://mclaughlin.test/abdul.hansen
                          email: user1603@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Repudiandae saepe doloribus. 149422",
                            "fr"=>"<script>alert(\"user_about\");</script> Dolor
                            saepe et. 149423",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Et aut error. 149424"}}
                          extended_data: {}
                          locale: fr
                          created_at: '2026-07-21T14:18:09Z'
                          updated_at: '2026-07-21T14:18:09Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                ok:
                  value:
                    data:
                      - id: '3346'
                        type: user
                        attributes:
                          name: Rudolph Hessel
                          nickname: 9i6yuzk_1599
                          personal_url: http://mclaughlin.test/earnestine_pfannerstill
                          email: user1604@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script> Non
                            est mollitia. 149437",
                            "fr"=>"<script>alert(\"user_about\");</script> Iusto
                            in quos. 149438",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Voluptates autem officiis. 149439"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3347'
                        type: user
                        attributes:
                          name: Sage Crona V
                          nickname: flpr0h4_1600
                          personal_url: http://vandervort.test/lottie.hilpert
                          email: user1605@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Molestias eum et. 149440",
                            "fr"=>"<script>alert(\"user_about\");</script> Iste
                            quae rem. 149441",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Labore qui totam. 149442"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3348'
                        type: user
                        attributes:
                          name: Contessa Crona
                          nickname: f8bml5pc_1601
                          personal_url: http://koch.example/tonja
                          email: user1606@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script> Et
                            ipsam impedit. 149443",
                            "fr"=>"<script>alert(\"user_about\");</script>
                            Nostrum ea aliquid. 149444",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Voluptatem nostrum vel. 149445"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3349'
                        type: user
                        attributes:
                          name: Raul Kozey
                          nickname: p2xhqvg_1602
                          personal_url: http://harvey-cummerata.example/cleta_reichel
                          email: user1607@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Ipsam culpa eveniet. 149446",
                            "fr"=>"<script>alert(\"user_about\");</script>
                            Quaerat quasi vero. 149447",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Labore consequuntur nam. 149448"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3350'
                        type: user
                        attributes:
                          name: Roland Abernathy
                          nickname: dfpsp6b8kp_1603
                          personal_url: http://hessel-hartmann.test/frankie
                          email: user1608@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Temporibus quod necessitatibus. 149449",
                            "fr"=>"<script>alert(\"user_about\");</script>
                            Corrupti temporibus quis. 149450",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Expedita quam omnis. 149451"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3351'
                        type: user
                        attributes:
                          name: Herbert Cruickshank
                          nickname: 76hjrkwt32_1604
                          personal_url: http://rice-kutch.test/dylan
                          email: user1609@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Voluptas veniam blanditiis. 149452",
                            "fr"=>"<script>alert(\"user_about\");</script>
                            Molestiae omnis praesentium. 149453",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Perferendis libero velit. 149454"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:10Z'
                          updated_at: '2026-07-21T14:18:10Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                ok_paginated:
                  value:
                    data:
                      - id: '3352'
                        type: user
                        attributes:
                          name: Jamel Little
                          nickname: 3xpvvdr_1605
                          personal_url: http://prohaska.example/eboni
                          email: user1610@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Blanditiis velit eum. 149467",
                            "fr"=>"<script>alert(\"user_about\");</script> Et
                            quasi libero. 149468",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Delectus consequuntur eveniet. 149469"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:11Z'
                          updated_at: '2026-07-21T14:18:11Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3353'
                        type: user
                        attributes:
                          name: Kittie Buckridge Jr.
                          nickname: bk9b6ah_1606
                          personal_url: http://cole.test/jae
                          email: user1611@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Facilis totam velit. 149470",
                            "fr"=>"<script>alert(\"user_about\");</script> Rerum
                            ipsum provident. 149471",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Rem ut veniam. 149472"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:11Z'
                          updated_at: '2026-07-21T14:18:11Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
                      - id: '3354'
                        type: user
                        attributes:
                          name: Brendon Gerlach
                          nickname: '53_1607'
                          personal_url: http://senger.test/monnie
                          email: user1612@example.org
                          about: >-
                            {"en"=>"<script>alert(\"user_about\");</script>
                            Alias et necessitatibus. 149473",
                            "fr"=>"<script>alert(\"user_about\");</script> Ut
                            dolores sit. 149474",
                            "machine_translations"=>{"es"=>"<script>alert(\"user_about\");</script>
                            Pariatur debitis autem. 149475"}}
                          extended_data: {}
                          locale: en
                          created_at: '2026-07-21T14:18:11Z'
                          updated_at: '2026-07-21T14:18:11Z'
                        relationships:
                          roles:
                            data: []
                        meta:
                          blocked: false
                          locked: false
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /roles/sync:
    post:
      summary: Create role
      tags:
        - Roles
      operationId: createRole
      description: >-
        Create a role (general_admin or space_*). Mutates Decidim state (User
        admin, ParticipatoryProcessUserRole, AssemblyUserRole, AssemblyMember).
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - roles
      responses:
        '201':
          description: Role created (general_admin)
          content:
            application/json:
              examples:
                space_private_member_ok_conferences:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6Q29uZmVyZW5jZSIsInJlc291cmNlX2lkIjo0NSwidXNlcl9pZCI6MzM2MCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ByaXZhdGVfbWVtYmVyIn0
                      type: role
                      attributes:
                        type: space_private_member
                        user_id: 3360
                        resource_id: 45
                        resource_type: Decidim::Conference
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:34Z'
                        updated_at: '2026-07-21T14:18:34Z'
                space_administrator_ok_conferences:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6Q29uZmVyZW5jZSIsInJlc291cmNlX2lkIjo0NiwidXNlcl9pZCI6MzM2MSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                      type: role
                      attributes:
                        type: space_administrator
                        user_id: 3361
                        resource_id: 46
                        resource_type: Decidim::Conference
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:35Z'
                        updated_at: '2026-07-21T14:18:35Z'
                space_valuator_ok_conferences:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6Q29uZmVyZW5jZSIsInJlc291cmNlX2lkIjo0NywidXNlcl9pZCI6MzM2NCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ZhbHVhdG9yIn0
                      type: role
                      attributes:
                        type: space_valuator
                        user_id: 3364
                        resource_id: 47
                        resource_type: Decidim::Conference
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:35Z'
                        updated_at: '2026-07-21T14:18:35Z'
                space_moderator_ok_conferences:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6Q29uZmVyZW5jZSIsInJlc291cmNlX2lkIjo0OCwidXNlcl9pZCI6MzM2NSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX21vZGVyYXRvciJ9
                      type: role
                      attributes:
                        type: space_moderator
                        user_id: 3365
                        resource_id: 48
                        resource_type: Decidim::Conference
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:36Z'
                        updated_at: '2026-07-21T14:18:36Z'
                space_private_member_ok_assemblies:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6QXNzZW1ibHkiLCJyZXNvdXJjZV9pZCI6MTE2NCwidXNlcl9pZCI6MzM2OCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ByaXZhdGVfbWVtYmVyIn0
                      type: role
                      attributes:
                        type: space_private_member
                        user_id: 3368
                        resource_id: 1164
                        resource_type: Decidim::Assembly
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:37Z'
                        updated_at: '2026-07-21T14:18:37Z'
                space_administrator_ok_assemblies:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6QXNzZW1ibHkiLCJyZXNvdXJjZV9pZCI6MTE2NiwidXNlcl9pZCI6MzM2OSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                      type: role
                      attributes:
                        type: space_administrator
                        user_id: 3369
                        resource_id: 1166
                        resource_type: Decidim::Assembly
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:37Z'
                        updated_at: '2026-07-21T14:18:37Z'
                space_moderator_ok_assemblies:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6QXNzZW1ibHkiLCJyZXNvdXJjZV9pZCI6MTE2NywidXNlcl9pZCI6MzM3MiwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX21vZGVyYXRvciJ9
                      type: role
                      attributes:
                        type: space_moderator
                        user_id: 3372
                        resource_id: 1167
                        resource_type: Decidim::Assembly
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:38Z'
                        updated_at: '2026-07-21T14:18:38Z'
                space_valuator_ok_assemblies:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6QXNzZW1ibHkiLCJyZXNvdXJjZV9pZCI6MTE2OSwidXNlcl9pZCI6MzM3NSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ZhbHVhdG9yIn0
                      type: role
                      attributes:
                        type: space_valuator
                        user_id: 3375
                        resource_id: 1169
                        resource_type: Decidim::Assembly
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:38Z'
                        updated_at: '2026-07-21T14:18:38Z'
                space_moderator_ok_participatory_processes:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTYxOSwidXNlcl9pZCI6MzM3NiwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX21vZGVyYXRvciJ9
                      type: role
                      attributes:
                        type: space_moderator
                        user_id: 3376
                        resource_id: 1619
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:39Z'
                        updated_at: '2026-07-21T14:18:39Z'
                space_administrator_ok_participatory_processes:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTYyMSwidXNlcl9pZCI6MzM4MCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                      type: role
                      attributes:
                        type: space_administrator
                        user_id: 3380
                        resource_id: 1621
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:39Z'
                        updated_at: '2026-07-21T14:18:39Z'
                space_valuator_ok_participatory_processes:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTYyMywidXNlcl9pZCI6MzM4MSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ZhbHVhdG9yIn0
                      type: role
                      attributes:
                        type: space_valuator
                        user_id: 3381
                        resource_id: 1623
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:40Z'
                        updated_at: '2026-07-21T14:18:40Z'
                space_private_member_ok_participatory_processes:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTYyNSwidXNlcl9pZCI6MzM4NCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ByaXZhdGVfbWVtYmVyIn0
                      type: role
                      attributes:
                        type: space_private_member
                        user_id: 3384
                        resource_id: 1625
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:41Z'
                        updated_at: '2026-07-21T14:18:41Z'
                general_admin_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6T3JnYW5pemF0aW9uIiwicmVzb3VyY2VfaWQiOjEwMjEsInVzZXJfaWQiOjMzODYsImludml0ZWRfYXQiOm51bGwsInR5cGUiOiJnZW5lcmFsX2FkbWluIn0
                      type: role
                      attributes:
                        type: general_admin
                        user_id: 3386
                        resource_id: 1021
                        resource_type: Decidim::Organization
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:18:41Z'
                        updated_at: '2026-07-21T14:18:41Z'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '422':
          description: Validation error
          content:
            application/json:
              examples:
                invalid_type:
                  value:
                    errors:
                      - title: 'Invalid role type: invalid_type'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    attributes:
                      type: object
                      properties:
                        resource_type:
                          type: string
                          enum:
                            - Decidim::ParticipatoryProcess
                            - Decidim::Assembly
                            - Decidim::Conference
                            - Decidim::Initiative
                            - Decidim::Organization
                        resource_id:
                          type: integer
                        user_id:
                          type: integer
                        type:
                          type: string
                          enum:
                            - general_admin
                            - space_private_member
                            - space_administrator
                            - space_moderator
                            - space_valuator
                      required:
                        - resource_type
                        - resource_id
                        - user_id
                        - type
                  required:
                    - attributes
              required:
                - data
        required: true
  /oauth/introspect:
    post:
      summary: Introspect an OAuth token
      tags:
        - OAuth
      security:
        - credentialFlowBearer:
            - public
        - resourceOwnerFlowBearer:
            - public
      operationId: introspectToken
      description: >-
        Check token validity and get optional user/resource (RFC 7662). Send the
        token to introspect in the request body; use a valid Bearer token in
        Authorization.
      parameters: []
      responses:
        '200':
          description: User details returned
          content:
            application/json:
              examples:
                bearer_ropc:
                  value:
                    active: true
                    scope: public
                    client_id: 2-9981EkXj0mERNN9M_bJ205KcIDF3xFFcpBT_eb1Zs
                    token_type: Bearer
                    exp: 3571965494
                    iat: 1784643547
                    sub: 816
                    aud: https://1363.lvh.me
                    resource:
                      id: '3400'
                      type: user
                      attributes:
                        email: user1633@example.org
                        name: Warner Funk
                        created_at: '2026-07-21T14:19:07Z'
                        updated_at: '2026-07-21T14:19:07Z'
                        personal_url: http://gerlach.example/isiah.huels
                        locale: en
                      relationships: {}
                      meta:
                        blocked: false
                        locked: false
                bearer_client_credential:
                  value:
                    active: true
                    scope: public
                    client_id: NStEKqmV6Wa3fs1uYeyLXg_UXpLDq5hyIAJR98qU_TE
                    token_type: Bearer
                    exp: 3571965494
                    iat: 1784643547
                    sub: 820
                    aud: https://1364.lvh.me
              schema:
                $ref: '#/components/schemas/introspect_data'
        '401':
          description: When the authorization Bearer token is invalid
          content:
            application/json:
              examples:
                inactive_token:
                  value:
                    error: invalid_token
                    error_description: The access token is invalid
                    state: unauthorized
                expired_token:
                  value:
                    error: invalid_token
                    error_description: The access token expired
                    state: unauthorized
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: Introspect Token
              properties:
                token:
                  type: string
              required:
                - token
        required: true
  /organizations/{id}/extended_data/sync:
    put:
      summary: Update organization extended data
      tags:
        - Organizations Extended Data
      operationId: setOrganizationExtendedData
      description: >+
        The extended_data feature allows you to update a hash with recursive
        merging. Use the body payload with these keys:


        1. `data`: The value or hash you want to update.

        2. `object_path`: The dot-style path to the key (e.g., access.this.key).


        **Root path**<br />

        To update data from root of the hash, use `object_path="."`.


        Example:

        ```
          body={"data": {"name": "Jane"}, "object_path": "personnal"}
        ```

        This recursively merges data into the hash without removing existing
        keys.


        **Merge some data**<br />

        Initial hash:

        ```json
          {
            "personnal": {"birthday": "1989-05-18"}
          }
        ```

        Patch payload:

        ```json
          {
            "data": {
              "name": "Jane"
            },
            "object_path": "personnal"
          }
        ```

        Result:

        ```
          {
            "personnal": {"birthday": "1989-05-18", "name": "Jane"}
          }
        ```


        **Create new Paths**<br />

        Paths are created as needed.

        Exemple:

        ```json
          body = {"data": {"external_user_id": 12}, "object_path": "data-store.my-app.foo"}
        ```

        Result:

        ```json
          {
            "personnal": {"birthday": "1989-05-18"},
            "data-store": {"my-app": {"foo": {"external_user_id": 12}}}
          }
        ```

        Alternatively:

        ```
          body = {"data": 12, "object_path": "data-store.my-app.foo.external_user_id"}
        ```


        **Remove a key**<br />

        Set a key to null or an empty value to remove it.


        Example: Initial hash:

        ```json
          {
            "personnal": {"birthday": "1989-05-18", "name": "Jane"}
          }
        ```

        Patch:

        ```json
          body = {"data": {"birthday": ""}, "object_path": "personnal"}
        ```


        Result:

        ```

        {
          "personnal": {"name": "Jane"}
        }

        ```


        **Return Value**<br />

        The update request returns the updated value at the specified path.

      parameters:
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the organization
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - system
      responses:
        '200':
          description: Update extended data value
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization_extended_data'
              examples:
                ok:
                  value:
                    data:
                      foo: bar
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: User Extended Data Payload
              properties:
                data:
                  type: object
                  title: User Extended Data Data
                  description: New value for the extended data at the given path
                object_path:
                  type: string
                  description: >-
                    object path, in dot style, like foo.bar. use '.' to update
                    the whole user data
              required:
                - data
        required: true
  /roles:
    get:
      summary: List roles
      tags:
        - Roles
      operationId: listRoles
      description: >-
        List roles scoped to the current organization (from Decidim state: admin
        users, participatory space roles, assembly members)
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[user_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: user_id IN filter
            description: match one of _user_id_'s values in array
          required: false
        - name: filter[user_id_eq]
          in: query
          schema:
            type: integer
            title: user_id equal filter
            description: _user_id_ is equal to
          required: false
        - name: filter[user_id_lt]
          in: query
          schema:
            type: integer
            title: user_id less than filter
            description: _user_id_ is less than
          required: false
        - name: filter[user_id_gt]
          in: query
          schema:
            type: integer
            title: user_id greater than filter
            description: _user_id_ is greater than
          required: false
        - name: filter[user_id_present]
          in: query
          schema:
            type: boolean
            title: user_id present filter
            description: _user_id_ is not null and not empty
          required: false
        - name: filter[user_id_blank]
          in: query
          schema:
            type: boolean
            title: user_id blank filter
            description: _user_id_ is null or empty
          required: false
        - name: filter[resource_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: resource_id IN filter
            description: match one of _resource_id_'s values in array
          required: false
        - name: filter[resource_id_eq]
          in: query
          schema:
            type: integer
            title: resource_id equal filter
            description: _resource_id_ is equal to
          required: false
        - name: filter[resource_id_lt]
          in: query
          schema:
            type: integer
            title: resource_id less than filter
            description: _resource_id_ is less than
          required: false
        - name: filter[resource_id_gt]
          in: query
          schema:
            type: integer
            title: resource_id greater than filter
            description: _resource_id_ is greater than
          required: false
        - name: filter[resource_id_present]
          in: query
          schema:
            type: boolean
            title: resource_id present filter
            description: _resource_id_ is not null and not empty
          required: false
        - name: filter[resource_id_blank]
          in: query
          schema:
            type: boolean
            title: resource_id blank filter
            description: _resource_id_ is null or empty
          required: false
        - name: filter[resource_type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: resource_type not IN filter
            description: match none of _resource_type_'s values in array
          required: false
        - name: filter[resource_type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: resource_type IN filter
            description: match one of _resource_type_'s values in array
          required: false
        - name: filter[resource_type_start]
          in: query
          schema:
            type: string
            description: _resource_type_ starts with
            title: resource_type starts With filter
            example: some_string
          required: false
        - name: filter[resource_type_eq]
          in: query
          schema:
            type: string
            title: resource_type equal filter
            description: _resource_type_ is equal to
          required: false
        - name: filter[resource_type_not_eq]
          in: query
          schema:
            type: string
            title: resource_type not equal filter
            description: _resource_type_ is NOT equal to
          required: false
        - name: filter[resource_type_matches]
          in: query
          schema:
            type: string
            title: resource_type like filter
            description: matches _resource_type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[resource_type_blank]
          in: query
          schema:
            type: boolean
            title: resource_type blank filter
            description: _resource_type_ is null or empty
          required: false
        - name: filter[type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: type not IN filter
            description: match none of _type_'s values in array
          required: false
        - name: filter[type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: type IN filter
            description: match one of _type_'s values in array
          required: false
        - name: filter[type_start]
          in: query
          schema:
            type: string
            description: _type_ starts with
            title: type starts With filter
            example: some_string
          required: false
        - name: filter[type_eq]
          in: query
          schema:
            type: string
            title: type equal filter
            description: _type_ is equal to
          required: false
        - name: filter[type_not_eq]
          in: query
          schema:
            type: string
            title: type not equal filter
            description: _type_ is NOT equal to
          required: false
        - name: filter[type_matches]
          in: query
          schema:
            type: string
            title: type like filter
            description: matches _type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[type_blank]
          in: query
          schema:
            type: boolean
            title: type blank filter
            description: _type_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - roles
      responses:
        '200':
          description: Roles listed
          content:
            application/json:
              examples:
                filter_by_user_id:
                  value:
                    data:
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6T3JnYW5pemF0aW9uIiwicmVzb3VyY2VfaWQiOjEwOTAsInVzZXJfaWQiOjM0ODgsImludml0ZWRfYXQiOm51bGwsInR5cGUiOiJnZW5lcmFsX2FkbWluIn0
                        type: role
                        attributes:
                          type: general_admin
                          user_id: 3488
                          resource_id: 1090
                          resource_type: Decidim::Organization
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:26Z'
                          updated_at: '2026-07-21T14:20:26Z'
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTY3NywidXNlcl9pZCI6MzQ4OCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                        type: role
                        attributes:
                          type: space_administrator
                          user_id: 3488
                          resource_id: 1677
                          resource_type: Decidim::ParticipatoryProcess
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:26Z'
                          updated_at: '2026-07-21T14:20:26Z'
                filter_by_type:
                  value:
                    data:
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTY4MCwidXNlcl9pZCI6MzQ5MSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                        type: role
                        attributes:
                          type: space_administrator
                          user_id: 3491
                          resource_id: 1680
                          resource_type: Decidim::ParticipatoryProcess
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:27Z'
                          updated_at: '2026-07-21T14:20:27Z'
                filter_by_resource_type:
                  value:
                    data:
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTY4MSwidXNlcl9pZCI6MzQ5NCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                        type: role
                        attributes:
                          type: space_administrator
                          user_id: 3494
                          resource_id: 1681
                          resource_type: Decidim::ParticipatoryProcess
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:28Z'
                          updated_at: '2026-07-21T14:20:28Z'
                ok:
                  value:
                    data:
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6T3JnYW5pemF0aW9uIiwicmVzb3VyY2VfaWQiOjEwOTgsInVzZXJfaWQiOjM0OTYsImludml0ZWRfYXQiOm51bGwsInR5cGUiOiJnZW5lcmFsX2FkbWluIn0
                        type: role
                        attributes:
                          type: general_admin
                          user_id: 3496
                          resource_id: 1098
                          resource_type: Decidim::Organization
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:29Z'
                          updated_at: '2026-07-21T14:20:29Z'
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTY4MiwidXNlcl9pZCI6MzQ5NiwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                        type: role
                        attributes:
                          type: space_administrator
                          user_id: 3496
                          resource_id: 1682
                          resource_type: Decidim::ParticipatoryProcess
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:29Z'
                          updated_at: '2026-07-21T14:20:29Z'
                filter_by_participatory_space_and_type:
                  value:
                    data:
                      - id: >-
                          eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTY4MywidXNlcl9pZCI6MzQ5OCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                        type: role
                        attributes:
                          type: space_administrator
                          user_id: 3498
                          resource_id: 1683
                          resource_type: Decidim::ParticipatoryProcess
                          invited_at: null
                          accepted_invite: true
                          created_at: '2026-07-21T14:20:30Z'
                          updated_at: '2026-07-21T14:20:30Z'
              schema:
                $ref: '#/components/schemas/role_index_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /me/extended_data:
    get:
      summary: Get user extended data
      tags:
        - Users
      operationId: getUserExtendedData
      description: Fetch user extended data
      parameters:
        - name: object_path
          in: query
          required: true
          schema:
            type: string
            description: object path, in dot style, like foo.bar
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - oauth
      responses:
        '200':
          description: Extended Data for a given object_path given
          content:
            application/json:
              examples:
                empty:
                  value:
                    data: {}
                ok:
                  value:
                    data:
                      birthday: '1989-01-28'
                      personal:
                        birthday: '1989-01-28'
              schema:
                $ref: '#/components/schemas/user_extended_data'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /draft_proposals/sync:
    post:
      summary: Create draft proposal
      tags:
        - Draft Proposals
      operationId: createDraftProposal
      description: |
        Create a draft
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Draft updated
          content:
            application/json:
              examples:
                ok_empty:
                  value:
                    data:
                      id: '2451'
                      type: draft_proposal
                      attributes:
                        created_at: '2026-07-21T14:21:46Z'
                        updated_at: '2026-07-21T14:21:46Z'
                        title: {}
                        body: {}
                        errors:
                          title:
                            - Title cannot be blank
                          body:
                            - Body cannot be blank
                      relationships:
                        space:
                          data:
                            id: '1697'
                            type: participatory_processes
                        component:
                          data:
                            id: '5069'
                            type: proposal_component
                        author:
                          data:
                            id: '3520'
                            type: user
                        coauthors:
                          data:
                            - id: '3520'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1416.lvh.me/public/components/5069
                          title: >-
                            <script>alert("component_name");</script> At rerum
                            ipsam. 152320
                          rel: resource
                          meta:
                            space_id: '1697'
                            space_manifest: participatory_processes
                            component_id: '5069'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1416.lvh.me/api/rest_full/v0.3/proposals/2451
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5069'
                            component_manifest: proposals
                            space_id: '1697'
                            space_manifest: participatory_processes
                            resource_id: '2451'
                            action_method: GET
                        collection:
                          href: https://1416.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5069'
                            component_manifest: proposals
                            space_id: '1697'
                            space_manifest: participatory_processes
                            resource_id: '2451'
                            action_method: GET
                      meta:
                        publishable: false
                        client_id: sZ8346vjfok4g9VqdMsbKA9F-CHThOWHMMe7scsVsno
                        fields:
                          - title
                          - body
              schema:
                $ref: '#/components/schemas/draft_proposal_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: Create Draft Proposal Payload
              properties:
                data:
                  type: object
                  title: Draft Proposal Data
                  properties:
                    component_id:
                      type: integer
                      description: Component ID
                  required:
                    - component_id
                  description: Payload to update in the proposal
              required:
                - data
        required: true
  /oauth/token:
    post:
      summary: Request an OAuth token (ROPC)
      tags:
        - OAuth
      security: []
      operationId: createToken
      description: >-
        Create an OAuth token for the given scopes (password or
        client_credentials grant).
      parameters: []
      responses:
        '200':
          description: Token returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauth_token_response'
              examples:
                ok_ropc_login:
                  value:
                    access_token: in3ZId4MKQ0lAhOWqdnxeFT9Y9x57ulcV5a6s29W3tw
                    token_type: Bearer
                    expires_in: 7200
                    scope: public proposals
                    created_at: 1784644118
                ok_ropc_impersonate:
                  value:
                    access_token: oc_eYO2vtBIi14bMn-ZbB1IBJQbw4BGm8RJfAd3-2-4
                    token_type: Bearer
                    expires_in: 7200
                    scope: public
                    created_at: 1784644119
        '400':
          description: Bad Request when grant_type is invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                user_not_found:
                  value:
                    error: '400: Bad request'
                    error_description: >-
                      User not found. To create one, user
                      meta.register_on_missing
                invalid_username_on_register:
                  value:
                    error: '400: Bad request'
                    error_description: >-
                      User not found. To create one, user
                      meta.register_on_missing
                bad_request:
                  value:
                    error: '400: Bad request'
                    error_description: Invalid Api Client, check credentials
                invalid_grant_type:
                  value:
                    error: '400: Bad request'
                    error_description: Doorkeeper::Errors::InvalidTokenStrategy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/oauth_grant_param'
        required: true
  /organizations/{id}:
    get:
      summary: Organization
      tags:
        - Organizations
      operationId: getOrganization
      description: Show organization
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: id
          in: path
          required: true
          description: The ID of the organization
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - system
      responses:
        '200':
          description: Organization shown
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '1176'
                      type: organization
                      attributes:
                        host: 1422.lvh.me
                        secondary_hosts: []
                        default_locale: en
                        available_locales:
                          - en
                        enable_machine_translations: false
                        enable_participatory_space_filters: true
                        badges_enabled: true
                        rich_text_editor_in_public_views: false
                        comments_max_length: 1000
                        time_zone: UTC
                        users_registration_mode: enabled
                        user_groups_enabled: true
                        force_users_to_authenticate_before_access_organization: false
                        reference_prefix: I
                        send_welcome_notification: true
                        name:
                          en: Senger, Ferry and Dicki
                          fr: Larkin, Nikolaus and Hodkiewicz
                        description:
                          en: >-
                            <p><script>alert("organization_description");</script>
                            Explicabo maiores dolores. 152413</p>
                          fr: >-
                            <p><script>alert("organization_description");</script>
                            Illo dolore id. 152414</p>
                        extended_data: {}
                        created_at: '2026-07-21T14:22:57Z'
                        updated_at: '2026-07-21T14:22:57Z'
                      meta:
                        locales:
                          - en
                          - fr
              schema:
                $ref: '#/components/schemas/organization_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Organization Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                not_found:
                  value:
                    error: '404: Record not found'
                    error_description: Record not found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /proposals/{id}:
    get:
      summary: Proposal Details
      tags:
        - Proposals
      security:
        - resourceOwnerFlowBearer:
            - proposals
      operationId: getProposal
      description: Proposal detail
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: space_manifest
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            description: Space type
          required: false
        - name: space_id
          in: query
          schema:
            type: integer
            description: Space Id
          required: false
        - name: component_id
          in: query
          schema:
            type: integer
            description: Component Id
          required: false
        - name: filter[voted_weight_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: voted_weight not IN filter
            description: match none of _voted_weight_'s values in array
          required: false
        - name: filter[voted_weight_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: voted_weight IN filter
            description: match one of _voted_weight_'s values in array
          required: false
        - name: filter[voted_weight_start]
          in: query
          schema:
            type: string
            description: _voted_weight_ starts with
            title: voted_weight starts With filter
            example: some_string
          required: false
        - name: filter[voted_weight_eq]
          in: query
          schema:
            type: string
            title: voted_weight equal filter
            description: _voted_weight_ is equal to
          required: false
        - name: filter[voted_weight_not_eq]
          in: query
          schema:
            type: string
            title: voted_weight not equal filter
            description: _voted_weight_ is NOT equal to
          required: false
        - name: filter[voted_weight_matches]
          in: query
          schema:
            type: string
            title: voted_weight like filter
            description: matches _voted_weight_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[voted_weight_blank]
          in: query
          schema:
            type: boolean
            title: voted_weight blank filter
            description: _voted_weight_ is null or empty
          required: false
        - name: filter[state_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: state not IN filter
            description: match none of _state_'s values in array
          required: false
        - name: filter[state_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: state IN filter
            description: match one of _state_'s values in array
          required: false
        - name: filter[state_start]
          in: query
          schema:
            type: string
            description: _state_ starts with
            title: state starts With filter
            example: some_string
          required: false
        - name: filter[state_eq]
          in: query
          schema:
            type: string
            title: state equal filter
            description: _state_ is equal to
          required: false
        - name: filter[state_not_eq]
          in: query
          schema:
            type: string
            title: state not equal filter
            description: _state_ is NOT equal to
          required: false
        - name: filter[state_matches]
          in: query
          schema:
            type: string
            title: state like filter
            description: matches _state_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[state_blank]
          in: query
          schema:
            type: boolean
            title: state blank filter
            description: _state_ is null or empty
          required: false
        - name: order
          in: query
          schema:
            type: string
          description: Order by
          required: false
        - name: order_direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: Order direction
          required: false
        - name: id
          in: path
          schema:
            type: integer
            description: Proposal Id
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Proposal Found
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '2529'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:23:41Z'
                        updated_at: '2026-07-21T14:23:41Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Doloribus
                            aut repellat. 154264
                          fr: >-
                            <script>alert("proposal_title");</script>
                            Repellendus accusamus possimus. 154265
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script> Est
                            velit velit. 154267</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Tempora
                            temporibus iusto. 154268</p>
                      relationships:
                        space:
                          data:
                            id: '1765'
                            type: participatory_processes
                        component:
                          data:
                            id: '5126'
                            type: proposal_component
                        author:
                          data:
                            id: '3638'
                            type: user
                        coauthors:
                          data:
                            - id: '3638'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1447.lvh.me/public/components/5126
                          title: >-
                            <script>alert("component_name");</script> Quibusdam
                            consequatur unde. 154255
                          rel: resource
                          meta:
                            space_id: '1765'
                            space_manifest: participatory_processes
                            component_id: '5126'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1447.lvh.me/api/rest_full/v0.3/proposals/2529
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5126'
                            component_manifest: proposals
                            space_id: '1765'
                            space_manifest: participatory_processes
                            resource_id: '2529'
                            action_method: GET
                        collection:
                          href: https://1447.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5126'
                            component_manifest: proposals
                            space_id: '1765'
                            space_manifest: participatory_processes
                            resource_id: '2529'
                            action_method: GET
                      meta:
                        published: true
                accepted_proposal:
                  value:
                    data:
                      id: '2531'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:23:43Z'
                        updated_at: '2026-07-21T14:23:43Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Omnis
                            repellat voluptatem. 154345
                          fr: >-
                            <script>alert("proposal_title");</script> Nihil
                            voluptatum fugiat. 154346
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script>
                            Quibusdam perferendis sit. 154348</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Laborum
                            est accusantium. 154349</p>
                      relationships:
                        space:
                          data:
                            id: '1766'
                            type: participatory_processes
                        component:
                          data:
                            id: '5127'
                            type: proposal_component
                        state:
                          data:
                            id: '3236'
                            type: proposal_state
                          meta:
                            token: accepted
                        author:
                          data:
                            id: '3640'
                            type: user
                        coauthors:
                          data:
                            - id: '3640'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1448.lvh.me/public/components/5127
                          title: >-
                            <script>alert("component_name");</script> Totam eum
                            qui. 154321
                          rel: resource
                          meta:
                            space_id: '1766'
                            space_manifest: participatory_processes
                            component_id: '5127'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1448.lvh.me/api/rest_full/v0.3/proposals/2531
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5127'
                            component_manifest: proposals
                            space_id: '1766'
                            space_manifest: participatory_processes
                            resource_id: '2531'
                            action_method: GET
                        collection:
                          href: https://1448.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5127'
                            component_manifest: proposals
                            space_id: '1766'
                            space_manifest: participatory_processes
                            resource_id: '2531'
                            action_method: GET
                        prev:
                          href: >-
                            https://1448.lvh.me/api/rest_full/v0.3/proposals/2530
                          title: Previous Proposal
                          rel: resource
                          meta:
                            component_id: '5127'
                            component_manifest: proposals
                            space_id: '1766'
                            space_manifest: participatory_processes
                            resource_id: '2530'
                            action_method: GET
                      meta:
                        published: true
                navigation_last_accepted:
                  value:
                    data:
                      id: '2519'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:23:38Z'
                        updated_at: '2026-07-21T14:23:38Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> In quasi
                            non. 153943
                          fr: >-
                            <script>alert("proposal_title");</script> Minus
                            excepturi dignissimos. 153944
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script> Voluptas
                            saepe tempore. 153946</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Quod
                            nesciunt ipsa. 153947</p>
                      relationships:
                        space:
                          data:
                            id: '1762'
                            type: participatory_processes
                        component:
                          data:
                            id: '5121'
                            type: proposal_component
                        state:
                          data:
                            id: '3218'
                            type: proposal_state
                          meta:
                            token: accepted
                        author:
                          data:
                            id: '3628'
                            type: user
                        coauthors:
                          data:
                            - id: '3628'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1444.lvh.me/public/components/5121
                          title: >-
                            <script>alert("component_name");</script>
                            Perferendis perspiciatis repellendus. 153904
                          rel: resource
                          meta:
                            space_id: '1762'
                            space_manifest: participatory_processes
                            component_id: '5121'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1444.lvh.me/api/rest_full/v0.3/proposals/2519
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5121'
                            component_manifest: proposals
                            space_id: '1762'
                            space_manifest: participatory_processes
                            resource_id: '2519'
                            action_method: GET
                        collection:
                          href: https://1444.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5121'
                            component_manifest: proposals
                            space_id: '1762'
                            space_manifest: participatory_processes
                            resource_id: '2519'
                            action_method: GET
                        prev:
                          href: >-
                            https://1444.lvh.me/api/rest_full/v0.3/proposals/2518
                          title: Previous Proposal
                          rel: resource
                          meta:
                            component_id: '5121'
                            component_manifest: proposals
                            space_id: '1762'
                            space_manifest: participatory_processes
                            resource_id: '2518'
                            action_method: GET
                      meta:
                        published: true
                navigation_non_rejected:
                  value:
                    data:
                      id: '2514'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:23:37Z'
                        updated_at: '2026-07-21T14:23:37Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Quas
                            accusamus et. 153817
                          fr: >-
                            <script>alert("proposal_title");</script> Voluptates
                            eum impedit. 153818
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script> Rerum
                            fuga vitae. 153820</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Rerum
                            perferendis exercitationem. 153821</p>
                      relationships:
                        space:
                          data:
                            id: '1761'
                            type: participatory_processes
                        component:
                          data:
                            id: '5120'
                            type: proposal_component
                        state:
                          data:
                            id: '3215'
                            type: proposal_state
                          meta:
                            token: accepted
                        author:
                          data:
                            id: '3623'
                            type: user
                        coauthors:
                          data:
                            - id: '3623'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1443.lvh.me/public/components/5120
                          title: >-
                            <script>alert("component_name");</script> Fuga
                            ratione blanditiis. 153793
                          rel: resource
                          meta:
                            space_id: '1761'
                            space_manifest: participatory_processes
                            component_id: '5120'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1443.lvh.me/api/rest_full/v0.3/proposals/2514
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5120'
                            component_manifest: proposals
                            space_id: '1761'
                            space_manifest: participatory_processes
                            resource_id: '2514'
                            action_method: GET
                        collection:
                          href: https://1443.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5120'
                            component_manifest: proposals
                            space_id: '1761'
                            space_manifest: participatory_processes
                            resource_id: '2514'
                            action_method: GET
                        next:
                          href: >-
                            https://1443.lvh.me/api/rest_full/v0.3/proposals/2516
                          title: Next Proposal
                          rel: resource
                          meta:
                            component_id: '5120'
                            component_manifest: proposals
                            space_id: '1761'
                            space_manifest: participatory_processes
                            resource_id: '2516'
                            action_method: GET
                        prev:
                          href: >-
                            https://1443.lvh.me/api/rest_full/v0.3/proposals/2513
                          title: Previous Proposal
                          rel: resource
                          meta:
                            component_id: '5120'
                            component_manifest: proposals
                            space_id: '1761'
                            space_manifest: participatory_processes
                            resource_id: '2513'
                            action_method: GET
                      meta:
                        published: true
                ok_drafts:
                  value:
                    data:
                      id: '2505'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:23:31Z'
                        updated_at: '2026-07-21T14:23:31Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Molestias
                            voluptas voluptatem. 153319
                          fr: >-
                            <script>alert("proposal_title");</script>
                            Consequatur odit eaque. 153320
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script> Dolore
                            autem et. 153322</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Harum
                            maiores dignissimos. 153323</p>
                      relationships:
                        space:
                          data:
                            id: '1754'
                            type: participatory_processes
                        component:
                          data:
                            id: '5113'
                            type: proposal_component
                        author:
                          data:
                            id: '3610'
                            type: user
                        coauthors:
                          data:
                            - id: '3610'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1436.lvh.me/public/components/5113
                          title: >-
                            <script>alert("component_name");</script> Rerum
                            repudiandae qui. 153295
                          rel: resource
                          meta:
                            space_id: '1754'
                            space_manifest: participatory_processes
                            component_id: '5113'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1436.lvh.me/api/rest_full/v0.3/proposals/2505
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5113'
                            component_manifest: proposals
                            space_id: '1754'
                            space_manifest: participatory_processes
                            resource_id: '2505'
                            action_method: GET
                        collection:
                          href: https://1436.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5113'
                            component_manifest: proposals
                            space_id: '1754'
                            space_manifest: participatory_processes
                            resource_id: '2505'
                            action_method: GET
                        prev:
                          href: >-
                            https://1436.lvh.me/api/rest_full/v0.3/proposals/2504
                          title: Previous Proposal
                          rel: resource
                          meta:
                            component_id: '5113'
                            component_manifest: proposals
                            space_id: '1754'
                            space_manifest: participatory_processes
                            resource_id: '2504'
                            action_method: GET
                      meta:
                        published: false
              schema:
                $ref: '#/components/schemas/proposal_item_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /questionnaires:
    get:
      summary: Questionnaires index
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: listQuestionnaires
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Questionnaires list
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '1824'
                        type: questionnaires
                        attributes:
                          title: >-
                            <script>alert("questionnaire_title");</script>
                            Aspernatur non odit. 154474
                          description: >-
                            <p><script>alert("questionnaire_description");</script>
                            Qui corporis repellendus. 154477</p>
                          updated_at: '2026-07-21T14:23:52Z'
                        links:
                          self:
                            href: https://1450.lvh.me/api/questionnaires/1824
                            rel: self
                            meta:
                              action_method: GET
                          submit:
                            href: https://1450.lvh.me/api/answers
                            rel: submit
                            meta:
                              action_method: POST
                              questionnaire_id: '1824'
                          submit_sync:
                            href: https://1450.lvh.me/api/answers/sync
                            rel: submit_sync
                            meta:
                              action_method: POST
                          questions:
                            href: >-
                              https://1450.lvh.me/api/questions?filter[questionnaire_id]=1824
                            rel: questions
                            meta:
                              action_method: GET
                        meta:
                          locale: en
                          requested_locale: en
                          fallback_from: null
              schema:
                $ref: '#/components/schemas/questionnaire_index_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /questionnaire_responses/{id}:
    get:
      summary: Show questionnaire response
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: getQuestionnaireResponse
      description: Read a submission bundle (aggregate of Decidim::Forms::Answer rows).
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Questionnaire response
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '8'
                      type: questionnaire_response
                      attributes:
                        answers:
                          '438': Stored answer
                        client_ip: null
                      relationships:
                        questionnaire:
                          data:
                            id: '1852'
                            type: questionnaires
                      links:
                        self:
                          href: https://1506.lvh.me/api/questionnaire_responses/8
                          rel: self
                          meta:
                            action_method: GET
                      meta:
                        locale: en
                        requested_locale: en
                        fallback_from: null
                        user: null
                        created_at: '2026-07-21T14:24:19Z'
              schema:
                $ref: '#/components/schemas/questionnaire_response_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /answers/sync:
    post:
      summary: Submit answers synchronously
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: createAnswers
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '201':
          description: Created questionnaire response
          content:
            application/json:
              examples:
                created:
                  value:
                    data:
                      id: '11'
                      type: questionnaire_response
                      attributes:
                        answers:
                          '474': Test answer
                          '475': null
                          '476': null
                        client_ip: '504062477794058632118587'
                      relationships:
                        questionnaire:
                          data:
                            id: '1876'
                            type: questionnaires
                      links:
                        self:
                          href: https://1538.lvh.me/api/questionnaire_responses/11
                          rel: self
                          meta:
                            action_method: GET
                      meta:
                        locale: en
                        requested_locale: en
                        fallback_from: null
                        user: null
                        created_at: '2026-07-21T14:24:45Z'
              schema:
                $ref: '#/components/schemas/questionnaire_response_item_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/questionnaire_answers_create_body'
        required: true
  /roles/{id}:
    get:
      summary: Show role
      tags:
        - Roles
      operationId: getRole
      description: Show a single role by id (composite id from Decidim state)
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            The composite role ID (base64url-encoded JSON of resource_type,
            resource_id, user_id, invited_at, type)
          schema:
            type: string
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - roles
      responses:
        '200':
          description: Role shown (general_admin)
          content:
            application/json:
              examples:
                space_valuator_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTg0OSwidXNlcl9pZCI6MzY1MywiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ZhbHVhdG9yIn0
                      type: role
                      attributes:
                        type: space_valuator
                        user_id: 3653
                        resource_id: 1849
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:25:10Z'
                        updated_at: '2026-07-21T14:25:10Z'
                space_private_member_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTg1MiwidXNlcl9pZCI6MzY1OCwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX3ByaXZhdGVfbWVtYmVyIn0
                      type: role
                      attributes:
                        type: space_private_member
                        user_id: 3658
                        resource_id: 1852
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:25:12Z'
                        updated_at: '2026-07-21T14:25:12Z'
                space_administrator_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTg1OCwidXNlcl9pZCI6MzY2OSwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX2FkbWluaXN0cmF0b3IifQ
                      type: role
                      attributes:
                        type: space_administrator
                        user_id: 3669
                        resource_id: 1858
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:25:14Z'
                        updated_at: '2026-07-21T14:25:14Z'
                space_moderator_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6UGFydGljaXBhdG9yeVByb2Nlc3MiLCJyZXNvdXJjZV9pZCI6MTg1OSwidXNlcl9pZCI6MzY3MiwiaW52aXRlZF9hdCI6bnVsbCwidHlwZSI6InNwYWNlX21vZGVyYXRvciJ9
                      type: role
                      attributes:
                        type: space_moderator
                        user_id: 3672
                        resource_id: 1859
                        resource_type: Decidim::ParticipatoryProcess
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:25:15Z'
                        updated_at: '2026-07-21T14:25:15Z'
                general_admin_ok:
                  value:
                    data:
                      id: >-
                        eyJyZXNvdXJjZV90eXBlIjoiRGVjaWRpbTo6T3JnYW5pemF0aW9uIiwicmVzb3VyY2VfaWQiOjEzNDMsInVzZXJfaWQiOjM2NzksImludml0ZWRfYXQiOm51bGwsInR5cGUiOiJnZW5lcmFsX2FkbWluIn0
                      type: role
                      attributes:
                        type: general_admin
                        user_id: 3679
                        resource_id: 1343
                        resource_type: Decidim::Organization
                        invited_at: null
                        accepted_invite: true
                        created_at: '2026-07-21T14:25:16Z'
                        updated_at: '2026-07-21T14:25:16Z'
              schema:
                $ref: '#/components/schemas/role_item_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '404':
          description: Role Not Found
          content:
            application/json:
              examples:
                not_found_other_org:
                  value:
                    error: '404: Resource not found'
                    error_description: Resource not found
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /components/proposal_components:
    get:
      summary: Proposal Components
      tags:
        - Components
      operationId: listProposalComponents
      description: List or search proposal components of the organization
      parameters:
        - name: filter[name_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name not IN filter
            description: match none of _name_'s values in array
          required: false
        - name: filter[name_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: name IN filter
            description: match one of _name_'s values in array
          required: false
        - name: filter[name_start]
          in: query
          schema:
            type: string
            description: _name_ starts with
            title: name starts With filter
            example: some_string
          required: false
        - name: filter[name_eq]
          in: query
          schema:
            type: string
            title: name equal filter
            description: _name_ is equal to
          required: false
        - name: filter[name_not_eq]
          in: query
          schema:
            type: string
            title: name not equal filter
            description: _name_ is NOT equal to
          required: false
        - name: filter[name_matches]
          in: query
          schema:
            type: string
            title: name like filter
            description: matches _name_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[name_blank]
          in: query
          schema:
            type: boolean
            title: name blank filter
            description: _name_ is null or empty
          required: false
        - name: filter[participatory_space_type_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              example: Decidim::Assembly
            title: participatory_space_type not IN filter
            description: match none of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
              example: Decidim::Assembly
            title: participatory_space_type IN filter
            description: match one of _participatory_space_type_'s values in array
          required: false
        - name: filter[participatory_space_type_start]
          in: query
          schema:
            type: string
            description: _participatory_space_type_ starts with
            title: participatory_space_type starts With filter
            example: some_string
          required: false
        - name: filter[participatory_space_type_eq]
          in: query
          schema:
            type: string
            example: Decidim::Assembly
            title: participatory_space_type equal filter
            description: _participatory_space_type_ is equal to
          required: false
        - name: filter[participatory_space_type_not_eq]
          in: query
          schema:
            type: string
            example: Decidim::Assembly
            title: participatory_space_type not equal filter
            description: _participatory_space_type_ is NOT equal to
          required: false
        - name: filter[participatory_space_type_matches]
          in: query
          schema:
            type: string
            title: participatory_space_type like filter
            description: matches _participatory_space_type_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[participatory_space_type_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_type blank filter
            description: _participatory_space_type_ is null or empty
          required: false
        - name: filter[participatory_space_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: participatory_space_id IN filter
            description: match one of _participatory_space_id_'s values in array
          required: false
        - name: filter[participatory_space_id_eq]
          in: query
          schema:
            type: string
            title: participatory_space_id equal filter
            description: _participatory_space_id_ is equal to
          required: false
        - name: filter[participatory_space_id_lt]
          in: query
          schema:
            type: string
            title: participatory_space_id less than filter
            description: _participatory_space_id_ is less than
          required: false
        - name: filter[participatory_space_id_gt]
          in: query
          schema:
            type: string
            title: participatory_space_id greater than filter
            description: _participatory_space_id_ is greater than
          required: false
        - name: filter[participatory_space_id_present]
          in: query
          schema:
            type: boolean
            title: participatory_space_id present filter
            description: _participatory_space_id_ is not null and not empty
          required: false
        - name: filter[participatory_space_id_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_id blank filter
            description: _participatory_space_id_ is null or empty
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - public
      responses:
        '200':
          description: List of proposal components
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '5206'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1881'
                          name:
                            en: >-
                              <script>alert("component_name");</script> A
                              repellat velit. 164113
                            fr: >-
                              <script>alert("component_name");</script> Est sit
                              voluptatem. 164114
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:01Z'
                          updated_at: '2026-07-21T14:26:01Z'
                        relationships:
                          resources:
                            data:
                              - id: '2591'
                                type: proposal
                              - id: '2592'
                                type: proposal
                              - id: '2593'
                                type: proposal
                            meta:
                              count: 3
                        links:
                          self:
                            href: >-
                              https://1601.lvh.me/components/proposal_components/5206
                            title: >-
                              <script>alert("component_name");</script> A
                              repellat velit. 164113
                            rel: resource
                            meta:
                              space_id: '1881'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1601.lvh.me/spaces/participatory_processes/1881
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Porro eos esse. 164074
                            rel: resource
                            meta:
                              space_id: '1881'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '5207'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1881'
                          name:
                            en: <script>alert("proposals");</script> Proposals
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:01Z'
                          updated_at: '2026-07-21T14:26:01Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://1601.lvh.me/components/proposal_components/5207
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1881'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1601.lvh.me/spaces/participatory_processes/1881
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Porro eos esse. 164074
                            rel: resource
                            meta:
                              space_id: '1881'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 0
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: true
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                paginated:
                  value:
                    data:
                      - id: '5193'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::Assembly
                          participatory_space_id: '1195'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Qui
                              voluptatem ut. 163621
                            fr: >-
                              <script>alert("component_name");</script> Magnam
                              nam rem. 163622
                          global_announcement: {}
                          created_at: '2026-07-21T14:25:58Z'
                          updated_at: '2026-07-21T14:25:58Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://1598.lvh.me/components/proposal_components/5193
                            title: >-
                              <script>alert("component_name");</script> Qui
                              voluptatem ut. 163621
                            rel: resource
                            meta:
                              space_id: '1195'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://1598.lvh.me/spaces/assemblies/1195
                            title: >-
                              <script>alert("assembly_title");</script> Ea optio
                              repudiandae. 163480
                            rel: resource
                            meta:
                              space_id: '1195'
                              space_manifest: assemblies
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '5194'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::Assembly
                          participatory_space_id: '1195'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Et
                              aperiam magni. 163630
                            fr: >-
                              <script>alert("component_name");</script> Aut
                              doloremque illo. 163631
                          global_announcement: {}
                          created_at: '2026-07-21T14:25:58Z'
                          updated_at: '2026-07-21T14:25:58Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://1598.lvh.me/components/proposal_components/5194
                            title: >-
                              <script>alert("component_name");</script> Et
                              aperiam magni. 163630
                            rel: resource
                            meta:
                              space_id: '1195'
                              space_manifest: assemblies
                              action_method: GET
                          related:
                            href: https://1598.lvh.me/spaces/assemblies/1195
                            title: >-
                              <script>alert("assembly_title");</script> Ea optio
                              repudiandae. 163480
                            rel: resource
                            meta:
                              space_id: '1195'
                              space_manifest: assemblies
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                components_in_Process:
                  value:
                    data:
                      - id: '5208'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1882'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Repellat
                              accusantium tempore. 164269
                            fr: >-
                              <script>alert("component_name");</script>
                              Veritatis rerum nobis. 164270
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:02Z'
                          updated_at: '2026-07-21T14:26:03Z'
                        relationships:
                          resources:
                            data:
                              - id: '2594'
                                type: proposal
                              - id: '2595'
                                type: proposal
                              - id: '2596'
                                type: proposal
                            meta:
                              count: 3
                        links:
                          self:
                            href: >-
                              https://1602.lvh.me/components/proposal_components/5208
                            title: >-
                              <script>alert("component_name");</script> Repellat
                              accusantium tempore. 164269
                            rel: resource
                            meta:
                              space_id: '1882'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1602.lvh.me/spaces/participatory_processes/1882
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eaque beatae sunt. 164230
                            rel: resource
                            meta:
                              space_id: '1882'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '5209'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1882'
                          name:
                            en: <script>alert("proposals");</script> Proposals
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:03Z'
                          updated_at: '2026-07-21T14:26:03Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://1602.lvh.me/components/proposal_components/5209
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1882'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1602.lvh.me/spaces/participatory_processes/1882
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Eaque beatae sunt. 164230
                            rel: resource
                            meta:
                              space_id: '1882'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 0
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: true
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                ok_with_draft:
                  value:
                    data:
                      - id: '5210'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1883'
                          name:
                            en: >-
                              <script>alert("component_name");</script>
                              Distinctio omnis in. 164425
                            fr: >-
                              <script>alert("component_name");</script> Modi
                              sapiente omnis. 164426
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:04Z'
                          updated_at: '2026-07-21T14:26:04Z'
                        relationships:
                          resources:
                            data:
                              - id: '2598'
                                type: proposal
                              - id: '2597'
                                type: proposal
                              - id: '2599'
                                type: proposal
                            meta:
                              count: 3
                        links:
                          self:
                            href: >-
                              https://1603.lvh.me/components/proposal_components/5210
                            title: >-
                              <script>alert("component_name");</script>
                              Distinctio omnis in. 164425
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1603.lvh.me/spaces/participatory_processes/1883
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Repudiandae numquam quis. 164386
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '5211'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1883'
                          name:
                            en: <script>alert("proposals");</script> Proposals
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:04Z'
                          updated_at: '2026-07-21T14:26:04Z'
                        relationships:
                          resources:
                            data: []
                            meta:
                              count: 0
                        links:
                          self:
                            href: >-
                              https://1603.lvh.me/components/proposal_components/5211
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1603.lvh.me/spaces/participatory_processes/1883
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Repudiandae numquam quis. 164386
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 0
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: true
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
                      - id: '5212'
                        type: proposal_component
                        attributes:
                          manifest_name: proposals
                          participatory_space_type: Decidim::ParticipatoryProcess
                          participatory_space_id: '1883'
                          name:
                            en: >-
                              <script>alert("component_name");</script> Numquam
                              ad porro. 164482
                            fr: >-
                              <script>alert("component_name");</script> Qui qui
                              pariatur. 164483
                          global_announcement: {}
                          created_at: '2026-07-21T14:26:04Z'
                          updated_at: '2026-07-21T14:26:04Z'
                        relationships:
                          resources:
                            data:
                              - id: '2600'
                                type: proposal
                            meta:
                              count: 1
                        links:
                          self:
                            href: >-
                              https://1603.lvh.me/components/proposal_components/5212
                            title: >-
                              <script>alert("component_name");</script> Numquam
                              ad porro. 164482
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                          related:
                            href: >-
                              https://1603.lvh.me/spaces/participatory_processes/1883
                            title: >-
                              <script>alert("participatory_process_title");</script>
                              Repudiandae numquam quis. 164386
                            rel: resource
                            meta:
                              space_id: '1883'
                              space_manifest: participatory_processes
                              action_method: GET
                          draft:
                            href: >-
                              https://1603.lvh.me/api/rest_full/v0.3/draft_proposals/2600
                            title: Draft Details
                            rel: resource
                            meta:
                              component_id: '5212'
                              component_manifest: proposals
                              space_id: '1883'
                              space_manifest: participatory_processes
                              resource_id: '2600'
                              action_method: GET
                        meta:
                          published: true
                          scopes_enabled: false
                          amendments_enabled: false
                          attachments_allowed: false
                          collaborative_drafts_enabled: false
                          comments_enabled: true
                          comments_max_length: 1000
                          default_sort_order: default
                          geocoding_enabled: false
                          minimum_votes_per_user: 0
                          official_proposals_enabled: true
                          participatory_texts_enabled: false
                          proposal_edit_before_minutes: 5
                          proposal_edit_time: limited
                          proposal_limit: 0
                          resources_permissions_enabled: true
                          threshold_per_proposal: 0
                          vote_limit: 0
                          endorsements_enabled: true
                          votes_enabled: false
                          creation_enabled: false
                          proposal_answering_enabled: true
                          amendment_creation_enabled: true
                          amendment_reaction_enabled: true
                          amendment_promotion_enabled: true
                          can_create_proposals: false
                          can_vote: false
                          can_endorse: true
                          can_comment: true
              schema:
                $ref: '#/components/schemas/proposal_component_index_response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /questionnaires/{id}/sync:
    put:
      summary: Update questionnaire metadata (sync)
      tags:
        - Forms
      security:
        - credentialFlowBearer:
            - surveys
      operationId: updateQuestionnaire
      description: Update questionnaire title, description, or terms of service inline.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      responses:
        '200':
          description: Questionnaire updated
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '1904'
                      type: questionnaires
                      attributes:
                        title: Updated questionnaire title
                        description: >-
                          <p><script>alert("questionnaire_description");</script>
                          Et ad ducimus. 164554</p>
                        schema:
                          type: object
                          properties:
                            '516':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Porro itaque excepturi. 164596
                            '517':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Suscipit quas animi. 164647
                            '518':
                              type: string
                              title: >-
                                <script>alert("questionnaire_question_body");</script>
                                Sed ab nihil. 164698
                              enum:
                                - '256'
                                - '257'
                                - '258'
                          required: []
                        ui:
                          type: VerticalLayout
                          elements:
                            - type: Control
                              scope: '#/properties/516'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Porro itaque excepturi. 164596
                            - type: Control
                              scope: '#/properties/517'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Suscipit quas animi. 164647
                            - type: Control
                              scope: '#/properties/518'
                              label: >-
                                <script>alert("questionnaire_question_body");</script>
                                Sed ab nihil. 164698
                              options:
                                choices:
                                  - id: '256'
                                    translations:
                                      en: Sit et quidem. 164800
                                      fr: Qui itaque accusantium. 164801
                                      machine_translations:
                                        es: Aspernatur qui assumenda. 164802
                                  - id: '257'
                                    translations:
                                      en: Qui sint architecto. 164854
                                      fr: Quos ducimus eos. 164855
                                      machine_translations:
                                        es: Saepe repudiandae qui. 164856
                                  - id: '258'
                                    translations:
                                      en: Voluptates minima officia. 164908
                                      fr: Consequuntur eaque assumenda. 164909
                                      machine_translations:
                                        es: Ratione ut numquam. 164910
                        updated_at: '2026-07-21T14:26:08Z'
                      links:
                        self:
                          href: https://1604.lvh.me/api/questionnaires/1904
                          rel: self
                          meta:
                            action_method: GET
                        submit:
                          href: https://1604.lvh.me/api/answers
                          rel: submit
                          meta:
                            action_method: POST
                            questionnaire_id: '1904'
                        submit_sync:
                          href: https://1604.lvh.me/api/answers/sync
                          rel: submit_sync
                          meta:
                            action_method: POST
                        questions:
                          href: >-
                            https://1604.lvh.me/api/questions?filter[questionnaire_id]=1904
                          rel: questions
                          meta:
                            action_method: GET
                      meta:
                        locale: en
                        requested_locale: en
                        fallback_from: null
                        submission:
                          allows_anonymous: true
                          requires_participant_ip: true
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/questionnaire_update_body'
        required: true
  /proposals:
    get:
      summary: Proposals
      tags:
        - Proposals
      operationId: listProposals
      description: Search proposals
      parameters:
        - name: locales[]
          in: query
          style: form
          explode: true
          schema:
            type: array
            title: Available locales
            description: List of locale codes the organization exposes.
            items:
              $ref: '#/components/schemas/locale'
          required: false
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: space_manifest
          in: query
          schema:
            type: string
            enum:
              - participatory_processes
              - assemblies
              - conferences
              - initiatives
            description: Space type
          required: false
        - name: space_id
          in: query
          schema:
            type: integer
            description: Space Id
          required: false
        - name: component_id
          in: query
          schema:
            type: integer
            description: Component Id
          required: false
        - name: order
          in: query
          schema:
            type: string
            enum:
              - published_at
              - rand
          description: Order by
          required: false
        - name: order_direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: Order direction
          required: false
        - name: filter[voted_weight_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: voted_weight IN filter
            description: >-
              match one of _voted_weight_'s values in array. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[voted_weight_eq]
          in: query
          schema:
            type: string
            title: voted_weight equal filter
            description: >-
              _voted_weight_ is equal to. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[voted_weight_lt]
          in: query
          schema:
            type: string
            title: voted_weight less than filter
            description: >-
              _voted_weight_ is less than. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[voted_weight_gt]
          in: query
          schema:
            type: string
            title: voted_weight greater than filter
            description: >-
              _voted_weight_ is greater than. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[voted_weight_present]
          in: query
          schema:
            type: boolean
            title: voted_weight present filter
            description: >-
              _voted_weight_ is not null and not empty. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[voted_weight_blank]
          in: query
          schema:
            type: boolean
            title: voted_weight blank filter
            description: >-
              _voted_weight_ is null or empty. Only available with
              [:impersonationFlow] flow
          required: false
        - name: filter[state_not_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: state not IN filter
            description: match none of _state_'s values in array
          required: false
        - name: filter[state_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
            title: state IN filter
            description: match one of _state_'s values in array
          required: false
        - name: filter[state_start]
          in: query
          schema:
            type: string
            description: _state_ starts with
            title: state starts With filter
            example: some_string
          required: false
        - name: filter[state_eq]
          in: query
          schema:
            type: string
            title: state equal filter
            description: _state_ is equal to
          required: false
        - name: filter[state_not_eq]
          in: query
          schema:
            type: string
            title: state not equal filter
            description: _state_ is NOT equal to
          required: false
        - name: filter[state_matches]
          in: query
          schema:
            type: string
            title: state like filter
            description: matches _state_ with `LIKE`
            example: '%some_string'
          required: false
        - name: filter[state_blank]
          in: query
          schema:
            type: boolean
            title: state blank filter
            description: _state_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Proposal List
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proposal_index_response'
              examples:
                paginated:
                  value:
                    data:
                      - id: '2656'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:18Z'
                          updated_at: '2026-07-21T14:27:18Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Quia est
                              molestias. 170704
                            fr: >-
                              <script>alert("proposal_title");</script> Qui illo
                              et. 170705
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Ducimus vero non. 170707</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Repudiandae blanditiis magni. 170708</p>
                        relationships:
                          space:
                            data:
                              id: '1955'
                              type: participatory_processes
                          component:
                            data:
                              id: '5254'
                              type: proposal_component
                          state:
                            data:
                              id: '3473'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3890'
                              type: user
                          coauthors:
                            data:
                              - id: '3890'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1708.lvh.me/public/components/5254
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1955'
                              space_manifest: participatory_processes
                              component_id: '5254'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1708.lvh.me/api/rest_full/v0.3/proposals/2656
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5254'
                              component_manifest: proposals
                              space_id: '1955'
                              space_manifest: participatory_processes
                              resource_id: '2656'
                              action_method: GET
                          collection:
                            href: https://1708.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5254'
                              component_manifest: proposals
                              space_id: '1955'
                              space_manifest: participatory_processes
                              resource_id: '2656'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2657'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:18Z'
                          updated_at: '2026-07-21T14:27:18Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Nulla et
                              natus. 170719
                            fr: >-
                              <script>alert("proposal_title");</script> Officia
                              et consequatur. 170720
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Sit
                              corporis eum. 170722</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Et
                              voluptatem aliquid. 170723</p>
                        relationships:
                          space:
                            data:
                              id: '1955'
                              type: participatory_processes
                          component:
                            data:
                              id: '5254'
                              type: proposal_component
                          state:
                            data:
                              id: '3473'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3891'
                              type: user
                          coauthors:
                            data:
                              - id: '3891'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1708.lvh.me/public/components/5254
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1955'
                              space_manifest: participatory_processes
                              component_id: '5254'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1708.lvh.me/api/rest_full/v0.3/proposals/2657
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5254'
                              component_manifest: proposals
                              space_id: '1955'
                              space_manifest: participatory_processes
                              resource_id: '2657'
                              action_method: GET
                          collection:
                            href: https://1708.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5254'
                              component_manifest: proposals
                              space_id: '1955'
                              space_manifest: participatory_processes
                              resource_id: '2657'
                              action_method: GET
                        meta:
                          published: true
                state_non_rejected:
                  value:
                    data:
                      - id: '2659'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:19Z'
                          updated_at: '2026-07-21T14:27:19Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Sunt et
                              quo. 170806
                            fr: >-
                              <script>alert("proposal_title");</script>
                              Accusamus harum eos. 170807
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Soluta
                              dolore error. 170809</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Ad at
                              aliquid. 170810</p>
                        relationships:
                          space:
                            data:
                              id: '1956'
                              type: participatory_processes
                          component:
                            data:
                              id: '5255'
                              type: proposal_component
                          author:
                            data:
                              id: '3894'
                              type: user
                          coauthors:
                            data:
                              - id: '3894'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1709.lvh.me/public/components/5255
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1956'
                              space_manifest: participatory_processes
                              component_id: '5255'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1709.lvh.me/api/rest_full/v0.3/proposals/2659
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2659'
                              action_method: GET
                          collection:
                            href: https://1709.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2659'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2660'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:19Z'
                          updated_at: '2026-07-21T14:27:19Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Et
                              consequatur aut. 170821
                            fr: >-
                              <script>alert("proposal_title");</script> Ipsa
                              saepe minima. 170822
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Quo
                              delectus cupiditate. 170824</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Et
                              sint aut. 170825</p>
                        relationships:
                          space:
                            data:
                              id: '1956'
                              type: participatory_processes
                          component:
                            data:
                              id: '5255'
                              type: proposal_component
                          state:
                            data:
                              id: '3476'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3895'
                              type: user
                          coauthors:
                            data:
                              - id: '3895'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1709.lvh.me/public/components/5255
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1956'
                              space_manifest: participatory_processes
                              component_id: '5255'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1709.lvh.me/api/rest_full/v0.3/proposals/2660
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2660'
                              action_method: GET
                          collection:
                            href: https://1709.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2660'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2662'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:19Z'
                          updated_at: '2026-07-21T14:27:19Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Et harum
                              saepe. 170851
                            fr: >-
                              <script>alert("proposal_title");</script> Nostrum
                              numquam rerum. 170852
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Quam
                              aut sint. 170854</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Voluptatibus quia ratione. 170855</p>
                        relationships:
                          space:
                            data:
                              id: '1956'
                              type: participatory_processes
                          component:
                            data:
                              id: '5255'
                              type: proposal_component
                          author:
                            data:
                              id: '3897'
                              type: user
                          coauthors:
                            data:
                              - id: '3897'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1709.lvh.me/public/components/5255
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1956'
                              space_manifest: participatory_processes
                              component_id: '5255'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1709.lvh.me/api/rest_full/v0.3/proposals/2662
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2662'
                              action_method: GET
                          collection:
                            href: https://1709.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2662'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2663'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:19Z'
                          updated_at: '2026-07-21T14:27:19Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script>
                              Consequatur nihil qui. 170866
                            fr: >-
                              <script>alert("proposal_title");</script> Et alias
                              fugit. 170867
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Fugit
                              blanditiis eligendi. 170869</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Vitae
                              quia sit. 170870</p>
                        relationships:
                          space:
                            data:
                              id: '1956'
                              type: participatory_processes
                          component:
                            data:
                              id: '5255'
                              type: proposal_component
                          author:
                            data:
                              id: '3898'
                              type: user
                          coauthors:
                            data:
                              - id: '3898'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1709.lvh.me/public/components/5255
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1956'
                              space_manifest: participatory_processes
                              component_id: '5255'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1709.lvh.me/api/rest_full/v0.3/proposals/2663
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2663'
                              action_method: GET
                          collection:
                            href: https://1709.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2663'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2664'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:20Z'
                          updated_at: '2026-07-21T14:27:20Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Aut
                              magnam velit. 170881
                            fr: >-
                              <script>alert("proposal_title");</script> Deleniti
                              esse sed. 170882
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Ducimus esse et. 170884</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Ut
                              natus dolorem. 170885</p>
                        relationships:
                          space:
                            data:
                              id: '1956'
                              type: participatory_processes
                          component:
                            data:
                              id: '5255'
                              type: proposal_component
                          state:
                            data:
                              id: '3476'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3899'
                              type: user
                          coauthors:
                            data:
                              - id: '3899'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1709.lvh.me/public/components/5255
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1956'
                              space_manifest: participatory_processes
                              component_id: '5255'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1709.lvh.me/api/rest_full/v0.3/proposals/2664
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2664'
                              action_method: GET
                          collection:
                            href: https://1709.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5255'
                              component_manifest: proposals
                              space_id: '1956'
                              space_manifest: participatory_processes
                              resource_id: '2664'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 1
                state_accepted:
                  value:
                    data:
                      - id: '2666'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:21Z'
                          updated_at: '2026-07-21T14:27:21Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Odit
                              magni ab. 170968
                            fr: >-
                              <script>alert("proposal_title");</script> Qui aut
                              corrupti. 170969
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Non
                              minus quis. 170971</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Natus
                              voluptatum et. 170972</p>
                        relationships:
                          space:
                            data:
                              id: '1957'
                              type: participatory_processes
                          component:
                            data:
                              id: '5256'
                              type: proposal_component
                          state:
                            data:
                              id: '3479'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3902'
                              type: user
                          coauthors:
                            data:
                              - id: '3902'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1710.lvh.me/public/components/5256
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1957'
                              space_manifest: participatory_processes
                              component_id: '5256'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1710.lvh.me/api/rest_full/v0.3/proposals/2666
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5256'
                              component_manifest: proposals
                              space_id: '1957'
                              space_manifest: participatory_processes
                              resource_id: '2666'
                              action_method: GET
                          collection:
                            href: https://1710.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5256'
                              component_manifest: proposals
                              space_id: '1957'
                              space_manifest: participatory_processes
                              resource_id: '2666'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2670'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:21Z'
                          updated_at: '2026-07-21T14:27:21Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Nostrum
                              numquam est. 171028
                            fr: >-
                              <script>alert("proposal_title");</script> Quia qui
                              iure. 171029
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Sunt
                              laboriosam adipisci. 171031</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Non
                              maxime dolor. 171032</p>
                        relationships:
                          space:
                            data:
                              id: '1957'
                              type: participatory_processes
                          component:
                            data:
                              id: '5256'
                              type: proposal_component
                          state:
                            data:
                              id: '3479'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3906'
                              type: user
                          coauthors:
                            data:
                              - id: '3906'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1710.lvh.me/public/components/5256
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1957'
                              space_manifest: participatory_processes
                              component_id: '5256'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1710.lvh.me/api/rest_full/v0.3/proposals/2670
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5256'
                              component_manifest: proposals
                              space_id: '1957'
                              space_manifest: participatory_processes
                              resource_id: '2670'
                              action_method: GET
                          collection:
                            href: https://1710.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5256'
                              component_manifest: proposals
                              space_id: '1957'
                              space_manifest: participatory_processes
                              resource_id: '2670'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 1
                unvoted_unordered_list:
                  value:
                    data:
                      - id: '2671'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:22Z'
                          updated_at: '2026-07-21T14:27:22Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Ut
                              dolores numquam. 171100
                            fr: >-
                              <script>alert("proposal_title");</script> Quia
                              nisi consequatur. 171101
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Aut
                              placeat reiciendis. 171103</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Nam
                              est non. 171104</p>
                        relationships:
                          space:
                            data:
                              id: '1958'
                              type: participatory_processes
                          component:
                            data:
                              id: '5257'
                              type: proposal_component
                          author:
                            data:
                              id: '3908'
                              type: user
                          coauthors:
                            data:
                              - id: '3908'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1711.lvh.me/public/components/5257
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1958'
                              space_manifest: participatory_processes
                              component_id: '5257'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1711.lvh.me/api/rest_full/v0.3/proposals/2671
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5257'
                              component_manifest: proposals
                              space_id: '1958'
                              space_manifest: participatory_processes
                              resource_id: '2671'
                              action_method: GET
                          collection:
                            href: https://1711.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5257'
                              component_manifest: proposals
                              space_id: '1958'
                              space_manifest: participatory_processes
                              resource_id: '2671'
                              action_method: GET
                        meta:
                          published: true
                unvoted:
                  value:
                    data:
                      - id: '2679'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Cum
                              omnis veniam. 171277
                            fr: >-
                              <script>alert("proposal_title");</script>
                              Voluptatibus dignissimos sunt. 171278
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Quam
                              ut consequatur. 171280</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Officiis amet explicabo. 171281</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          author:
                            data:
                              id: '3917'
                              type: user
                          coauthors:
                            data:
                              - id: '3917'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2679
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2679'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2679'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2680'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script>
                              Praesentium iste omnis. 171292
                            fr: >-
                              <script>alert("proposal_title");</script> Cum sed
                              officia. 171293
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Nulla
                              id qui. 171295</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Accusamus ex neque. 171296</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          state:
                            data:
                              id: '3485'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3918'
                              type: user
                          coauthors:
                            data:
                              - id: '3918'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2680
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2680'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2680'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2681'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Illum
                              velit voluptatibus. 171307
                            fr: >-
                              <script>alert("proposal_title");</script> Ex sunt
                              sed. 171308
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Consequatur porro in. 171310</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Eum
                              quia ullam. 171311</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          state:
                            data:
                              id: '3486'
                              type: proposal_state
                            meta:
                              token: rejected
                          author:
                            data:
                              id: '3919'
                              type: user
                          coauthors:
                            data:
                              - id: '3919'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2681
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2681'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2681'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2682'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Quisquam
                              ea incidunt. 171322
                            fr: >-
                              <script>alert("proposal_title");</script> Quia qui
                              itaque. 171323
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Est
                              aperiam ut. 171325</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Ea
                              autem quidem. 171326</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          author:
                            data:
                              id: '3920'
                              type: user
                          coauthors:
                            data:
                              - id: '3920'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2682
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2682'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2682'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2683'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Omnis
                              reprehenderit adipisci. 171337
                            fr: >-
                              <script>alert("proposal_title");</script> Ex
                              laudantium architecto. 171338
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Repudiandae quis nihil. 171340</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Molestias totam deleniti. 171341</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          author:
                            data:
                              id: '3921'
                              type: user
                          coauthors:
                            data:
                              - id: '3921'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2683
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2683'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2683'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2685'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:24Z'
                          updated_at: '2026-07-21T14:27:24Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Ut
                              distinctio libero. 171367
                            fr: >-
                              <script>alert("proposal_title");</script> Nemo
                              doloribus vel. 171368
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Nemo
                              aliquid molestiae. 171370</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Maiores eos fugit. 171371</p>
                        relationships:
                          space:
                            data:
                              id: '1959'
                              type: participatory_processes
                          component:
                            data:
                              id: '5258'
                              type: proposal_component
                          author:
                            data:
                              id: '3923'
                              type: user
                          coauthors:
                            data:
                              - id: '3923'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1712.lvh.me/public/components/5258
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1959'
                              space_manifest: participatory_processes
                              component_id: '5258'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1712.lvh.me/api/rest_full/v0.3/proposals/2685
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2685'
                              action_method: GET
                          collection:
                            href: https://1712.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5258'
                              component_manifest: proposals
                              space_id: '1959'
                              space_manifest: participatory_processes
                              resource_id: '2685'
                              action_method: GET
                        meta:
                          published: true
                voted:
                  value:
                    data:
                      - id: '2692'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:26Z'
                          updated_at: '2026-07-21T14:27:26Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script>
                              Architecto tempora dolorem. 171529
                            fr: >-
                              <script>alert("proposal_title");</script> Sed
                              officiis laudantium. 171530
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Eaque
                              aut dolore. 171532</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Mollitia accusantium aut. 171533</p>
                        relationships:
                          space:
                            data:
                              id: '1960'
                              type: participatory_processes
                          component:
                            data:
                              id: '5259'
                              type: proposal_component
                          state:
                            data:
                              id: '3488'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3931'
                              type: user
                          coauthors:
                            data:
                              - id: '3931'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1713.lvh.me/public/components/5259
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1960'
                              space_manifest: participatory_processes
                              component_id: '5259'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1713.lvh.me/api/rest_full/v0.3/proposals/2692
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5259'
                              component_manifest: proposals
                              space_id: '1960'
                              space_manifest: participatory_processes
                              resource_id: '2692'
                              action_method: GET
                          collection:
                            href: https://1713.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5259'
                              component_manifest: proposals
                              space_id: '1960'
                              space_manifest: participatory_processes
                              resource_id: '2692'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 1
                      - id: '2693'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:26Z'
                          updated_at: '2026-07-21T14:27:26Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Rerum
                              consectetur magni. 171544
                            fr: >-
                              <script>alert("proposal_title");</script> Fuga
                              doloremque dolor. 171545
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Repellat qui quas. 171547</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Numquam officiis illo. 171548</p>
                        relationships:
                          space:
                            data:
                              id: '1960'
                              type: participatory_processes
                          component:
                            data:
                              id: '5259'
                              type: proposal_component
                          author:
                            data:
                              id: '3932'
                              type: user
                          coauthors:
                            data:
                              - id: '3932'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1713.lvh.me/public/components/5259
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1960'
                              space_manifest: participatory_processes
                              component_id: '5259'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1713.lvh.me/api/rest_full/v0.3/proposals/2693
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5259'
                              component_manifest: proposals
                              space_id: '1960'
                              space_manifest: participatory_processes
                              resource_id: '2693'
                              action_method: GET
                          collection:
                            href: https://1713.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5259'
                              component_manifest: proposals
                              space_id: '1960'
                              space_manifest: participatory_processes
                              resource_id: '2693'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 1
                abstentions:
                  value:
                    data:
                      - id: '2701'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:28Z'
                          updated_at: '2026-07-21T14:27:28Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Placeat
                              ducimus aut. 171721
                            fr: >-
                              <script>alert("proposal_title");</script>
                              Necessitatibus fuga et. 171722
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Fugiat
                              saepe cumque. 171724</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Id
                              excepturi sit. 171725</p>
                        relationships:
                          space:
                            data:
                              id: '1961'
                              type: participatory_processes
                          component:
                            data:
                              id: '5260'
                              type: proposal_component
                          author:
                            data:
                              id: '3941'
                              type: user
                          coauthors:
                            data:
                              - id: '3941'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1714.lvh.me/public/components/5260
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1961'
                              space_manifest: participatory_processes
                              component_id: '5260'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1714.lvh.me/api/rest_full/v0.3/proposals/2701
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5260'
                              component_manifest: proposals
                              space_id: '1961'
                              space_manifest: participatory_processes
                              resource_id: '2701'
                              action_method: GET
                          collection:
                            href: https://1714.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5260'
                              component_manifest: proposals
                              space_id: '1961'
                              space_manifest: participatory_processes
                              resource_id: '2701'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 0
                ok_drafts:
                  value:
                    data:
                      - id: '2708'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:30Z'
                          updated_at: '2026-07-21T14:27:30Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Dolorem
                              aperiam sapiente. 171940
                            fr: >-
                              <script>alert("proposal_title");</script>
                              Repellendus quae illum. 171941
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Nam
                              eveniet et. 171943</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Rerum
                              consectetur nihil. 171944</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          author:
                            data:
                              id: '3950'
                              type: user
                          coauthors:
                            data:
                              - id: '3950'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2708
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2708'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2708'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2709'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:30Z'
                          updated_at: '2026-07-21T14:27:30Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Nihil
                              impedit ut. 171955
                            fr: >-
                              <script>alert("proposal_title");</script> Animi
                              expedita impedit. 171956
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Qui
                              ipsam placeat. 171958</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Aliquid dolorum aperiam. 171959</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          state:
                            data:
                              id: '3497'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3951'
                              type: user
                          coauthors:
                            data:
                              - id: '3951'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2709
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2709'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2709'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2710'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:30Z'
                          updated_at: '2026-07-21T14:27:30Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script>
                              Reprehenderit est sit. 171970
                            fr: >-
                              <script>alert("proposal_title");</script> Eos
                              omnis perspiciatis. 171971
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Doloremque totam est. 171973</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Minima
                              voluptatem totam. 171974</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          state:
                            data:
                              id: '3498'
                              type: proposal_state
                            meta:
                              token: rejected
                          author:
                            data:
                              id: '3952'
                              type: user
                          coauthors:
                            data:
                              - id: '3952'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2710
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2710'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2710'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2711'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:31Z'
                          updated_at: '2026-07-21T14:27:31Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Illum id
                              nulla. 171985
                            fr: >-
                              <script>alert("proposal_title");</script> Culpa
                              dolorum labore. 171986
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Quia
                              est fugit. 171988</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Nesciunt ipsum omnis. 171989</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          author:
                            data:
                              id: '3953'
                              type: user
                          coauthors:
                            data:
                              - id: '3953'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2711
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2711'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2711'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2712'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:31Z'
                          updated_at: '2026-07-21T14:27:31Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script>
                              Voluptates nam cum. 172000
                            fr: >-
                              <script>alert("proposal_title");</script> Rerum
                              ipsam tempora. 172001
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Nihil
                              voluptas ratione. 172003</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script>
                              Reprehenderit nihil inventore. 172004</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          author:
                            data:
                              id: '3954'
                              type: user
                          coauthors:
                            data:
                              - id: '3954'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2712
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2712'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2712'
                              action_method: GET
                        meta:
                          published: true
                      - id: '2713'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:31Z'
                          updated_at: '2026-07-21T14:27:31Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Sequi
                              quasi iusto. 172015
                            fr: >-
                              <script>alert("proposal_title");</script> Maiores
                              aut neque. 172016
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script> Ut
                              suscipit dolore. 172018</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Qui
                              dolorem corrupti. 172019</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          state:
                            data:
                              id: '3497'
                              type: proposal_state
                            meta:
                              token: accepted
                          author:
                            data:
                              id: '3955'
                              type: user
                          coauthors:
                            data:
                              - id: '3955'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2713
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2713'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2713'
                              action_method: GET
                        meta:
                          published: true
                          voted:
                            weight: 1
                      - id: '2714'
                        type: proposal
                        attributes:
                          created_at: '2026-07-21T14:27:31Z'
                          updated_at: '2026-07-21T14:27:31Z'
                          title:
                            en: >-
                              <script>alert("proposal_title");</script> Iure
                              voluptatem id. 172030
                            fr: >-
                              <script>alert("proposal_title");</script> Nam
                              rerum repudiandae. 172031
                          body:
                            en: >-
                              <p><script>alert("proposal_body");</script>
                              Consequatur deserunt at. 172033</p>
                            fr: >-
                              <p><script>alert("proposal_body");</script> Illum
                              et et. 172034</p>
                        relationships:
                          space:
                            data:
                              id: '1963'
                              type: participatory_processes
                          component:
                            data:
                              id: '5262'
                              type: proposal_component
                          author:
                            data:
                              id: '3949'
                              type: user
                          coauthors:
                            data:
                              - id: '3949'
                                type: user
                            meta:
                              count: 1
                        links:
                          related:
                            href: https://1716.lvh.me/public/components/5262
                            title: <script>alert("proposals");</script> Proposals
                            rel: resource
                            meta:
                              space_id: '1963'
                              space_manifest: participatory_processes
                              component_id: '5262'
                              component_manifest: proposals
                              action_method: GET
                          self:
                            href: >-
                              https://1716.lvh.me/api/rest_full/v0.3/proposals/2714
                            title: Proposals Details
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2714'
                              action_method: GET
                          collection:
                            href: https://1716.lvh.me/api/rest_full/v0.3/proposals
                            title: Proposals List
                            rel: resource
                            meta:
                              component_id: '5262'
                              component_manifest: proposals
                              space_id: '1963'
                              space_manifest: participatory_processes
                              resource_id: '2714'
                              action_method: GET
                        meta:
                          published: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '401':
          description: Unauthorized when no Bearer token
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    error: '401: Unauthorized access'
                    error_description: Unauthorized access
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /organizations/{id}/extended_data:
    get:
      summary: Organization extended data
      tags:
        - Organizations Extended Data
      operationId: getOrganizationExtendedData
      description: Fetch organization extended data
      parameters:
        - name: object_path
          in: query
          required: true
          schema:
            type: string
            description: object path, in dot style, like foo.bar
        - name: id
          in: path
          schema:
            type: integer
            description: Id of the organization
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - credentialFlowBearer:
            - system
      responses:
        '200':
          description: Extended Data for a given object_path given
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      personal:
                        birthday: '1989-01-28'
                      birthday: '1989-01-28'
                empty:
                  value:
                    data: {}
              schema:
                $ref: '#/components/schemas/organization_extended_data'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_credentialFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /vote_proposals/sync:
    post:
      summary: Vote on a proposal (sync)
      tags:
        - Proposals
      operationId: castProposalVote
      description: >
        Cast a vote synchronously. Returns a **vote_proposal** resource by
        default.


        Set query `include_proposal=true` to return the full **proposal**
        payload (heavier).
      parameters:
        - name: include_proposal
          in: query
          schema:
            type: boolean
          required: false
          description: When true, return the full proposal instead of the vote resource
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Vote created with full proposal
          content:
            application/json:
              examples:
                default:
                  value:
                    data:
                      id: '42'
                      type: vote_proposals
                      attributes:
                        weight: 1
                        created_at: '2026-07-21T14:28:06Z'
                        updated_at: '2026-07-21T14:28:06Z'
                      relationships:
                        proposal:
                          data:
                            id: '2728'
                            type: proposals
                        author:
                          data:
                            id: '3976'
                            type: users
                with_proposal:
                  value:
                    data:
                      id: '2730'
                      type: proposal
                      attributes:
                        created_at: '2026-07-21T14:28:07Z'
                        updated_at: '2026-07-21T14:28:07Z'
                        title:
                          en: >-
                            <script>alert("proposal_title");</script> Eaque
                            architecto ut. 172573
                          fr: >-
                            <script>alert("proposal_title");</script> Ratione
                            nam sed. 172574
                        body:
                          en: >-
                            <p><script>alert("proposal_body");</script>
                            Accusantium quia dicta. 172576</p>
                          fr: >-
                            <p><script>alert("proposal_body");</script> Est a
                            explicabo. 172577</p>
                      relationships:
                        space:
                          data:
                            id: '1991'
                            type: participatory_processes
                        component:
                          data:
                            id: '5281'
                            type: proposal_component
                        author:
                          data:
                            id: '3981'
                            type: user
                        coauthors:
                          data:
                            - id: '3981'
                              type: user
                          meta:
                            count: 1
                      links:
                        related:
                          href: https://1730.lvh.me/public/components/5281
                          title: <script>alert("proposals");</script> Proposals
                          rel: resource
                          meta:
                            space_id: '1991'
                            space_manifest: participatory_processes
                            component_id: '5281'
                            component_manifest: proposals
                            action_method: GET
                        self:
                          href: >-
                            https://1730.lvh.me/api/rest_full/v0.3/proposals/2730
                          title: Proposals Details
                          rel: resource
                          meta:
                            component_id: '5281'
                            component_manifest: proposals
                            space_id: '1991'
                            space_manifest: participatory_processes
                            resource_id: '2730'
                            action_method: GET
                        collection:
                          href: https://1730.lvh.me/api/rest_full/v0.3/proposals
                          title: Proposals List
                          rel: resource
                          meta:
                            component_id: '5281'
                            component_manifest: proposals
                            space_id: '1991'
                            space_manifest: participatory_processes
                            resource_id: '2730'
                            action_method: GET
                      meta:
                        published: true
                        voted:
                          weight: 1
              schema:
                $ref: '#/components/schemas/proposal_item_response'
        '400':
          description: Bad Request when user already voted
          content:
            application/json:
              examples:
                already_voted:
                  value:
                    error: '400: Bad request'
                    error_description: Already voted
              schema:
                $ref: '#/components/schemas/error_response'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vote_proposal_create_body'
        required: true
  /vote_proposals/{id}:
    get:
      summary: Show vote proposal
      tags:
        - Proposals
      operationId: getProposalVote
      description: Fetch a single vote by id. Conditional GET supported.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Vote found
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '48'
                      type: vote_proposals
                      attributes:
                        weight: 1
                        created_at: '2026-07-21T14:28:11Z'
                        updated_at: '2026-07-21T14:28:11Z'
                      relationships:
                        proposal:
                          data:
                            id: '2734'
                            type: proposals
                        author:
                          data:
                            id: '3988'
                            type: users
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/vote_proposal'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    delete:
      summary: Remove vote on a proposal
      tags:
        - Proposals
      operationId: deleteProposalVote
      description: >-
        Remove the impersonated user's vote
        (`Decidim::Proposals::UnvoteProposal`). Returns the vote resource.
      parameters:
        - name: id
          in: path
          schema:
            type: integer
          required: true
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Vote removed
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      id: '49'
                      type: vote_proposals
                      attributes:
                        weight: 1
                        created_at: '2026-07-21T14:28:11Z'
                        updated_at: '2026-07-21T14:28:11Z'
                      relationships:
                        proposal:
                          data:
                            id: '2735'
                            type: proposals
                        author:
                          data:
                            id: '3990'
                            type: users
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
              schema:
                $ref: '#/components/schemas/error_response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
  /vote_proposals:
    get:
      summary: List vote proposals
      tags:
        - Proposals
      operationId: listProposalVotes
      description: >
        List `Decidim::Proposals::ProposalVote` rows for published proposals in
        visible spaces.


        ### Filters

        - `filter[creator_id]` (or `filter[author_id]`): voter user id

        - `filter[proposal_id]`: proposal id

        - `filter[component_id]`: proposals component id

        - `filter[participatory_space_id]`: participatory space id


        Responses support **conditional GET** (`ETag` / `If-None-Match`).


        ### Access

        Requires impersonation (`proposals.vote` or `proposals.read` for
        listing).
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
        - name: filter[creator_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: creator_id IN filter
            description: match one of _creator_id_'s values in array
          required: false
        - name: filter[creator_id_eq]
          in: query
          schema:
            type: integer
            title: creator_id equal filter
            description: _creator_id_ is equal to
          required: false
        - name: filter[creator_id_lt]
          in: query
          schema:
            type: integer
            title: creator_id less than filter
            description: _creator_id_ is less than
          required: false
        - name: filter[creator_id_gt]
          in: query
          schema:
            type: integer
            title: creator_id greater than filter
            description: _creator_id_ is greater than
          required: false
        - name: filter[creator_id_present]
          in: query
          schema:
            type: boolean
            title: creator_id present filter
            description: _creator_id_ is not null and not empty
          required: false
        - name: filter[creator_id_blank]
          in: query
          schema:
            type: boolean
            title: creator_id blank filter
            description: _creator_id_ is null or empty
          required: false
        - name: filter[proposal_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: proposal_id IN filter
            description: match one of _proposal_id_'s values in array
          required: false
        - name: filter[proposal_id_eq]
          in: query
          schema:
            type: integer
            title: proposal_id equal filter
            description: _proposal_id_ is equal to
          required: false
        - name: filter[proposal_id_lt]
          in: query
          schema:
            type: integer
            title: proposal_id less than filter
            description: _proposal_id_ is less than
          required: false
        - name: filter[proposal_id_gt]
          in: query
          schema:
            type: integer
            title: proposal_id greater than filter
            description: _proposal_id_ is greater than
          required: false
        - name: filter[proposal_id_present]
          in: query
          schema:
            type: boolean
            title: proposal_id present filter
            description: _proposal_id_ is not null and not empty
          required: false
        - name: filter[proposal_id_blank]
          in: query
          schema:
            type: boolean
            title: proposal_id blank filter
            description: _proposal_id_ is null or empty
          required: false
        - name: filter[component_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: component_id IN filter
            description: match one of _component_id_'s values in array
          required: false
        - name: filter[component_id_eq]
          in: query
          schema:
            type: integer
            title: component_id equal filter
            description: _component_id_ is equal to
          required: false
        - name: filter[component_id_lt]
          in: query
          schema:
            type: integer
            title: component_id less than filter
            description: _component_id_ is less than
          required: false
        - name: filter[component_id_gt]
          in: query
          schema:
            type: integer
            title: component_id greater than filter
            description: _component_id_ is greater than
          required: false
        - name: filter[component_id_present]
          in: query
          schema:
            type: boolean
            title: component_id present filter
            description: _component_id_ is not null and not empty
          required: false
        - name: filter[component_id_blank]
          in: query
          schema:
            type: boolean
            title: component_id blank filter
            description: _component_id_ is null or empty
          required: false
        - name: filter[participatory_space_id_in][]
          in: query
          style: form
          explode: true
          schema:
            type: array
            items:
              type: integer
            title: participatory_space_id IN filter
            description: match one of _participatory_space_id_'s values in array
          required: false
        - name: filter[participatory_space_id_eq]
          in: query
          schema:
            type: integer
            title: participatory_space_id equal filter
            description: _participatory_space_id_ is equal to
          required: false
        - name: filter[participatory_space_id_lt]
          in: query
          schema:
            type: integer
            title: participatory_space_id less than filter
            description: _participatory_space_id_ is less than
          required: false
        - name: filter[participatory_space_id_gt]
          in: query
          schema:
            type: integer
            title: participatory_space_id greater than filter
            description: _participatory_space_id_ is greater than
          required: false
        - name: filter[participatory_space_id_present]
          in: query
          schema:
            type: boolean
            title: participatory_space_id present filter
            description: _participatory_space_id_ is not null and not empty
          required: false
        - name: filter[participatory_space_id_blank]
          in: query
          schema:
            type: boolean
            title: participatory_space_id blank filter
            description: _participatory_space_id_ is null or empty
          required: false
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '200':
          description: Votes listed
          content:
            application/json:
              examples:
                ok:
                  value:
                    data:
                      - id: '55'
                        type: vote_proposals
                        attributes:
                          weight: 1
                          created_at: '2026-07-21T14:28:17Z'
                          updated_at: '2026-07-21T14:28:17Z'
                        relationships:
                          proposal:
                            data:
                              id: '2741'
                              type: proposals
                          author:
                            data:
                              id: '4002'
                              type: users
              schema:
                $ref: '#/components/schemas/vote_proposals_index_response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
    post:
      summary: Vote on a proposal (async)
      tags:
        - Proposals
      operationId: castProposalVoteAsync
      description: >
        Enqueue a vote on a **published** proposal. Poll `GET /jobs/:uuid` for
        the result (slim vote payload by default).


        Prefer this endpoint under load. Use `POST /vote_proposals/sync` when
        you need an immediate response.
      parameters:
        - name: Authorization
          in: header
          schema:
            type: string
          required: false
          description: Bearer access token (see security schemes)
      security:
        - resourceOwnerFlowBearer:
            - proposals
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              examples:
                accepted:
                  value:
                    job_id: 07539d3a-bb10-4786-ba0e-659652b913f7
                    status: pending
                    data: null
                    return_value: null
                    poll_url: >-
                      http://1746.lvh.me/api/rest_full/v0.3/jobs/07539d3a-bb10-4786-ba0e-659652b913f7
                    links:
                      self:
                        href: >-
                          http://1746.lvh.me/api/rest_full/v0.3/jobs/07539d3a-bb10-4786-ba0e-659652b913f7
                        title: API job status
                        rel: resource
                        meta:
                          action_method: GET
              schema:
                $ref: '#/components/schemas/rest_full_api_job_accepted'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
              examples:
                forbidden_impersonationFlow:
                  value:
                    error: '403: Forbidden'
                    error_description: Forbidden
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vote_proposal_create_body'
        required: true
