Record the finish of a last-challenge run
POST/api/last-challenge/finish
Update the matching last_challenges row with finishedAt and computed duration_ms. Conditional: the row must exist and not already be finished; otherwise responds 404.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Finish recorded.
Invalid payload (missing field or non-ISO timestamps).
Missing or invalid X-Game-Token header.
No matching unfinished run for (nickname, templateId, startedAt).
Server error.