How do you submit a job with dependencies in the REST API?

I am able to submit jobs via the POST /api/jobs endpoint. However I would like to submit a job with two dependancies submitted earlier. What property and minimum object do I need to include?

You only need the job id in the new job’s properties like this:
JobDependency0=65bbc859e72e37bad16814ef
You can try setting a dependency manually in monitor, and observing the properties.

1 Like

Works like a charm! Thank you @mois.moshev !