mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:12:48 +01:00
6ad5d0a306
* 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
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
- id: 1
|
|
repo_id: 1
|
|
publisher_id: 2
|
|
tag_name: "v1.1"
|
|
lower_tag_name: "v1.1"
|
|
target: "master"
|
|
title: "testing-release"
|
|
sha1: "65f1bf27bc3bf70f64657658635e66094edbcb4d"
|
|
num_commits: 10
|
|
is_draft: false
|
|
is_prerelease: false
|
|
is_tag: false
|
|
created_unix: 946684800
|
|
|
|
- id: 2
|
|
repo_id: 40
|
|
publisher_id: 2
|
|
tag_name: "v1.1"
|
|
lower_tag_name: "v1.1"
|
|
target: "master"
|
|
title: "testing-release"
|
|
sha1: "65f1bf27bc3bf70f64657658635e66094edbcb4d"
|
|
num_commits: 10
|
|
is_draft: false
|
|
is_prerelease: false
|
|
is_tag: false
|
|
created_unix: 946684800
|
|
|
|
- id: 3
|
|
repo_id: 1
|
|
publisher_id: 2
|
|
tag_name: "delete-tag"
|
|
lower_tag_name: "delete-tag"
|
|
target: "master"
|
|
title: "delete-tag"
|
|
sha1: "65f1bf27bc3bf70f64657658635e66094edbcb4d"
|
|
num_commits: 10
|
|
is_draft: false
|
|
is_prerelease: false
|
|
is_tag: true
|
|
created_unix: 946684800
|
|
|
|
- id: 4
|
|
repo_id: 1
|
|
publisher_id: 2
|
|
tag_name: "draft-release"
|
|
lower_tag_name: "draft-release"
|
|
target: "master"
|
|
title: "draft-release"
|
|
is_draft: true
|
|
is_prerelease: false
|
|
is_tag: false
|
|
created_unix: 1619524806
|
|
|
|
- id: 5
|
|
repo_id: 1
|
|
publisher_id: 2
|
|
tag_name: "v1.0"
|
|
lower_tag_name: "v1.0"
|
|
target: "master"
|
|
title: "pre-release"
|
|
note: "some text for a pre release"
|
|
sha1: "65f1bf27bc3bf70f64657658635e66094edbcb4d"
|
|
num_commits: 1
|
|
is_draft: false
|
|
is_prerelease: true
|
|
is_tag: false
|
|
created_unix: 946684800
|