Skip to content

Totals of the @View(statistic) columns.​

POST
/erupt-api/data/aggregate/{erupt}

Aggregates over every row the same query matches, not only the current page.

Authorizations​

tokenHeader

Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.

Type
API Key (header: token)

Parameters​

Header Parameters

erupt*

Name of the @Erupt class the request is scoped to. Must match the {erupt} path segment, or name the parent erupt when the path addresses a nested erupt (tab, sub-form, reference).

Type
string
Required
Format
"string"

Path Parameters

erupt*

Simple class name of the @Erupt model

Type
string
Required
Format
"string"

Request Body​

application/json
JSON
{
  
"pageIndex": 0,
  
"pageSize": 0,
  
"sort": [
  
  
{
  
  
  
"field": "string",
  
  
  
"direction": "ASC"
  
  
}
  
],
  
"totalPage": 0,
  
"total": 0,
  
"list": [
  
  
{
  
  
  
"any object": {
  
  
  
}
  
  
}
  
],
  
"alert": {
  
  
"message": "string",
  
  
"closeable": true,
  
  
"uiType": "success"
  
},
  
"extraContent": "string",
  
"linkTreeVal": [
  
  
{
  
  
  
"any object": {
  
  
  
}
  
  
}
  
],
  
"condition": [
  
  
{
  
  
  
"key": "string",
  
  
  
"expression": "AUTO",
  
  
  
"value": {
  
  
  
}
  
  
}
  
],
  
"vis": "string",
  
"any object": {
  
}
}

Responses​

OK

*/*
JSON
{
  
"any object": {
  
}
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​

Released under the Apache-2.0 License.