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

hosting_plan

ID du schéma
hosting_plan
Collection
hosting_plans
Autorisations
  • Lirewebhosting_plan_view
  • Créerwebhosting_plan_manage
  • Modifierwebhosting_plan_manage
  • Supprimerwebhosting_plan_manage

Champs

hosting_plan

hosting_plans4 autorisations
namestringobligatoire
1–100 caractères
diskQuotaGbnumberobligatoire
≥ 1
bandwidthQuotaGbMonthnumberobligatoire
≥ 1
maxEmailAccountsnumberobligatoire
≥ 0
maxDatabasesnumberobligatoire
≥ 0
maxFtpUsersnumberobligatoire
≥ 0
maxSubdomainsnumberobligatoire
≥ 0
phpVersionsstring[]obligatoire
min. 1 éléments
defaultPhpVersionstringobligatoire
8.18.28.38.4
phpModestringobligatoire
fpmcgimod_php
featuresobjectobligatoire
sshbooleanfacultatif
cronjobsbooleanfacultatif
gitDeploymentbooleanfacultatif
wordpressAutoInstallerbooleanfacultatif
stagingEnvironmentbooleanfacultatif
backupsbooleanfacultatif
modSecuritybooleanfacultatif
redisCachingbooleanfacultatif
cdnIntegrationbooleanfacultatif
monthlyPriceCentsnumberobligatoire
≥ 0
diskOveragePerGbCentsnumberfacultatif
≥ 0
preferredRegionstringfacultatif
preferredServerTypestringfacultatif
codemetaownany
isActivebooleanfacultatif

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

Recherche