Ask Your Question
0

How can I get status of multiple pipelineids using curl ?

asked 2018-12-01 12:19:14 -0600

brawal gravatar image

How can I get status of multiple pipelineids using curl ?

If i try to pass more than one pipelineId, it gives me status of all the pipelineId's .I want status of only few selected pipeline id

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-01 13:25:09 -0600

iamontheinet gravatar image

Hi!

There isn't a REST API endpoint for retrieving statuses for select pipelines. The two options you have are:

  1. Call /rest/v1/pipelines/status once and then parse the response to get the statuses of the pipelines you're interested in.
  2. Call /v1/pipeline/{pipelineId}/status for each pipeline you want the status.

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-12-01 12:19:14 -0600

Seen: 14 times

Last updated: Dec 01