Record accept/reject for a streamed AI edit (ASK-215)
PATCH/study-guides/:study_guide_id/ai/edits/:edit_id
Called by the frontend after the user resolves the diff
overlay. Sets accepted + accepted_at on the audit row.
Idempotent -- last write wins, so a misclick can be
corrected by PATCHing again.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Updated audit row.
Bad request
Unauthorized
Not found
Internal server error