Task List Schema
Campos
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.
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/task_lists— Lista, paginada y filtrableGET /api/v1/task_lists/<id>— Una entidadPOST /api/v1/task_lists— CrearPATCH /api/v1/task_lists/<id>— Actualización parcialDELETE /api/v1/task_lists/<id>— Eliminación lógicaGET /api/v1/task_lists/<id>/timeline— Auditoría y actividades