v1

latestOpenAPI 3.0.12026-07-24110189356.6 KB
index

Updates index layer partitions

Modifies partitions in an index layer.

put/layers/{layerID}

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.