Added
client.incidents.resolve(projectSlug, incidentId)and thePOST /v1/projects/{projectSlug}/incidents/{incidentId}endpoint — resolves (closes) an ongoing incident and returns it. Resolving an already-closed incident is a no-op that returns it unchanged; an incident id that doesn't exist in the project returns 404. If the incident's condition triggers again, a new incident opens.