project_import
Import project resources
Imports project resources included with a project archive. The type of item to import is controlled by the relation attribute. Skips items that were previously imported. This feature was introduced in GitLab 16.11.
post/api/v4/projects/import-relation
Request
- Base URLhttps://gitlab.com
- Authnone declared
Request body multipart/form-data
Response
Import project resources
Example response
{
"id": 1,
"project_path": "namespace1/project1",
"relation": "issues",
"status": "pending",
"created_at": "2022-01-31T15:10:45.080Z",
"updated_at": "2022-01-31T15:10:45.080Z"
}Changes
No recorded changes to this operation across all 5 revisions of this API.