POST /v3/reports/grid/{gridEntityType}
This is the main endpoint for the Grid API. It lets you request data in row/column format for the entities that ObservePoint has collected about your website
Security
API_Key
Sorts the result by the specified columns, in the same order as in the columns array.
POST
curl -i -X POST \
'https://api.observepoint.com/v3/reports/grid/{gridEntityType}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string",
"format": "string"
},
"fieldName": "id",
"arg": "string",
"wildcardStart": true,
"wildcardEnd": true
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string",
"format": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
]
}'Response
- GridApi_Request_ColumnExpression_ColumnId
- GridApi_Request_ColumnExpression_AggregateFunction
{ "metadata": { "pagination": { … }, "headers": [ … ] }, "rows": [ [ … ] ] }