POST /v1/analytics/aggregate
POST/v1/analytics/aggregate
CodeMeta OS API endpoint.
Cuerpo de la solicitud
| Nombre | Tipo | Descripción |
|---|
definitionobligatorio | object | Structured builder definition (entity, filters, grouping, aggregations, visualization) that the server evaluates. Raw queries are not accepted. |
preview | boolean | |
Ejemplo
curl -X POST https://api.codemeta-os.de/v1/analytics/aggregate \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"definition": null,
"preview": false
}'
const result = await cm.analytics.post({
"definition": null,
"preview": false
});
Códigos de respuesta
| HTTP |
Significado |
200 |
Default Response |