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
| Kind | query |
|---|---|
| Authority | boards.jazco.dev |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.sortNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$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
}