On this page

17 endpoints.

MethodPathSummary
POST/api/communities/{communityId}/tasks/member-sectionsCreate a private section
DELETE/api/communities/{communityId}/tasks/member-sections/{sectionId}Delete a private section with everything in it
PUT/api/communities/{communityId}/tasks/member-sections/{sectionId}Edit a private section
POST/api/communities/{communityId}/tasks/member-sections/{sectionId}/headingsAdd a heading to a private section
DELETE/api/communities/{communityId}/tasks/member-sections/headings/{headingId}Delete a heading (and its tasks) from a private section
PUT/api/communities/{communityId}/tasks/member-sections/headings/{headingId}Edit a heading in a private section
GET/api/communities/{communityId}/tasks/member-sections/member/{userId}One member's private sections (manager view)
GET/api/communities/{communityId}/tasks/member-sections/mineMy private sections (أقسامي الخاصة)
GET/api/communities/{communityId}/tasks/member-sections/overviewMembers' private tasks overview (مهام أنشأها الأعضاء)
POST/api/communities/{communityId}/tasks/member-sections/tasksAdd a task to a private section
DELETE/api/communities/{communityId}/tasks/member-sections/tasks/{taskId}Delete a private task
GET/api/communities/{communityId}/tasks/member-sections/tasks/{taskId}One private task, in the same shape as the task detail
PUT/api/communities/{communityId}/tasks/member-sections/tasks/{taskId}Edit a private task
POST/api/communities/{communityId}/tasks/member-sections/tasks/{taskId}/approveApprove a submitted private task (اعتماد)
POST/api/communities/{communityId}/tasks/member-sections/tasks/{taskId}/returnReturn a submitted private task for changes (إعادة للتعديل)
GET/api/communities/{communityId}/tasks/settings/generalTasks behaviour settings (سلوك المهام)
PUT/api/communities/{communityId}/tasks/settings/generalSave tasks behaviour settings

Needs the community switch. Creates a first heading too. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Request body (required) — application/json

FieldTypeRequiredDescription
namestringyes—
iconstringno—
descriptionstringno—
firstHeadingNamestringno—

Responses

StatusDescriptionBody
201The section with its headings—
400INVALID_NAME / INVALID_ICON / INVALID_DESCRIPTION—
403MEMBER_SECTIONS_DISABLED—
409MEMBER_SECTIONS_LIMIT—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
sectionIdpathyesstring—

Responses

StatusDescriptionBody
200Deleted—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
sectionIdpathyesstring—

Responses

StatusDescriptionBody
200The section tree—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
sectionIdpathyesstring—

Request body (required) — application/json

Type: MemberHeadingInput

Responses

StatusDescriptionBody
201The section tree—
409MEMBER_HEADINGS_LIMIT—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
headingIdpathyesstring—

Responses

StatusDescriptionBody
200The section tree—

Fields left out keep their value; an empty string clears a description. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
headingIdpathyesstring—

Request body — application/json

Type: MemberHeadingInput

Responses

StatusDescriptionBody
200The section tree—
404Not found (or not yours)—

Read-only when supervision is off, editable when on. Requires tasks:manage. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
userIdpathyesstring—

Responses

StatusDescriptionBody
200supervised, sections—
403Missing permission: tasks:manage—

The caller's private sections with headings and tasks, plus the settings. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200settings, sections—

One row per member with private sections — totals, done, waiting for approval, late. Requires tasks:manage. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200settings, totals, members—
403Missing permission: tasks:manage—

The owner is assigned to it. Points stay 0 unless a supervisor sets them. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Request body (required) — application/json

FieldTypeRequiredDescription
headingIdstringyes—
titlestringyes—
descriptionstringno—
shortDescriptionstringnoThe card line; follows the description when left out
priorityenum: HIGH, MEDIUM, LOWno—
dueDatestring (date)no—
estimatedMinutesintegerno—
pointsintegernoSupervisor only

Responses

StatusDescriptionBody
201taskId, section—
400INVALID_TITLE · INVALID_DESCRIPTION · INVALID_SHORT_DESCRIPTION · INVALID_ESTIMATE · INVALID_DUE_DATE · INVALID_PRIORITY—
409MEMBER_TASKS_LIMIT—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Responses

StatusDescriptionBody
200The section tree—

The owner, a supervising manager or a follow-only manager. Anyone else gets 404. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Responses

StatusDescriptionBody
200The task with section, heading and the owner's assignment—
404Not found—

The same fields as creating it; only the fields sent change. When the owner rewrites the title or description of a task built from a template that needs no approval, it becomes his own task and follows the community's supervision switch again — a completed one has to be reopened first (409 TEMPLATE_TASK_DONE).

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Responses

StatusDescriptionBody
200The section tree—
409TEMPLATE_TASK_DONE—

A tasks:manage holder, while supervision is on — or, for a task built from a template marked «تحتاج اعتماد», whatever the switch says (the template decides).

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Responses

StatusDescriptionBody
200The updated assignment—
409NOT_SUBMITTED—

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
——no——

Request body — application/json

FieldTypeRequiredDescription
notestringno—

Responses

StatusDescriptionBody
200The updated assignment—

Whether members may create private sections and whether managers supervise them. Any member reads it. Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200allowMemberSections, superviseMemberSections, memberTasksNeedApproval—

Send any of the booleans; the others keep their stored value. Requires tasks:manage (admin or a moderator who holds it). Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Request body (required) — application/json

FieldTypeRequiredDescription
allowMemberSectionsbooleanno—
superviseMemberSectionsbooleanno—
memberTasksNeedApprovalbooleanno«مهام الأعضاء تحتاج اعتماد» — on: a task a member adds to his own section waits for an admin/moderator; off: «أنجزتها» approves it. Template tasks follow their template.

Responses

StatusDescriptionBody
200Saved settings—
400INVALID_SETTINGS—
403Missing permission: tasks:manage—