---
title: "Scan remote Repository, Start a build if have new branch."
method: POST
path: "/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/scan"
tags: ["DevOps Pipeline"]
---

# Scan remote Repository, Start a build if have new branch.

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

## Path parameters

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

## Query parameters

- `delay` string, delay=%d

## Request body

- integer[]

## Response `200`

ok

---

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