Git Hub
List repository branches
Lists branches available for a repository visible to the caller.
Lists branches available for a repository visible to the caller.
Authorization
bearerAuth AuthorizationBearer <token>
Create an API key in g2b Settings, then send it as a Bearer token.
In: header
Path Parameters
id*integer
Range
0 < value <= 9007199254740991Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/github/repositories/1/branches"{ "branches": [ { "name": "string" } ]}