API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola

POST /v1/segments/evaluate

POST/v1/segments/evaluate

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

Cuerpo de la solicitud

NombreTipoDescripción
baseEntityobligatoriostring
queryobligatorioobject
limitinteger

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

Búsqueda