add getActorLikes lexicon
This commit is contained in:
parent
21ca9fb205
commit
5b355adbf8
37
lexicons/app/bsky/feed/getAuthorLikes.json
Normal file
37
lexicons/app/bsky/feed/getAuthorLikes.json
Normal file
@ -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"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user