Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api
What part(s) of the article would you like to see updated?
There exists an undocumented way to work with API - it's possible to select repository not only with owner/repo, but also with repository_id.
I believe this should be described somewhere, since every endpoint that works with repo can be accessed this way
For example: https://api.github.com/repositories/189621607 or even https://api.github.com/repositories/189621607/issues
I think this way to access API is useful, since it's unaffected by any renaming and repository moving. It works and undocumented for at least several years, and even implemented in some SDK, so it's probably reasonable to explain such behavior in docs
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api
What part(s) of the article would you like to see updated?
There exists an undocumented way to work with API - it's possible to select repository not only with owner/repo, but also with repository_id.
I believe this should be described somewhere, since every endpoint that works with repo can be accessed this way
For example: https://api.github.com/repositories/189621607 or even https://api.github.com/repositories/189621607/issues
I think this way to access API is useful, since it's unaffected by any renaming and repository moving. It works and undocumented for at least several years, and even implemented in some SDK, so it's probably reasonable to explain such behavior in docs
Additional information
No response