index

Updates index layer partitions

Modifies partitions in an index layer.

put/layers/{layerID}

Request

  • Base URL
    https://use.apilookup.for.a.base.url
  • URL
    https://use.apilookup.for.a.base.url/layers/{layerID}
  • Auth
    HTTP bearer

Path parameters

layerIDstring required

The layer ID of the index layer.

Request body

deleteBlobboolean

Indicates if the blobs listed in the removals section shall be deleted. Please note the blobs deletion is not instant but deferred in time.

removalsstring[]

Example request

{
  "additions": [
    {
      "checksum": "checksum",
      "crc": "crc",
      "fields": {
        "hour": 0,
        "tile": 377782527,
        "containsProbe": true,
        "eventType": "vss"
      },
      "id": "7a320ce9-e4d0-4d74-9c7a-19810f99a3a1",
      "metadata": {
        "ingestionTime": "1532018660873"
      },
      "size": 100
    }
  ],
  "removals": [
    "e07191de-8ab8-49f5-a11d-8240e1b93ab7",
    "99e0bde0-935c-4382-b940-fe0d2cf2ec23"
  ]
}

Response

OK - The index was successfully updated.

Changes

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