docs: def create(self, request, *args, **kwargs):
          """Create a resource."""
          self.define_contributor(request)
  
          try:
              return super().create(request, *args, **kwargs)
  
          except IntegrityError as ex:
              return Response({'error': str(ex)}, status=status.HTTP_409_CONFLICT)