Get branches and tags for a VCS repository.
post/midgard/v0.1/vcsrepo/branches
Retrieves branches and tags for a repository. Can use an existing ID or a fresh URI/Credentials pair for validation.
Request
Authorization
X-AT
header
apiKey
Body
application/json
uriThe URI of the repository.
string
username
string
passwordEncrypted and base64 encoded.
string
vcsRepoIdThe VCS repository ID to use existing credentials.
integer
hasPasswordIf true, uses the credentials already stored in the database for the given vcsRepoId.
boolean
Response
200VCS repository branches retrieved successfully.
403User is not allowed to access this resource.
404VCS repository not found.
422Validation error.
Shell cURL
shell
Show schema
json