We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82dac59 commit 0402e6cCopy full SHA for 0402e6c
Examples/GitDiscussion.gql
@@ -0,0 +1,52 @@
1
+query getDiscussions($owner: String !, $repo: String !, $number: Int !){
2
+ repository(owner: $owner, name: $repo) {
3
+ discussion(number: $number) {
4
+ # type: Discussion
5
+ number
6
+ title
7
+ publishedAt
8
+ author {
9
+ login
10
+ url
11
+ }
12
+ editor {
13
14
15
16
+ body
17
+ bodyHTML
18
+ bodyText
19
+ category {
20
+ createdAt
21
+ name
22
+ emoji
23
+ emojiHTML
24
+ slug
25
+ updatedAt
26
27
+ closed
28
+ closedAt
29
30
+ createdViaEmail
31
+ isAnswered
32
+ answerChosenBy {
33
34
35
36
+ locked
37
38
+ poll {
39
+ question
40
+ options(first: 10) {
41
+ nodes {
42
+ id
43
+ option
44
+ totalVoteCount
45
46
47
48
+
49
50
51
52
+}
0 commit comments