postIntegrationsGithubIssuesBackfillWithHttpInfo method
Future<Response>
postIntegrationsGithubIssuesBackfillWithHttpInfo(
- GithubBackfillIn githubBackfillIn
Seeds the native todo with the EXISTING issues across the org's granted repos (default state=open); the webhook keeps them live thereafter.
Seeds the native todo with the EXISTING issues across the org's granted repos (default state=open); the webhook keeps them live thereafter. Org-scoped by the validated principal — a caller only ever backfills its OWN org. Synchronous + bounded (a total time budget and an issue cap) so it returns the counts directly; idempotent by ExtRef, so a re-run continues where a truncated pass left off and never duplicates.
Note: This method returns the HTTP Response.
Parameters:
- GithubBackfillIn githubBackfillIn (required):
Implementation
Future<Response> postIntegrationsGithubIssuesBackfillWithHttpInfo(GithubBackfillIn githubBackfillIn,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/github/issues/backfill';
// ignore: prefer_final_locals
Object? postBody = githubBackfillIn;
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,
);
}