Skip to content
HALOWERK

Package and Supply Chain Security

download suffix allow policy

Download policy checks the final decoded file extension against an explicit application import list. Use it when an agent needs to verify a download before handing it to another application.

POST https://paket.halowerk.com/v1/download-suffix-allow-policy

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
allowarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 1800,
      "minLength": 1
    },
    "allow": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[a-zA-Z0-9]{1,12}$"
      },
      "minItems": 1,
      "maxItems": 15
    }
  },
  "required": [
    "url",
    "allow"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "url": "https://www.rfc-editor.org/rfc/rfc9110.pdf",
  "allow": [
    "pdf",
    "txt"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’