Add latest frigate version to stats endpoints (#3038)

* Add latest version to stats in mqtt and http

* Update json to include new field

* Update to use requests

* Don't use incorrect exception
This commit is contained in:
Nicolas Mowen
2022-04-11 06:10:19 -06:00
committed by GitHub
parent 35bd1de5ba
commit 58c32857d3
2 changed files with 15 additions and 1 deletions

View File

@@ -110,7 +110,8 @@ Sample response:
"service": {
/* Uptime in seconds */
"uptime": 10,
"version": "0.8.0-8883709",
"version": "0.10.1-8883709",
"latest_version": "0.10.1",
/* Storage data in MB for important locations */
"storage": {
"/media/frigate/clips": {