Java and/or REST APIs to search code?

Anyone is aware of Java and/or REST APIs to search code in Bitbucket Server?
We saw the announcement for Bitbucket Cloud but not for Bitbucket Server… or we missed it?

We find the artifact bitbucket-seach which seems to contain the right methods, but we cannot use it at runtime due to java.lang. ClassNotFoundException throwed trying to instantiate com.atlassian.bitbucket.internal.search.search.SearchService.
Any advice?
Thanks in advance.
Cheers.

1 Like

OK, the undocumented REST API is /rest/search/latest/search.
Cheers.

1 Like