Repository Branch Manipulation

GET /repos/{repo_id}/branches

Get a list of all branches in the repo.

Request

  • Base URL
    https://api.diversion.dev/v0
  • Auth
    • OAuth 2
      Implicithttps://auth.diversion.dev/oauth2/authorize
      Scopescoreapi/read
    • or OAuth 2
      Implicithttps://auth.diversion.dev/oauth2/authorize
      Scopescoreapi/write

Response

Success

object'Branch' required

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.