Esempio n. 1
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     return Response(get_thread(request, thread_id))
Esempio n. 2
0
 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))
Esempio n. 3
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     return Response(get_thread(request, thread_id))
Esempio n. 4
0
 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))