Depwerk
link section garbage collection
Return retained and discarded object sections from declared roots and relocation references.
POST https://dep.halowerk.com/v1/link-section-garbage-collectionInputs
| Field | Type | Required | Description |
|---|---|---|---|
| sections | array | Yes | |
| roots | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"bytes": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"refs": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 100,
"minItems": 0
}
},
"required": [
"id",
"bytes",
"refs"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"roots": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 100,
"minItems": 0
}
},
"required": [
"sections",
"roots"
],
"additionalProperties": false
}Published input example
{
"sections": [
{
"id": "main",
"bytes": 20,
"refs": [
"util"
]
},
{
"id": "util",
"bytes": 10,
"refs": []
},
{
"id": "unused",
"bytes": 5,
"refs": []
}
],
"roots": [
"main"
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Depwerk0.004 USDC
alternative packages
POSThttps://dep.halowerk.com/v1/alternative-packagesRanks supplied alternative packages against explicit requirement weights. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time
- Depwerk0.005 USDC
dependency artifact platform coverage
POSThttps://dep.halowerk.com/v1/dependency-artifact-platform-coverageReturn missing binary artifact targets and duplicate platform declarations.
- Depwerk0.005 USDC
dependency cycle witnesses
POSThttps://dep.halowerk.com/v1/dependency-cycle-witnessesReturn directed dependency cycle witnesses from a supplied package graph.