Repository Branch Manipulation
Get the current branch details
GET
/
repos
/
{repo_id}
/
branches
/
{branch_id}
Authorizations
Authorization
string
headerrequiredThis API uses OAuth 2 with the implicit grant flow
Path Parameters
repo_id
string
requiredThe repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
branch_id
string
requiredBranch ID. Branch name can be used instead of the ID, but storing and using branch ID in API requests is preferred.
Response
200 - application/json
commit_id
string
requiredbranch_name
string
requiredbranch_description
string
branch_id
string
requiredBranch identifier in Diversion
author
object
requiredUser details
time
number
requiredCreation time