How to retrieve GitHub repository name from sonar cloud API


I am trying to get the right Gtihub Repository that is associated with the sonar cloud project. By reverse engineering, I found out the below URL will retrieve the repo name.


I’m just concerned that this API is not published API. Will this change over the future and break what we have in place? Do you have plans to release this API by any chance?

It’s an internal API that’s unlikely (but not impossible) to change.

Can you explain your use-case a bit more, about needing to derive the repo from the SonarCloud project? How will you use the information?