Task List Schema
Champs
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.
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/task_lists— Liste, paginée et filtrableGET /api/v1/task_lists/<id>— Une entitéPOST /api/v1/task_lists— CréerPATCH /api/v1/task_lists/<id>— Mise à jour partielleDELETE /api/v1/task_lists/<id>— Suppression logiqueGET /api/v1/task_lists/<id>/timeline— Audit et activités