dev.knotless.createIssue
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.createIssue:input.images" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.createIssue:input.images:items" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.defs#image" }
- AddedEdge AddedEdge { src: "dev.knotless.createIssue:input", tgt: "dev.knotless.createIssue:input.images", kind: "prop", name: Some("images") }
- AddedEdge AddedEdge { src: "dev.knotless.createIssue:input.images", tgt: "dev.knotless.createIssue:input.images:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.knotless.createIssue:input.images:items", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.createIssue:input.images" }AddedVertex { vertex_id: "dev.knotless.createIssue:input.images:items" }AddedVertex { vertex_id: "dev.knotless.defs#image" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.createIssue:input", tgt: "dev.knotless.createIssue:input.images", kind: "prop", name: Some("images") }
- Non-breaking: AddedEdge { src: "dev.knotless.createIssue:input.images", tgt: "dev.knotless.createIssue:input.images:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.knotless.createIssue: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.issue record in the account logged in to this appview's web pages, as `knotless issue` does: refused, with the template, when the repository has one (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
"body": {
21
21
"description": "What it is about, in Markdown.",
22
22
"maxLength": 20000,
23
23
"type": "string"
24
24
},
25
+
"images": {
26
+
"description": "Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.",
27
+
"items": {
28
+
"ref": "dev.knotless.defs#image",
29
+
"type": "ref"
30
+
},
31
+
"maxLength": 32,
32
+
"type": "array"
33
+
},
25
34
"repo": {
26
35
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
27
36
"format": "at-uri",
28
37
"type": "string"
29
38
},
30
39
"title": {
31
40
"maxGraphemes": 300,
32
41
"maxLength": 3000,
33
42
"type": "string"
34
43
}
35
44
},
36
45
"required": [
37
46
"repo",
38
47
"title"
39
48
],
40
49
"type": "object"
41
50
}
42
51
},
43
52
"output": {
44
53
"encoding": "application/json",
45
54
"schema": {
46
55
"properties": {
47
56
"uri": {
48
57
"description": "The dev.knotless.issue record written.",
49
58
"format": "at-uri",
50
59
"type": "string"
51
60
}
52
61
},
53
62
"required": [
54
63
"uri"
55
64
],
56
65
"type": "object"
57
66
}
58
67
},
59
68
"type": "procedure"
60
69
}
61
70
},
62
71
"description": "Opens an issue on a repository, as the account logged in to this appview's pages.",
63
72
"id": "dev.knotless.createIssue",
64
73
"lexicon": 1
65
74
}