SourceCommit Branch Lookup
- Print
- PDF
SourceCommit Branch Lookup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Search the list of SourceCommit repository branches.
Request
API URL
GET {SOURCEBUILD_API_URL}/sourcecommit/repository/{repositoryName}/branch
Request parameter
Item | Type | Description | Remarks |
---|---|---|---|
repositoryName | string | Search with repositoryList API |
Request query
None
Request body
None
Response
Response body
{
"default": "string",
"branch": ["string"]
}
Item | Type | Description | Remarks |
---|---|---|---|
default | string | Default branch name | |
branch | string[] | Branch name list |
Was this article helpful?