dev.knotless.createPull

lexicons.knotless.dev

Schema Diff

+4 -0

From

CID
bafyreigwal7fa3c...
Indexed At
2026-10-28 23:15 UTC
View this version

To

CID
bafyreibhh55tubk...
Indexed At
2026-10-29 06:15 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.createPull:input.draft" }
  • AddedEdge AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.draft", kind: "prop", name: Some("draft") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "dev.knotless.createPull:input.draft" }

Additional Notes

  • Non-breaking: AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.draft", kind: "prop", name: Some("draft") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Writes a dev.knotless.pull record in the account logged in to this appview's web pages, as `knotless pull` does: asking to merge a branch of this repository or a fork into one of its branches, both of which must exist. Refused, with the template, when the repository has one at the base (see dev.knotless.getTemplate) and the body follows none of it. 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
            "base": {
21 21
              "description": "The branch to merge into.",
22 22
              "maxLength": 1024,
23 23
              "type": "string"
24 24
            },
25 25
            "body": {
26 26
              "description": "What it does and why, in Markdown.",
27 27
              "maxLength": 20000,
28 28
              "type": "string"
29 29
            },
30 30
            "branch": {
31 31
              "description": "The branch to bring in.",
32 32
              "maxLength": 1024,
33 33
              "type": "string"
34 34
            },
35 +
            "draft": {
36 +
              "description": "Open it as a draft, not ready to merge or queue. Not, when absent.",
37 +
              "type": "boolean"
38 +
            },
35 39
            "head": {
36 40
              "description": "The repository the branch is on: this one, or a fork.",
37 41
              "format": "at-uri",
38 42
              "type": "string"
39 43
            },
40 44
            "images": {
41 45
              "description": "Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.",
42 46
              "items": {
43 47
                "ref": "dev.knotless.defs#image",
44 48
                "type": "ref"
45 49
              },
46 50
              "maxLength": 32,
47 51
              "type": "array"
48 52
            },
49 53
            "repo": {
50 54
              "description": "The repository to merge into: its dev.knotless.repo record, as dev.knotless.getRepo takes it.",
51 55
              "format": "at-uri",
52 56
              "type": "string"
53 57
            },
54 58
            "title": {
55 59
              "maxGraphemes": 300,
56 60
              "maxLength": 3000,
57 61
              "type": "string"
58 62
            }
59 63
          },
60 64
          "required": [
61 65
            "repo",
62 66
            "base",
63 67
            "head",
64 68
            "branch",
65 69
            "title"
66 70
          ],
67 71
          "type": "object"
68 72
        }
69 73
      },
70 74
      "output": {
71 75
        "encoding": "application/json",
72 76
        "schema": {
73 77
          "properties": {
74 78
            "uri": {
75 79
              "description": "The dev.knotless.pull record written.",
76 80
              "format": "at-uri",
77 81
              "type": "string"
78 82
            }
79 83
          },
80 84
          "required": [
81 85
            "uri"
82 86
          ],
83 87
          "type": "object"
84 88
        }
85 89
      },
86 90
      "type": "procedure"
87 91
    }
88 92
  },
89 93
  "description": "Opens a pull on a repository, as the account logged in to this appview's pages.",
90 94
  "id": "dev.knotless.createPull",
91 95
  "lexicon": 1
92 96
}

Compare Other Versions

Lexicon Garden

@