API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · task_lists

Task List Schema

ID du schéma
task_list
Collection
task_lists
Autorisations
  • Liretask_list_view
  • Créertask_list_create
  • Modifiertask_list_edit
  • Supprimertask_list_delete

Champs

Task List Schema

task_lists4 autorisations

Personal or team-scoped bucket for tasks (Todoist-style, ADR 0132)

namestringobligatoire

List title shown in sidebar and headers

1–80 caractères
descriptionstringfacultatif

Optional description shown in list header

max. 500 caractèresnullable
colorstringobligatoire

Theme token key for accent color

accentinfowarningdangermutedprimarysuccess
iconNamestringobligatoire

Key from Icons.tsx — must exist in the Icons registry

1–60 caractères
parentListIduuidfacultatif

Optional parent list (max one level of nesting). Service-layer validation enforces depth.

nullable
orderintegerobligatoire

Sort order within parent (or root for top-level lists)

≥ 0
ownerIduuidobligatoire

User who created the list. Protected after creation.

lecture seule
orgUnitIduuidfacultatif

Required when visibility = TEAM, ignored otherwise

nullable
visibilitystringobligatoire

PRIVATE = owner only · TEAM = owner + members of orgUnitId · TENANT = all internal users

PRIVATETEAMTENANT
archivedAtdatetimefacultatif

Soft-archive timestamp. Archived lists hide from the sidebar by default.

nullable

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 filtrable
  • GET /api/v1/task_lists/<id> — Une entité
  • POST /api/v1/task_lists — Créer
  • PATCH /api/v1/task_lists/<id> — Mise à jour partielle
  • DELETE /api/v1/task_lists/<id> — Suppression logique
  • GET /api/v1/task_lists/<id>/timeline — Audit et activités

Recherche