Preview
GET /fix/preview
Preview all available fixes without applying.
POST /fix/preview
Preview fix for a specific finding.
Request body:
Apply
POST /fix/apply
Apply a single fix.
Request body:
FixResult with applied diff, new score, and evidence entry ID.
POST /fix/apply-and-validate
Apply fix and immediately re-scan to validate the result.
Request body: Same as /fix/apply
Response:
POST /fix/apply-all
Batch apply all available fixes.
Request body:
Undo
POST /fix/undo
Revert a previously applied fix.
Request body:
id to undo the most recent fix.