def retrieve(self, request, thread_id=None): """ Implements the GET method for thread ID """ requested_fields = request.GET.get('requested_fields') return Response(get_thread(request, thread_id, requested_fields))