atproto blogging
at main 53 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "chat.bsky.convo.getMessages", 4 "defs": { 5 "main": { 6 "type": "query", 7 "parameters": { 8 "type": "params", 9 "required": [ 10 "convoId" 11 ], 12 "properties": { 13 "convoId": { 14 "type": "string" 15 }, 16 "cursor": { 17 "type": "string" 18 }, 19 "limit": { 20 "type": "integer", 21 "default": 50, 22 "minimum": 1, 23 "maximum": 100 24 } 25 } 26 }, 27 "output": { 28 "encoding": "application/json", 29 "schema": { 30 "type": "object", 31 "required": [ 32 "messages" 33 ], 34 "properties": { 35 "cursor": { 36 "type": "string" 37 }, 38 "messages": { 39 "type": "array", 40 "items": { 41 "type": "union", 42 "refs": [ 43 "chat.bsky.convo.defs#messageView", 44 "chat.bsky.convo.defs#deletedMessageView" 45 ] 46 } 47 } 48 } 49 } 50 } 51 } 52 } 53}