Example #1
0
 def retrieve(self, request, org, instance, ix, name, *args, **kwargs):
     rs_config = self.get_object()
     serializer = Serializers.rsconf(
         instance=rs_config,
         many=False,
     )
     return Response(serializer.data)
Example #2
0
 def plain(self, request, org, instance, ix, name, *args, **kwargs):
     rs_config = self.get_object()
     serializer = Serializers.rsconf(
         instance=rs_config,
         many=False,
     )
     # return Response(serializer.instance.body)
     return Response(serializer.instance.body)