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
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idstring required
Site UUID
Request body
Example request
{
"url": "https://example.com/site-archive.tar.gz"
}Response
Example response
{
"active_description": "Creating database backup",
"id": "12345678-1234-1234-1234-123456789012",
"number_of_tasks": 5
}Changes
No recorded changes to this operation across all 2 revisions of this API.