Get Commits for a Branch

Retrieves all commits that were scanned for a specific branch within a repository. The branch_name query parameter is required.

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
string
required

The name of the branch for which you want to retrieve commits.

integer

Page number for pagination. Default: 1.

integer

Number of results per page. Default: 50.

string

Sort field: author or last_scanned_date.

string
enum

Sort direction: asc or desc.

Allowed:
Responses

500

Internal server error. The response body does not include a failure reason.

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