---
title: "Paging query branches of multi branch Pipeline"
method: GET
path: "/kapis/devops.kubesphere.io/v1alpha3/namespaces/{namespace}/pipelines/{pipeline}/branches/{branch}"
tags: ["DevOps Pipeline"]
---

# Paging query branches of multi branch Pipeline

`GET /kapis/devops.kubesphere.io/v1alpha3/namespaces/{namespace}/pipelines/{pipeline}/branches/{branch}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `namespace` string, required
- `pipeline` string, required
- `branch` string, required

## Response `200`

ok

- PipelineBranch
  - `branch` JobBranch
    - `isPrimary` boolean
    - `issues` JobIssue[]
      - `id` string
      - `url` string
    - `url` string
  - `disabled` boolean
  - `latestRun` PipelineLatestRun
    - `causes` PipelineCause[]
      - `shortDescription` string
    - `durationInMillis` integer
    - `endTime` JobTime
      - `Time` string, date-time, required
    - `id` string
    - `name` string
    - `pipeline` string
    - `result` string
    - `startTime` JobTime
      - `Time` string, date-time, required
    - `state` string
  - `name` string
  - `parameters` JobParameterDefinition[]
    - `choices` string[]
    - `defaultParameterValue` JobParameterValue
      - `jobName` string
      - `name` string, required
      - `number` string
      - `value` unknown
    - `description` string
    - `file` string
    - `filter` string
    - `name` string, required
    - `projectName` string
    - `type` string, required
    - `value` string, required
  - `pullRequest` JobPullRequest
    - `author` string
    - `id` string
    - `title` string
    - `url` string
  - `rawName` string
  - `weatherScore` integer, required

---

[API](https://skmtc.dev/kubesphere/apis/kubesphere-devops.md) - [All operations](https://skmtc.dev/kubesphere/apis/kubesphere-devops/llms.txt) - [OpenAPI document](https://skmtc.dev/kubesphere/apis/kubesphere-devops/revisions/f2642b25b303?raw)
