gpt4 book ai didi

android - Github GraphQl 获取 REPOSITORY 订阅者计数和订阅者列表

转载 作者:太空狗 更新时间:2023-10-29 13:46:37 25 4
gpt4 key购买 nike

我正在使用以下内容按查询名称“android”搜索存储库

{
search(query: "android", type: REPOSITORY, first: 50) {
repositoryCount
edges {

node {
... on Repository {
id
name
description
forkCount
owner{
avatarUrl
}
}
}
}
}
}

如何获取REPOSITORY订阅者数量和订阅者列表

提前致谢:)

最佳答案

您正在寻找watchers ,v3中使用的术语是subscribers,查看this :

{
search(query: "android", type: REPOSITORY, first: 50) {
repositoryCount
edges {
node {
... on Repository {
nameWithOwner
watchers(first: 100) {
totalCount
nodes{
login
}
}
}
}
}
}
}

Try it in the explorer

关于android - Github GraphQl 获取 REPOSITORY 订阅者计数和订阅者列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52911375/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com