Skip to content

List Branches ​

Endpoint ​

http
GET /unified/ci-cd/branches
Integrations supported
  • Azure DevOps
  • GitHub
  • Travis CI

Query parameters ​

integrated_account_id
string · uuid
REQUIRED · The ID of the integrated account to use for the request.
Example: 62f44730-dd91-461e-bd6a-aedd9e0ad79d
owner
The slug of the owner on Github.
Required in
  • GitHub
repo_id
string
Integration specific notes
  • GitHubThe slug of the repository on Github.
  • Travis CIThe ID of the repository.
  • Azure DevOpsThe unique identifier for repository
Required in
  • Azure DevOps
  • GitHub
  • Travis CI
workspace_id
string
The unique identifier for the workspace
Required in
  • Azure DevOps

Response Body ​

result
object[]
List of Branches
id
string
REQUIRED · The unique identifier for the branch
Supported in
  • Azure DevOps
  • GitHub
  • Travis CI
name
string
REQUIRED · Name of the branch
Supported in
  • Azure DevOps
  • GitHub
  • Travis CI
last_commit
string
The last commit of the branch
Supported in
  • GitHub
last_commit_by
string
The last commit author of the branch
last_commit_message
string
The last commit message of the branch
last_commit_at
string · date-time
The date and time when the last commit was made
created_at
string · date-time
The date and time when the branch was created
updated_at
string · date-time
The date and time when the branch was last updated
remote_data
object
Raw data returned from the remote API call.
next_cursor
string
The cursor to use for the next page of results. Pass this value as `next_cursor` in the query parameter in the next request to get the next page of results.