dev.knotless.createPull
Schema Diff
+13 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.createPull:input.draft" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.createPull:input.images" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.createPull:input.images:items" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.defs#image" }
- AddedEdge AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.draft", kind: "prop", name: Some("draft") }
- AddedEdge AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.images", kind: "prop", name: Some("images") }
- AddedEdge AddedEdge { src: "dev.knotless.createPull:input.images", tgt: "dev.knotless.createPull:input.images:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.knotless.createPull:input.images:items", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.createPull:input.draft" }AddedVertex { vertex_id: "dev.knotless.createPull:input.images" }AddedVertex { vertex_id: "dev.knotless.createPull:input.images:items" }AddedVertex { vertex_id: "dev.knotless.defs#image" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.draft", kind: "prop", name: Some("draft") }
- Non-breaking: AddedEdge { src: "dev.knotless.createPull:input", tgt: "dev.knotless.createPull:input.images", kind: "prop", name: Some("images") }
- Non-breaking: AddedEdge { src: "dev.knotless.createPull:input.images", tgt: "dev.knotless.createPull:input.images:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.knotless.createPull:input.images:items", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
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
},
44
+
"images": {
45
+
"description": "Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.",
46
+
"items": {
47
+
"ref": "dev.knotless.defs#image",
48
+
"type": "ref"
49
+
},
50
+
"maxLength": 32,
51
+
"type": "array"
52
+
},
40
53
"repo": {
41
54
"description": "The repository to merge into: its dev.knotless.repo record, as dev.knotless.getRepo takes it.",
42
55
"format": "at-uri",
43
56
"type": "string"
44
57
},
45
58
"title": {
46
59
"maxGraphemes": 300,
47
60
"maxLength": 3000,
48
61
"type": "string"
49
62
}
50
63
},
51
64
"required": [
52
65
"repo",
53
66
"base",
54
67
"head",
55
68
"branch",
56
69
"title"
57
70
],
58
71
"type": "object"
59
72
}
60
73
},
61
74
"output": {
62
75
"encoding": "application/json",
63
76
"schema": {
64
77
"properties": {
65
78
"uri": {
66
79
"description": "The dev.knotless.pull record written.",
67
80
"format": "at-uri",
68
81
"type": "string"
69
82
}
70
83
},
71
84
"required": [
72
85
"uri"
73
86
],
74
87
"type": "object"
75
88
}
76
89
},
77
90
"type": "procedure"
78
91
}
79
92
},
80
93
"description": "Opens a pull on a repository, as the account logged in to this appview's pages.",
81
94
"id": "dev.knotless.createPull",
82
95
"lexicon": 1
83
96
}