Question: How to Resync a Data Source using the rest api

I found the answer. I rubber ducked myself. Typing out your problems is often the fastest way to fix them.

According to this post from @zayn the correct details are:

  • method: PUT
  • endpoint: /a/jobs/user/datasource-resync
  • body: {"JobName":"datasource-resync","JsonParameters":"{\"dsName\":\"pydiods1\"}"}

I added four calls to my test bed:

I adjusted each Change node to use the datasource-resync service:

I checked to make sure the json payload was properly formatted:

Then I triggered each one successfully:

Both the container logs and the cells console show progress and success.

I’m quite happy with that :slight_smile: