club.userstyles.alpha.feed.countRatings

Count current ratings and their average, optionally filtered by subject and/or author.

Repository @userstyles.club did:plc:z6a2tfjek74wmqinw5vjzbed not from the namespace authority
Details · query
Kindquery
Authorityfeed.alpha.userstyles.club
Indexed
cid bafyreifeloiqwgesocm5m4ull5e37az65ofaszhmm5wuz7p3dz5b3pamsa

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.averageNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Count current ratings and their average, optionally filtered by subject and/or author.",
      "errors": [
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "average": {
              "type": "string"
            },
            "count": {
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "author": {
            "description": "rater's did",
            "format": "at-identifier",
            "type": "string"
          },
          "subject": {
            "description": "uri of the subject userstyle",
            "format": "at-uri",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "club.userstyles.alpha.feed.countRatings",
  "lexicon": 1
}