On this page

Member home-page widgets: who is online now, and the most active members

2 endpoints.

MethodPathSummary
GET/api/communities/{communityId}/home-widgets/online-nowMembers connected right now («متصل الآن» home widget)
GET/api/communities/{communityId}/home-widgets/top-activeMost active members («الأكثر نشاطاً» home widget)

The members of this community with a live connection, others first and the caller last. Members hidden from the directory are left out of both the roster and the count (staff see everyone). Check available before online — false means the server cannot answer, not that nobody is online. Answers 403 HOME_WIDGET_DISABLED while the community admin has the widget off.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—

Responses

StatusDescriptionBody
200The online rosterobject
401Not signed in—
403Not a member (NOT_A_COMMUNITY_MEMBER), plan without home widgets (FEATURE_NOT_AVAILABLE), or the widget is off (HOME_WIDGET_DISABLED)—

Members ranked by activity points (the activity leaderboard's total) over this week, this month, or all time. Members hidden from the directory are left out and the ranks close up behind them. Follows the activity heatmap's gates: the plan flag, the community switch, and its audience setting.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—
rangequerynoenum: week, month, all—
limitquerynointeger—

Responses

StatusDescriptionBody
200The ranked membersobject
401Not signed in—
403Not a member, a plan without the flags (FEATURE_NOT_AVAILABLE), the widget off (HOME_WIDGET_DISABLED), the heatmap off (HEATMAP_DISABLED_FOR_COMMUNITY), or activity shown to moderators only (ACTIVITY_MODERATORS_ONLY)—