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
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"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.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
+
"forEdit": {
11
+
"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.",
12
+
"type": "boolean"
13
+
},
10
14
"password": {
11
15
"description": "If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned.",
12
16
"type": "string"
13
17
},
14
18
"uri": {
15
19
"description": "Skyblur post at-uri. It shoud be uk.skyblur.post collection.",
16
20
"format": "at-uri",
17
21
"type": "string"
18
22
}
19
23
},
20
24
"required": [
21
25
"uri"
22
26
],
23
27
"type": "object"
24
28
}
25
29
},
26
30
"output": {
27
31
"encoding": "application/json",
28
32
"schema": {
29
33
"properties": {
30
34
"additional": {
31
35
"type": "string"
32
36
},
33
37
"createdAt": {
34
38
"format": "datetime",
35
39
"type": "string"
36
40
},
37
41
"encryptCid": {
38
42
"type": "string"
39
43
},
40
44
"errorCode": {
41
-
"description": "Error code for restricted content. e.g. AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri",
45
+
"description": "Error code for unavailable content. e.g. LockedUntil, AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri",
42
46
"type": "string"
43
47
},
44
48
"errorDescription": {
45
49
"description": "Description of the error code.",
46
50
"type": "string"
47
51
},
48
52
"listUri": {
49
53
"description": "Selected Bluesky list AT-URI for list visibility. May be returned for authorized, masked and authorization error responses.",
50
54
"format": "at-uri",
51
55
"type": "string"
52
56
},
53
57
"message": {
54
58
"type": "string"
55
59
},
56
60
"text": {
57
61
"type": "string"
58
62
},
63
+
"unlockAt": {
64
+
"description": "Scheduled reveal time. Returned with LockedUntil for supported restricted visibility.",
65
+
"format": "datetime",
66
+
"type": "string"
67
+
},
59
68
"visibility": {
60
69
"type": "string"
61
70
}
62
71
},
63
72
"required": [
64
73
"text"
65
74
],
66
75
"type": "object"
67
76
}
68
77
},
69
78
"type": "procedure"
70
79
}
71
80
},
72
81
"id": "uk.skyblur.post.getPost",
73
82
"lexicon": 1
74
83
}