closeObmEvent
PUT/opr-web/rest/:version/event_list/:event
Closes the alert of an event submitted through this path (state =
closed); no other update is served. The hub stores a resolution
event of the Source with the key of that event, as intake stores
any event, so it is processed, and replayed, like a resolution
(docs/pipeline.md §6). Like a command (docs/architecture.md §4), the
call waits up to 5 s for the event's partition to process it.
Request
Responses
- 200
- 202
- 401
- 403
- 404
- 415
- 422
- 429
- 503
Processed: the alert is closed (outcome cleared), or was not open (clear-unmatched)
Stored, not processed within 5 s; the alert closes when its partition processes the event
intake.invalid_token: no, an unknown or a revoked intake token, or one of another Source
intake.sender_not_allowed: the sender address is outside the Source's allowFrom
intake.unknown_event: no event of this Source with that ID
intake.unsupported_version: version 9.0
intake.payload_invalid: the update is not state = closed, or unreadable
intake.rate_limited: too many failed authentications from the sender address; intake.source_rate: the Source is over pipeline.sourceRate on this node; intake.hub_rate: the hub is over its events_per_second; intake.daily_quota: the hub is over three times its events_per_day until the end of the UTC day (docs/pipeline.md §2)
Response Headers
service.unavailable: the database can't take writes; retry after Retry-After