Skip to main content

get_device_handler

Function get_device_handler 

Source
async fn get_device_handler(
    database: State<DefaultDb>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, GetDeviceError>
Expand description

Handler for GET /_matrix/client/v3/devices/{deviceId} (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3devicesdeviceid).

This endpoint Gets information on a single device, by device id.