Export a project
POST
/api/v4/projects/{id}/export
Exports a project. Use the upload hash parameter to upload the exported project to a web server or any S3-compatible platform.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
description
Override the project description
string
upload
Object that contains information on the upload
object
url
The URL to upload the project
string
http_method
HTTP method to upload the exported project
string
excluded_relations
List of project relation names to exclude from the export (e.g. [“merge_requests”, “issues”])
Array<string>
Responses
Section titled “ Responses ”Accepted
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Service unavailable