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