POST /v1/segments/evaluate
POST/v1/segments/evaluate
Ad-hoc segment evaluation for the Segment-Builder UI.
Cuerpo de la solicitud
| Nombre | Tipo | Descripción |
|---|
baseEntityobligatorio | string | |
queryobligatorio | object | |
limit | integer | |
Ejemplo
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
});
Códigos de respuesta
| HTTP |
Significado |
200 |
Default Response |