fix: 移除告警客户端身份字段
This commit is contained in:
@@ -28,8 +28,6 @@ export const fetchAlertRecordDetail = (id: number) => request.get(`/Alert/v1/rec
|
||||
export const createAlertProcess = (data: {
|
||||
alert_record_id: number
|
||||
action: string // ack / resolve / silence / comment / assign / escalate / close
|
||||
operator: string
|
||||
operator_id?: string
|
||||
comment?: string
|
||||
assign_to?: string
|
||||
assign_to_id?: string
|
||||
|
||||
@@ -48,5 +48,5 @@ export const fetchIncidentAlerts = (id: number) => request.get(`/Alert/v1/incide
|
||||
|
||||
export const fetchIncidentTimeline = (id: number) => request.get(`/Alert/v1/incidents/${id}/timeline`)
|
||||
|
||||
export const transitionIncident = (id: number, data: { status: string; comment?: string; operator?: string }) =>
|
||||
export const transitionIncident = (id: number, data: { status: string; comment?: string }) =>
|
||||
request.post(`/Alert/v1/incidents/${id}/transition`, data)
|
||||
|
||||
Reference in New Issue
Block a user