Github API - Test Config

GET /search/commits
search

Find commits via various criteria on the default branch (usually main). This method returns up to 100 results per page.

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match
metadata
.

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

q=repo:octocat/Spoon-Knife+css
Search commits

Arguments
q string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

sort string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

key order

order [scalar]

Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort.

API:
Github Open API
(version: 1.1.4)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json 3894

3894 [object]

Attributes
incomplete_results boolean

total_count integer

API:
Github Open API
(version: 1.1.4)
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)