Website: add MQTT prefix to table of MQTT topics

This commit is contained in:
Sybren A. Stüvel 2024-03-13 19:16:40 +01:00
parent bd3dd90303
commit 1fee086cef

View File

@ -47,18 +47,18 @@ mqtt:
## MQTT Topics ## MQTT Topics
The following topics will be used by Flamenco: The following topics will be used by Flamenco. The `flamenco` prefix for the topics is configurable.
| Description | MQTT topic | JSON event payload | | Description | MQTT topic | JSON event payload |
|----------------------------------|----------------------------------|---------------------------| |----------------------------------|------------------------------------------|---------------------------|
| Manager startup/shutdown | `/lifecycle` | `EventLifeCycle` | | Manager startup/shutdown | `flamenco/lifecycle` | `EventLifeCycle` |
| Farm status | `/status` | `EventFarmStatus` | | Farm status | `flamenco/status` | `EventFarmStatus` |
| Job update | `/jobs` | `EventJobUpdate` | | Job update | `flamenco/jobs` | `EventJobUpdate` |
| Task update | `/jobs/{job UUID}` | `EventTaskUpdate` | | Task update | `flamenco/jobs/{job UUID}` | `EventTaskUpdate` |
| Worker update | `/workers` | `EventWorkerUpdate` | | Worker update | `flamenco/workers` | `EventWorkerUpdate` |
| Worker Tag update | `/workertags` | `EventWorkerTagUpdate` | | Worker Tag update | `flamenco/workertags` | `EventWorkerTagUpdate` |
| Last rendered image | `/last-rendered` | `EventLastRenderedUpdate` | | Last rendered image | `flamenco/last-rendered` | `EventLastRenderedUpdate` |
| Job-specific last rendered image | `/jobs/{job UUID}/last-rendered` | `EventLastRenderedUpdate` | | Job-specific last rendered image | `flamenco/jobs/{job UUID}/last-rendered` | `EventLastRenderedUpdate` |
For the specification of the JSON sent in the MQTT events, use the above table For the specification of the JSON sent in the MQTT events, use the above table
and then look up the type description in the [OpenAPI specification][oapi]. and then look up the type description in the [OpenAPI specification][oapi].