v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
DevOps Pipeline

(MultiBranchesPipeline) Get all branches in the specified pipeline.

get/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/branches

Path parameters

devopsstring required

DevOps project's ID, e.g. project-RRRRAzLBlLEm

pipelinestring required

the name of the CI/CD pipeline

Query parameters

filterstring filter=%s

filter remote scm. e.g. origin

startstring start=%d

the count of branches start.

limitstring limit=%d

the count of branches limit.

Response

ok

{"stackTrail":"components:schemas:devops.PipelineBranch","oasType":"schema","type":"unknown"}