Skip to content

Get a branch

GET
/api/v1/branches/{branchId}
curl --request GET \
--url https://app.avera.io/api/v1/branches/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0
branchId
required
string format: uuid

OK

Media type*/*
object
id
required
string format: uuid
projectId
required
string format: uuid
key
required
string
name
required
string
description
string | null
isMain
required
boolean
status
required
string
Allowed values: ACTIVE MERGED CLOSED
sourceBranchId
string | null format: uuid
headCommitId
string | null format: uuid
createdAt
required
string format: date-time
createdBy
required
string format: uuid