Sitejet
Publish Sitejet domain
Changed onThis function publishes a domain's Sitejet website.
get/Sitejet/start_publish
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
domainstring required
Example:example.com
The domain for the Sitejet website.
cleanupinteger
Example:1
Whether to cleanup the domain's document_root directory during the publication process.
- 1 — Remove previous files in domain's document_root directory during the publication process.
- 0 — Do not remove any files in domain's document_root directory during the publication process.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "start_publish",
"module": "Sitejet",
"result": {
"data": {
"file_name": "/home/cpuser/logs/publish_sitejet_76454.log",
"pid": 123456
},
"metadata": {
"transformed": 1
},
"status": 1
}
}Changes
- info
api operation id
start_publish_sitejetremoved and replaced withSitejet-start_publish
- info