atproto/lexicons/app/bsky/feed/getActorLikes.json
Shoshána Abigail 2c65cb9eb3
Fix getActorLikes documentation to reflect auth required (#2593)
You can only view your own likes and this fixes the documentation to note that auth is required and that the actor must be the requesting account

https://github.com/bluesky-social/atproto/pull/1440#issuecomment-1700193127
2024-08-17 13:06:39 -04:00

43 lines
1.1 KiB
JSON

{
"lexicon": 1,
"id": "app.bsky.feed.getActorLikes",
"defs": {
"main": {
"type": "query",
"description": "Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.",
"parameters": {
"type": "params",
"required": ["actor"],
"properties": {
"actor": { "type": "string", "format": "at-identifier" },
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
},
"cursor": { "type": "string" }
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["feed"],
"properties": {
"cursor": { "type": "string" },
"feed": {
"type": "array",
"items": {
"type": "ref",
"ref": "app.bsky.feed.defs#feedViewPost"
}
}
}
}
},
"errors": [{ "name": "BlockedActor" }, { "name": "BlockedByActor" }]
}
}
}