project_import

Export a project

Exports a project. Use the upload hash parameter to upload the exported project to a web server or any S3-compatible platform.

post/api/v4/projects/{id}/export

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

Request body

descriptionstring

Override the project description

excluded_relationsstring[]

List of project relation names to exclude from the export (e.g. ["merge_requests", "issues"])

Response

Export a project

Changes

No recorded changes to this operation across all 5 revisions of this API.