Skip to content

Instantly share code, notes, and snippets.

@lotharschulz
Last active November 2, 2020 07:25
Show Gist options
  • Save lotharschulz/bd08ae40c23b972eaa1a52a0d2facc68 to your computer and use it in GitHub Desktop.
Save lotharschulz/bd08ae40c23b972eaa1a52a0d2facc68 to your computer and use it in GitHub Desktop.
https://www.lotharschulz.info/2020/11/02/repository-archiving-unarchiving-with-github-graphql-api/ GitHub graphql explorer sample code - unarchive repository graphql mutation
mutation UnArchiveRepository {
unarchiveRepository(input:{clientMutationId:"true",repositoryId:"[insert ID]"}) {
repository {
isArchived,
description
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment