Skip to main content

Module syndic_response_handlers

Module syndic_response_handlers 

Source
Expand description

HTTP handlers for SyndicResponse (Story 3.7 — FR32 INV-23).

Routes:

  • POST /tickets/{id}/syndic-responses — syndic / superadmin posts a structured reply to a ticket.
  • GET /tickets/{id}/syndic-responses — list responses for a ticket.

Both routes are JWT-protected. Phase A keeps the scope checks minimal (syndic / superadmin can post; any authenticated user can read — the ticket detail page already enforces the ACP scope upstream). Tightening to “only members of the building’s ACP can read” is a Phase B follow-up tracked in the Story 3.7 acceptance notes.

Structs§

CreateSyndicResponseRequest
SyndicResponseDto
create_syndic_response
list_syndic_responses