API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · hosting_plans

hosting_plan

Schema ID
hosting_plan
Collection
hosting_plans
Permissions
  • Readwebhosting_plan_view
  • Createwebhosting_plan_manage
  • Editwebhosting_plan_manage
  • Deletewebhosting_plan_manage

Fields

hosting_plan

hosting_plans4 permissions
namestringrequired
1–100 characters
diskQuotaGbnumberrequired
≥ 1
bandwidthQuotaGbMonthnumberrequired
≥ 1
maxEmailAccountsnumberrequired
≥ 0
maxDatabasesnumberrequired
≥ 0
maxFtpUsersnumberrequired
≥ 0
maxSubdomainsnumberrequired
≥ 0
phpVersionsstring[]required
min 1 items
defaultPhpVersionstringrequired
8.18.28.38.4
phpModestringrequired
fpmcgimod_php
featuresobjectrequired
sshbooleanoptional
cronjobsbooleanoptional
gitDeploymentbooleanoptional
wordpressAutoInstallerbooleanoptional
stagingEnvironmentbooleanoptional
backupsbooleanoptional
modSecuritybooleanoptional
redisCachingbooleanoptional
cdnIntegrationbooleanoptional
monthlyPriceCentsnumberrequired
≥ 0
diskOveragePerGbCentsnumberoptional
≥ 0
preferredRegionstringoptional
preferredServerTypestringoptional
codemetaownany
isActivebooleanoptional

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/hosting_plans — List, paginated + filterable
  • GET /api/v1/hosting_plans/<id> — Single entity
  • POST /api/v1/hosting_plans — Create
  • PATCH /api/v1/hosting_plans/<id> — Partial update
  • DELETE /api/v1/hosting_plans/<id> — Soft delete
  • GET /api/v1/hosting_plans/<id>/timeline — Audit + activities

Search