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.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ”object
The project path and name
The project export file from which to extract the relation.
The relation to import. Must be one of issues, merge_requests, ci_pipelines, or milestones.
Path to locally stored body (generated by Workhorse)
Real filename as sent in Content-Disposition (generated by Workhorse)
Real content type as send in Content-Type (generated by Workhorse)
Real size of file (generated by Workhorse)
MD5 checksum of the file (generated by Workhorse)
SHA1 checksum of the file (generated by Workhorse)
SHA256 checksum of the file (generated by Workhorse)
Etag of the file (generated by Workhorse)
Remote_id of the file (generated by Workhorse)
Remote_url of the file (generated by Workhorse)
Responses
Section titled “ Responses ”Created
object
Example
{ "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"}Bad request
Unauthorized
Forbidden
Not found
Service unavailable