Subscriber count for an author, and whether a given reader is among them. Subscriptions are site.standard.graph.subscription records written into readers' own repositories; Chive indexes them from the firehose and neither writes nor owns them.
Parameters
Output
application/jsonpublicationUri
stringat-uri
Optional
The author's publication record, when they have one. A reader needs it to write a subscription of their own.
subscribed
boolean
Required
Whether viewerDid subscribes. False when no viewer was given.
subscriberCount
integer
Required
Distinct readers subscribed, not records: an author may hold several publications and a reader following two of them is one follower.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Subscriber count for an author, and whether a given reader is among them. Subscriptions are site.standard.graph.subscription records written into readers' own repositories; Chive indexes them from the firehose and neither writes nor owns them.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"publicationUri": {
"description": "The author's publication record, when they have one. A reader needs it to write a subscription of their own.",
"format": "at-uri",
"type": "string"
},
"subscribed": {
"description": "Whether viewerDid subscribes. False when no viewer was given.",
"type": "boolean"
},
"subscriberCount": {
"description": "Distinct readers subscribed, not records: an author may hold several publications and a reader following two of them is one follower.",
"type": "integer"
}
},
"required": [
"subscriberCount",
"subscribed"
],
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"description": "DID of the author whose publications are subscribed to",
"format": "did",
"type": "string"
},
"viewerDid": {
"description": "Reader to report a subscription status for; omitted when nobody is signed in",
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "params"
},
"type": "query"
}