【问题标题】:how to get leetcode graphql schema如何获取 leetcode graphql 架构
【发布时间】:2022-08-20 18:01:29
【问题描述】:

Leetcode GraphQl 链接:https://leetcode.com/graphql

我正在使用 apollo android sendBox 请求模式:https://studio.apollographql.com/sandbox/explorer
我的查询:

query getUserProfile($username: String!) {
  matchedUser(username: $username) {
    username
    submitStats: submitStatsGlobal {
      acSubmissionNum {
        difficulty
        count
        submissions
      }
    }
  }
}

但是当我输入上面的网址时,它无法访问服务器

    标签: android graphql apollo


    【解决方案1】:

    ?查询=查询 { 匹配用户(用户名:“user4029ok”) { 用户名 提交统计:提交统计全局 { acSubmissionNum { 困难 数数 提交 } } } }

    【讨论】:

      猜你喜欢
      • 2019-05-11
      • 2018-12-07
      • 2016-09-20
      • 1970-01-01
      • 2021-12-15
      • 2021-06-24
      • 2017-05-11
      • 2018-04-28
      • 2020-11-26
      相关资源
      最近更新 更多