def METHOD_NAME(self, user_id):  # lint-amnesty, pylint: disable=missing-function-docstring, unused-argument
    if 'active_threads' in self.server.config:
        user_threads = self.server.config['active_threads'][:]
        params = self._params
        page = int(params.get("page", ["1"])[0])
        per_page = int(params.get("per_page", ["20"])[0])
        num_pages = max(len(user_threads) - 1, 1) / per_page + 1
        user_threads = user_threads[(page - 1) * per_page:page * per_page]
        self.send_json_response({
            "collection": user_threads,
            "page": page,
            "num_pages": num_pages
        })
    else:
        self.send_response(404, content="404 Not Found")