Zum Inhalt
HALOWERK

Paketwerk

dependency graph

Returns the resolved dependency graph of one package version across seven ecosystems: every node with its ecosystem, name, resolved version, whether it is bundled, and its depth from the root. Depth is computed as the shortest path from the root by breadth-first search — a depth-first walk loops forever on a cyclic graph and recursion overflows the stack on large trees, so neither is used.

POST https://paket.halowerk.com/v1/dependency-graph

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
systemstringJa
namestringJa
versionstringNeinThe version to resolve. Without it the registry default version is used.
max_nodesintegerNein
include_edgesbooleanNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "system",
    "name"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string",
      "enum": [
        "npm",
        "pypi",
        "maven",
        "go",
        "cargo",
        "nuget",
        "rubygems"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "version": {
      "type": "string",
      "maxLength": 60,
      "description": "The version to resolve. Without it the registry default version is used."
    },
    "max_nodes": {
      "type": "integer",
      "minimum": 10,
      "maximum": 3000,
      "default": 800
    },
    "include_edges": {
      "type": "boolean",
      "default": true
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "system": "npm",
  "name": "express",
  "version": "4.18.2",
  "max_nodes": 800,
  "include_edges": true
}

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 →