app.bsky.draft.createDraft
Schema Diff
+1 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "app.bsky.draft.createDraft:output.id", sort: "format", value: "tid" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.bsky.draft.createDraft:output.id", sort: "format", value: "tid" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.",
6
6
"errors": [
7
7
{
8
8
"description": "Trying to insert a new draft when the limit was already reached.",
9
9
"name": "DraftLimitReached"
10
10
}
11
11
],
12
12
"input": {
13
13
"encoding": "application/json",
14
14
"schema": {
15
15
"properties": {
16
16
"draft": {
17
17
"ref": "app.bsky.draft.defs#draft",
18
18
"type": "ref"
19
19
}
20
20
},
21
21
"required": [
22
22
"draft"
23
23
],
24
24
"type": "object"
25
25
}
26
26
},
27
27
"output": {
28
28
"encoding": "application/json",
29
29
"schema": {
30
30
"properties": {
31
31
"id": {
32
32
"description": "The ID of the created draft.",
33
+
"format": "tid",
33
34
"type": "string"
34
35
}
35
36
},
36
37
"required": [
37
38
"id"
38
39
],
39
40
"type": "object"
40
41
}
41
42
},
42
43
"type": "procedure"
43
44
}
44
45
},
45
46
"id": "app.bsky.draft.createDraft",
46
47
"lexicon": 1
47
48
}