Skip to main content
GET
/
api
/
github
/
repositories
/
{owner}
/
{repo}
/
branches
List Repository Branches
curl --request GET \
  --url https://api.example.com/api/github/repositories/{owner}/{repo}/branches \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "<string>",
    "protected": true
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

owner
string
required
repo
string
required

Response

Successful Response

name
string
required
protected
boolean
required