blue.microcosm.links.getBacklinksCount
count records that link to another record
Details · query
| Kind | query |
|---|---|
| Authority | links.microcosm.blue |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.sourceNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "count records that link to another record",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"total": {
"description": "total number of matching links",
"type": "integer"
}
},
"required": [
"total"
],
"type": "object"
}
},
"parameters": {
"properties": {
"source": {
"description": "collection and path specification for the primary link",
"type": "string"
},
"subject": {
"description": "the primary target being linked to (at-uri, did, or uri)",
"format": "uri",
"type": "string"
}
},
"required": [
"subject",
"source"
],
"type": "params"
},
"type": "query"
}
},
"id": "blue.microcosm.links.getBacklinksCount",
"lexicon": 1
}