-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithub.http
61 lines (55 loc) · 1.3 KB
/
github.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
### Get 100 most upvoted Flutter issues
POST https://api.github.com/graphql
Accept: application/vnd.github+json
Authorization: Bearer ghp_12324
X-Request-Type: GraphQL
query ($after: String) {
search(
query: "repo:flutter/flutter is:open sort:reactions-+1-desc"
type: ISSUE
first: 100
after: $after
) {
pageInfo {
endCursor
hasNextPage
}
edges {
node {
... on Issue {
comments {
totalCount
}
createdAt
labels(first: 20) {
edges {
node {
name
}
}
}
number
participants {
totalCount
}
publishedAt
reactions {
totalCount
}
state
title
}
}
}
}
}
### List reactions for a GitHub issue
GET https://api.github.com/repos/flutter/flutter/issues/14330/reactions?per_page=100&page=1
Accept: application/vnd.github+json
Authorization: Bearer ghp_12324
X-GitHub-Api-Version: 2022-11-28
### List timeline events for a GitHub issue
GET https://api.github.com/repos/flutter/flutter/issues/14330/timeline?per_page=100&page=1
Accept: application/vnd.github+json
Authorization: Bearer ghp_12324
X-GitHub-Api-Version: 2022-11-28