fyi.opensocial.listSiteRecords

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Records of one collection from the host's index of the group's own repo and its members' public repos, newest first. Without `repo`, a collection the group's site declares it reads, from the group (answered to anyone) or its members (members only). With `repo`, that one account's records — the group's or a member's — of any collection, kept on demand once asked for; members only. `field` and `equals` keep only records whose field (a name, or a path like subject.uri) equals that value.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "NotDeclared"
        },
        {
          "name": "NotAuthorized"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "records": {
              "items": {
                "ref": "#siteRecord",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "format": "nsid",
            "type": "string"
          },
          "equals": {
            "maxLength": 2048,
            "type": "string"
          },
          "field": {
            "description": "Only records whose field (a name or a dotted path) equals `equals`.",
            "maxLength": 128,
            "type": "string"
          },
          "from": {
            "description": "Without `repo`: the group's records, or its members'.",
            "knownValues": [
              "group",
              "members"
            ],
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "repo": {
            "description": "One account's records: the group's or a member's.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group",
          "collection"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "siteRecord": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "repo": {
          "format": "did",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "type": "unknown"
        }
      },
      "required": [
        "uri",
        "repo",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.listSiteRecords",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.listSiteRecords

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreibcki346677fmj7bfftqkidgem5tthwqzaec5p32hzvzkk3mao7si
Indexed At
2026-10-08 18:10 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.listSiteRecords

Version History (4 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Records in one of a group's content spaces, from the host's index of it: one collection or every collection, newest first, a page at a time. Only for those the space's own access record lets read, checked on every call,…

  • List a range of records in a repository, matching a specific collection. Does not require auth.

Lexicon Garden

@