place.stream.getLikes
Get likes for a subject (video or comment).
Repository
@moderation.stream.place did:plc:gqtagsooi75obldmytuow57q
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | stream.place |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"likeView": {
"properties": {
"author": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"cid": {
"format": "cid",
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"record": {
"type": "unknown"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"author",
"record",
"indexedAt"
],
"type": "object"
},
"main": {
"description": "Get likes for a subject (video or comment).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"count": {
"description": "Total number of likes for this subject.",
"minimum": 0,
"type": "integer"
},
"cursor": {
"type": "string"
},
"likes": {
"items": {
"ref": "#likeView",
"type": "ref"
},
"type": "array"
},
"subject": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"subject",
"count"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "Optional pagination cursor.",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of likes to return.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"subject": {
"description": "AT-URI of the subject (video or comment).",
"format": "at-uri",
"type": "string"
}
},
"required": [
"subject"
],
"type": "params"
},
"type": "query"
}
},
"id": "place.stream.getLikes",
"lexicon": 1
}