This function publishes a domain's Sitejet website.
uapi --output=jsonpretty \ --user=username \ Sitejet \ start_publish \ domain='example.com'
{- "apiversion": 3,
- "func": "start_publish",
- "module": "Sitejet",
- "result": {
- "data": {
- "file_name": "/home/cpuser/logs/publish_2024-02-02T16:46:58.log",
- "pid": 123456
}, - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}