sites

List Branches

Return the branches available on the connected repository. Useful when building a branch picker against a Pressable site.

get/sites/{site_id}/git/branches

Request

Path parameters

site_idinteger required

Response

Successful Response

messagestring
datastring[]

Example response

{
  "message": "Success",
  "data": [
    "main",
    "develop",
    "feature/new-theme"
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.