Timer Schema
Champs
Timer Schema
Schema for validating timer entities
userId
User ID who owns this timer
ticketId
Associated ticket UUID
projectId
Associated project UUID
partyId
Associated party/customer UUID
taskId
Associated task UUID
remoteSessionId
Remote session (remote_sessions) this timer was started for — the stop/booking flow books it with sourceType REMOTE_SESSION
title
Timer title/description
startedAt
When the timer was initially started (ISO datetime)
pausedAt
When the timer was paused (if currently paused) (ISO datetime)
accumulatedSeconds
Net worked seconds, excluding pauses (for pause/resume functionality)
pausedSeconds
Total seconds spent paused (sum of completed pause intervals)
isRunning
Whether the timer is currently running
notes
Additional notes for the timer
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/timers— Liste, paginée et filtrableGET /api/v1/timers/<id>— Une entitéPOST /api/v1/timers— CréerPATCH /api/v1/timers/<id>— Mise à jour partielleDELETE /api/v1/timers/<id>— Suppression logiqueGET /api/v1/timers/<id>/timeline— Audit et activités