API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

Create article

POST/v1/articles

Create a new article in the active tenant.

Datenmodell

Diese Operation arbeitet auf der Entität Article (article). Alle 102 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

  • Pflichtfelder: name, articleType
  • Server-verwaltet: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy, lowLevelCode — diese Felder vergibt die Plattform; im Request werden sie verworfen.

Beispiel

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

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche