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

Integration Service Activities

Last updated Feb 25, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated