Skip to main content

update pomodoro timer

update pomodoro timer. Requires a Bearer session and a valid Bearer session.
1 min read
patch/pomodoro/profiles/{studioId}/timers/{timerId}
Request example
Response
patch/pomodoro/profiles/{studioId}/timers/{timerId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
timerIdstringrequired#
Identifier or key timerId.

Body

application/json
namestring#
descriptionstring#
colorstring#
workMinutesinteger#
shortBreakMinutesinteger#
longBreakMinutesinteger#
cyclesPerRoundinteger#
autoStartBreaksboolean#
autoStartWorkboolean#
soundEnabledboolean#
notificationsEnabledboolean#
linkedTaskIdstring#
linkedProjectIdstring#

Responses

No content.