ink.branchline.listAuthorActivity

Per-day bud counts for an author over the trailing 30 days in the viewer's local timezone, plus a current streak (consecutive days ending today with at least one bud). Powers the leaf-themed activity strip on profile pages.

Repository @branchline.ink did:plc:brvu7akhdvsqcomb67pafw25 namespace authority
Details · query
Kindquery
Authoritybranchline.ink
Indexed

Query

query · GET

Parameters

query string

actor

requiredstring · did

DID of the author whose activity to aggregate.

tz

requiredstring

IANA timezone identifier (e.g. America/New_York) used to bucket createdAt into local days and to anchor 'today'.

Output

application/json

currentStreak

requiredinteger

Consecutive days ending at `until` (inclusive) where count >= 1. Zero if the caller's 'today' has no buds yet.

days

requiredarray

Exactly 30 entries, oldest-first, with zero-count days included.

itemsref
Reference

since

requiredstring

Inclusive start of the window in tz-local calendar form (YYYY-MM-DD). Always 29 days before `until`.

totalBuds

requiredinteger

Sum of counts across the 30-day window.

until

requiredstring

Inclusive end of the window in tz-local calendar form (YYYY-MM-DD). Always the caller's local 'today'.

#dayCount

object

Properties

count

requiredinteger

Number of buds the author created on this local day.

date

requiredstring

tz-local calendar date (YYYY-MM-DD).

Similar lexicons

semantic match

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

  • List buds written by an author, surfacing only the terminal contributions per branch: a bud is included when the author has no descendant bud beneath it. Collapses back-and-forth exchanges so each chain the author participated in appears at most once, represented by their most recent bud in that chain.