API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

List locations

GET/v1/locations

List locations for the active tenant.

Datenmodell

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

  • Pflichtfelder: name, locationType
  • Server-verwaltet: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy, path — 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/locations \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.locations.list();

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche