Resolve a mod dependency tree (batched)
resolve_mod_dependenciesTraverses an ARK mod dependency graph breadth-first from seed mods or files, returning all reachable mods. At depth 4 or 400 nodes, marks output TRUNCATED and lists the unexplored frontier.
Instructions
Walk the dependency graph of one or more mods breadth-first, issuing ONE bulk POST per level rather than one GET per node. Returns every reachable mod with the raw relationType integer on each edge. IMPORTANT: this OVER-COLLECTS. CurseForge publishes no value table for relationType (ADR-002 §14.3 U6), so required, optional, tool and incompatible edges cannot be told apart and ALL are followed. Bounded at depth 4 and 400 nodes; when a bound is hit the result is reported as TRUNCATED with the unexplored frontier listed, never silently cut. Read-only. v0: all field paths unverified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mod_ids | No | Seed mod ids. At least one of mod_ids or file_ids is required. At most 200. | |
| file_ids | No | Seed FILE ids, resolved through POST /v1/mods/files to find the mods they belong to before the walk begins. Use this when you know which file you are running. At most 200. | |
| max_depth | No | How many levels to walk. Default and maximum 4. |