uk.skyblur.post.getPost
Schema Diff
+10 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "uk.skyblur.post.getPost:input.forEdit" }
- AddedVertex AddedVertex { vertex_id: "uk.skyblur.post.getPost:output.unlockAt" }
- AddedEdge AddedEdge { src: "uk.skyblur.post.getPost:input", tgt: "uk.skyblur.post.getPost:input.forEdit", kind: "prop", name: Some("forEdit") }
- AddedEdge AddedEdge { src: "uk.skyblur.post.getPost:output", tgt: "uk.skyblur.post.getPost:output.unlockAt", kind: "prop", name: Some("unlockAt") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "uk.skyblur.post.getPost:input.forEdit" }AddedVertex { vertex_id: "uk.skyblur.post.getPost:output.unlockAt" }
Additional Notes
- Non-breaking: AddedEdge { src: "uk.skyblur.post.getPost:input", tgt: "uk.skyblur.post.getPost:input.forEdit", kind: "prop", name: Some("forEdit") }
- Non-breaking: AddedEdge { src: "uk.skyblur.post.getPost:output", tgt: "uk.skyblur.post.getPost:output.unlockAt", kind: "prop", name: Some("unlockAt") }
1
1
{
2
2
"id": "uk.skyblur.post.getPost",
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
"uri"
11
11
],
12
12
"properties": {
13
13
"uri": {
14
14
"type": "string",
15
15
"format": "at-uri",
16
16
"description": "Skyblur post at-uri. It shoud be uk.skyblur.post collection."
17
17
},
18
+
"forEdit": {
19
+
"type": "boolean",
20
+
"description": "Author-only edit retrieval. Allows the record owner to load restricted content before its scheduled reveal for editing; never use for normal post viewing."
21
+
},
18
22
"password": {
19
23
"type": "string",
20
24
"description": "If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned."
21
25
}
22
26
}
23
27
},
24
28
"encoding": "application/json"
25
29
},
26
30
"output": {
27
31
"schema": {
28
32
"type": "object",
29
33
"required": [
30
34
"text"
31
35
],
32
36
"properties": {
33
37
"text": {
34
38
"type": "string"
35
39
},
36
40
"listUri": {
37
41
"type": "string",
38
42
"format": "at-uri",
39
43
"description": "Selected Bluesky list AT-URI for list visibility. May be returned for authorized, masked and authorization error responses."
40
44
},
41
45
"message": {
42
46
"type": "string"
43
47
},
48
+
"unlockAt": {
49
+
"type": "string",
50
+
"format": "datetime",
51
+
"description": "Scheduled reveal time. Returned with LockedUntil for supported restricted visibility."
52
+
},
44
53
"createdAt": {
45
54
"type": "string",
46
55
"format": "datetime"
47
56
},
48
57
"errorCode": {
49
58
"type": "string",
50
-
"description": "Error code for restricted content. e.g. AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri"
59
+
"description": "Error code for unavailable content. e.g. LockedUntil, AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri"
51
60
},
52
61
"additional": {
53
62
"type": "string"
54
63
},
55
64
"encryptCid": {
56
65
"type": "string"
57
66
},
58
67
"visibility": {
59
68
"type": "string"
60
69
},
61
70
"errorDescription": {
62
71
"type": "string",
63
72
"description": "Description of the error code."
64
73
}
65
74
}
66
75
},
67
76
"encoding": "application/json"
68
77
},
69
78
"description": "Get Skyblur post. If the specified post is password-protected, you can retrieve the unlocked content by providing the password. Auth required for followers, following, mutual and list visibility."
70
79
}
71
80
},
72
81
"$type": "com.atproto.lexicon.schema",
73
82
"lexicon": 1
74
83
}