activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

List All Branches

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI Path
The List All Branches activity returns branches in a GitHub repository, optionally filtered to a specific reference like main. GET {repos}/{owner}/{repo}/git/refs

Input

ParameterDescriptionData Type
RepositoryRepository whose branches will be listed; name is not case‑sensitive. string
ReferenceOptional exact branch name; when specified, only that ref is returned if it exists. string
Max recordsMaximum number of branch records to include in a single page of results. int32

Output

ParameterDescriptionData Type
List all branchesCollection payload containing branch data.Array
Note:
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.