Branch List
- Print
- PDF
Branch List
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Search the list of branches.
Request
API URL
GET {SOURCECOMMIT_API_URL}/repository/{repositoryName}/branch
Request parameters
Item | Type | Description | Remarks |
---|---|---|---|
repositoryName | string | Repository name | 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 | |
branch | string[] | Branch name |
Was this article helpful?