def METHOD_NAME(self, request, *args, **kwargs):
    asset_ids = request.data.get('assets')
    node_ids = request.data.get('nodes')
    username = request.data.get('username')
    assets = Asset.objects.all()
    if asset_ids:
        assets = assets.filter(id__in=asset_ids)
    if node_ids:
        nodes = Node.objects.filter(id__in=node_ids)
        node_asset_ids = Node.get_nodes_all_assets(*nodes).values_list('id', flat=True)
        assets = assets.filter(id__in=set(list(asset_ids) + list(node_asset_ids)))
    accounts = Account.objects.filter(asset__in=assets)
    if username:
        accounts = accounts.filter(username__icontains=username)
    usernames = list(accounts.values_list('username', flat=True).distinct()[:10])
    usernames.sort()
    common = [i for i in usernames if i in usernames if i.lower() in ['root', 'admin', 'administrator']]
    others = [i for i in usernames if i not in common]
    usernames = common + others
    return Response(data=usernames)