Last active
November 2, 2020 07:45
-
-
Save lotharschulz/bb98b93e11cfc858fdc0b3e63e568ea8 to your computer and use it in GitHub Desktop.
https://www.lotharschulz.info/2020/11/02/repository-archiving-unarchiving-with-github-graphql-api/ GitHub CLI sample code - find a repository 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
query FindRepoID($name: String!, $owner: String!) { | |
repository(owner: $owner, name: $name) { | |
id, | |
isArchived | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment