at.protocube.getWalkthroughLikes
Count at.protocube.like records for one walkthrough and report whether the viewer liked it. An unknown walkthrough is a zero count, not an error.
Details · query
| Kind | query |
|---|---|
| Authority | protocube.at |
| Commit rev | 3mzxpo5iqs62v |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Count at.protocube.like records for one walkthrough and report whether the viewer liked it. An unknown walkthrough is a zero count, not an error.",
"errors": [
{
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"count": {
"minimum": 0,
"type": "integer"
},
"viewerLiked": {
"type": "boolean"
}
},
"required": [
"count",
"viewerLiked"
],
"type": "object"
}
},
"parameters": {
"properties": {
"subject": {
"format": "at-uri",
"type": "string"
},
"viewer": {
"description": "Optional viewer DID; omitted means viewerLiked is false.",
"format": "did",
"type": "string"
}
},
"required": [
"subject"
],
"type": "params"
},
"type": "query"
}
},
"id": "at.protocube.getWalkthroughLikes",
"lexicon": 1
}