Skip to content

set_preview_site_version

Point the application’s preview host at a retained site version.

Production is unchanged; activate_site_version is the separate call that moves it.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"version_id": {
"title": "Version Id",
"type": "string"
}
},
"required": [
"application_id",
"version_id"
],
"title": "set_preview_site_versionArguments",
"type": "object"
}
{
"properties": {
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"is_preview": {
"const": true
}
},
"required": [
"id",
"is_preview"
],
"type": "object"
}