fyi.opensocial.getSiteRecord

lexicons.opensocial.fyi

Documentation

One public record a group's site reads, by URI, from the host's index: of a collection the site reads from everyone (answered to anyone), or the group's own or a member's of a collection it reads (a member's to members only). Anything else isn't the site's to read, except to whoever may change the site, for whom the host reads it from the account's own server: what a tab is about, when it's made.

main query

One public record a group's site reads, by URI, from the host's index: of a collection the site reads from everyone (answered to anyone), or the group's own or a member's of a collection it reads (a member's to members only). Anything else isn't the site's to read, except to whoever may change the site, for whom the host reads it from the account's own server: what a tab is about, when it's made.

Parameters

group string did Required

A decentralized identifier (DID).

uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Output

Encodingapplication/json
cid stringcid Optional

A content identifier (CID) referencing immutable data.

createdAt stringdatetime Optional

An RFC 3339 formatted timestamp.

handle stringhandle Optional

An AT Protocol handle (e.g., alice.bsky.social).

repo stringdid Required

A decentralized identifier (DID).

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

value unknown Required

No description available.

Errors

NotFound
NotDeclared
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 decentralized identifier (DID).
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
View raw schema
{
  "description": "One public record a group's site reads, by URI, from the host's index: of a collection the site reads from everyone (answered to anyone), or the group's own or a member's of a collection it reads (a member's to members only). Anything else isn't the site's to read, except to whoever may change the site, for whom the host reads it from the account's own server: what a tab is about, when it's made.",
  "errors": [
    {
      "name": "NotFound"
    },
    {
      "name": "NotDeclared"
    },
    {
      "name": "NotAuthorized"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "repo": {
          "format": "did",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "type": "unknown"
        }
      },
      "required": [
        "uri",
        "repo",
        "value"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "group": {
        "format": "did",
        "type": "string"
      },
      "uri": {
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "group",
      "uri"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@