Pipelines

Fetch all pipelines


Return all the pipelines
GET /pipelines
page Page number of pipelines to return. Returns empty array if the page has no pipelines. If page parameter isn't present, returns the first page Optional
size Number of pipelines to return in a page. If size parameter isn't present, returns the page with 25 pipelines Optional
Response Body
[
    {
        "_id": "521f26eccce8b4310e00006b",
        "name": "Default"
    },
    {
        "_id": "52219a33cce8b46dd400006a",
        "name": "Pipeline 1"
    },
    {
        "_id": "52219adccce8b4a68d000070",
        "name": "Pipeline 2"
    }
]

Show a pipeline


Show details of an individual pipeline
GET /pipelines/:pipeline_id
pipeline_id Unique identifier of the pipeline Required
Response Body
{
    "_id": "521f26eccce8b4310e00006b",
    "name": "Default"
}

Create a pipeline


Create a new pipeline
POST /pipelines
name Name of the pipeline Required
Response Body
{
    "_id": "527cd0fbcce8b4ff75000018",
    "name": "New Pipeline"
}

Update a pipeline


Update the name of a pipeline
PUT /pipelines/:pipeline_id
pipeline_id Unique identifier of the pipeline Required
name Name of the pipeline Required
Response Body
{
    "_id": "527cd0fbcce8b4ff75000018",
    "name": "Renamed Pipeline"
}

Delete a pipeline


Delete a pipeline
DELETE /pipelines/:pipeline_id
pipeline_id Unique identifier of the pipeline Required
Response Body
{}