Skip to content
HALOWERK

Package and Supply Chain Security

rpm evr floor and ceiling

RPM version bracketing finds the closest available versions at or below and at or above a requested target. Use it when an agent needs a replacement when a pinned package is unavailable.

POST https://paket.halowerk.com/v1/rpm-evr-floor-and-ceiling

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
targetstringYes
versionsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "maxLength": 140,
      "minLength": 1
    },
    "versions": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 140,
        "minLength": 1
      },
      "maxItems": 120,
      "minItems": 1
    }
  },
  "required": [
    "target",
    "versions"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "versions": [
    "2.0~beta1",
    "2.0~rc1",
    "2.0",
    "2.0^150825",
    "2.0.1"
  ],
  "target": "2.0~rc2"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’