Query a page of table rows.
POST
/erupt-api/data/table/{erupt}
Conditions, sort and paging come from the body; DataProxy.beforeFetch/afterFetch and @Filter run on the server. pageSize is capped at 50000.
授权
tokenHeader
Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.
类型
API Key (header: token)
参数
请求头参数
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).
类型
必填string
格式
"string"路径参数
erupt*
Simple class name of the @Erupt model
类型
必填string
格式
"string"请求体
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": { }
{
}
响应
OK
*/*
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"
{
}