fyi.opensocial.listSpaceRecords

lexicons.opensocial.fyi

Documentation

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, with service auth.

main query

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, with service auth.

Parameters

collection string nsid Optional

A namespaced identifier (e.g., app.bsky.feed.post).

cursor string Optional

From the last page: continues with older records.

equals string Optional

No description available.

field string Optional

Only records whose field (a name or a dotted path, like subject.uri) equals `equals`.

group string did Required

A decentralized identifier (DID).

limit integer Optional

No description available.

space string Required

The space's URI.

uri string at-uri Optional

One record in the space, by its URI.

Output

Encodingapplication/json
cursor string Optional

No description available.

records array Required

No description available.

rev string Optional

Where the index has got to in the space: a reader that saw this revision has seen everything up to it.

Errors

NotFound
NotAuthorized
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
A namespaced identifier (e.g., app.bsky.feed.post).
From the last page: continues with older records.
Only records whose field (a name or a dotted path, like subject.uri) equals `equals`.
A decentralized identifier (DID).
The space's URI.
One record in the space, by its URI.
View raw schema
{
  "description": "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, with service auth.",
  "errors": [
    {
      "name": "NotFound"
    },
    {
      "name": "NotAuthorized"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "type": "string"
        },
        "records": {
          "items": {
            "ref": "#spaceRecord",
            "type": "ref"
          },
          "type": "array"
        },
        "rev": {
          "description": "Where the index has got to in the space: a reader that saw this revision has seen everything up to it.",
          "type": "string"
        }
      },
      "required": [
        "records"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "collection": {
        "format": "nsid",
        "type": "string"
      },
      "cursor": {
        "description": "From the last page: continues with older records.",
        "type": "string"
      },
      "equals": {
        "maxLength": 2048,
        "type": "string"
      },
      "field": {
        "description": "Only records whose field (a name or a dotted path, like subject.uri) equals `equals`.",
        "maxLength": 128,
        "type": "string"
      },
      "group": {
        "format": "did",
        "type": "string"
      },
      "limit": {
        "default": 50,
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "space": {
        "description": "The space's URI.",
        "type": "string"
      },
      "uri": {
        "description": "One record in the space, by its URI.",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "group",
      "space"
    ],
    "type": "params"
  },
  "type": "query"
}
spaceRecord object

No description available.

Properties

cid string cid Required

A content identifier (CID) referencing immutable data.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

repo string did Required

A decentralized identifier (DID).

uri string Required

No description available.

value unknown Required

No description available.

View raw schema
{
  "properties": {
    "cid": {
      "format": "cid",
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "repo": {
      "format": "did",
      "type": "string"
    },
    "uri": {
      "type": "string"
    },
    "value": {
      "type": "unknown"
    }
  },
  "required": [
    "uri",
    "cid",
    "repo",
    "value",
    "createdAt"
  ],
  "type": "object"
}

Lexicon Garden

@