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
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idinteger required
Response
Successful Response
Example response
{
"message": "Success",
"data": [
"main",
"develop",
"feature/new-theme"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.