Last active
July 15, 2020 20:52
-
-
Save DaniloOliveira28/d362701c1311d82a4ff418303a187b9c to your computer and use it in GitHub Desktop.
Exemplo de chamada para puxar os total de commits e adições/remoções na branch master.
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
link: | |
https://developer.github.com/v4/explorer/ | |
query { | |
repository(name:"linux" owner:"torvalds"){ | |
name | |
defaultBranchRef { | |
id | |
} | |
object(expression: "master") { | |
... on Commit { | |
oid | |
history(first: 100, since: "2020-01-01T00:00:00Z" ) { | |
totalCount | |
nodes { | |
oid | |
messageHeadline | |
author { | |
user { | |
login | |
} | |
} | |
committedDate | |
additions | |
deletions | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment