How to use the graphql API to get details on a commit


By using the commit REST API we can get the details about a certain commit hash on a repository(known) and through search REST API we can search the commit hash in all repos at github. How can we do the same in graphql? I searched a whole day to find a way, but still empty with results.
Thanks in advance


Well, we do not (at the moment) support searching for a commit hash across all GitHub repositories.

Which details on a commit are you interested in? Can you elaborate?