Skip to main content
GET
/
api
/
spaces
/
{spaceId}
/
git
/
{itemId}
/
branches
cURL
curl --request GET \
  --url https://api.kazzle.app/api/spaces/{spaceId}/git/{itemId}/branches \
  --header 'Authorization: Bearer <token>'
{
  "branches": [
    {
      "name": "<string>",
      "current": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Response

200 - application/json

Successful response

branches
object[]
required