forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathachievements.graphql
More file actions
107 lines (106 loc) · 2.3 KB
/
achievements.graphql
File metadata and controls
107 lines (106 loc) · 2.3 KB
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
query AchievementsDefault {
user(login: "$login") {
repositories(first: 1, privacy: PUBLIC, affiliations: OWNER, orderBy: {field: CREATED_AT, direction: ASC}) {
nodes {
createdAt
nameWithOwner
}
totalCount
}
forks:repositories(first: 1, privacy: PUBLIC, isFork: true, orderBy: {field: CREATED_AT, direction: ASC}) {
nodes {
createdAt
nameWithOwner
}
totalCount
}
popular:repositories(first:1, orderBy: {field: STARGAZERS, direction: DESC}) {
nodes {
stargazers {
totalCount
}
}
}
pullRequests(orderBy: {field: CREATED_AT, direction: ASC}, first: 1) {
nodes {
createdAt
title
repository {
nameWithOwner
}
}
totalCount
}
contributionsCollection {
pullRequestReviewContributions(first: 1, orderBy: {direction: ASC}) {
nodes {
occurredAt
pullRequest {
title
number
repository {
nameWithOwner
}
}
}
totalCount
}
}
projects: projectsV2(first: 1, orderBy: {field: CREATED_AT, direction: ASC}) {
totalCount
#nodes { This requires additional scopes :/
# name
#}
}
packages(first: 1, orderBy: {direction: ASC, field: CREATED_AT}) {
totalCount
#nodes { This requires additional scopes :/
# name
# packageType
# versions(first: 1, orderBy: {direction: ASC, field: CREATED_AT}) {
# nodes {
# id
# }
# }
#}
}
organizations(first: 1) {
#nodes {
# name
#}
totalCount
}
gists(first: 1, orderBy: {field: CREATED_AT, direction: ASC}) {
nodes {
createdAt
name
}
totalCount
}
starredRepositories {
totalCount
}
followers {
totalCount
}
following {
totalCount
}
bio
status {
message
}
sponsorshipsAsSponsor {
totalCount
}
discussionsStarted: repositoryDiscussions {
totalCount
}
discussionsComments: repositoryDiscussionComments {
totalCount
}
discussionAnswers: repositoryDiscussionComments(onlyAnswers: true) {
totalCount
}
}
}