On this page

Task analytics - leaderboards, stats, export (تحليلات المهام)

7 endpoints.

MethodPathSummary
GET/api/communities/{communityId}/tasks/analytics/exportExport tasks (تصدير المهام)
GET/api/communities/{communityId}/tasks/analytics/leaderboardGet task leaderboard (لوحة المتصدرين)
GET/api/communities/{communityId}/tasks/analytics/leaderboard/sectionsGet sections leaderboard stats (إحصائيات الأقسام)
GET/api/communities/{communityId}/tasks/analytics/leaderboard/sections/{sectionId}/headingsGet headings leaderboard stats (إحصائيات العناوين)
GET/api/communities/{communityId}/tasks/analytics/members-progressMembers' task progress (تقدّم الأعضاء)
GET/api/communities/{communityId}/tasks/analytics/members/{memberId}Get member analytics (تحليلات العضو)
GET/api/communities/{communityId}/tasks/analytics/overviewGet analytics overview (نظرة عامة على التحليلات)

Exports all tasks as CSV or Excel file. Requires tasks:manage permission. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
formatqueryyesenum: csv, excelExport format

Responses

StatusDescriptionBody
200File downloadstring (binary)
403Requires tasks:manage permission—

Returns members ranked by points earned from completed tasks Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——
——no——
sectionIdquerynostring (uuid)Filter by section
headingIdquerynostring (uuid)Filter by heading
taskIdquerynostring (uuid)Filter by specific task

Responses

StatusDescriptionBody
200Ranked leaderboard entriesobject

Returns all sections with task statistics and top performers Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200Sections with statisticsobject

Returns all headings under a section with task statistics and top performers Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Responses

StatusDescriptionBody
200Headings with statisticsobject

Every approved member of the community with their task progress, counted per individual assignment on active tasks (members with none are included with zeros). Names and avatars are the member's profile in this community. Requires tasks:manage.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200One row per approved memberobject
403Requires tasks:manage permission—

Returns task analytics for a specific member. Requires tasks:manage permission. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
memberIdpathyesstring (uuid)Member ID

Responses

StatusDescriptionBody
200Member's task analyticsobject
403Requires tasks:manage permission—
404Member not found—

Task statistics for the admin dashboard. Requires tasks:manage permission. The task-level fields (totalTasks, completionRate, tasksByStatus…) count a task COMPLETED only when every assignee finished it; assignments and sectionProgress count each assignment (one person's copy of one task), which is what the dashboard shows. Optional startDate / endDate filter by creation date (task creation for the task-level fields, assignment creation for the others).

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200Task analytics overviewobject
403Requires tasks:manage permission—