Zum Inhalt
HALOWERK

Paketwerk

artifact hash

Takes a file digest and answers which released package version it is. Useful for an artefact found in a container layer, a build directory or an attachment with no metadata attached. Hex and base64 input are both accepted and normalised, the digest length is checked against the declared algorithm before anything is fetched, and the response names every matching package version, since one artefact can be published under more than one coordinate.

POST https://paket.halowerk.com/v1/artifact-hash

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
hashstringJaThe digest, hex or base64.
algorithmstringNeinDigest algorithm. SHA1 is what most registries publish for archives.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "hash"
  ],
  "additionalProperties": false,
  "properties": {
    "hash": {
      "type": "string",
      "minLength": 16,
      "maxLength": 200,
      "description": "The digest, hex or base64."
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "SHA1",
        "SHA256",
        "SHA512",
        "MD5"
      ],
      "default": "SHA1",
      "description": "Digest algorithm. SHA1 is what most registries publish for archives."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "hash": "3fabe08296e930c796c19e3c516979386ba9fd59",
  "algorithm": "SHA1"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →