Moved API from action to property view

This commit is contained in:
samuelmcdermott 2020-10-13 12:39:17 +01:00
parent e886e9db28
commit 86d866c5f9
5 changed files with 30 additions and 23 deletions

View file

@ -129,6 +129,9 @@ labthing.add_view(
)
labthing.add_root_link(views.ConfigurationProperty, "instrumentConfiguration")
# Attach stage resources
labthing.add_view(views.StageTypeProperty, "/properties/stage/type")
# Attach streams resources
labthing.add_view(views.MjpegStream, f"/streams/mjpeg")