インシデント更新
PUT /dashboard/services/{id}/incidents/{incidentId}
PUT
/dashboard/services/{id}/incidents/{incidentId}
インシデントの title / cause を更新する。
少なくとも1つのフィールドが必要。resolved 済みのインシデントは更新不可。
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
サービス ID
incidentId
required
string
インシデント ID
Request Body required
Section titled “Request Body required ” Any of:
Title と cause の少なくとも一方が必要。
実装は zod の .refine() で判定しており、未知キーは剥がされてから
評価されるため {"foo": 1} は 400 になる(実測で確認)。
object
title
required
string
cause
string
Title と cause の少なくとも一方が必要。
実装は zod の .refine() で判定しており、未知キーは剥がされてから
評価されるため {"foo": 1} は 400 になる(実測で確認)。
object
title
string
cause
required
string
Responses
Section titled “ Responses ”更新後のインシデント
object
incident
object
id
string
monitorId
string
teamId
string
type
string
status
string
title
string
startedAt
string format: date-time
resolvedAt
string format: date-time
cause
string
serviceId
Service ID the incident is displayed on
string
createdAt
string format: date-time
バリデーションエラー、または resolved 済みのインシデント
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400 upgradeUrl
URL to upgrade plan (only present for plan limit errors)
string
Example
https://app.manako.dev/billingインシデントが見つからない
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400 upgradeUrl
URL to upgrade plan (only present for plan limit errors)
string
Example
https://app.manako.dev/billing