repository

List a repo's releases

Changed on
get/repos/{owner}/{repo}/releases

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

draftboolean

filter (exclude / include) drafts, if you don't have repo write access none will show

pre-releaseboolean

filter (exclude / include) pre-releases

tag_filterstring

filter releases by tag. supports "" as a wildcard (for example: v1, *beta, rc).

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

ReleaseList

bodystring

The release notes or description

created_atstring date-time
draftboolean

Whether the release is a draft

html_urlstring

The HTML URL to view the release

idinteger

The unique identifier of the release

namestring

The display title of the release

prereleaseboolean

Whether the release is a prerelease

published_atstring date-time
tag_namestring

The name of the git tag associated with the release

tarball_urlstring

The URL to download the tarball archive

target_commitishstring

The target commitish for the release

upload_urlstring

The URL template for uploading release assets

urlstring

The API URL of the release

zipball_urlstring

The URL to download the zip archive

Changes