Task List Schema
Velden
Task List Schema
Personal or team-scoped bucket for tasks (Todoist-style, ADR 0132)
name
List title shown in sidebar and headers
description
Optional description shown in list header
color
Theme token key for accent color
accentinfowarningdangermutedprimarysuccessiconName
Key from Icons.tsx — must exist in the Icons registry
parentListId
Optional parent list (max one level of nesting). Service-layer validation enforces depth.
order
Sort order within parent (or root for top-level lists)
ownerId
User who created the list. Protected after creation.
orgUnitId
Required when visibility = TEAM, ignored otherwise
visibility
PRIVATE = owner only · TEAM = owner + members of orgUnitId · TENANT = all internal users
PRIVATETEAMTENANTarchivedAt
Soft-archive timestamp. Archived lists hide from the sidebar by default.
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/task_lists— Lijst, gepagineerd + filterbaarGET /api/v1/task_lists/<id>— Enkele entityPOST /api/v1/task_lists— AanmakenPATCH /api/v1/task_lists/<id>— Gedeeltelijke updateDELETE /api/v1/task_lists/<id>— Soft-deleteGET /api/v1/task_lists/<id>/timeline— Audit + activiteiten