Skip to main content

Module technical_spec_handlers

Module technical_spec_handlers 

Source
Expand description

HTTP handlers for TechnicalSpec (Story 3.8 — FR33).

Routes:

  • POST /technical-specs — create a Draft spec (syndic/superadmin)
  • POST /technical-specs/{id}/bump — create a new version (syndic/superadmin)
  • POST /technical-specs/{id}/submit — Draft -> PendingSignatures (syndic/superadmin)
  • POST /technical-specs/{id}/signatures — record a signature (signatory)
  • GET /technical-specs/{id} — spec details
  • GET /technical-specs?acp_id={uuid} — list specs for an ACP

All routes are JWT-protected. The two GET routes above took AuthenticatedUser without using it (_user) — the Phase B scope tightening promised in the Story 3.8 acceptance notes — and are now cloisonnées like sign_technical_spec (#882).

Structs§

BumpTechnicalSpecRequest
CreateTechnicalSpecRequest
ListTechnicalSpecsQuery
SignTechnicalSpecRequest
TechnicalSpecDto
TechnicalSpecSignatureDto
bump_technical_spec
create_technical_spec
get_technical_spec
list_technical_specs
sign_technical_spec
submit_technical_spec