stream.device.umts

Operation: POST /dataservice/stream/device/umts

assign sessionId to client if there is no conflict ongoing sessions

def post(payload: UmtsInput) -> List[UmtsSession]: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.stream.device.umts.post()

Operation: GET /dataservice/stream/device/umts/{operation}/{sessionId}

start, stop,status,download or disable session

def get(operation: str, session_id: str) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.stream.device.umts.get()