Get Branches for a Repository

Retrieves all branches that belong to a specific repository. Allows fetching all Git branches associated with a given repository identified by its repository_id.

Requires a user with READ permissions. Since Xray 3.122.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the repository.

Query Params
integer

Page number for pagination. Default: 1.

integer

Number of results per page. Default: 50.

string

Sort field: name or last_scanned_date.

string
enum

Sort direction: asc or desc.

Allowed:
Responses

400

Bad request - invalid parameters.

404

Repository not found: repository_id does not exist.

500

Internal server error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json