- schema version 7
- Changes to the API:
- Added fields to the
GET /api/
response:serverVersion
- Altered fields in the
GET /api/
response:session
was moved into a newuser
object, to support providing
information about the user when authenticating via Unix uid rather
than session cookie (a planned feature).session.username
is now
user.name
;session.csrf
is nowuser.session.csrf
.user.id
anduser.preferences
have been added.signals.source
is nowsignals.uuid
. The UUID is now expected to
be unique, where before only (source, type) was guaranteed to be
unique.camera.config
has been altered and extended.onvifHost
has
becomeonvifBaseUrl
to allow selecting betweenhttp
andhttps
.camera.description
was moved tocamera.config.description
.
(This might have been an oversight; now it's only possible to see
the description with theread_camera_configs
permission. This
field can be re-introduced if desired.)stream.config
has been altered and extended.rtspUrl
has become
url
to (in the future) represent a URL for other streaming
protocols. Therecord
boolean was replaced withmode
, which
currently may be either absent or the stringrecord
.
- Added
POST /api/users/<id>
for altering a user's UI preferences.
- Added fields to the