master
1fragment Reaction on Reaction {
2 user {
3 login
4 }
5 content
6 createdAt
7}
8
9fragment Reactions on Reactable {
10 reactions(first: $num, after: $cursor) {
11 totalCount
12 nodes {
13 ...Reaction
14 }
15 pageInfo {
16 hasNextPage
17 endCursor
18 }
19 }
20}
21
22query ReactionsQuery($id: ID!, $num: Int = 100, $cursor: String) {
23 node(id: $id) {
24 __typename
25 ...Reactions
26 }
27 rateLimit {
28 limit
29 cost
30 remaining
31 resetAt
32 }
33}
34
35query ReactionsBatchQuery($ids: [ID!]!, $num: Int = 100, $cursor: String) {
36 nodes(ids: $ids) {
37 __typename
38 id
39 ...Reactions
40 }
41 rateLimit {
42 limit
43 cost
44 remaining
45 resetAt
46 }
47}