Moved API from action to property view
This commit is contained in:
parent
e886e9db28
commit
86d866c5f9
5 changed files with 30 additions and 23 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue