Read Features

Get statistics

Returns statistical information about this layer.

get/layers/{layerId}/statistics

Request

  • Base URL
    https://use.apilookup.for.a.base.url
  • URL
    https://use.apilookup.for.a.base.url/layers/{layerId}/statistics
  • Auth
    • API key in query parameter apiKey
    • or HTTP bearer

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.