incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Feature][Api] Want api to get pipeline list of blueprints

Open narrowizard opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

There are two solutions to get pipelines of blueprints.

  1. Add a filter parameter (maybe an array filled by blueprints id?) to GET /pipelines api, only return pipelines match target blueprints id.
  2. Add a new api /blueprints/{id}/pipelines, to return pipelines triggered by blueprints.

Use case

We want to list pipelines of specific blueprints. (pipelines triggered by target blueprints)

Related issues

No

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

narrowizard avatar Aug 03 '22 07:08 narrowizard

@narrowizard #2722 Does this result meet your expectations?

abeizn avatar Aug 10 '22 06:08 abeizn