Octri

monitoring announcements

ステータスページのバナーを一覧表示します。各バナーのレベルと表示開始日時、終了日時を確認できます。インシデントと同様、公開するとすぐに一般公開されます。

bash
octri monitoring announcements [list | create <title> | update <id> | delete <id>]

octri monitoring announcements create <title>

バナーを投稿します。

引数

<title>string必須

バナーの見出し。

フラグ

--message <text>string

タイトルの下に表示する詳細。

--level <level>string

info、success、warning、またはcritical。

--starts <time>string

表示開始日時。例:2026-11-20T09:00:00Z。

--ends <time>string

表示終了日時。どちらも指定しない場合、削除するまで表示されます。

octri monitoring announcements update <id>

同じフィールドの値を変更するか、--titleを変更します。--starts noneと--ends noneを指定すると時刻がクリアされます。

引数

<id>string必須

お知らせ。

octri monitoring announcements delete <id>

バナーを非表示にします。

引数

<id>string必須

お知らせ。

例

メンテナンスを告知

bash
octri monitoring announcements create "Scheduled maintenance" --message "The API is read-only from 09:00 to 09:30 UTC." --level warning --starts 2026-11-20T09:00:00Z --ends 2026-11-20T09:30:00Z
Output
✔ Posting the announcement
✔ Announcement Scheduled maintenance is on the status page (1d0c7675-eedb-4ddb-8ec5-f641b22765e5)