Closed bingoogolapple closed 7 years ago
获取某一条 Issue
{
repository(owner: "bingoogolapple", name: "bingoogolapple.github.io") {
issue(number: 174) {
number
title
createdAt
url
bodyHTML
author {
login
avatarUrl
url
}
comments(first: 100) {
nodes {
bodyHTML
createdAt
author {
login
avatarUrl
url
}
}
}
labels(first: 100) {
nodes {
name
color
}
}
}
}
}
Issues 列表
{
repository(owner: "bingoogolapple", name: "bingoogolapple.github.io") {
issues(first: 2, states: OPEN, orderBy: {field: CREATED_AT, direction: DESC}) {
totalCount
nodes {
number
title
createdAt
url
bodyHTML
author {
login
avatarUrl
url
}
comments(first: 100) {
nodes {
bodyHTML
createdAt
author {
login
avatarUrl
url
}
}
}
labels(first: 100) {
nodes {
name
color
}
}
}
}
}
}
楼主,这个可以复制过来搭建自己的issue博客吗
感谢~!
楼主大大, 因为我没有去注册域名,搭建服务器. 那么,是否能够使用?
先创建仓库 heightzhang.github.io,在该仓库创建 GitHub Pages 和 Issues,然后就能通过 heightzhang.github.io 访问了
https://developer.github.com/v4/explorer
https://graphql-explorer.githubapp.com/graphql/proxy