API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Codemeta OS · API v1

Eine REST-API.
Alle Systemhaus-Workflows.

Ticketing, CRM, Verträge, Assets, Wissensdatenbank, LMS – jede Mutation mit JSON-Patch-Audit, Mandanten-Trennung und stabilen UUIDv7-IDs. Authentifizierung über opake Sessions, Autorisierung relationship-basiert.

  • UUIDv7chronologisch sortierbar
  • RFC 6902JSON-Patch-Audit
  • RFC 7807Problem Details
terminal
# 1) Sign-in (opake Session)
curl -X POST https://os.codemeta.de/api/auth/sign-in/email \
  -H "Content-Type: application/json" \
  -c cookies.txt \
  -d '{"email":"alice@example.com","password":"…"}'

# 2) Mandantenkontext via Header
curl https://os.codemeta.de/api/v1/tickets \
  -H "X-Tenant-Id: 0192f2c0-8d1c-7a3b-9e4f-d3e7f1a2b5c8" \
  -b cookies.txt
Plattform-Garantien

Verträge, auf die Sie sich verlassen können

Eine konsistente API über alle Module – mit denselben Semantiken für Versionen, Audit, Löschung und Fehlerformat.

RFC 6902

JSON-Patch-Audit auf jeder Mutation

Jede Änderung an einer Entity erzeugt im selben MongoDB-Transaktionsschritt einen Audit-Eintrag mit RFC-6902-Patch, Akteur und Zeitstempel. Abrufbar pro Entity über die Timeline-Route.

Audit-Historie verstehen →
RFC 7807

Vorhersagbare Fehlerantworten

Fehler folgen Problem Details for HTTP APIs. type,title, status, detail – und eine optionale errors[]-Liste für Validierung. Keine Mischung aus Plain-Text und JSON.

Fehlerformat ansehen →
UUIDv7

Stabile, sortierbare IDs

Alle Entity-IDs sind UUIDv7. Sie sind global eindeutig, chronologisch monoton und können in Listen ohne Zusatzfeld stabil paginiert werden. Nie ObjectIds, nie auto-increment.

Sequenznummern vs. IDs →

Suche