Skip to content
HALOWERK

Package and Supply Chain Security

dsc source cache budget

Debian source download planning returns the smallest indivisible components that fit within a byte ceiling. Use it when an agent needs a deterministic first batch for a size-limited mirror transfer.

POST https://paket.halowerk.com/v1/dsc-source-cache-budget

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringYes
versionstringNo
budget_bytesintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "version": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
    },
    "budget_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    }
  },
  "required": [
    "package",
    "budget_bytes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "jq",
  "version": "1.8.2-1",
  "budget_bytes": 30000
}

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 โ†’