コンテンツにスキップ

ステータスバッジ (個別モニター)

GET
/{slug}/monitors/{monitorId}/badge.svg

指定モニターのステータスを SVG バッジで返す。認証不要。 モニターがステータスページに紐づいていない場合は “inactive” バッジを返す。 別 Worker (status-page) で提供。60 秒キャッシュ。

slug
required
string
monitorId
required
string
label
string

左側のラベルテキスト(デフォルト: モニター名)

style
string
default: flat
Allowed values: flat flat-square

バッジスタイル

color
string
/^[0-9a-fA-F]{3,8}$/

右側の背景色(hex、# なし)

labelColor
string
/^[0-9a-fA-F]{3,8}$/

左側の背景色(hex、# なし)

SVG バッジ

Cache-Control
string
Example
public, max-age=60, s-maxage=60

ステータスページが見つからない