Skip to main content

get_devices_handler

Function get_devices_handler 

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

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

This endpoint gets information about all devices for the current user.