Starts preparing a downloadable archive of a backup. Preparation runs in the background: follow it with GET /projects/{projectId}/backups/{backupId}/download until state is ready.
Pass selected_paths to download only some files or folders, relative to the site root. Without it, the archive holds the whole content of type.
Calling it again is safe. Without selected_paths, when the latest download of this type is finished, its archive is returned with a fresh link, whatever paths it was limited to: check selected_paths in the response. When the same selection is already being prepared, the route returns in_progress without starting another. download_id identifies the preparation: the GET route reports the latest one of this type, so compare the ids to be sure you follow yours.
Only one archive can be prepared at a time per project, and concurrent calls never prepare it twice. When another export holds the project's slot, the route answers 409 with that export, its selected_paths and its progress, so you can follow it with the GET route of its backup. A backup that is still running also answers 409.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||