Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

/api/gc

POST

Delete files, directories, packages, and revisions not reachable by package number.

propertyvalue
authorization requiredtrue
range requests supportedfalse

Response Body

A deco-encoded struct:

nfieldtypeoptionaldescription
1bytesUnsignedIntegerfalseBytes freed.
2directoriesa sorted set of HashfalseHashes of the deleted directories.
3filesa sorted set of HashfalseHashes of the deleted files.
4packagesa sorted set of FingerprintfalseFingerprints of the deleted packages.
5revisionsa sorted set of RevisionfalseRevisions of the deleted packages.