Last active
May 11, 2019 13:47
-
-
Save abearxiong/82380c23a200659533deb04e1a73ae22 to your computer and use it in GitHub Desktop.
graphql github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation CreateIssuePayload{ | |
addReaction(input:{subjectId:"MDU6SXNzdWU0NDI5OTAxODU=",content:HOORAY}){ | |
reaction{ | |
content | |
} | |
subject{ | |
id | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation CreateIssuePayload{ | |
createIssue(input:{repositoryId:"MDEwOlJlcG9zaXRvcnkxMjM4ODY3NzE=",title:"interseting test",body:"哈哈哈",labelIds:"MDU6TGFiZWwxMzU2ODYzMTMz"}) { | |
clientMutationId | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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