dev.knotless.archiveRepo
Sets or drops `archivedAt` on the repository's dev.knotless.repo record, as `knotless repo archive` does. While it is archived, pushes and commits to it are refused, and so is anything more said about it, and runners leave it. 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/jsonOutput
application/jsonarchivedAt
string · datetimeWhen it was archived; absent once unarchived.
Errors
NotFound
No such repository.
InvalidRequest
It is already archived, or already not.
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.deleteRepo
procedureDeletes a repository and everything in it.
-
dev.knotless.unshareRepo
procedureTakes back what was shared of a repository with an account.
-
dev.knotless.shareRepo
procedureLets an account push to a repository, or read a private one.
-
dev.knotless.renameRepo
procedureGives a repository a new name.
-
dev.knotless.compactRepo
procedureFolds a repository's packs into one.