app.zeens.getSuggestedUsers

Suggested accounts for a viewer in one query: members with at least minPosts Zeens posts, ordered by posts in the last 30 days then most recent post, excluding the viewer and accounts the viewer already follows. An optional pinned DID leads the list unless it is already followed.

Repository @zeens.app did:plc:pwpuqwge6g7xrjmfbw73uycw namespace authority
Details · query
Kindquery
Authorityzeens.app
Indexed
cid bafyreibdbosvuzwmiv6e6cuazzmc2pxaodloz3lh4zzevp4i4vo75pcdsm

Checks

Valid
  • unlimited-string defs.main.parameters.properties.pinNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.viewerNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suggested accounts for a viewer in one query: members with at least minPosts Zeens posts, ordered by posts in the last 30 days then most recent post, excluding the viewer and accounts the viewer already follows. An optional pinned DID leads the list unless it is already followed.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "limit": {
            "description": "Maximum accounts to return (default 5, max 25).",
            "type": "integer"
          },
          "minPosts": {
            "description": "Minimum number of Zeens posts an account needs to be suggested (default 5).",
            "type": "integer"
          },
          "pin": {
            "description": "DID to lead the list regardless of post count, unless the viewer already follows it.",
            "type": "string"
          },
          "viewer": {
            "description": "DID of the viewer. The viewer and everyone they follow are excluded.",
            "type": "string"
          }
        },
        "type": "params"
      },
      "target_collection": "app.zeens.postMeta",
      "type": "query"
    }
  },
  "id": "app.zeens.getSuggestedUsers",
  "lexicon": 1
}