latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

sites

Import Site

Imports a complete site from a URL to the dev environment. This endpoint always targets the dev environment.

post/v0/sites/{site_id}/import/site

Path parameters

site_idstring required

Site UUID

Request body

urlstring required

URL of the site archive to import

Example request

{
  "url": "https://example.com/site-archive.tar.gz"
}

Response

active_descriptionstring

Active description of the workflow

idstring required

Workflow ID

number_of_tasksinteger

Number of tasks in the workflow

Example response

{
  "active_description": "Creating database backup",
  "id": "12345678-1234-1234-1234-123456789012",
  "number_of_tasks": 5
}