v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Branch Manipulation

Get the current branch details

get/repos/{repo_id}/branches/{branch_id}

Response

Branch details returned

commit_idstring required
branch_namestring required
branch_descriptionstring
branch_idstring required

Branch identifier in Diversion

timenumber required

Creation time

Example response

{
  "commit_id": "example_id",
  "branch_name": "new-branch-name",
  "branch_description": "A description of the branch"
}