Breadcrumbs

Metavault API - Import project

ImportProject - POST

Path

/api/projects/{projectId}/import

Http Method

POST

Overview

Import archived project zip into a project. Importing a zip replaces the current data of the project by the new one.

While the data prior to import is not lost, retrieving it requires manual intervention in application data, and is technically complex. Make sure to make a backup of your project first.

The following objects are replaced:

  • Everything in the BUILD SOURCE VERIFY and distribute modules, at the latest version.

  • No data regarding historical changes of the project.

  • Not environments or their data.

Required permissions

  • Project configuration CONFIGURE WRITE

Request

Path parameters

Parameter

Type

Required

Description

Example

projectId

string

Yes

The Id of the project, generated on creation.

099ec495a1b548efa43b15da09262c20

Request body

The body should be a zip containing the exported data of a project. So Content-Type should be one of:

  • application/zip

  • application/x-zip-compressed

Response

Success response (200 OK)

The response is empty.