]> source.dussan.org Git - gitea.git/commit
[API] ListReleases add filter for draft and pre-releases (#16175)
author6543 <6543@obermui.de>
Thu, 17 Jun 2021 08:58:10 +0000 (10:58 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Jun 2021 08:58:10 +0000 (10:58 +0200)
commit6ad5d0a3062966515730aa1f8d62db5d2a7704ee
tree711b5814e4eb096e88b6f2ccbe597b0b00029275
parentc9d053f0caa14e6fec4d04c009c79c9a0940c450
[API] ListReleases add filter for draft and pre-releases (#16175)

* invent ctx.QueryOptionalBool

* [API] ListReleases add draft and pre-release filter

* Add X-Total-Count header

* Add a release to fixtures

* Add TEST for API ListReleases
integrations/api_releases_test.go
integrations/api_repo_test.go
integrations/release_test.go
models/fixtures/release.yml
models/release.go
modules/context/context.go
modules/context/form.go
routers/api/v1/repo/release.go
templates/swagger/v1_json.tmpl