Branch Sequences
APIs for managing branch-scoped build sequence IDs
Deletes the branch sequence record for a specific branch and repository combination. The repository URL will be normalized internally.
Pipeline Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Repository URL (will be normalized)
Branch name
Successfully deleted branch sequence
No content
Bad Request
Branch sequence not found
Internal server error
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
Returns all branch sequence records for the specified pipeline, showing the current build number for each branch/repo combination.
Pipeline Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully retrieved branch sequences
No content
Bad Request
Not Found
Internal server error
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
Deletes all branch sequence records for the specified pipeline. This resets the build counters for all branches.
Pipeline Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Successfully deleted branch sequences
No content
Bad Request
Not Found
Internal server error
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
Returns the current sequence ID for a specific branch and repository combination.
Pipeline Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Repository URL (will be normalized)
Branch name
Successfully retrieved branch sequence
No content
Bad Request
Branch sequence not found
Internal server error
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
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.
Pipeline Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Repository URL (will be normalized)
Branch name
The sequence value to set
Successfully set branch sequence
No content
Invalid parameters (e.g., invalid repo URL or branch)
Not Found
Internal server error
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?