iii-cloud::alerts
What iii cloud says now that needs a look, newest first: a deployment that failed, one waiting for the person's approval, an engine restarting or down, a worker that keeps restarting (a crash loop). They come from each watched environment's own event stream, so deployments started elsewhere count too. Each is {id, environment_id, cloud_project_id, project, environment, kind (failed, needs_action, engine_restarting, engine_down, crashloop), deployment {id, number}, title, detail, at}. It reads only; the page draws them over every screen and the person dismisses them there. Every change also reaches iii-cloud::on-change as kind alerts.
- alertsobject[]required
- atstringrequired
When it began (RFC 3339).
- cloud_project_idstring
The cloud project's id, to open it when it is not the selected one.
- deploymentany ofany of (2)Variant 1
- idstringrequired
- numberinteger· uint64requiredmin 0
The project's own count, not the environment's.
Variant 2valuenull - detailstringrequired
- environmentstringrequired
- environment_idstringrequired
- idstringrequired
The event's: `failed:<deployment>`, `needs_action:<deployment>` or `engine:<environment>:<since>`. A dismissed id does not come back.
- kindone ofrequiredone of (4)Variant 1valuestringenum engine_restarting, engine_downVariant 2valuestringenum failedVariant 3valuestringenum needs_actionVariant 4valuestringenum crashloop
- projectstringrequired
- titlestringrequired