cyphermed.api.devices.get_device_by_id

def sync_detailed( device_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_device_info.AdminDeviceInfo, cyphermed.models.anon_device_info.AnonDeviceInfo, cyphermed.models.device_info.DeviceInfo]]:

Get Device By Id

Get a device by ID

Args: device_id (str):

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[Union['AdminDeviceInfo', 'AnonDeviceInfo', 'DeviceInfo']]

def sync( device_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_device_info.AdminDeviceInfo, cyphermed.models.anon_device_info.AnonDeviceInfo, cyphermed.models.device_info.DeviceInfo, NoneType]:

Get Device By Id

Get a device by ID

Args: device_id (str):

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: Union['AdminDeviceInfo', 'AnonDeviceInfo', 'DeviceInfo']

async def asyncio_detailed( device_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_device_info.AdminDeviceInfo, cyphermed.models.anon_device_info.AnonDeviceInfo, cyphermed.models.device_info.DeviceInfo]]:

Get Device By Id

Get a device by ID

Args: device_id (str):

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[Union['AdminDeviceInfo', 'AnonDeviceInfo', 'DeviceInfo']]

async def asyncio( device_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_device_info.AdminDeviceInfo, cyphermed.models.anon_device_info.AnonDeviceInfo, cyphermed.models.device_info.DeviceInfo, NoneType]:

Get Device By Id

Get a device by ID

Args: device_id (str):

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: Union['AdminDeviceInfo', 'AnonDeviceInfo', 'DeviceInfo']