v1

latestOpenAPI 3.0.12026-07-24110189356.6 KB
Read Features

Get statistics

Returns statistical information about this layer.

get/layers/{layerId}/statistics

Path parameters

layerIdstring required

The unique identifier of the layer.

Query parameters

skipCacheboolean

If set to true the response is not returned from cache. Default is false.

Response

Statistical information about a layer.

searchablestring

Specifies the scope of searchability of the properties. One of NONE, PARTIAL, ALL.

Example response

{
  "type": "StatisticsResponse",
  "count": {
    "value": 29208,
    "estimated": true
  },
  "contentUpdatedAt": {
    "value": 1692368695049,
    "estimated": true
  },
  "minVersion": {
    "value": 0,
    "estimated": false
  },
  "maxVersion": {
    "value": 27,
    "estimated": false
  },
  "dataSize": {
    "value": 108364,
    "estimated": true
  },
  "bbox": {
    "value": [
      -10,
      -10,
      10,
      10
    ],
    "estimated": true
  },
  "geometryTypes": {
    "value": [
      "Point"
    ],
    "estimated": true
  },
  "properties": {
    "value": [
      {
        "key": "Route",
        "count": 29208,
        "searchable": true
      },
      {
        "key": "Route Type",
        "count": 29208,
        "searchable": true
      }
    ],
    "estimated": true,
    "searchable": "PARTIAL"
  },
  "etag": "072d3ec0f881b4e7"
}