Ask Your Question
0

How to user StreamSets Validation Rest Api?

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

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

Comments

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

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

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

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

1 Answer

Sort by ยป oldest newest most voted
0

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

iamontheinet gravatar image

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

Hi!

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

Stats

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

Seen: 106 times

Last updated: Sep 06