API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

List hosting_plans

GET/v1/hosting_plans

List hosting_plans for the active tenant.

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.

Query-Parameter

NameTypBeschreibung
cursorstring
limitnumber
includeDeletedboolean

Beispiel

curl -X GET https://api.codemeta-os.de/v1/hosting_plans \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.hosting_plans.list();

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche