pub.chive.endorsement.getSummary
Get endorsement summary (counts by contribution type) for an eprint
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | endorsement.chive.pub |
| Indexed |
Showing version bafyreidq7rjvtzbwlihvi2k6hlk3rdpdpy42ottnkdx57okzqrdtefxw7m. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"endorsementCountByType": {
"description": "Map of contribution type slug to endorsement count",
"properties": {},
"type": "object"
},
"main": {
"description": "Get endorsement summary (counts by contribution type) for an eprint",
"errors": [],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"byType": {
"description": "Count by contribution type",
"ref": "#endorsementCountByType",
"type": "ref"
},
"endorserCount": {
"description": "Unique endorser count",
"minimum": 0,
"type": "integer"
},
"total": {
"description": "Total endorsement count",
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"endorserCount",
"byType"
],
"type": "object"
}
},
"parameters": {
"properties": {
"eprintUri": {
"description": "AT-URI of the eprint",
"format": "at-uri",
"type": "string"
}
},
"required": [
"eprintUri"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.endorsement.getSummary",
"lexicon": 1,
"revision": 1
}