pub.chive.metrics.getMetrics

chive.pub

{
  "id": "pub.chive.metrics.getMetrics",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "totalViews",
            "uniqueViews",
            "totalDownloads",
            "views24h",
            "views7d",
            "views30d"
          ],
          "properties": {
            "views7d": {
              "type": "integer",
              "minimum": 0,
              "description": "Views in last 7 days"
            },
            "views24h": {
              "type": "integer",
              "minimum": 0,
              "description": "Views in last 24 hours"
            },
            "views30d": {
              "type": "integer",
              "minimum": 0,
              "description": "Views in last 30 days"
            },
            "totalViews": {
              "type": "integer",
              "minimum": 0,
              "description": "Total view count"
            },
            "uniqueViews": {
              "type": "integer",
              "minimum": 0,
              "description": "Unique viewer count"
            },
            "totalDownloads": {
              "type": "integer",
              "minimum": 0,
              "description": "Total download count"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the eprint"
          }
        }
      },
      "description": "Get comprehensive metrics for an eprint"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.metrics.getMetrics

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreidzvithrbc5f42qo7t5tvzgg44arxnwpk4z72tmmv2tduecrm6nje
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.metrics.getMetrics

Lexicon Garden

@