API endpoint for search for commit hash

Hi,
i would like to know, whether there is an API endpoint which allows me to search for a given commit hash.
The idea is to have something like

/plugins/servlet/search?q=commit:55e9cab1deb

as link, to be brought to the corresponding commit, without knowing the repo location.
Is this somehow available?

Thanks and regards,
Oliver

Try to use <bitbucket_url>/rest/search/latest/commits?query=55e9cab1deb

2 Likes

Hi, thanks for the quick reply! Is there some kind of API doc for the search? I looked around and was looking exactly for this kind of information.