{
"id": "chat.yakka.getTimeline",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "ChannelNotFound"
},
{
"name": "ChannelForbidden",
"description": "The credential mint declined (ADR 0007). The channel exists and this viewer may not read it — a different fact from it not existing, and reported as one."
}
],
"output": {
"schema": {
"ref": "chat.yakka.defs#timelinePage",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"channel"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"before": {
"type": "integer",
"minimum": 1,
"description": "Page backwards from this sequence, exclusive. Omit for the newest page."
},
"channel": {
"type": "string",
"description": "The channel's id."
}
}
},
"description": "A page of a channel's timeline, newest first, ordered by view sequence (ADR 0012). Paging is by sequence and never by timestamp or record key: TIDs order a repo, never a channel, and two authors' clocks are not comparable."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}