File tree Expand file tree Collapse file tree 11 files changed +7471
-69
lines changed Expand file tree Collapse file tree 11 files changed +7471
-69
lines changed Original file line number Diff line number Diff line change 1+ query problemsetQuestionList (
2+ $categorySlug : String
3+ $limit : Int
4+ $skip : Int
5+ $filters : QuestionListFilterInput
6+ ) {
7+ problemsetQuestionList (
8+ categorySlug : $categorySlug
9+ limit : $limit
10+ skip : $skip
11+ filters : $filters
12+ ) {
13+ hasMore
14+ total
15+ questions {
16+ acRate
17+ difficulty
18+ freqBar
19+ frontendQuestionId
20+ isFavor
21+ paidOnly
22+ solutionNum
23+ status
24+ title
25+ titleCn
26+ titleSlug
27+ topicTags {
28+ name
29+ nameTranslated
30+ id
31+ slug
32+ }
33+ }
34+ }
35+ }
Original file line number Diff line number Diff line change 1+ query ($titleSlug : String ! ) {
2+ question (titleSlug : $titleSlug ) {
3+ questionId
4+ questionFrontendId
5+ boundTopicId
6+ title
7+ titleSlug
8+ content
9+ translatedTitle
10+ translatedContent
11+ isPaidOnly
12+ difficulty
13+ likes
14+ dislikes
15+ isLiked
16+ similarQuestions
17+ exampleTestcases
18+ contributors {
19+ username
20+ profileUrl
21+ avatarUrl
22+ }
23+ topicTags {
24+ name
25+ slug
26+ translatedName
27+ }
28+ companyTagStats
29+ codeSnippets {
30+ lang
31+ langSlug
32+ code
33+ }
34+ stats
35+ hints
36+ solution {
37+ id
38+ canSeeDetail
39+ }
40+ status
41+ sampleTestCase
42+ metaData
43+ judgerAvailable
44+ judgeType
45+ mysqlSchemas
46+ enableRunCode
47+ enableTestMode
48+ libraryUrl
49+ note
50+ }
51+ }
Original file line number Diff line number Diff line change 1+ query questionOfToday {
2+ todayRecord {
3+ date
4+ userStatus
5+ question {
6+ questionId
7+ frontendQuestionId : questionFrontendId
8+ difficulty
9+ title
10+ titleCn : translatedTitle
11+ titleSlug
12+ paidOnly : isPaidOnly
13+ freqBar
14+ isFavor
15+ acRate
16+ status
17+ solutionNum
18+ hasVideoSolution
19+ topicTags {
20+ name
21+ nameTranslated : translatedName
22+ id
23+ }
24+ extra {
25+ topCompanyTags {
26+ imgUrl
27+ slug
28+ numSubscribed
29+ }
30+ }
31+ }
32+ lastSubmission {
33+ id
34+ }
35+ }
36+ }
Original file line number Diff line number Diff line change 1+ query recentAcSubmissions ($username : String ! ) {
2+ recentACSubmissions (userSlug : $username ) {
3+ submissionId
4+ submitTime
5+ question {
6+ title
7+ translatedTitle
8+ titleSlug
9+ questionFrontendId
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ query userContestRankingInfo ($username : String ! ) {
2+ userContestRanking (userSlug : $username ) {
3+ attendedContestsCount
4+ rating
5+ globalRanking
6+ localRanking
7+ globalTotalParticipants
8+ localTotalParticipants
9+ topPercentage
10+ }
11+ userContestRankingHistory (userSlug : $username ) {
12+ attended
13+ totalProblems
14+ trendingDirection
15+ finishTimeInSeconds
16+ rating
17+ score
18+ ranking
19+ contest {
20+ title
21+ titleCn
22+ startTime
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change 1+ query submissionList (
2+ $offset : Int !
3+ $limit : Int !
4+ $lastKey : String
5+ $questionSlug : String !
6+ $lang : String
7+ $status : SubmissionStatusEnum
8+ ) {
9+ submissionList (
10+ offset : $offset
11+ limit : $limit
12+ lastKey : $lastKey
13+ questionSlug : $questionSlug
14+ lang : $lang
15+ status : $status
16+ ) {
17+ lastKey
18+ hasNext
19+ submissions {
20+ id
21+ title
22+ status
23+ statusDisplay
24+ lang
25+ langName : langVerboseName
26+ runtime
27+ timestamp
28+ url
29+ isPending
30+ memory
31+ frontendId
32+ submissionComment {
33+ comment
34+ flagType
35+ }
36+ }
37+ }
38+ }
Original file line number Diff line number Diff line change 1+ query getUserProfile ($username : String ! ) {
2+ userProfileUserQuestionProgress (userSlug : $username ) {
3+ numAcceptedQuestions {
4+ count
5+ difficulty
6+ }
7+ numFailedQuestions {
8+ count
9+ difficulty
10+ }
11+ numUntouchedQuestions {
12+ count
13+ difficulty
14+ }
15+ }
16+ userProfilePublicProfile (userSlug : $username ) {
17+ haveFollowed
18+ siteRanking
19+ profile {
20+ userSlug
21+ realName
22+ aboutMe
23+ asciiCode
24+ userAvatar
25+ gender
26+ websites
27+ skillTags
28+ ipRegion
29+ birthday
30+ location
31+ useDefaultAvatar
32+ certificationLevel
33+ github
34+ school : schoolV2 {
35+ schoolId
36+ logo
37+ name
38+ }
39+ company : companyV2 {
40+ id
41+ logo
42+ name
43+ }
44+ job
45+ globalLocation {
46+ country
47+ province
48+ city
49+ overseasCity
50+ }
51+ socialAccounts {
52+ provider
53+ profileUrl
54+ }
55+ skillSet {
56+ langLevels {
57+ langName
58+ langVerboseName
59+ level
60+ }
61+ topics {
62+ slug
63+ name
64+ translatedName
65+ }
66+ topicAreaScores {
67+ score
68+ topicArea {
69+ name
70+ slug
71+ }
72+ }
73+ }
74+ }
75+ educationRecordList {
76+ unverifiedOrganizationName
77+ }
78+ occupationRecordList {
79+ unverifiedOrganizationName
80+ jobTitle
81+ }
82+ }
83+ }
Original file line number Diff line number Diff line change 1+ query userProgressQuestionList ($filters : UserProgressQuestionListInput ) {
2+ userProgressQuestionList (filters : $filters ) {
3+ totalNum
4+ questions {
5+ translatedTitle
6+ frontendId
7+ title
8+ titleSlug
9+ difficulty
10+ lastSubmittedAt
11+ numSubmitted
12+ questionStatus
13+ lastResult
14+ topicTags {
15+ name
16+ nameTranslated
17+ slug
18+ }
19+ }
20+ }
21+ }
22+
23+ # UserProgressQuestionListInput:
24+ # {
25+ # "skip": 50,
26+ # "limit": 50
27+ # }
Original file line number Diff line number Diff line change 1+ query userStatus {
2+ userStatus {
3+ isSignedIn
4+ isAdmin
5+ isStaff
6+ isSuperuser
7+ isTranslator
8+ isVerified
9+ isPhoneVerified
10+ isWechatVerified
11+ checkedInToday
12+ username
13+ realName
14+ userSlug
15+ avatar
16+ region
17+ permissions
18+ useTranslation
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments