actOnIncident
POST/api/v1/incidents/:id/:action
Responses as in docs/on-call.md §5, applied in the order of their sequence numbers, taken under the incident's lock as they arrive; snooze needs for, reassign needs rotation, invite needs person_id, merge needs into and answers with the target, note needs note. A response to a merged incident acts on its target, whose state the answer shows. join is for the people informed as an involved rotation (role informed), who may not yet respond; informed allows no other action. A response that changes nothing (a second ack) answers 200 with X-Response-Outcome: no-op; a rejected one answers 409 with the problem code, and both are recorded. Invites are rate-limited per person (docs/on-call.md §5).
Request
Responses
- 200
- 403
- 409
- 422
- 429
Done
Response Headers
incident.not_informed (join), incident.link_action (an incident link calling an action other than ack, decline, snooze, escalate or note)
incident.resolved, incident.not_acknowledged, incident.last_level, incident.merge_invalid
incident.snooze_range, rotation.unknown (reassign)
person.rate_limited: more than 20 invites by the person within an hour