Skip to content
HALOWERK

Formatwerk

hash manifest

Hashes every file (ZIP entries are extracted in memory with limits of 5000 files and 200 MB; unsafe entry names such as ../ or absolute paths are flagged). The manifest uses the GNU coreutils sha256sum format ("hash path", backslash-escaped names for paths with newline or backslash) or the BSD format "SHA256 (path) = hash". compare_to accepts both formats; files are classified as unchanged, modified (same path, other hash), added, missing and renamed (same hash under another path)..

POST https://format.halowerk.com/v1/hash-manifest

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filesarrayNo
zip_base64stringNoZIP archive whose entries are hashed.
algorithmstringNo
formatstringNo
compare_tostringNoEarlier manifest (sha256sum or BSD format) to compare with.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 5000,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path"
        ],
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "content_base64": {
            "type": "string",
            "maxLength": 30000000
          },
          "content_text": {
            "type": "string",
            "maxLength": 10000000
          }
        }
      }
    },
    "zip_base64": {
      "type": "string",
      "maxLength": 40000000,
      "description": "ZIP archive whose entries are hashed."
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "sha256",
        "sha512"
      ],
      "default": "sha256"
    },
    "format": {
      "type": "string",
      "enum": [
        "sha256sum",
        "bsd"
      ],
      "default": "sha256sum"
    },
    "compare_to": {
      "type": "string",
      "maxLength": 5000000,
      "description": "Earlier manifest (sha256sum or BSD format) to compare with."
    }
  }
}

Open original schema

Published input example

{
  "files": [
    {
      "path": "a.txt",
      "content_text": "abc"
    }
  ],
  "compare_to": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad  a.txt\n"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’