API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/segments/evaluate

POST/v1/segments/evaluate

Ad-hoc segment evaluation for the Segment-Builder UI.

Request Body

NameTypBeschreibung
baseEntityerforderlichstring
queryerforderlichobject
limitinteger

Beispiel

curl -X POST https://api.codemeta-os.de/v1/segments/evaluate \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "baseEntity": "string",
  "query": null,
  "limit": 0
}'
const result = await cm.segments.post({
  "baseEntity": "string",
  "query": null,
  "limit": 0
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche