Manage Branches
Update a Branch
Changed onUpdate the ID or the baseRef of a branch. Changing the base reference of a branch performs a "rebase"-operation. Under some circumstances such an operation can take a bit longer than usual, in that case a special response will be sent which contains a token to check the status of the operation. Depending on the content of the branch, there can be conflicts during a "rebase"-operation. In that case the response will be a conflict-response which contains a description of the occurred conflicts. These conflicts then have to be solved in order to continue with the "rebase"-operation.
patch/spaces/{spaceId}/branches/{branchId}
Request
- Base URL/hub (relative, and the document was published on a file host, not at the API’s origin)
- URL/hub/spaces/{spaceId}/branches/{branchId}
- Auth
- API key in query parameter access_token
- or HTTP bearer
Path parameters
spaceIdstring required
The unique identifier of the space.
branchIdstring required
The unique identifier of the branch.
Request body
Response
A branch response.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking