dev.jazco.boards.getPosts

A page of a board's posts. Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).

Details · query
Kindquery
Authorityboards.jazco.dev
Indexed
cid bafyreianuyf75cryos3zhr52q36j3h5baj3dm2t2nm2pi4rrcrs5zhnsyq

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.sortNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A page of a board's posts. Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).",
      "errors": [
        {
          "name": "BoardNotFound"
        },
        {
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "posts": {
              "items": {
                "ref": "dev.jazco.boards.defs#postView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "posts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "board": {
            "format": "uri",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "sort": {
            "default": "hot",
            "knownValues": [
              "hot",
              "new",
              "top"
            ],
            "type": "string"
          }
        },
        "required": [
          "board"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "dev.jazco.boards.getPosts",
  "lexicon": 1
}