|
40 | 40 | "properties": { |
41 | 41 | "repost": { "type": "string", "format": "at-uri" }, |
42 | 42 | "like": { "type": "string", "format": "at-uri" }, |
| 43 | + "threadMuted": { "type": "boolean" }, |
43 | 44 | "replyDisabled": { "type": "boolean" } |
44 | 45 | } |
45 | 46 | }, |
|
49 | 50 | "properties": { |
50 | 51 | "post": { "type": "ref", "ref": "#postView" }, |
51 | 52 | "reply": { "type": "ref", "ref": "#replyRef" }, |
52 | | - "reason": { "type": "union", "refs": ["#reasonRepost"] } |
| 53 | + "reason": { "type": "union", "refs": ["#reasonRepost"] }, |
| 54 | + "feedContext": { |
| 55 | + "type": "string", |
| 56 | + "description": "Context provided by feed generator that may be passed back alongside interactions.", |
| 57 | + "maxLength": 2000 |
| 58 | + } |
53 | 59 | } |
54 | 60 | }, |
55 | 61 | "replyRef": { |
|
63 | 69 | "parent": { |
64 | 70 | "type": "union", |
65 | 71 | "refs": ["#postView", "#notFoundPost", "#blockedPost"] |
| 72 | + }, |
| 73 | + "grandparentAuthor": { |
| 74 | + "type": "ref", |
| 75 | + "ref": "app.bsky.actor.defs#profileViewBasic", |
| 76 | + "description": "When parent is a reply to another post, this is the author of that post." |
66 | 77 | } |
67 | 78 | } |
68 | 79 | }, |
|
135 | 146 | "type": "array", |
136 | 147 | "items": { "type": "ref", "ref": "app.bsky.richtext.facet" } |
137 | 148 | }, |
138 | | - "avatar": { "type": "string" }, |
| 149 | + "avatar": { "type": "string", "format": "uri" }, |
139 | 150 | "likeCount": { "type": "integer", "minimum": 0 }, |
| 151 | + "acceptsInteractions": { "type": "boolean" }, |
140 | 152 | "labels": { |
141 | 153 | "type": "array", |
142 | 154 | "items": { "type": "ref", "ref": "com.atproto.label.defs#label" } |
|
156 | 168 | "required": ["post"], |
157 | 169 | "properties": { |
158 | 170 | "post": { "type": "string", "format": "at-uri" }, |
159 | | - "reason": { "type": "union", "refs": ["#skeletonReasonRepost"] } |
| 171 | + "reason": { "type": "union", "refs": ["#skeletonReasonRepost"] }, |
| 172 | + "feedContext": { |
| 173 | + "type": "string", |
| 174 | + "description": "Context that will be passed through to client and may be passed to feed generator back alongside interactions.", |
| 175 | + "maxLength": 2000 |
| 176 | + } |
160 | 177 | } |
161 | 178 | }, |
162 | 179 | "skeletonReasonRepost": { |
|
177 | 194 | "items": { "type": "ref", "ref": "app.bsky.graph.defs#listViewBasic" } |
178 | 195 | } |
179 | 196 | } |
| 197 | + }, |
| 198 | + "interaction": { |
| 199 | + "type": "object", |
| 200 | + "properties": { |
| 201 | + "item": { "type": "string", "format": "at-uri" }, |
| 202 | + "event": { |
| 203 | + "type": "string", |
| 204 | + "knownValues": [ |
| 205 | + "app.bsky.feed.defs#requestLess", |
| 206 | + "app.bsky.feed.defs#requestMore", |
| 207 | + "app.bsky.feed.defs#clickthroughItem", |
| 208 | + "app.bsky.feed.defs#clickthroughAuthor", |
| 209 | + "app.bsky.feed.defs#clickthroughReposter", |
| 210 | + "app.bsky.feed.defs#clickthroughEmbed", |
| 211 | + "app.bsky.feed.defs#interactionSeen", |
| 212 | + "app.bsky.feed.defs#interactionLike", |
| 213 | + "app.bsky.feed.defs#interactionRepost", |
| 214 | + "app.bsky.feed.defs#interactionReply", |
| 215 | + "app.bsky.feed.defs#interactionQuote", |
| 216 | + "app.bsky.feed.defs#interactionShare" |
| 217 | + ] |
| 218 | + }, |
| 219 | + "feedContext": { |
| 220 | + "type": "string", |
| 221 | + "description": "Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.", |
| 222 | + "maxLength": 2000 |
| 223 | + } |
| 224 | + } |
| 225 | + }, |
| 226 | + "requestLess": { |
| 227 | + "type": "token", |
| 228 | + "description": "Request that less content like the given feed item be shown in the feed" |
| 229 | + }, |
| 230 | + "requestMore": { |
| 231 | + "type": "token", |
| 232 | + "description": "Request that more content like the given feed item be shown in the feed" |
| 233 | + }, |
| 234 | + "clickthroughItem": { |
| 235 | + "type": "token", |
| 236 | + "description": "User clicked through to the feed item" |
| 237 | + }, |
| 238 | + "clickthroughAuthor": { |
| 239 | + "type": "token", |
| 240 | + "description": "User clicked through to the author of the feed item" |
| 241 | + }, |
| 242 | + "clickthroughReposter": { |
| 243 | + "type": "token", |
| 244 | + "description": "User clicked through to the reposter of the feed item" |
| 245 | + }, |
| 246 | + "clickthroughEmbed": { |
| 247 | + "type": "token", |
| 248 | + "description": "User clicked through to the embedded content of the feed item" |
| 249 | + }, |
| 250 | + "interactionSeen": { |
| 251 | + "type": "token", |
| 252 | + "description": "Feed item was seen by user" |
| 253 | + }, |
| 254 | + "interactionLike": { |
| 255 | + "type": "token", |
| 256 | + "description": "User liked the feed item" |
| 257 | + }, |
| 258 | + "interactionRepost": { |
| 259 | + "type": "token", |
| 260 | + "description": "User reposted the feed item" |
| 261 | + }, |
| 262 | + "interactionReply": { |
| 263 | + "type": "token", |
| 264 | + "description": "User replied to the feed item" |
| 265 | + }, |
| 266 | + "interactionQuote": { |
| 267 | + "type": "token", |
| 268 | + "description": "User quoted the feed item" |
| 269 | + }, |
| 270 | + "interactionShare": { |
| 271 | + "type": "token", |
| 272 | + "description": "User shared the feed item" |
180 | 273 | } |
181 | 274 | } |
182 | 275 | } |
0 commit comments