New: Branch API (beta)
New: Branch API (beta)
The Branch API (beta) is now documented for Enterprise sites with page branching enabled.
Branches
- Overview — lifecycle, async tasks, conflicts, and entitlement requirements
- List Branches — paginated branch list with computed status and
nextActions - Create Branch — enqueue branch creation from a page
- Get Branch — single branch with status
- Delete Branch — enqueue branch deletion (202 + task poll)
- Get Branch Conflicts — unresolved style and component conflicts
- Update Branch — pull main changes into a branch
- Merge Branch — merge a branch into main
- Publish Branch — publish a branch preview to its staging domain
- Get Branch Task Status — poll async branch tasks
Webhooks
branch_created,branch_merged, andbranch_deletedevent schemas are documented under All Events. Successful merges firebranch_mergedonly — notbranch_deleted.