API

GithubOnboardingImportItem

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/github_onboarding/import_items/{github_import_batch_item_id}/retry create GitHub import batch

Fields

Field Type Required Description
id string No Id

create

POST /api/v1/organizations/{organization_id}/github_onboarding/import_items/{github_import_batch_item_id}/retry

Operation ID: post_api_v1_organizations_organization_id_github_onboarding_import_items_github_import_batch_item_id_retry.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
github_import_batch_item_id path string Yes

Request body

application/json

The request body is object.

Responses

200: GitHub import batch

application/json

Property Type Required Description
batch object Yes
batch.account_login string Yes
batch.complete boolean Yes Whether every item has settled and the wizard should treat the import as finished.
batch.created_at string (date-time) Yes
batch.failed_item_count integer Yes
batch.github_app_installation_id string Yes
batch.id string Yes
batch.imported_item_count integer Yes
batch.item_count integer Yes
batch.items array of object Yes
batch.items[].can_retry boolean Yes
batch.items[].created_at string (date-time) Yes
batch.items[].error_message string Yes
batch.items[].id string Yes
batch.items[].include_in_home boolean Yes
batch.items[].phase string Yes
batch.items[].repository_full_name string Yes
batch.items[].repository_id string Yes
batch.items[].repository_name string Yes
batch.items[].repository_owner string Yes
batch.items[].repository_slug string Yes
batch.items[].root_path string Yes
batch.items[].status enum: queued, running, succeeded, failed, already_imported, invalid Yes
batch.items[].terminal boolean Yes Whether this item has settled (no further work expected without a retry).
batch.items[].updated_at string (date-time) Yes
batch.status enum: running, completed Yes
batch.terminal_item_count integer Yes
batch.updated_at string (date-time) Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway