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"
}
}
Incidents
Reconhecer Incidente
Marca um incidente como reconhecido, indicando que a equipe está ciente e atuando
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"
}
}
Nome único do incidente (ex:
INC-20260319-001)Identificador do usuário ou equipe que está reconhecendo o incidente
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
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Parâmetros de caminho
Unique incident name.
Exemplo:
"INC-20260319-001"
Corpo
application/json
⌘I