Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Branch Sequences

APIs for managing branch-scoped build sequence IDs

Delete Branch Sequence

delete

Deletes the branch sequence record for a specific branch and repository combination. The repository URL will be normalized internally.

Path parameters
pipelineIdentifierstringRequired

Pipeline Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

repoUrlstringRequired

Repository URL (will be normalized)

branchstringRequired

Branch name

Responses
200

Successfully deleted branch sequence

No content

delete/pipelines/{pipelineIdentifier}/branch-sequences/branch
DELETE /gateway/pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/branch?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&repoUrl=text&branch=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*

No content

List Branch Sequences

get

Returns all branch sequence records for the specified pipeline, showing the current build number for each branch/repo combination.

Path parameters
pipelineIdentifierstringRequired

Pipeline Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Responses
200

Successfully retrieved branch sequences

No content

get/pipelines/{pipelineIdentifier}/branch-sequences
GET /gateway/pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*

No content

Delete Branch Sequences

delete

Deletes all branch sequence records for the specified pipeline. This resets the build counters for all branches.

Path parameters
pipelineIdentifierstringRequired

Pipeline Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

Responses
200

Successfully deleted branch sequences

No content

delete/pipelines/{pipelineIdentifier}/branch-sequences
DELETE /gateway/pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*

No content

Get Branch Sequence

get

Returns the current sequence ID for a specific branch and repository combination.

Path parameters
pipelineIdentifierstringRequired

Pipeline Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

repoUrlstringRequired

Repository URL (will be normalized)

branchstringRequired

Branch name

Responses
200

Successfully retrieved branch sequence

No content

get/pipelines/{pipelineIdentifier}/branch-sequences/current
GET /gateway/pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/current?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&repoUrl=text&branch=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*

No content

Set Branch Sequence

put

Sets the branch sequence counter to a specific value for the given branch and repository. The repository URL will be normalized internally. If no record exists, a new one is created.

Path parameters
pipelineIdentifierstringRequired

Pipeline Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringRequired

Organization Identifier for the Entity.

projectIdentifierstringRequired

Project Identifier for the Entity.

repoUrlstringRequired

Repository URL (will be normalized)

branchstringRequired

Branch name

sequenceIdinteger · int64Required

The sequence value to set

Responses
200

Successfully set branch sequence

No content

put/pipelines/{pipelineIdentifier}/branch-sequences/set
PUT /gateway/pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/set?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&repoUrl=text&branch=text&sequenceId=1 HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*

No content

Last updated

Was this helpful?