Ask Your Question

How to user StreamSets Validation Rest Api?

asked 2019-09-05 05:45:30 -0500

hcbharath gravatar image

I have a requirement to use Validation rest api. I could not find any documentation regarding that. Could any one please let me know how to use this api using curl. And also what does timeout and rev mean?

edit retag flag offensive close merge delete


Not sure what validation REST API means. Are you referring to authentication API endpoint?

iamontheinet gravatar imageiamontheinet ( 2019-09-05 10:01:15 -0500 )edit

No, I meant the rest endpoint /v1/pipeline/{pipelineid}/validate.

hcbharath gravatar imagehcbharath ( 2019-09-05 23:51:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-09-06 10:14:58 -0500

iamontheinet gravatar image

updated 2019-09-06 10:16:11 -0500


Here's the curl command:

curl -u SDC_USER:SDC_PWD -X GET http://YOUR_SDC_HOST:YOUR_SDC_PORT/rest/v1/pipeline/YOUR_PIPELINE_ID_GOES_HERE/validate -H "X-Requested-By:sdc" -H "Content-Type: application/json"

As for rev and timeout, they are optional params for passing in pipeline version and the time to wait before giving up/trying to get to the SDC.

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-09-05 05:45:30 -0500

Seen: 143 times

Last updated: Sep 06 '19