social.grain.story.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | story.grain.social |
| Commit rev | 3n2wtnzqzqobo |
| Indexed |
#storyAuthor
objectProperties
lastViewedAt
string · datetimecreatedAt of the newest of this author's live stories the requesting account has watched. Compare against latestAt to tell whether the viewer is caught up. Only present for an authenticated viewer who has watched at least one.
unviewedCount
integerHow many of this author's live stories the requesting account has not watched. Only present for an authenticated viewer.
#storyView
objectProperties
address
refcommentCount
integercrossPost
refexpired
booleanWhether the story has passed its 24-hour window.
URL of the story image drawn for a screen, 1440 pixels wide.
labels
arraylocation
reflocationDisplay
stringFormatted location label for display.
Thumbnail URL for the story image.
viewer
ref#viewerState
objectMetadata about the requesting account's relationship with the story.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get authors who have active stories (posted within the last 24 hours).
-
social.grain.story
recordA story: a photo or video posted to an account's stories.
-
An ephemeral 24-hour story, mirrored to AT Protocol as a real org.swappulse.story record. Stories expire client-side after 24 hours; the PDS record remains for audit but the AppView filters expired stories from feeds.
-
An ephemeral story: visible until expiresAt, then hidden and eligible for deletion. Location is required. Belongs to exactly one persona via profileUri. For a gated persona this record lives inside the persona's Space; Spaces provide access control, not confidentiality.