モニター更新
PUT /api/v1/monitors/{id}
PUT
/api/v1/monitors/{id}
モニターの name / config / intervalSeconds / isActive を更新する。 write スコープが必要。少なくとも1つのフィールドが必要。
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”object
name
string
config
モニタータイプごとの設定。 webchange の場合: { url, selector?, checkType, changeMode? }
- changeMode: “tamper” (変更検知後ダウン状態を維持、デフォルト) または “track” (変更を記録しアップ状態を維持)
object
intervalSeconds
integer
isActive
boolean
Responses
Section titled “ Responses ”更新成功
object
monitor
object
id
string
teamId
string
type
string
name
string
config
Type-specific configuration
object
intervalSeconds
integer
status
string
isActive
integer
lastCheckedAt
string format: date-time
maintenanceUntil
ISO 8601 timestamp until which the monitor is under maintenance. Null when not in maintenance.
string format: date-time
autoResolveMaintenance
Whether maintenance auto-resolves (1) or requires manual resolution (0).
integer
createdAt
string format: date-time
updatedAt
string format: date-time
バリデーションエラー
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