Skip to content
HALOWERK

Package and Supply Chain Security

rpm evr nearest upgrade

RPM version selection finds the smallest available label newer than an installed version. Use it when an agent needs the next upgrade from a supplied inventory.

POST https://paket.halowerk.com/v1/rpm-evr-nearest-upgrade

Inputs

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

Open original schema

Published input example

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

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