GET /v1/hosting-plans
GET/v1/hosting-plans
List hosting plans
Datenmodell
Diese Operation arbeitet auf der Entität hosting_plan (hosting_plan). Alle 16 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.
- Pflichtfelder:
name,diskQuotaGb,bandwidthQuotaGbMonth,maxEmailAccounts,maxDatabases,maxFtpUsers,maxSubdomains,phpVersions,defaultPhpVersion,phpMode,features,monthlyPriceCents - Server-verwaltet:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy— diese Felder vergibt die Plattform; im Request werden sie verworfen.
Beispiel
curl -X GET https://api.codemeta-os.de/v1/hosting-plans \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.hosting-plans.list();Antwortcodes
| HTTP | Bedeutung |
|---|---|
200 |
Default Response |