social.grain.unspecced.getStoryAuthors

Get authors who have active stories (posted within the last 24 hours).

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 not from the namespace authority
Details · query
Kindquery
Authorityunspecced.grain.social
Indexed
cid bafyreidev4xw2smh6i75xuuu2djnt2hht5vzcj4ni6ydifhrwfnhc5yo5a

Checks

Valid Lint pass
JSONDownload
{
  "$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
}