Skip to content

Detect transferring of repositories between two accounts from outside via API #24903

Discussion options

You must be logged in to vote

If you know the original owner name and original repository name, you can find out where it went by using the Get repository REST endpoint. For example, I know that atom/tree-sitter-syntax was transferred to atom-archive/tree-sitter-syntax. If I access https://api.github.com/repos/atom/tree-sitter-syntax, I’m redirected to https://api.github.com/repositories/67171757, which reveals that the repository full name is atom-archive/tree-sitter-syntax now.

I hope that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants