Skip to main content

Attachments API (core)

Routes live in decidim-restfull-core (gated at runtime by organization Toggle attachments_enabled).

RouteNotes
GET/POST /attachmentsList / create
GET/PUT/DELETE /attachments/:idShow / metadata update / delete
POST /attachments/direct_uploadActiveStorage signed_id staging

Mode A: multipart POST /attachments — preferred for integrators.

Mode B: direct_upload + JSON POST /attachments with signed_id — large files, parity with Decidim admin.

Operations: Decidim::RestFull::Core::AttachmentsOperations (wraps Decidim::Admin::CreateAttachment / UpdateAttachment).

Integrator doc: Attachments.