diff options
Diffstat (limited to 'doc/api/bulk_imports.md')
-rw-r--r-- | doc/api/bulk_imports.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/api/bulk_imports.md b/doc/api/bulk_imports.md index db508d1edfa..0f9df4eba31 100644 --- a/doc/api/bulk_imports.md +++ b/doc/api/bulk_imports.md @@ -257,3 +257,26 @@ curl --request GET --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab "updated_at": "2021-06-18T09:46:27.003Z" } ``` + +## Get list of failed import records for group or project migration entity + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/428016) in GitLab 16.6. + +```plaintext +GET /bulk_imports/:id/entities/:entity_id/failures +``` + +```shell +curl --request GET --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/bulk_imports/1/entities/2/failures" +``` + +```json +{ + "relation": "issues", + "exception_message": "Error!", + "exception_class": "StandardError", + "correlation_id_value": "06289e4b064329a69de7bb2d7a1b5a97", + "source_url": "https://gitlab.example/project/full/path/-/issues/1", + "source_title": "Issue title" +} +``` |