Add pipelines endpoint to REST API

Issue #13116 resolved
Jakub Pawłowski
created an issue

Right now I don't see a way of programmatically accessing Pipelines. It wold be very useful if pipeline operations were exposed in REST API. These operations could include:

  • GET a list of pipeline runs (along with results, etc)
  • POST a request to run pipeline for specific commit or branch
  • cancel (DELETE) a running pipeline

It would enable such scenarios as: invoking pipeline from command line, pipeline status monitoring, etc. An example of a similar API is AppVeyor's builds API

Comments (6)

  1. Maarten Vandersteegen

    I tried the following command for a public repo:


    But I get:

    {"type": "error", "error": {"message": "target_user"}}%

    What am I doing wrong?

  2. Gareth McCumskey

    I attempted to access a repository endpoint and got back the expected data. I added "pipelines" to the end of the URL and got back a "Resource not found" message even though the team to which the access token is associated has full access to all repositories under the team.

    Am I missing something?

  3. Log in to comment