Skip to main content
GET
A repo's branches and tags

Path Parameters

owner
string
required
Example:

"patch"

slug
string
required
Example:

"demo-mod"

Response

Its refs

default_branch
string
required
Example:

"main"

branches
object[]
required

By name.

tags
object[]
required

By name, newest versions first.

truncated
boolean
required

Whether any were left out: there are at most 1,000 of each.