Skip to content

Instantly share code, notes, and snippets.

@abearxiong
Last active May 11, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abearxiong/82380c23a200659533deb04e1a73ae22 to your computer and use it in GitHub Desktop.
Save abearxiong/82380c23a200659533deb04e1a73ae22 to your computer and use it in GitHub Desktop.
graphql github
mutation CreateIssuePayload{
addReaction(input:{subjectId:"MDU6SXNzdWU0NDI5OTAxODU=",content:HOORAY}){
reaction{
content
}
subject{
id
}
}
}
mutation CreateIssuePayload{
createIssue(input:{repositoryId:"MDEwOlJlcG9zaXRvcnkxMjM4ODY3NzE=",title:"interseting test",body:"哈哈哈",labelIds:"MDU6TGFiZWwxMzU2ODYzMTMz"}) {
clientMutationId
}
}
{
repository(owner: "abearxiong", name: "abearxiong.github.io") {
issues(first:1,after:"Y3Vyc29yOnYyOpHOGmcLqg=="labels:"xx-space") {
edges {
node {
id
number
bodyHTML
bodyText
body
createdAt
title
comments {
totalCount
}
}
cursor
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment