client.git_repos.get_refs
A method of the Git Repos endpoint.
- get_refs(id: int) Response
Get all branches and tags of a bookmarked git repository
API URL:
GET /git_repos/{id}/refsimport civis client = civis.APIClient() response = client.git_repos.get_refs(...)
- Parameters:
- idint
The ID for this git repository.
- Returns:
civis.Response- branchesList[str]
List of branch names of this git repository.
- tagsList[str]
List of tag names of this git repository.