add getActorLikes lexicon

This commit is contained in:
Eric Bailey 2023-08-07 15:52:10 -05:00
parent 21ca9fb205
commit 5b355adbf8

@ -0,0 +1,37 @@
{
"lexicon": 1,
"id": "app.bsky.feed.getActorLikes",
"defs": {
"main": {
"type": "query",
"description": "A view of the posts liked by an actor.",
"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"}
]
}
}
}