fyi.opensocial.listTemplateLikes

Who likes a template shared with everyone, newest first, each about a version of it and with their line about it: as this host has seen them, leaving out any labelled hidden. For anyone.

Details · query
Kindquery
Authorityopensocial.fyi
Indexed
cid bafyreibrhowod26cqv3vjqtyqgtprjbfdqomyjquzrv3rg235gt3chat74

Checks

Valid
  • unlimited-string defs.likeView.properties.textNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "likeView": {
      "properties": {
        "author": {
          "ref": "fyi.opensocial.getTemplateListing#makerView",
          "type": "ref"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "number": {
          "description": "Which version that is.",
          "minimum": 1,
          "type": "integer"
        },
        "text": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "version": {
          "description": "The version it's about.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "uri",
        "author",
        "version",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "Who likes a template shared with everyone, newest first, each about a version of it and with their line about it: as this host has seen them, leaving out any labelled hidden. For anyone.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "likes": {
              "items": {
                "ref": "#likeView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "likes"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "uri": {
            "description": "The template, its fyi.opensocial.template.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listTemplateLikes",
  "lexicon": 1
}