This function returns a Sitejet website's preview URL.
uapi --output=jsonpretty \ --user=username \ Sitejet \ get_preview_url \ websiteId='123456'
{- "apiversion": 3,
- "func": "get_preview_url",
- "module": "Sitejet",
- "result": {
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}