Mark SLO Affected
POST {{baseUrl}}/slo/:sloID/incident?owner_id=<ObjectId>
This endpoint is used for mark slo affected.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with user-write
scope.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
owner_id | string |
Request Body
{"incident_id"=>"63fd9767ab561c93d38c0b33", "owner_id"=>"6129ac15518568defa92494b", "org_id"=>"60cb200bc9de4a0018d2fc41", "slis"=>["latency"], "error_budget_spent"=>"<float32>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: Created
{"data":{"slo_violating_incident":{"created_at":"2023-02-28T05:56:39.741601527Z","updated_at":"2023-02-28T05:56:39.741601527Z","deleted_at":null,"id":2123,"owner_type":"","owner_id":"6129ac15518568defa92494b","org_id":"60cb200bc9de4a0018d2fc41","slo_id":1128,"incident_id":"63fd9767ab561c93d38c0b33","slis":["latency"],"error_budget_spent":0,"is_false_positive":false,"start_time":"2023-02-28T05:55:51.183Z","end_time":"2023-02-28T05:55:51.183Z"}}}