Time tracking

Fin de pomodoro

Enregistre un cycle pomodoro termine comme entree de temps.

post/api/v1/time-tracking/pomodoro-complete

Request

  • Base URL: https://lucidnest.test
  • URL: https://lucidnest.test/api/v1/time-tracking/pomodoro-complete
  • Auth: HTTP bearer

Request body

context_typestring nullable

Type de contexte (project, notebook, space).

context_uuidstring nullable

UUID du contexte.

cycle_numberinteger required

Numero du cycle (1-4).

duration_minutesinteger

Duree en minutes (defaut 25).

Example request

{
  "context_type": "project",
  "context_uuid": "550e8400-e29b-41d4-a716-446655440000",
  "cycle_number": 1,
  "duration_minutes": 25
}

Response

uuidstring
pomodoro_cycleinteger
duration_secondsinteger

Example response

{
  "uuid": "...",
  "pomodoro_cycle": 1,
  "duration_seconds": 1500
}

Changes

No recorded changes to this operation across all 1 revision of this API.