-
Notifications
You must be signed in to change notification settings - Fork 0
/
potential_queries.txt
117 lines (110 loc) · 2.81 KB
/
potential_queries.txt
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
query prevNextSolution($topicId: Int!, $questionSlug: String!, $skip: Int!, $first: Int!, $query: String, $orderBy: TopicSortingOption, $languageTags: [String!], $topicTags: [String!]) {
prevSolution(
topicId: $topicId
filters: {questionSlug: $questionSlug, first: $first, skip: $skip, orderBy: $orderBy, query: $query, languageTags: $languageTags, topicTags: $topicTags}
) {
id
title
}
nextSolution(
topicId: $topicId
filters: {questionSlug: $questionSlug, first: $first, skip: $skip, orderBy: $orderBy, query: $query, languageTags: $languageTags, topicTags: $topicTags}
) {
id
title
}
}
{"query": "", "languageTags": [], "topicTags": [], "topicId": 3678229, "topicSlug": "", "questionSlug": "two-sum", "skip": 0, "first": 15, "orderBy": "hot"}
-----------------------------------------------------------------------------------
query questionHints($titleSlug: String!) {
question(titleSlug: $titleSlug) {
hints
}
}
-----------------------------------------------------------------------------------
query problemsetQuestionList($categorySlug: String, $limit: Int, $skip: Int, $filters: QuestionListFilterInput) {
problemsetQuestionList: questionList(
categorySlug: $categorySlug
limit: $limit
skip: $skip
filters: $filters
) {
total: totalNum
questions: data {
acRate
difficulty
freqBar
frontendQuestionId: questionFrontendId
isFavor
paidOnly: isPaidOnly
status
title
titleSlug
topicTags {
name
id
slug
}
hasSolution
hasVideoSolution
}
}
}
{"categorySlug": "", "skip": 0, "limit": 50, "filters": {}}
-----------------------------------------------------------------------------------
query hasOfficialSolution($titleSlug: String!) {
question(titleSlug: $titleSlug) {
solution {
id
}
}
}
{"titleSlug": "two-sum"}
-----------------------------------------------------------------------------------
query officialSolution($titleSlug: String!) {
question(titleSlug: $titleSlug) {
solution {
id
title
content
contentTypeId
paidOnly
hasVideoSolution
paidOnlyVideo
canSeeDetail
rating {
count
average
userRating {
score
}
}
topic {
id
commentCount
topLevelCommentCount
viewCount
subscribed
solutionTags {
name
slug
}
post {
id
status
creationDate
author {
username
isActive
profile {
userAvatar
reputation
}
}
}
}
}
}
}
{"titleSlug": "two-sum"}
-----------------------------------------------------------------------------------