API ReferenceGit
Get a branch reference
Get a reference to a branch in the Git repository. Returns the ref name and SHA of the branch.
Path Parameters
repo*string
The repository id
Format
uuidbranch*string
The branch's name
Response Body
application/json
curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/git/refs/heads/string"{
"name": "string",
"sha": "string"
}