pub.chive.subscription.getStatus

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.

Details · query
Kindquery
Authoritysubscription.chive.pub
Indexed

Query

query · GET

Parameters

query string

did

requiredstring · did

DID of the author whose publications are subscribed to

viewerDid

string · did

Reader to report a subscription status for; omitted when nobody is signed in

Output

application/json

publicationUri

string · at-uri

The author's publication record, when they have one. A reader needs it to write a subscription of their own.

subscribed

requiredboolean

Whether viewerDid subscribes. False when no viewer was given.

subscriberCount

requiredinteger

Distinct readers subscribed, not records: an author may hold several publications and a reader following two of them is one follower.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Whether the subject reader subscribes to a publication.

  • The authors a reader subscribes to.

  • How many distinct readers follow a book: a count of site.standard.graph.subscription records pointing at the publication, via a network-wide backlink index. Garnish, never load-bearing — reports 0 when the upstream index is unreachable.

  • page.cavu.graph.authorSubscription

    record not from the namespace authority

    Record declaring a subscription to an author — the sibling of site.standard.graph.subscription, which targets publications only. Following an author means wanting the books they have not written yet, so the subject is the author's DID rather than any record: a publication that does not exist yet cannot be referenced. One record per (reader, author) by convention: clients list their own repo and reuse the existing record rather than create a second (the same convention page.cavu.progress uses). T

  • Whether the subject reader follows a user.