full diff

dev.knotless.archiveRepo

From
bafyreiagpsk7u7wfdrkfnwsq3gfpbvxfxq56d25hj5cewmekwseoyyrxvu indexed 2026-11-02 23:59 UTC View this version
To
bafyreiczsiyfgh6orvbsaqfnwffecyiwdknipknurzeuberqm3weckd3oq indexed 2026-11-04 13:31 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Sets or drops `archivedAt` on the repository's dev.knotless.repo record, as `knotless 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.",
5 "description": "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.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "It is already archived, or already not.",
1313 "name": "InvalidRequest"
1414 },
1515 {
1616 "description": "No account is logged in to the pages, or its session has ended.",
1717 "name": "AuthenticationRequired"
1818 },
1919 {
2020 "description": "The account logged in is not the repository's owner.",
2121 "name": "Forbidden"
2222 }
2323 ],
2424 "input": {
2525 "encoding": "application/json",
2626 "schema": {
2727 "properties": {
2828 "repo": {
2929 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3030 "format": "at-uri",
3131 "type": "string"
3232 },
3333 "unarchive": {
3434 "description": "True to unarchive it, making it writable again. Absent is false.",
3535 "type": "boolean"
3636 }
3737 },
3838 "required": [
3939 "repo"
4040 ],
4141 "type": "object"
4242 }
4343 },
4444 "output": {
4545 "encoding": "application/json",
4646 "schema": {
4747 "properties": {
4848 "archivedAt": {
4949 "description": "When it was archived; absent once unarchived.",
5050 "format": "datetime",
5151 "type": "string"
5252 }
5353 },
5454 "type": "object"
5555 }
5656 },
5757 "type": "procedure"
5858 }
5959 },
6060 "description": "Archives a repository, making it read only, or unarchives it.",
6161 "id": "dev.knotless.archiveRepo",
6262 "lexicon": 1
6363}

Compare other versions