cyphermed.api.devices.open_device_tunnel
Open Device Tunnel
Create a new tunnel for a device
Args: device_id (str): body (CreateTunnelBody): Create a new tunnel
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[NewTunnelInfo]
Open Device Tunnel
Create a new tunnel for a device
Args: device_id (str): body (CreateTunnelBody): Create a new tunnel
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: NewTunnelInfo
Open Device Tunnel
Create a new tunnel for a device
Args: device_id (str): body (CreateTunnelBody): Create a new tunnel
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: Response[NewTunnelInfo]
Open Device Tunnel
Create a new tunnel for a device
Args: device_id (str): body (CreateTunnelBody): Create a new tunnel
Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
Returns: NewTunnelInfo