social.coves.actor.getLikes
Get the posts and comments a user upvoted, most recent vote first. Requires auth; only the user themselves may list their likes. Pages can be short or empty while a cursor is still returned; keep following the cursor.
Details · query
| Kind | query |
|---|---|
| Authority | actor.coves.social |
| Commit rev | 3n3iubre3bk26 |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"likedComment": {
"description": "A comment the user upvoted, with the root post of its thread.",
"properties": {
"comment": {
"ref": "social.coves.community.comment.defs#commentView",
"type": "ref"
},
"post": {
"description": "The root post of the comment's thread.",
"ref": "social.coves.community.post.defs#postView",
"type": "ref"
}
},
"required": [
"comment",
"post"
],
"type": "object"
},
"likedPost": {
"description": "A post the user upvoted.",
"properties": {
"post": {
"ref": "social.coves.community.post.defs#postView",
"type": "ref"
}
},
"required": [
"post"
],
"type": "object"
},
"main": {
"description": "Get the posts and comments a user upvoted, most recent vote first. Requires auth; only the user themselves may list their likes. Pages can be short or empty while a cursor is still returned; keep following the cursor.",
"errors": [
{
"description": "Actor not found",
"name": "ActorNotFound"
},
{
"description": "More than one bridged user matches the name@host actor",
"name": "AmbiguousActor"
},
{
"description": "Unknown filter or malformed parameter",
"name": "InvalidRequest"
},
{
"description": "Invalid pagination cursor",
"name": "InvalidCursor"
},
{
"description": "The actor is not the authenticated viewer",
"name": "NotAllowed"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 500,
"type": "string"
},
"feed": {
"items": {
"refs": [
"#likedPost",
"#likedComment"
],
"type": "union"
},
"type": "array"
}
},
"required": [
"feed"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "DID or handle of the user, or a bridged user's fediverse address as name@host or @name@host (e.g. alice@lemmy.world). Must resolve to the authenticated viewer.",
"maxLength": 2048,
"type": "string"
},
"cursor": {
"maxLength": 500,
"type": "string"
},
"filter": {
"default": "all",
"description": "Which likes to list: all (posts and comments together), posts, or comments.",
"knownValues": [
"all",
"posts",
"comments"
],
"maxLength": 64,
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.coves.actor.getLikes",
"lexicon": 1
}