Skip to main content

get_global_account_data_handler

Function get_global_account_data_handler 

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

Handler for GET /_matrix/client/v3/user/{userId}/account_data/{type} (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3useruseridaccount_datatype).

This endpoint is used to get global account data by its type.