Skip to content

app.bsky.feed.getPosts

Lexicon Version: 1

Type: query

Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as ‘hydrating’ a ‘feed skeleton’.

Parameters:

NameTypeReq’dDescriptionConstraints
urisArray of stringList of post AT-URIs to return hydrated views for.Max Items: 25
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
postsArray of app.bsky.feed.defs#postView

{
"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"
}
}
}
}
}
}
}
}