v1
Source Verifications
Source Verifications
Answer Source Verification
Engineer answered one pending question.
Flow:
- Look up the pending row by (source_id, question_id) to find its gate_type.
- Apply the answer to seg_correspondence JSONB via the gate's apply_answer_fn (registered in gate_registry).
- Persist the answer + flip the row's status to 'answered'.
- If this was the LAST pending question for the current gate:
- Look up the next gate in the source's chain.
- If there's a next gate, dispatch a triage_source job for it (worker runs phase2 triage after phase1 is fully answered, etc.).
- If there's NO next gate (current gate is last), mark the source verified.
- Return shape lets the FE decide whether to surface "next round loading" UI or "all done."
Returns 404 if no pending row matches (source_id, question_id).
patch/api/v1/sources/{source_id}/verifications/{question_id}
Request
- Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- URL: https://api.jeevyfabrication.com/api/v1/sources/{source_id}/verifications/{question_id}
- Auth: none declared
Path parameters
source_idinteger required
question_idstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.