dev.knotless.setItemState

lexicons.knotless.dev

Schema Diff

+6 -5

From

CID
bafyreigmwno5zwm...
Indexed At
2026-10-28 21:21 UTC
View this version

To

CID
bafyreieogipe7ji...
Indexed At
2026-10-29 06:54 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 0 non-breaking changes.

Breaking Changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.setItemState:input.state", sort: "knownValues", old_value: "[\"open\",\"closed\"]", new_value: "[\"open\",\"closed\",\"resolved\"]" }

Migration Guidance

Constraint Changes

  • ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.setItemState:input.state", sort: "knownValues", old_value: "[\"open\",\"closed\"]", new_value: "[\"open\",\"closed\",\"resolved\"]" }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Writes a dev.knotless.state record in the account logged in to this appview's web pages, as `knotless close` and `knotless reopen` do. It counts if that account opened the pull or issue, or owns or collaborates on the repository. Requires the session cookie the pages' login sets.",
5 +
      "description": "Writes a dev.knotless.state record in the account logged in to this appview's web pages, as `knotless close`, `reopen`, `resolve` and `unresolve` do. It counts if that account opened the pull or issue (or the thread), or owns or collaborates on the repository. Requires the session cookie the pages' login sets.",
6 6
      "errors": [
7 7
        {
8 8
          "description": "No such repository.",
9 9
          "name": "NotFound"
10 10
        },
11 11
        {
12 12
          "description": "No account is logged in to the pages, or its session has ended.",
13 13
          "name": "AuthenticationRequired"
14 14
        }
15 15
      ],
16 16
      "input": {
17 17
        "encoding": "application/json",
18 18
        "schema": {
19 19
          "properties": {
20 20
            "repo": {
21 21
              "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
22 22
              "format": "at-uri",
23 23
              "type": "string"
24 24
            },
25 25
            "state": {
26 -
              "description": "What it is to be: `closed`, or `open` again. Merging a pull is another thing.",
26 +
              "description": "What it is to be: `closed`, or `open` again; for a thread, `resolved`, or `open` again. Merging a pull is another thing.",
27 27
              "knownValues": [
28 28
                "open",
29 -
                "closed"
29 +
                "closed",
30 +
                "resolved"
30 31
              ],
31 32
              "maxLength": 64,
32 33
              "type": "string"
33 34
            },
34 35
            "subject": {
35 -
              "description": "The dev.knotless.pull or dev.knotless.issue.",
36 +
              "description": "The dev.knotless.pull or dev.knotless.issue; or the dev.knotless.comment starting a thread on a pull's lines.",
36 37
              "format": "at-uri",
37 38
              "type": "string"
38 39
            }
39 40
          },
40 41
          "required": [
41 42
            "repo",
42 43
            "subject",
43 44
            "state"
44 45
          ],
45 46
          "type": "object"
46 47
        }
47 48
      },
48 49
      "output": {
49 50
        "encoding": "application/json",
50 51
        "schema": {
51 52
          "properties": {
52 53
            "uri": {
53 54
              "description": "The dev.knotless.state record written.",
54 55
              "format": "at-uri",
55 56
              "type": "string"
56 57
            }
57 58
          },
58 59
          "required": [
59 60
            "uri"
60 61
          ],
61 62
          "type": "object"
62 63
        }
63 64
      },
64 65
      "type": "procedure"
65 66
    }
66 67
  },
67 -
  "description": "Closes or reopens a pull or an issue, as the account logged in to this appview's pages.",
68 +
  "description": "Closes or reopens a pull or an issue, or resolves a thread on a pull's lines or opens it again, as the account logged in to this appview's pages.",
68 69
  "id": "dev.knotless.setItemState",
69 70
  "lexicon": 1
70 71
}

Compare Other Versions

Lexicon Garden

@