On this page

2 endpoints.

MethodPathSummary
GET/api/communities/{communityId}/tasks/member-sections/templatesTemplates offered to members (قوالب متاحة للأعضاء)
POST/api/communities/{communityId}/tasks/member-sections/templates/{templateId}/applyUse an offered template in my private sections

The community's task, heading and section templates an admin marked memberUsable. Any member; applying one adds it to the member's own private sections.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——

Responses

StatusDescriptionBody
200The offered templatesobject

A section template becomes a new private section; a heading template goes into one of my sections (sectionId); a task template into one of my headings (headingId). Same limits as building it by hand; tasks become «تأكيد يدوي» private tasks assigned to me, with no points of their own. A template not offered to members answers 404.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
——no——
templateIdpathyesstring—

Request body — application/json

FieldTypeRequiredDescription
sectionIdstringnoHeading template — my section
headingIdstringnoTask template — my heading

Responses

StatusDescriptionBody
201The private section it landed in, with its headings and tasks—
403MEMBER_SECTIONS_DISABLED · MEMBER_SECTION_FORBIDDEN—
404No such template offered to members, or not your section/heading—
409MEMBER_SECTIONS_LIMIT · MEMBER_HEADINGS_LIMIT · MEMBER_TASKS_LIMIT · MEMBER_TEMPLATE_TOO_LARGE—