Skip to main content
PATCH
モニターを更新

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

monitorId
string<uuid>
必須

モニターID

ボディ

application/json

部分的なモニター更新ペイロード。少なくとも 1 つのフィールドを含めてください。

goal
string | null

変更されたページが意味のあるものかどうかを判定するための自然言語のゴールです。これが指定され、judgeEnabled が省略されている場合は、judging が自動的に有効になります。いずれかのターゲットが search ターゲットである場合、judgeEnabledfalse でない限り必須です(空文字不可)。

Maximum string length: 2000
judgeEnabled
boolean

変更されたページを goal に照らして判定するかどうか。実行には空でない goal が必要です。

name
string
Maximum string length: 256
notification
object
retentionDays
integer
必須範囲: 1 <= x <= 365
schedule
object

モニターチェックのスケジュール。cron または text のいずれかを指定してください。

status
enum<string>
利用可能なオプション:
active,
paused
targets
(Scrape target · object | Crawl target · object | Search target · object)[]
Required array length: 1 - 50 elements
webhook
object

モニター ページおよびチェック完了イベント用の webhook の送信先。

レスポンス

モニターを更新しました

data
object
success
boolean