Example #1
0
File: views.py Project: triicst/JMS
 def get(self, request, workflow_id):
     """
     Get all versions of a workflow
     """
     jms = JobManager(user=request.user)
     versions = jms.GetWorkflowVersions(workflow_id)
     
     serializer = WorkflowVersionListSerializer(versions, many=True)
     return Response(serializer.data)