Skip to content

Retrieve the status of a project export

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

Retrieves the status of the most recent export for a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

OK

Media typeapplication/json
object
id
integer format: int64
description
string
name
string
name_with_namespace
string
path
string
path_with_namespace
string
created_at
string format: date-time
export_status
string
_links
object
api_url
string
web_url
string
Example
{
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z",
"export_status": "finished",
"_links": {
"api_url": "https://gitlab.example.com/api/v4/projects/1/export/download",
"web_url": "https://gitlab.example.com/gitlab-org/gitlab-test/download_export"
}
}

Bad Request

Unauthorized

Forbidden

Not found

Service unavailable