POST /v1/webspaces/{id}/wordpress/install
POST/v1/webspaces/{id}/wordpress/install
Install WordPress on a webspace (async)
Datamodel
Deze operatie werkt op de entiteit webspace (webspace). Alle 32 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.
Request body
| Naam | Type | Beschrijving |
|---|
adminEmailvereist | string<email> | |
adminUservereist | string | |
adminPasswordvereist | string | |
titlevereist | string | |
locale | string | |
Padparameters
| Naam | Type | Beschrijving |
|---|
idvereist | string | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/wordpress/install \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"adminEmail": "string",
"adminUser": "string",
"adminPassword": "string",
"title": "string",
"locale": "de_DE"
}'
const result = await cm.webspaces.post({
"adminEmail": "string",
"adminUser": "string",
"adminPassword": "string",
"title": "string",
"locale": "de_DE"
});
Antwoordcodes
| HTTP |
Betekenis |
202 |
Default Response |