From 993f04e7d09cbb10d7b4de607b9b858c667bd897 Mon Sep 17 00:00:00 2001 From: John Stowers Date: Sat, 6 Jan 2024 04:14:18 +0000 Subject: [PATCH] api: add multicam methods --- motifapi/api.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/motifapi/api.py b/motifapi/api.py index a25100c..aff5f26 100644 --- a/motifapi/api.py +++ b/motifapi/api.py @@ -139,6 +139,11 @@ class MotifApi(object): 'io/(?P[^\s /]+)/set': 'POST', 'io/log': 'POST', 'io/read': 'GET', + 'multicam/synchronize': 'POST', + 'multicam/connect_camera/(?P[^\s /]+)': 'POST', + 'multicam/disconnect_camera/(?P[^\s /]+)': 'POST', + 'multicam/connect_all': 'POST', + 'multicam/disconnect_all': 'POST', } def __init__(self, host=None, api_key=None, port=None, ca_cert=None, api_version=1):