Table aggregations
Create aggregation
Creates an aggregation on a column for the given view. Requires a USER API key.
post/public/v1/tables/{name}/views/{viewId}/aggregations
Path parameters
namestring required
Example:tasks_board
viewIdinteger required
Example:11
Request body
Example request
{
"columnId": 1,
"operation": "COUNT_EMPTY",
"tagId": 1
}Response
Created aggregation
Example response
{
"ok": true,
"data": {
"id": 1,
"view_id": 1,
"column_id": 1,
"operation": "example",
"tag_id": 1,
"created_at": "example",
"updated_at": "example"
}
}