Skip to main content

List repository tags

GET/repos/{owner}/{repo}/tags
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
owner string
required
repo string
required
Query Parameters
per_page integer
optional

Results per page (max 100)

page integer
optional

Page number of the results to fetch.

Responses

application/json array[Tag object]

Response

Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"
items Tag object

Tag

commit object
required
sha string
required
url string<uri>
required
name string
required

Example: v0.1

node_id string
required
tarball_url string<uri>
required

Example: https://github.com/octocat/Hello-World/tarball/v0.1

zipball_url string<uri>
required

Example: https://github.com/octocat/Hello-World/zipball/v0.1