Search application repository code
Search the application Git repository for code matching a query, useful for locating where something is defined or used. Search runs against the provider index, which covers the default branch, so it does not accept a ref. Result quality varies by provider: it is strongest on GitHub and more limited on GitLab and Bitbucket. Providers only search code with a token, so publicGit applications return no matches. Only applications with a privateGit or publicGit source have a repository; dockerImage and internally created apps return 422. A repository that the Git connections of the company can no longer read can also return 422, with the reason.