---
title: "Get the specified pipeline of the DevOps project"
method: GET
path: "/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}"
tags: ["DevOps Pipeline"]
---

# Get the specified pipeline of the DevOps project

`GET /kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}`

## Path parameters

- `devops` string, required
- `pipeline` string, required

## Response `200`

ok

- DevopsPipeline
  - `_class` string — It’s a fully qualified name and is an identifier of the producer of this resource's capability.
  - `_links` Links
    - `actions` Actions
      - `_class` string
      - `href` string
    - `branches` Branches
      - `_class` string
      - `href` string
    - `queue` Queue
      - `_class` string
      - `href` string
    - `runs` Runs
      - `_class` string
      - `href` string
    - `scm` Scm
      - `_class` string
      - `href` string
    - `self` Self
      - `_class` string
      - `href` string
    - `trends` Trends
      - `_class` string
      - `href` string
  - `actions` DevopsPipelineActions[] — the list of all actions.
    - unknown
  - `annotations` object — Add annotations from crd
  - `branchNames` string[] — branch names
  - `disabled` unknown
  - `displayName` string — display name
  - `estimatedDurationInMillis` integer — estimated duration time, unit is millis
  - `fullDisplayName` string — full display name
  - `fullName` string — full name
  - `name` string — name
  - `numberOfFailingBranches` integer — number of failing branches
  - `numberOfFailingPullRequests` integer — number of failing pull requests
  - `numberOfFolders` integer — number of folders
  - `numberOfPipelines` integer — number of pipelines
  - `numberOfSuccessfulBranches` integer — number of successful pull requests
  - `numberOfSuccessfulPullRequests` integer — number of successful pull requests
  - `organization` string — the name of organization
  - `parameters` unknown
  - `permissions` Permissions
    - `configure` boolean — configure action
    - `create` boolean — create action
    - `read` boolean — read action
    - `start` boolean — start action
    - `stop` boolean — stop action
  - `pipelineFolderNames` DevopsPipelinePipelineFolderNames[] — pipeline folder names
    - unknown
  - `scmSource` ScmSource
    - `_class` string — It’s a fully qualified name and is an identifier of the producer of this resource's capability.
    - `apiUrl` unknown
    - `id` string — The id of the source configuration management (SCM).
  - `totalNumberOfBranches` integer — total number of branches
  - `totalNumberOfPullRequests` integer — total number of pull requests
  - `weatherScore` integer, required — the score to description the result of pipeline activity

---

[API](https://skmtc.net/kubesphere/apis/kubesphere-devops.md) · [All operations](https://skmtc.net/kubesphere/apis/kubesphere-devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/kubesphere-devops/versions/f2642b25b303/schema)
