count records that link to another record
Parameters
Output
Encoding
application/jsontotal
integer
Required
total number of matching links
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"total"
],
"properties": {
"total": {
"type": "integer",
"description": "total number of matching links"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"subject",
"source"
],
"properties": {
"source": {
"type": "string",
"description": "collection and path specification for the primary link"
},
"subject": {
"type": "string",
"format": "uri",
"description": "the primary target being linked to (at-uri, did, or uri)"
}
}
},
"description": "count records that link to another record"
}