pub.chive.metrics.getViewCount

chive.pub

Documentation

Get simple view count for an eprint

main query

Get simple view count for an eprint

Parameters

uri string at-uri Required

AT-URI of the eprint

Output

Encodingapplication/json
count integer Required

Total view count

Errors

NotFound
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
AT-URI of the eprint
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "NotFound"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0,
          "description": "Total view count"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "uri": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the eprint"
      }
    }
  },
  "description": "Get simple view count for an eprint"
}

Lexicon Garden

@