Guest User

gutefrage graph ql

a guest
Aug 9th, 2022
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1.  
  2.  
  3. query UserProfile($nickname: String!) {
  4. user {
  5. byNickname(nickname: $nickname) {
  6. id
  7. slug
  8. displayedName
  9. profileData {
  10. aboutMe
  11. aboutMeInEmojis {
  12. identifier
  13. }
  14. address {
  15. street
  16. city
  17. zipCode
  18. country
  19. countryCode
  20. }
  21. partialDateOfBirth: dateOfBirth {
  22. year
  23. month
  24. day
  25. }
  26. gender
  27. profession
  28. webUrl
  29. }
  30. statistics {
  31. answerCounts {
  32. totalCount
  33. liveCount
  34. }
  35. commentCounts {
  36. totalCount
  37. liveCount
  38. }
  39. appreciations
  40. compliments
  41. friends
  42. mostHelpfulAnswers
  43. questionCounts {
  44. totalCount
  45. liveCount
  46. }
  47. questionResubmissions
  48. }
  49. availableMonthlySummaries {
  50. yearMonth {
  51. year
  52. month
  53. }
  54. }
  55. businessProfileInformation {
  56. email
  57. faxNumber
  58. phoneNumber
  59. webUrl
  60. }
  61. badgeGroups {
  62. awardedBadges {
  63. awardedAt
  64. badge {
  65. title
  66. description
  67. message
  68. imageUrl
  69. }
  70. }
  71. badgeInProgress {
  72. badge {
  73. title
  74. description
  75. message
  76. imageUrl
  77. }
  78. progressPercentage
  79. }
  80. }
  81. userInterests {
  82. tag {
  83. name
  84. slug
  85. questionFrequency
  86. }
  87. }
  88. expertProfile {
  89. ...ExpertProfile
  90. tags {
  91. questionFrequency
  92. }
  93. }
  94. userExpertises {
  95. description
  96. expertiseType
  97. id
  98. tags {
  99. name
  100. }
  101. categories {
  102. category {
  103. ...Category
  104. }
  105. }
  106. }
  107. createdAt
  108. roles
  109. ...AuthorAvatar
  110. coverUrls {
  111. baseUrl
  112. urls {
  113. desktop
  114. mobile
  115. desktopNmms
  116. }
  117. }
  118. ...ScoreLevel
  119. complaints {
  120. createdAt
  121. message
  122. type
  123. user {
  124. displayedName
  125. slug
  126. }
  127. }
  128. isInactive
  129. moderation {
  130. suspendedReason
  131. isInTestGroup
  132. }
  133. self {
  134. messagePermissions {
  135. allowedToSendMessageStatus
  136. }
  137. blockingLevel
  138. }
  139. friendship {
  140. self {
  141. friendshipStatus
  142. }
  143. pendingRequests {
  144. sent {
  145. requests {
  146. sender {
  147. slug
  148. displayedName
  149. createdAt
  150. roles
  151. ...AuthorAvatar
  152. }
  153. receiverId
  154. message
  155. }
  156. }
  157. }
  158. }
  159. isPubliclyVisible
  160. onlineStatus
  161. }
  162. }
  163. }
  164.  
  165.  
  166.  
  167. fragment AuthorAvatar on User {
  168. avatar {
  169. ...Avatar
  170. }
  171. }
  172. ,
  173. fragment ScoreLevel on User {
  174. scoreLevel {
  175. level
  176. levelGroup
  177. progress {
  178. percent
  179. score
  180. scoreLevelStart
  181. scoreNextLevel
  182. }
  183. }
  184. }
  185. ,
  186. fragment ExpertProfile on ExpertProfile {
  187. qualification
  188. reason
  189. tags {
  190. name
  191. slug
  192. }
  193. categories {
  194. category {
  195. ...Category
  196. }
  197. }
  198. }
  199. ,
  200. fragment Category on Category {
  201. id
  202. name
  203. slug
  204. color
  205. flags
  206. links {
  207. questionListing
  208. }
  209. }
  210. ,
  211. fragment Avatar on UserAvatar {
  212. urls {
  213. default
  214. nmmslarge
  215. }
  216. webpUrls {
  217. default
  218. nmmslarge
  219. }
  220. }
  221.  
  222.  
Advertisement
Add Comment
Please, Sign In to add comment