Sitejet
Publish Sitejet domain
This function publishes a domain's Sitejet website.
get/Sitejet/start_publish
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
}
}