Branches
Update branch
Changed onOpens the branch to Viewers and Restricted Queriers of its models, or closes it. Opening requires permission to update every model in the branch; closing requires permission to edit any one of them in a branch. The flag turns off again whenever a model is added to the branch.
patch/api/v1/branches/{branchId}
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/branches/{branchId}
- AuthHTTP bearer
Path parameters
branchIdstring uuid required
Branch ID: the org-wide branch, as orgBranchId on branch responses. A model-level branch ID is not accepted.
Query parameters
userIdstring uuid
User ID of the user to act as, as userId on other endpoints. Required with an organization API key; a user-scoped key may only name its own user.
Request body
Response
Branch updated
Changes
- info
endpoint added
- info