getIntegrationsGithubReposWithHttpInfo method

Future<Response> getIntegrationsGithubReposWithHttpInfo()

Lists the org's granted GitHub repositories, each annotated with its native import + sync status from the git object plane.

Lists the org's granted GitHub repositories, each annotated with its native import + sync status from the git object plane. Org-authed: the org comes from the validated principal, and the granted set is bounded to THAT org's installation token — an org can never enumerate another org's repos. The console polls it to watch an import flip a repo to imported.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getIntegrationsGithubReposWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/integrations/github/repos';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}