GitLab API should support retrieving a list of instance-wide pipelines
Release notes
API users can now retrieve a list of all pipelines instance-wide using the new /pipelines
endpoint. This endpoint provides a similar query interface to /projects/:id/pipelines
, but does not limit the request to a single project.
Problem to solve
Development team leads frequently need insights into pipeline status across multiple projects, and often end up building their own dashboards using the GitLab API to get just the right view of that data. The existing /projects/:id/pipelines
endpoint can be used for this, but not without the user first taking the time to collect a list of all projects and loop through them individually. An endpoint to retrieve all pipelines across all projects would circumvent that extra step.
Proposal
The API endpoint proposed here would be nearly identical to https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines; the only real difference is that it would be accessed at /pipelines
, and would not filter its results by a project ID (unless, perhaps, the user could specify a set of project IDs as an additional filter parameter —but that might be something for a future iteration).
Intended users
Unknown
Feature Usage Metrics
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.