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
{
"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"
}