API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen

POST /v1/webspaces/{id}/backups

POST/v1/webspaces/{id}/backups

Trigger a backup for a webspace

Datenmodell

Diese Operation arbeitet auf der Entität webspace (webspace). Alle 32 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
labelstring
typestring

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/backups \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "label": "string",
  "type": "full"
}'
const result = await cm.webspaces.post({
  "label": "string",
  "type": "full"
});

Antwortcodes

HTTP Bedeutung
202 Default Response

Suche