Skip to content

activity

activity feed — platform-wide chronological event stream.

get_activity_feed(db: Annotated[AsyncSession, Depends(get_db)], cursor: str | None = Query(None), limit: int = Query(20)) -> ActivityFeedResponse

get the platform-wide activity feed.

get_activity_histogram(db: Annotated[AsyncSession, Depends(get_db)], days: int = Query(7, ge=1, le=30)) -> ActivityHistogramResponse

get activity counts per day for the sparkline.

actor who performed the activity.

Methods:

normalize_avatar(cls, v: str | None) -> str | None

track referenced in an activity event.

Methods:

normalize_avatar(cls, v: str | None) -> str | None

single activity event.

paginated activity feed.

single day in the activity histogram.

activity counts per day over a time window.