Pub/sub channels published by fediversity-api and subscribed to by front-ends (such as the panel) via Centrifugo. RPC over HTTP is described by openapi.json instead.
Centrifugo WebSocket endpoint
Centrifugo hostname (usually events.<panel-domain>)
Progress and lifecycle events for a specific build.
Subscribe to builds events
Available only on servers:
Unique build identifier
Accepts the following message:
{
"build_id": "string",
"deployment_id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"event": "queued",
"data": {
"position": null
}
}
State change events for a deployment.
Subscribe to deployments events
Available only on servers:
Operator-namespaced deployment identifier ({username}/{pk})
Accepts the following message:
{
"deployment_id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"event": "state_changed",
"old_state": "idle",
"new_state": "idle",
"build_id": "string"
}