Pipelines
Preview

Get what a pipeline's apps run in each stage

By app: the snapshot each app runs in each stage and how many deployments carry it. By stage: the deployments and the snapshot each stage runs. Counts and names only the deployments the caller may read. A cell whose deployments run different snapshots is `mixed`.

GET
/pipelines/{pipelineId}/apps
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

pipelineId*string
Formatuuid

Response Body

The apps of the pipeline.

application/json
  1. response
version*integer
apps*array<>
stages*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/pipelines/497f6eca-6276-4993-bfeb-53cbbbba6f08/apps'
Example Response
{  "version": 0,  "apps": [    {      "sourceName": "string",      "app": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "cells": [        {          "stageId": "4ac83d66-64fa-48da-9505-57df43404af7",          "deployments": 0,          "contentId": "string",          "mixed": true        }      ],      "deployments": 0    }  ],  "stages": [    {      "stage": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",        "arrival": "auto_promote",        "soakSeconds": 0,        "config": {          "which": "qualified",          "ifSeveral": "replace",          "allowRequests": true,          "configOnly": true,          "incoming": "all",          "narrow": [            {              "field": "cluster",              "op": "is",              "value": "string"            }          ],          "rules": [            {              "id": "string",              "type": "approval",              "section": "gate",              "title": "string",              "note": "string",              "locked": true,              "params": {}            }          ],          "onReject": "keep",          "onQualify": "notify",          "notifyTarget": "string",          "rollout": {            "mode": "all",            "waves": [              {                "id": "string",                "name": "string",                "detail": "string",                "targets": "string",                "verify": "string",                "next": "confirm",                "soakSeconds": 0,                "selector": {                  "property1": "string",                  "property2": "string"                }              }            ],            "onFail": "pause",            "retries": "2",            "timeout": "15m"          },          "health": {            "watchSeconds": 0,            "onFail": "pause"          },          "requestForm": "string",          "agents": {            "autonomy": "observe",            "cap": "observe",            "perHour": 0,            "may": {              "property1": true,              "property2": true            },            "read": {              "mode": "off",              "agentId": "string"            }          },          "preset": {            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "version": 1          }        },        "position": 0,        "environmentName": "string",        "environmentClass": "string"      },      "deployments": [        {          "apps": [            "string"          ],          "cluster": "string",          "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",          "name": "string",          "brief": {            "contentId": "string",            "origin": "sync",            "commitSubject": "string",            "commitAuthor": "string",            "committedAt": "2019-08-24T14:15:22Z",            "change": {              "kind": "image",              "app": "string",              "from": "string",              "to": "string"            },            "apps": [              {                "appId": "28c365d5-df94-4a54-8217-3ce51d068868",                "name": "string",                "sourceRepo": "string",                "sourcePath": "string",                "renderType": "string",                "commit": "string",                "branch": "string",                "branchProtected": true,                "prNumber": 0,                "pusher": "string",                "commitSubject": "string",                "commitAuthor": "string",                "committedAt": "2019-08-24T14:15:22Z",                "refKind": "branch",                "refName": "string",                "commitsSince": 0,                "commitRange": [                  {                    "sha": "string",                    "subject": "string",                    "author": "string"                  }                ]              }            ]          },          "contentId": "string",          "health": "string"        }      ],      "deploymentCount": 0,      "brief": {        "contentId": "string",        "origin": "sync",        "commitSubject": "string",        "commitAuthor": "string",        "committedAt": "2019-08-24T14:15:22Z",        "change": {          "kind": "image",          "app": "string",          "from": "string",          "to": "string"        },        "apps": [          {            "appId": "28c365d5-df94-4a54-8217-3ce51d068868",            "name": "string",            "sourceRepo": "string",            "sourcePath": "string",            "renderType": "string",            "commit": "string",            "branch": "string",            "branchProtected": true,            "prNumber": 0,            "pusher": "string",            "commitSubject": "string",            "commitAuthor": "string",            "committedAt": "2019-08-24T14:15:22Z",            "refKind": "branch",            "refName": "string",            "commitsSince": 0,            "commitRange": [              {                "sha": "string",                "subject": "string",                "author": "string"              }            ]          }        ]      },      "contentId": "string",      "mixed": true    }  ]}