POST /v1/segments/evaluate
POST/v1/segments/evaluate
Ad-hoc segment evaluation for the Segment-Builder UI.
Request Body
| Name | Typ | Beschreibung |
|---|
baseEntityerforderlich | string | |
queryerforderlich | object | |
limit | integer | |
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 |