Skip to main content
GET
A repo's history

Path Parameters

owner
string
required
Example:

"patch"

slug
string
required
Example:

"demo-mod"

Query Parameters

ref
string

A branch, a tag or a full commit hash: the default branch unless you say. A branch comes before a tag of the same name, and refs/tags/v1 says which.

Pattern: ^\S{1,255}$
Example:

"main"

limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string

The next_cursor from the previous page

Maximum string length: 500

Response

A page of commits

data
object[]
required
next_cursor
string | null
required