Skip to content
HALOWERK

File Formats and Conversion

unified diff whitespace only blocks

Patch whitespace review returns replacement blocks whose line text differs only in spacing. Use it when an agent needs to separate spacing edits from substantive replacements.

POST https://format.halowerk.com/v1/unified-diff-whitespace-only-blocks

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 32000,
      "minLength": 1
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "--- a/pop.csv\n+++ b/pop.csv\n@@ -2 +2 @@\n-DEU,83516593\n+DEU, 83516593\n"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’