Add core state to Supervisor API (#798)

This commit is contained in:
Joakim Sørensen 2021-02-09 09:58:43 +01:00 committed by GitHub
parent 1ce31dd809
commit 5346092ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1313,6 +1313,7 @@ Returns a dict with selected keys from other `/*/info` endpoints.
| supported | boolean | `true` if the environment is supported | | supported | boolean | `true` if the environment is supported |
| channel | string | The active channel (stable, beta, dev) | | channel | string | The active channel (stable, beta, dev) |
| logging | string | The active log level (debug, info, warning, error, critical) | | logging | string | The active log level (debug, info, warning, error, critical) |
| state | string | The core state of the Supervisor. |
| timezone | string | The current timezone | | timezone | string | The current timezone |
**Example response:** **Example response:**
@ -1332,6 +1333,7 @@ Returns a dict with selected keys from other `/*/info` endpoints.
"supported": true, "supported": true,
"channel": "stable", "channel": "stable",
"logging": "info", "logging": "info",
"state": "running",
"timezone": "Europe/Tomorrowland" "timezone": "Europe/Tomorrowland"
} }
``` ```