app.didpic.feed.getPostPublic
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.getPostPublic:output.editedAt" }
- AddedEdge AddedEdge { src: "app.didpic.feed.getPostPublic:output", tgt: "app.didpic.feed.getPostPublic:output.editedAt", kind: "prop", name: Some("editedAt") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.feed.getPostPublic:output.editedAt" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.feed.getPostPublic:output", tgt: "app.didpic.feed.getPostPublic:output.editedAt", kind: "prop", name: Some("editedAt") }
1
1
{
2
2
"id": "app.didpic.feed.getPostPublic",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"errors": [
7
7
{
8
8
"name": "PostNotFound"
9
9
}
10
10
],
11
11
"output": {
12
12
"schema": {
13
13
"type": "object",
14
14
"required": [
15
15
"uri",
16
16
"cid",
17
17
"author",
18
18
"imageCid",
19
19
"likeCount",
20
20
"commentCount",
21
21
"createdAt",
22
22
"indexedAt"
23
23
],
24
24
"properties": {
25
25
"alt": {
26
26
"type": "string"
27
27
},
28
28
"cid": {
29
29
"type": "string",
30
30
"format": "cid"
31
31
},
32
32
"pds": {
33
33
"type": "string",
34
34
"format": "uri",
35
35
"description": "Author's PDS endpoint. Use to construct the post's image blob URL."
36
36
},
37
37
"uri": {
38
38
"type": "string",
39
39
"format": "at-uri"
40
40
},
41
41
"text": {
42
42
"type": "string"
43
43
},
44
44
"author": {
45
45
"ref": "app.didpic.actor.defs#profileBasic",
46
46
"type": "ref"
47
47
},
48
48
"labels": {
49
49
"type": "array",
50
50
"items": {
51
51
"type": "string"
52
52
}
53
53
},
54
+
"editedAt": {
55
+
"type": "string",
56
+
"format": "datetime",
57
+
"description": "Set when the post has been edited at least once. Absent for never-edited posts."
58
+
},
54
59
"imageCid": {
55
60
"type": "string",
56
61
"format": "cid"
57
62
},
58
63
"createdAt": {
59
64
"type": "string",
60
65
"format": "datetime"
61
66
},
62
67
"indexedAt": {
63
68
"type": "string",
64
69
"format": "datetime"
65
70
},
66
71
"likeCount": {
67
72
"type": "integer",
68
73
"minimum": 0
69
74
},
70
75
"aspectRatio": {
71
76
"type": "object",
72
77
"properties": {
73
78
"width": {
74
79
"type": "integer",
75
80
"minimum": 1
76
81
},
77
82
"height": {
78
83
"type": "integer",
79
84
"minimum": 1
80
85
}
81
86
}
82
87
},
83
88
"commentCount": {
84
89
"type": "integer",
85
90
"minimum": 0
86
91
}
87
92
}
88
93
},
89
94
"encoding": "application/json"
90
95
},
91
96
"parameters": {
92
97
"type": "params",
93
98
"required": [
94
99
"uri"
95
100
],
96
101
"properties": {
97
102
"uri": {
98
103
"type": "string",
99
104
"format": "at-uri"
100
105
}
101
106
}
102
107
},
103
108
"description": "Unauthenticated post view for public web landings. Omits viewer-relative fields and the comment thread."
104
109
}
105
110
},
106
111
"$type": "com.atproto.lexicon.schema",
107
112
"lexicon": 1
108
113
}