games.gamesgamesgamesgames.graph.getLikes

Get the like count for a game and whether the authenticated user has liked it.

Details · query
Kindquery
Authoritygraph.gamesgamesgamesgames.games
Indexed
cid bafyreib7y7vpevnk3ubqs5tp6hpn6ehgifb6wwwc7yksvt2g675mgau2qm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the like count for a game and whether the authenticated user has liked it.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "description": "Total number of likes on this game.",
              "type": "integer"
            },
            "liked": {
              "description": "Whether the authenticated user has liked this game.",
              "type": "boolean"
            }
          },
          "required": [
            "count",
            "liked"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uri": {
            "description": "AT URI of the game record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "games.gamesgamesgamesgames.graph.getLikes",
  "lexicon": 1
}