scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.2k stars 138 forks source link

Add server version to api data #171

Closed clydebarrow closed 2 years ago

clydebarrow commented 2 years ago

The UI would like to know the version of the server it is talking to for two reasons:

  1. To inform the user
  2. To enable backwards compatible behaviour when accessing a server that is not the latest.

I'd suggest adding a string field to the top-level API with the server version number.