Matillion REST API Returns all Jobs
We are attempting to get the our job scheduler working with the REST API. We fire the following curl command to start the job:
curl -u ec2-user:<pwd> -X POST "<server ip address>/rest/v0/tasks?groupName=Data%20Product&projectName=Forecasting%20Hub&versionName=default&environmentName=QA&jobName=o_fhub_Batch_Load"
which works and returns json containing the job id. When we run the following curl command to get the status of the running job, we get a list of all jobs that have been run:
curl -u ec2-user:<password> "<ip address>/rest/v0/tasks/<job id>"
Is this normal as I would expect only the json for the running job to be returned. We are using the following version of Matillion.
Version: 1.35.7 (build 200)AMI Version: 1.35.7
Also should we be using V1 API? It gives an error when we run the same command with V1.