Skip to content
HALOWERK

Formatwerk

column page range coalescing

Choose contiguous byte-read ranges minimizing selected-page bytes plus a declared per-request overhead.

POST https://format.halowerk.com/v1/column-page-range-coalescing

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pagesarrayYes
selectedarrayYes
request_overhead_bytesintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "bytes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id",
          "offset",
          "bytes"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    },
    "selected": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 32,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 0
    },
    "request_overhead_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000
    }
  },
  "required": [
    "pages",
    "selected",
    "request_overhead_bytes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pages": [
    {
      "id": "a",
      "offset": 0,
      "bytes": 10
    },
    {
      "id": "b",
      "offset": 15,
      "bytes": 10
    }
  ],
  "selected": [
    "a",
    "b"
  ],
  "request_overhead_bytes": 6
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’