postIntegrationsGithubSearchWithHttpInfo method
Finds repositories on GitHub.
Finds repositories on GitHub. This reads the PUBLIC index and returns nothing an installation unlocks: it is how you find a repository to fork, not a way to see inside one. The org's own token is used only so the query is rate-limited against the installation rather than anonymously — the results are the same ones anyone would get.
Note: This method returns the HTTP Response.
Parameters:
- GithubSearchReq githubSearchReq (required):
Implementation
Future<Response> postIntegrationsGithubSearchWithHttpInfo(GithubSearchReq githubSearchReq,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/github/search';
// ignore: prefer_final_locals
Object? postBody = githubSearchReq;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}