mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 05:51:33 +01:00
0b3aaa6196
* add "before" query to ListIssueComments and ListRepoIssueComments * Add TEST Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
68 lines
1.2 KiB
YAML
68 lines
1.2 KiB
YAML
-
|
|
id: 1
|
|
type: 7 # label
|
|
poster_id: 2
|
|
issue_id: 1 # in repo_id 1
|
|
label_id: 1
|
|
content: "1"
|
|
created_unix: 946684810
|
|
-
|
|
id: 2
|
|
type: 0 # comment
|
|
poster_id: 3 # user not watching (see watch.yml)
|
|
issue_id: 1 # in repo_id 1
|
|
content: "good work!"
|
|
created_unix: 946684811
|
|
updated_unix: 946684811
|
|
-
|
|
id: 3
|
|
type: 0 # comment
|
|
poster_id: 5 # user not watching (see watch.yml)
|
|
issue_id: 1 # in repo_id 1
|
|
content: "meh..."
|
|
created_unix: 946684812
|
|
updated_unix: 946684812
|
|
-
|
|
id: 4
|
|
type: 21 # code comment
|
|
poster_id: 1
|
|
issue_id: 2
|
|
content: "meh..."
|
|
review_id: 4
|
|
line: 4
|
|
tree_path: "README.md"
|
|
created_unix: 946684812
|
|
invalidated: false
|
|
-
|
|
id: 5
|
|
type: 21 # code comment
|
|
poster_id: 1
|
|
issue_id: 2
|
|
content: "meh..."
|
|
line: -4
|
|
tree_path: "README.md"
|
|
created_unix: 946684812
|
|
invalidated: false
|
|
|
|
-
|
|
id: 6
|
|
type: 21 # code comment
|
|
poster_id: 1
|
|
issue_id: 2
|
|
content: "it's already invalidated. boring..."
|
|
line: -4
|
|
tree_path: "README.md"
|
|
created_unix: 946684812
|
|
invalidated: true
|
|
|
|
-
|
|
id: 7
|
|
type: 21 # code comment
|
|
poster_id: 100
|
|
issue_id: 3
|
|
content: "a review from a deleted user"
|
|
line: -4
|
|
review_id: 10
|
|
tree_path: "README.md"
|
|
created_unix: 946684812
|
|
invalidated: true
|