API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · webspaces

webspace

ID du schéma
webspace
Collection
webspaces
Autorisations
  • Lirewebhosting_view
  • Créerwebhosting_create
  • Modifierwebhosting_edit
  • Supprimerwebhosting_delete

Champs

webspace

webspaces4 autorisations
domainNamestringobligatoire
3–253 caractères
hostingTypestringfacultatif
webspaceredirectnone
pleskServerIdstringfacultatif
lecture seule
linkedDomainAssetIdstringfacultatif
nullable
partyIdstringfacultatif
nullable
assignedToIdstringfacultatif
nullable
planstringfacultatif
nullable
dnsModestringobligatoire
inwxpleskexternal
lecture seule
phpVersionstringfacultatif
8.18.28.38.4
phpModestringfacultatif
fpmcgimod_php
documentRootstringfacultatif
httpsRedirectbooleanfacultatif
hstsbooleanfacultatif
hstsMaxAgenumberfacultatif
diskQuotaGbnumberfacultatif
≥ 1
bandwidthQuotaGbMonthnumberfacultatif
≥ 1
maxEmailAccountsnumberfacultatif
≥ 0
maxDatabasesnumberfacultatif
≥ 0
maxFtpUsersnumberfacultatif
≥ 0
maxSubdomainsnumberfacultatif
≥ 0
sslModestringfacultatif
noneletsencryptcustom
modSecurityEnabledbooleanfacultatif
hotlinkProtectionEnabledbooleanfacultatif
nginxCacheEnabledbooleanfacultatif
redisCacheEnabledbooleanfacultatif
uptimeCheckEnabledbooleanfacultatif
uptimeCheckUrlstringfacultatif
nullable
billingEnabledbooleanfacultatif
flatRateServiceIdstringfacultatif
nullable
billingPriceCentsnumberfacultatif
≥ 0
tagsstring[]facultatif
preferredRegionstringfacultatif

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/webspaces — Liste, paginée et filtrable
  • GET /api/v1/webspaces/<id> — Une entité
  • POST /api/v1/webspaces — Créer
  • PATCH /api/v1/webspaces/<id> — Mise à jour partielle
  • DELETE /api/v1/webspaces/<id> — Suppression logique
  • GET /api/v1/webspaces/<id>/timeline — Audit et activités

Recherche