Zum Inhalt
HALOWERK

Paketwerk

package versions

Returns the full version history of a package from a single normalised schema that covers seven ecosystems. Versions are ordered by semantic version, not alphabetically and not in registry order, so 1.10.0 sorts after 1.9.0 — the mistake that quietly breaks naive comparisons. For each version you get the publication timestamp, whether it is the registry default, whether it is deprecated and the deprecation reason as the registry states it.

POST https://paket.halowerk.com/v1/package-versions

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
systemstringJaThe package ecosystem.
namestringJaPackage name. Maven uses groupId:artifactId, Go uses the module path.
include_prereleasesbooleanNeinWhether pre-release versions appear in the list. They are counted either way.
limitintegerNeinHow many versions to return, newest first.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "system",
    "name"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "go",
        "cargo",
        "nuget",
        "rubygems"
      ],
      "description": "The package ecosystem."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Package name. Maven uses groupId:artifactId, Go uses the module path."
    },
    "include_prereleases": {
      "type": "boolean",
      "default": true,
      "description": "Whether pre-release versions appear in the list. They are counted either way."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "default": 200,
      "description": "How many versions to return, newest first."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "system": "npm",
  "name": "express",
  "include_prereleases": true,
  "limit": 200
}

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 →