API Documentation

Install CMS

Install (or reinstall) a CMS in the webspace docroot. Wipes existing content. Returns a jobId for SSE-based progress tracking.

Required scope: webspace:manage

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY
Content-Type Yes application/json

Request Body

Parameter Required Description
cms Yes STATIC, WORDPRESS, JOOMLA, DRUPAL, or TYPO3.

Response

{
  "data": {
    "id": "69e80ac1...",
    "subdomain": "ws-0862c.sitequest.eu",
    "cms": "WORDPRESS",
    "jobId": "a1b2c3d4e5f6...",
    "status": "installing"
  }
}

Response Fields

Field Type Description
jobId string Use this id to subscribe to install progress events.

Error Responses

Status Code Description
400 INVALID_CMS cms is not one of the allowed values.
409 NODE_NOT_LINKED Webspace node is not linked to a VM.

Example

curl -X POST https://hosting.site.quest/api/v1/webspaces/69e80ac1.../cms \
  -H "Authorization: Bearer sq_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "cms": "WORDPRESS" }'

MCP

This endpoint is not yet wrapped as an MCP tool. Use the REST endpoint above directly.