Publish the previewed version (Go live)
airapps_site_go_livePuts the previewed version on the public address, and only that version. outcome: preview-stale means the files changed after the preview, so nothing was published: deploy the preview again first. outcome: no-preview means there is no preview yet. Anyone with the address can use a public site.
POST /api/v1/airapps/{nodeId}/site/go-live
For multi-space accounts, call auth_verify, ask the user which space to use, and pass targetSpaceId. An AirApp's website: after its files change, deploy the members-only preview, then go live to put that same version on the public address. Changes to records need no redeploy. Go live only when the user asks. Anyone with the address can use a public site, with the access level its airapp.json asks for: tell the user the address and that level first. preview-stale means the files changed after the preview: deploy the preview again, never publish unseen files another way.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeId": "<nodeId>"
},
"name": "airapps_site_go_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| targetSpaceId | No | Busabase space id. Call auth_verify first and ask the user which space to use when more than one is returned. |