social.grain.unspecced.getStoryAuthors
Get authors who have active stories (posted within the last 24 hours).
Details · query
| Kind | query |
|---|---|
| Authority | unspecced.grain.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get authors who have active stories (posted within the last 24 hours).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"authors": {
"items": {
"ref": "social.grain.unspecced.getStoryAuthors#storyAuthor",
"type": "ref"
},
"type": "array"
}
},
"required": [
"authors"
],
"type": "object"
}
},
"type": "query"
},
"storyAuthor": {
"properties": {
"lastViewedAt": {
"description": "createdAt 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.",
"format": "datetime",
"type": "string"
},
"latestAt": {
"format": "datetime",
"type": "string"
},
"profile": {
"ref": "social.grain.actor.defs#profileView",
"type": "ref"
},
"storyCount": {
"type": "integer"
},
"unviewedCount": {
"description": "How many of this author's live stories the requesting account has not watched. Only present for an authenticated viewer.",
"type": "integer"
}
},
"required": [
"profile",
"storyCount",
"latestAt"
],
"type": "object"
}
},
"id": "social.grain.unspecced.getStoryAuthors",
"lexicon": 1
}