pub.oysters.getPostThread

oysters.pub

Documentation

A submission and its discussion.

main query

A submission and its discussion.

Parameters

depth integer Optional

How many levels of replies to include. Beyond this, a comment's replies come back empty.

uri string at-uri Required

AT-URI of the submission.

Output

Encodingapplication/json

Errors

NotFound No submission at that URI, or it has been deleted.
InvalidRequest The URI is not an AT-URI in one of this board's collections.
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
How many levels of replies to include. Beyond this, a comment's replies come back empty.
AT-URI of the submission.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "NotFound",
      "description": "No submission at that URI, or it has been deleted."
    },
    {
      "name": "InvalidRequest",
      "description": "The URI is not an AT-URI in one of this board's collections."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "thread"
      ],
      "properties": {
        "thread": {
          "ref": "pub.oysters.defs#threadViewPost",
          "type": "ref",
          "description": "The submission and its replies."
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "uri": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the submission."
      },
      "depth": {
        "type": "integer",
        "default": 12,
        "maximum": 12,
        "minimum": 0,
        "description": "How many levels of replies to include. Beyond this, a comment's replies come back empty."
      }
    }
  },
  "description": "A submission and its discussion."
}

Lexicon Garden

@