dev.knotless.compactRepo
Repacks what the repository's refs reach into one dev.knotless.pack and deletes the packs it replaces, as `knotless repo compact` does, with claims a day old. Packs younger than the grace period stay. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
Output
application/jsonHow many old claims were dropped.
minimum: 0
How many of them were folded into one.
minimum: 0
How many packs it had.
minimum: 0
refs
integerHow many records of deleted refs were dropped, each left with no target by a client from before a delete removed them.
minimum: 0
Errors
NotFound
No such repository.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
Forbidden
The account logged in is not the repository's owner.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.archiveRepo
procedureArchives a repository, making it read only, or unarchives it.
-
dev.knotless.deleteRepo
procedureDeletes a repository and everything in it.
-
What a repository takes up on its owner's PDS.