コンテンツにスキップ

手動インシデント作成

POST
/api/v1/incidents

手動インシデントを作成する。write スコープが必要。

object
title
required
string
>= 1 characters <= 200 characters
cause
string
<= 5000 characters

インシデント作成成功

object
incident
object
id
string
monitorId
string | null
teamId
string
type
string
Allowed values: auto manual change warning
status
string
Allowed values: ongoing resolved acknowledged
title
string | null
startedAt
string format: date-time
resolvedAt
string | null format: date-time
cause
string | null
createdAt
string format: date-time

バリデーションエラー

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400

未認証

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400