Pular para o conteúdo principal
POST
/
incidents
/
{name}
/
acknowledge
Acknowledge Incident
curl --request POST \
  --url http://{host}:{port}/{basePath}/incidents/{name}/acknowledge \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "acknowledgedBy": "carlos.silva@empresa.com",
  "message": "Investigating memory increase on payment-service"
}
'
{
  "apiVersion": "v1",
  "kind": "Incident",
  "metadata": {
    "name": "INC-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "Analyzing",
    "acknowledged": true,
    "acknowledgedBy": "carlos.silva@empresa.com",
    "acknowledgedAt": "2026-03-19T15:30:00Z",
    "message": "Investigando aumento de memória no payment-service"
  }
}
name
string
obrigatório
Nome único do incidente (ex: INC-20260319-001)
acknowledgedBy
string
obrigatório
Identificador do usuário ou equipe que está reconhecendo o incidente
message
string
Mensagem opcional com contexto sobre o reconhecimento
{
  "apiVersion": "v1",
  "kind": "Incident",
  "metadata": {
    "name": "INC-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "Analyzing",
    "acknowledged": true,
    "acknowledgedBy": "carlos.silva@empresa.com",
    "acknowledgedAt": "2026-03-19T15:30:00Z",
    "message": "Investigando aumento de memória no payment-service"
  }
}
{
  "apiVersion": "v1",
  "kind": "Error",
  "error": {
    "code": 409,
    "message": "Incidente já reconhecido",
    "details": "O incidente 'INC-20260319-001' já foi reconhecido por carlos.silva@empresa.com em 2026-03-19T15:30:00Z"
  }
}

Autorizações

Authorization
string
header
obrigatório

Bearer token issued by the operator. Format: Authorization: Bearer <token>.

Parâmetros de caminho

name
string
obrigatório

Unique incident name.

Exemplo:

"INC-20260319-001"

Corpo

application/json
acknowledgedBy
string
obrigatório

User or team identifier acknowledging the incident.

Exemplo:

"carlos.silva@empresa.com"

message
string

Optional context about the acknowledgment.

Exemplo:

"Investigating memory increase on payment-service"

Resposta

Incident acknowledged

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"Incident"

metadata
object
spec
object
status
object