paul29
1
Does anyone know if there is a way to get a list of branches from an app via the bubble data api? I am looking to get the branch codes i.e.:
live, test, 1z40, etc (1Z40 is an example branch code that bubble has automatically creates for the branch when you create a new one)
For example: https://bubble-example-app.com/version-<branch_code>/
Thanks in advance.
yes, the there is an option you can use to know which branch use in. its called App Version , To list all the versions in an app, you can do it in dev tool, but won’t know if it is possible in bubble.io editor

paul29
3
Thanks for your help but I need this info via the bubble API. I knew about the “App version” bubble expression but that doesn’t help me.
GH5T
4
Hi, I recommend clients to make an option set of their “branches” and use that as their list. It’s not like you’ll be making branches all the time, right?
paul29
5
Yah that works but it just wasn’t the easy solution I was hoping bubble would have in an endpoint somewhere. Branches get made about once a week so it’s only a matter of time before the option set is not updated properly and something breaks.
Thanks for your help