pub.chive.endorsement.getSummary

chive.pub

Documentation

Get endorsement summary (counts by contribution type) for an eprint

main query

Get endorsement summary (counts by contribution type) for an eprint

Parameters

eprintUri string at-uri Required

AT-URI of the eprint

Output

Encodingapplication/json
endorserCount integer Required

Unique endorser count

total integer Required

Total endorsement count

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": [],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "total",
        "endorserCount",
        "byType"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "minimum": 0,
          "description": "Total endorsement count"
        },
        "byType": {
          "ref": "#endorsementCountByType",
          "type": "ref",
          "description": "Count by contribution type"
        },
        "endorserCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Unique endorser count"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "eprintUri"
    ],
    "properties": {
      "eprintUri": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the eprint"
      }
    }
  },
  "description": "Get endorsement summary (counts by contribution type) for an eprint"
}
endorsementCountByType object

Map of contribution type slug to endorsement count

This object has no properties defined.

View raw schema
{
  "type": "object",
  "properties": {},
  "description": "Map of contribution type slug to endorsement count"
}

Lexicon Garden

@