-
Notifications
You must be signed in to change notification settings - Fork 554
/
getPosts.json
35 lines (35 loc) · 956 Bytes
/
getPosts.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"lexicon": 1,
"id": "app.bsky.feed.getPosts",
"defs": {
"main": {
"type": "query",
"description": "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
"parameters": {
"type": "params",
"required": ["uris"],
"properties": {
"uris": {
"type": "array",
"description": "List of post AT-URIs to return hydrated views for.",
"items": { "type": "string", "format": "at-uri" },
"maxLength": 25
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["posts"],
"properties": {
"posts": {
"type": "array",
"items": { "type": "ref", "ref": "app.bsky.feed.defs#postView" }
}
}
}
}
}
}
}