Can I switch branches via the API?

Knowledge Drop

Last tested: May 29, 2018
 

Yes, the all_git_branches, git_branch, create_git_branch, update_git_branch, find_git_branch, and delete_git_branch endpoints are available. Check out our API reference doc.

You can use update_session to switch from prod to dev, then use update_git_branch to switch to the branch you want

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 03:23 PM
Updated by: